Просмотр файла superkat/obiav.php
<?
include "xconf.php";
include "fo.php";
If (!isset($_GET['mid']) || !is_numeric($_GET['mid'])){
header("Location: $site");
}else {
$q=@mysql_query("select * from `obiav` where id='$mid' ");
$row=mysql_num_rows($q);
if ($row==0)
{
header("Location: $site");
}
if ($row!=0)
{
$xgo=mysql_result($q,0,"site");
header("Location: $xgo");
}
}
?>