//------------------------------------------------------------------------ require_once 'Import.php'; require_once Import::$uber_src_path . "server/werm/services/videoOrganizer/VideoOrganizer.php"; require_once Import::$uber_src_path . "server/werm/services/Account_v0.php"; require_once Import::$uber_src_path . "server/ricardo_garcia/YouTube.php"; //------------------------------------------------------------------------ Account_v0::chk(); //------------------------------------------------------------------------ $chk = array('bool' => true); //------------------------------------------------------------------------ if (!isset($_GET['v']) && !isset($_GET['l'])) { $chk['bool'] = false; } else { if (isset($_GET['v'])) { $obj = new VideoOrganizer(); $chk = $obj->getLinks($_GET['v']); } } //------------------------------------------------------------------------ //if (!$chk['bool']) header("Location: http://".Constants::PREFFIX.'Modules/videoOrganizer_v0/'); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>videoOrganizer_v0</title> <!--===============================================================--> <link rel="stylesheet" type="text/css" href="global/css/index.css"/> <link rel="stylesheet" type="text/css" href="<?php echo Import::absolute(); ?>
<?php include 'top_base.php'; //------------------------------------------------------------------------ $chk = array('bool' => true); //------------------------------------------------------------------------ if (!isset($_GET['v']) && !isset($_GET['l'])) { $chk['bool'] = false; } else { if (isset($_GET['l'])) { $obj = new VideoOrganizer(); $chk = $obj->getPlaylistVideos(array('hash' => $_GET['l'])); } else { if (isset($_GET['v'])) { $obj = new VideoOrganizer(); $chk = $obj->getLinks(array("my_id" => $_GET['v'], "videoNotExist" => true)); } } } //------------------------------------------------------------------------ //if (!$chk['bool']) header("Location: http://".Constants::PREFFIX.'Modules/current/videoOrganizer_v0/'); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>videoOrganizer_v0</title> <!--===============================================================--> <?php include "base.php"; ?>