Search Videos
Browse by Category
BurnoutCar ShowDrag RaceMoviesOtherShowoffStreet Race
Browse Videos
if (!isset($orderby)) { $orderby = "`overall_rate` DESC"; }
echo '
';
echo '';
$tmp = 1;
$upquery = mysql_query("SELECT * FROM `videos`".$searchq." ORDER BY ".$orderby." LIMIT ".$start." , ".$perpage);
//echo "SELECT * FROM `videos`".$searchq." ORDER BY ".$orderby." LIMIT ".$start." , ".$perpage;
if (mysql_affected_rows() > 0) {
while ($uprow = mysql_fetch_assoc($upquery)) {
echo ' '.stripslashes($uprow['name']).' | ';
if ($tmp == 5) { echo '
'; $tmp = 0; }
$tmp++;
}
}
else
{
if (isset($_GET['q'])) { echo 'No search results were found.'; }
}
?>
Pages:
$temp = 1;
if (isset($q)) { $q = str_replace(" ","+",$q); }
while ($temp <= $pages) {
if ($page == $temp) {
echo '
'.$page.' ';
}
else
{
if ($_GET['orderby'] == "latest") {
if (isset($_GET['q'])) {
if (isset($_GET['category'])) { $q .= '&category='.$_GET['category']; }
echo '
'.$temp.' ';
}
else
{
if (isset($_GET['category'])) { $c = '&category='.$_GET['category']; } else { $c = ""; }
echo '
'.$temp.' ';
}
}
else
{
if (isset($_GET['q'])) {
if (isset($_GET['category'])) { $c = '&category='.$_GET['category']; } else { $c = ""; }
echo '
'.$temp.' ';
}
else
{
if (isset($_GET['category'])) { $c = '&category='.$_GET['category']; } else { $c = ""; }
echo '
'.$temp.' ';
}
}
}
$temp++;
}
?>
if (!isset($_COOKIE['car_user'])) {
echo '


';
}
else {
echo '

';
}
?>
|
You are currently not signed in.
|
include ("footerbottom.php");
?>