Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/monara/public_html/test.athavaneng.com/themes.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
. /** * View a BigBlueButton room. * * @package mod_bigbluebuttonbn * @copyright 2010 onwards, Blindside Networks Inc * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @author Jesus Federico (jesus [at] blindsidenetworks [dt] com) * @author Fred Dixon (ffdixon [at] blindsidenetworks [dt] com) * @author Darko Miletic (darko.miletic [at] gmail [dt] com) */ use mod_bigbluebuttonbn\instance; use mod_bigbluebuttonbn\local\exceptions\server_not_available_exception; use mod_bigbluebuttonbn\local\proxy\bigbluebutton_proxy; use mod_bigbluebuttonbn\logger; use mod_bigbluebuttonbn\output\view_page; use mod_bigbluebuttonbn\plugin; require(__DIR__ . '/../../config.php'); global $OUTPUT, $PAGE; // Get the bbb instance from either the cmid (id), or the instanceid (bn). $id = optional_param('id', 0, PARAM_INT); if ($id) { $instance = instance::get_from_cmid($id); } else { $bn = optional_param('bn', 0, PARAM_INT); if ($bn) { $instance = instance::get_from_instanceid($bn); } } if (!$instance) { throw new moodle_exception('view_error_url_missing_parameters', plugin::COMPONENT); } $cm = $instance->get_cm(); $course = $instance->get_course(); $bigbluebuttonbn = $instance->get_instance_data(); require_login($course, true, $cm); $groupid = groups_get_activity_group($cm, true) ?: null; if ($groupid) { $instance->set_group_id($groupid); } logger::log_instance_viewed($instance); // Require a working server. bigbluebutton_proxy::require_working_server($instance); // Mark viewed by user (if required). $completion = new completion_info($course); $completion->set_module_viewed($cm); // Print the page header. $PAGE->set_url($instance->get_view_url()); $PAGE->set_title($cm->name); $PAGE->set_cacheable(false); $PAGE->set_heading($course->fullname); // Output starts. $renderer = $PAGE->get_renderer('mod_bigbluebuttonbn'); try { $renderedinfo = $renderer->render(new view_page($instance)); } catch (server_not_available_exception $e) { bigbluebutton_proxy::handle_server_not_available($instance); } echo $OUTPUT->header(); // Validate if the user is in a role allowed to join. if (!$instance->can_join() && $instance->get_type() != instance::TYPE_RECORDING_ONLY) { if (isguestuser()) { notice(get_string('view_noguests', plugin::COMPONENT), get_login_url()); } else { notice( get_string('view_nojoin', plugin::COMPONENT), new moodle_url('/course/view.php', ['id' => $course->id]) ); } } echo $renderedinfo; // Output finishes. echo $OUTPUT->footer(); // Shows version as a comment. echo '' . "\n";