2) { $find = implode(",",$findArr['matches']); $se_rel = count($findArr['matches']); } else{ $ids = $conn->query("SELECT `vids` FROM `".$cnf['pref']."best` ORDER BY `date` DESC LIMIT ".$from.",".$limit); $vid=array(); while ($r = $ids->fetch_assoc()) { $vid[] = $r['vids']; } shuffle($vid); $fake = true; if(isset($vid[0])) { $find = implode(",",$vid); $findArr['total'] = 1000; $se_rel = count($vid); } } ///--pagination------ //echo count($findArr['matches']); if($findArr['total'] > 1000) {$sResult = 1000;} else {$sResult = $findArr['total'];} $total_pags = $sResult / $limit; $total_pags = ceil($total_pags); //echo "[pags: ".$total_pags." total : ".$findArr['total']."]"; //echo '['.$from.']'; ///------------- if(!empty($find)) { if($fake){ $resource = $conn->query("SELECT `id`,`title`, `thumb`, `embed`, `tube`, `duration`, `tags`,`res1` FROM `big_base` WHERE `big_base`.`id` IN (".$find.") ORDER BY find_in_set(id,'".$find."') LIMIT 0,".$limit.";"); } else{ $resource = $conn->query("SELECT `id`,`title`, `thumb`, `embed`, `tube`, `duration`, `tags`,`res1` FROM `big_base` WHERE `big_base`.`id` IN (".$find.") ORDER BY find_in_set(id,'".$find."') LIMIT 0,".$limit.";"); } $vids=array(); while ($row = $resource->fetch_assoc()) { $vids[] = $row; } if(isset($fakeresult)){shuffle($vids);} } function hideme() { $salt="thankyougoogle"; $a = time(); $keytime = round($a,-4); $keyStr = $keytime.$salt; $hash = md5($keyStr); $pass = substr($hash, 0, 12); return $pass; } $chk = array(); if(isset($_COOKIE[$cnf['cookie']])){ $favs = $_COOKIE[$cnf['cookie']]; $favsIds = explode("-", $favs); $favsIds = array_splice($favsIds, -200); $favsIds = array_unique($favsIds); $cleanFavs = array(); foreach($favsIds as $fi) { if(is_numeric($fi) && strlen($fi) < 15 && !empty($fi)){ $cleanFavs[] = "-".$fi; $chk[]=$fi; } } $coo = implode("", $cleanFavs); setcookie($cnf['cookie'], $coo, time() + (86400 * 1000), "/"); } $liked = false; ?> <?=trim(ucfirst($q));?> - <?=addesc(1);?> <?=trim($q);?> <?=addtokey(2);?> <?if(isset($_GET['p'])):?>- Page <?=$p?> <?endif;?>at <?=ucfirst($cnf['brand']);?>

Watch More

No search results...
$limit):?>

Recent Trends