Portions created by the Initial Developer are Copyright (C) 2008-2023 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ //includes files require_once dirname(__DIR__, 2) . "/resources/require.php"; require_once "resources/pdo.php"; require_once "resources/check_auth.php"; //check permissions if (permission_exists('active_extension_view')) { //access granted } else { echo "access denied"; exit; } //add multi-lingual support $language = new text; $text = $language->get(); //http get and set variables $event_type = $_GET['event_type']; //open_window //iframe if ($event_type=="iframe") { $iframe_width = $_GET['iframe_width']; $iframe_height = $_GET['iframe_height']; $iframe_postition = $_GET['iframe_postition']; if (strlen($iframe_postition) > 0) { $iframe_postition = 'right'; } if (strlen($iframe_width) > 0) { $iframe_width = '25%'; } if (strlen($iframe_height) > 0) { $iframe_height = '100%'; } } if (strlen($_GET['url']) > 0) { $url = $_GET['url']; } if (strlen($_GET['rows']) > 0) { $rows = $_GET['rows']; } else { $rows = 0; } $conference_name = trim($_REQUEST["c"]); $tmp_conference_name = str_replace("_", " ", $conference_name); require_once "resources/header.php"; ?> select($sql, $parameters ?? null, 'row'); $user_status = $row["user_status"] ?? null; unset($parameters); echo "
"; echo "\n"; echo " \n"; echo " \n"; /* if ($_SESSION['user_status_display'] == "false") { //hide the user_status when it is set to false } else { echo " \n"; echo " \n"; } */ echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
\n"; echo " ".$text['title-2']."
\n"; echo "
\n"; echo "  "; echo " \n"; //status list echo "  "; echo " ".$text['label-status']." \n"; $cmd = "'calls_exec.php?action=user_status&data='+this.value+'"; $cmd .= "&cmd=callcenter_config+agent+set+status+".$_SESSION['username']."@".$_SESSION['domain_name']."+'+this.value"; echo " \n"; echo " \n"; echo "  "; //echo " ".$text['label-transfer']."\n"; //echo " \n"; echo "
\n"; echo " ".$text['description-2']."\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "\n"; echo " \n"; if ($event_type=="iframe") { echo " \n"; if ($event_type=="iframe") { echo "\n"; echo "\n"; } echo " "; echo "
\n"; } else { echo " \n"; } echo "
\n"; echo "
".date('Y-m-d-s')."
\n"; echo "
\n"; echo " \n"; echo "
"; echo "
\n"; echo "
\n"; echo "\n"; require_once "resources/footer.php";