Copyright (C) 2010 All Rights Reserved. Contributor(s): Mark J Crane */ include "root.php"; require_once "resources/require.php"; require_once "resources/check_auth.php"; if (permission_exists('active_queue_view')) { //access granted } else { echo "access denied"; exit; } //add multi-lingual support require_once "app_languages.php"; foreach($text as $key => $value) { $text[$key] = $value[$_SESSION['domain']['language']['code']]; } //get the fifo_name from http and set it to a php variable $fifo_name = trim($_REQUEST["c"]); //if not the user is not a member of the superadmin then restrict to viewing their own domain if (!if_group("superadmin")) { if (stripos($fifo_name, $_SESSION['domain_name']) === false) { echo "access denied"; exit; } } //remove the domain from fifo name $tmp_fifo_name = str_replace('_', ' ', $fifo_name); $tmp_fifo_array = explode('@', $tmp_fifo_name); $tmp_fifo_name = $tmp_fifo_array[0]; //show the header require_once "resources/header.php"; $page["title"] = $text['title-queue']; ?> "; echo "\n"; echo " \n"; echo " \n"; echo " \n"; echo "
".$text['header-queue']."
\n"; echo " ".$text['description-queue']."\n"; echo "
\n"; echo "\n"; echo " \n"; echo " "; echo " "; echo "
\n"; echo "
\n"; echo "
".date('Y-m-d-s')."
\n"; echo "
"; echo ""; require_once "resources/footer.php"; ?>