<?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"; ?>