0) { include('video.php'); exit; } // maybe it is paysite? $result = mysql_query("SELECT * FROM paysites WHERE url = '{$slug}' LIMIT 1") or die(mysql_error()); $rrow = mysql_fetch_assoc($result); if(mysql_num_rows($result) > 0) { $_GET['mode'] = 'paysite'; $_REQUEST['mode'] = 'paysite'; $_GET['paysite'] = $slug; $_REQUEST['paysite'] = $slug; $_GET['page'] = 1; $_REQUEST['page'] = 1; include('index.php'); exit; } // maybe it is tag? $result = mysql_query("SELECT * FROM tags WHERE slug = '{$slug}' LIMIT 1") or die(mysql_error()); $rrow = mysql_fetch_assoc($result); if(mysql_num_rows($result) > 0) { $tag = $rrow; //var_dump($tag); include('tag.php'); exit; } // I don't know what it is. $_GET['mode'] = 'paysite'; $_REQUEST['mode'] = 'paysite'; $_GET['paysite'] = $slug; $_REQUEST['paysite'] = $slug; $_GET['page'] = 1; $_REQUEST['page'] = 1; include('index.php'); //header($_SERVER['SERVER_PROTOCOL']." 404 Not Found"); //header("Location: $basehttp/404.php"); exit;