тв-программа (0)
$tvch=$_GET['tvch'];
$dayvs=$_GET['dayvs'];
$film=$_GET['film'];
$channel=$_GET['channel'];
$mdata=$HTTP_COOKIE_VARS["tvpr"];
$site_url=$_SERVER["HTTP_HOST"];
$surl=$_SERVER["HTTP_HOST"];
$sel=$_POST['sel'];
if(isset($sel))
{
$channels=$_POST['channels'];
$cs=count($channels);
for($i=0;$i<=$cs-1;$i++)
{
$tvs=$tvs."zzz";
$tvs=$tvs.$channels[$i]."xxx";
}
$site_urls=".".$site_url;
print "";
}
if(empty($channel) && empty($film) && empty($dayvs) && empty($tvch)){$title_pages=file_get_contents("http://kinoplaneta.net/ptv/title.php?site=$site_url");}
if(!empty($channel) && empty($film) && empty($dayvs) && empty($tvch)){$title_pages=file_get_contents("http://kinoplaneta.net/ptv/title.php?channel=$channel&site=$site_url");}
if(empty($channel) && !empty($film) && empty($dayvs) && empty($tvch)){$title_pages=file_get_contents("http://kinoplaneta.net/ptv/title.php?film=$film&site=$site_url");}
if(empty($channel) && empty($film) && !empty($dayvs) && empty($tvch)){$title_pages=file_get_contents("http://kinoplaneta.net/ptv/title.php?dayvs=$dayvs&site=$site_url");}
if(empty($channel) && empty($film) && empty($dayvs) && !empty($tvch)){$title_pages=file_get_contents("http://kinoplaneta.net/ptv/title.php?tvch=$tvch&site=$site_url");}
// $title_pages - В этой переменной содержится заголовок страницы, вы можете вставить его в html-код вашего сайта
print "
$title_pages"; // -- обратите внимание на эту строку !!!
?>
if(empty($channel) && empty($film) && empty($dayvs) && empty($tvch)){$text=file_get_contents("http://kinoplaneta.net/ptv/tv.php?site=$site_url&mdata=$mdata");}
if(!empty($channel) && empty($film) && empty($dayvs) && empty($tvch)){$text=file_get_contents("http://kinoplaneta.net/ptv/tv.php?channel=$channel&site=$site_url&mdata=$mdata");}
if(empty($channel) && !empty($film) && empty($dayvs) && empty($tvch)){$text=file_get_contents("http://kinoplaneta.net/ptv/tv.php?film=$film&site=$site_url&mdata=$mdata");}
if(empty($channel) && empty($film) && !empty($dayvs) && empty($tvch)){$text=file_get_contents("http://kinoplaneta.net/ptv/tv.php?dayvs=$dayvs&site=$site_url&mdata=$mdata");}
if(empty($channel) && empty($film) && empty($dayvs) && !empty($tvch)){$text=file_get_contents("http://kinoplaneta.net/ptv/tv.php?tvch=$tvch&site=$site_url&mdata=$mdata");}
print "
";
?>