Example #1
0
 function jzFrontend()
 {
     global $jzSERVICES, $this_page;
     // force the embedded player
     define('JZ_FORCE_EMBEDDED_PLAYER', 'true');
     $jzSERVICES->loadService('players', 'xspf');
     parent::_constructor();
 }
Example #2
0
 function jzFrontend()
 {
     global $cms_mode;
     parent::_constructor();
     if ($cms_mode === false || $cms_mode == "false") {
         $this->width = "800px";
     } else {
         $this->width = "100%";
     }
 }
Example #3
0
         exit;
     }
     $remember = isset($_POST['remember']) ? true : false;
     if ($_POST['field2'] == "cms-user") {
         die("Security breach detected.");
     }
     if ($jzUSER->login($_POST['field1'], $_POST['field2'], $remember, $prehashed) === false) {
         writeLogData("messages", "Index: Displaying the login page");
         include_once $include_path . "frontend/class.php";
         $fe = new jzFrontendClass();
         $fe->loginPage(true);
         exit;
     }
     if ($jzUSER->getSetting('view') === false) {
         include_once $include_path . "frontend/class.php";
         $fe = new jzFrontendClass();
         $fe->loginPage();
         exit;
     }
     $jzSERVICES->loadUserServices();
     handleUserInit();
     writeLogData("messages", "Index: Including the icons");
     include_once $include_path . "frontend/icons.lib.php";
     break;
 case "mediaAction":
     writeLogData("messages", "Index: Preforming a media action");
     if (isset($_POST['randomize']) && $_POST['randomize'] == "true") {
         unset($_POST['sendList']);
         $_POST['sendListRandom'] = "true";
     }
     $exit = true;
Example #4
0
 function jzFrontend()
 {
     parent::_constructor();
 }
Example #5
0
 function jzFrontend()
 {
     parent::_constructor();
     $this->standardFooter = false;
 }