что конкретно вам нужно показать для того чтобы дать правильный ответ ?
Вот код страницы
<?
if (isset($_REQUEST[session_name()]))
@session_start();
$bp="./";
$base_path="./";
require_once($base_path.'connect/connect.php');
include_once($base_path.'lib/lib.php');
include_once($base_path.'connect/_svod_rec.php');
if($_GET['id_firm'])
{
$id_f=_pre2($_GET['id_firm']);
$id_firm=$id_f[1];
$bp="../";
$g = mysql_query("SELECT * FROM magazin WHERE zag_url = '".$id_firm."' ");
$ng = mysql_num_rows($g);
if(!$ng)
{
header('HTTP/1.1 404 Not Found');
header('Status: 404 Not Found');
echo "<HTML><HEAD><meta http-equiv='Refresh' charset='utf-8' content='0; URL=".$base_path."404.php'></HEAD></HTML>";
exit;
}
$gg = mysql_fetch_array($g);
$id_magazin=$gg['id_akk'];
$zag_magazin=$gg['zag'];
$id_activ=$gg['activ'];
$no_title=1;
}
if(isset($_GET['id_catalog']))
$bp="../../../";
$name_region="Р РѕСЃСЃРёСЏ";
$name_razdel="Доска РѕР±СŠСЏРІР»РµРЅРёР№";
$tree_reg=array(0);
$tree_cat=array(0);
if($_GET['id_catalog'])
{
$id_catalog=intval($_GET['id_catalog']);
$cam=urlencode(anti($_GET['cam']));
}
if($_GET['id_region'])
{
$rem=urlencode(anti($_GET['rem']));
$id_region=intval($_GET['id_region']);
$r = mysql_query("SELECT id_region, parent_glob, path FROM region WHERE id_region = '".$id_region."' AND url='".$rem."'");
$nr=mysql_num_rows($r);
if(!$nr)
{
header('HTTP/1.1 404 Not Found');
header('Status: 404 Not Found');
echo "<HTML><HEAD><meta http-equiv='Refresh' charset='utf-8' content='0; URL=".$bp."404.php'></HEAD></HTML>";
exit;
}
$rr = mysql_fetch_array($r);
$glob_region=$rr['parent_glob'];
if(!$glob_region)
$glob_region=$rr['id_region'];
$tree_reg = explode(' ', trim($rr['path'].' '.$id_region));
}
if(file_exists($base_path.'cashe_region/_svod_region_0.php'))
include_once($base_path.'cashe_region/_svod_region_0.php');
if($glob_region && file_exists($base_path.'cashe_region/_svod_region_'.$glob_region.'.php'))
include_once($base_path.'cashe_region/_svod_region_'.$glob_region.'.php');
for ($i=1; $i<count($tree_reg); $i++)
{
if($i<2)
$name_region = $arr_regions[$tree_reg[($i-1)]][$tree_reg[$i]];
else
$name_region .= ', '.$arr_regions[$tree_reg[($i-1)]][$tree_reg[$i]];
}
include_once($base_path.'cashe_catalog/_svod_catalog.php');
if($id_catalog)
{
if(file_exists($base_path.'cashe_catalog/_svod_catalog_'.$id_catalog.'.php'))
{
include_once($base_path.'cashe_catalog/_svod_catalog_'.$id_catalog.'.php');
if($arr_catalog['url'] != $cam)
{
header('HTTP/1.1 404 Not Found');
header('Status: 404 Not Found');
echo "<HTML><HEAD><meta http-equiv='Refresh' charset='utf-8' content='0; URL=".$bp."404.php'></HEAD></HTML>";
exit;
}
}
else
{
header('HTTP/1.1 404 Not Found');
header('Status: 404 Not Found');
echo "<HTML><HEAD><meta http-equiv='Refresh' charset='utf-8' content='0; URL=".$bp."404.php'></HEAD></HTML>";
exit;
}
include_once($base_path.'plugin/board/func_search_user.php');
include_once($base_path.'plugin/board/func_view.php');
if($arr_sp)
{
foreach($arr_sp as $ars)
{
if(file_exists($base_path.'cashe_n/_svod_element_'.$ars[0].'.php'))
include_once($base_path.'cashe_n/_svod_element_'.$ars[0].'.php');
if(file_exists($base_path.'cashe_n/_svod_element_two_'.$ars[1].'.php'))
include_once($base_path.'cashe_n/_svod_element_two_'.$ars[1].'.php');
}
}
$name_razdel=$arr_catalog['catalog'];
}
$title=$name_razdel.'. '.$name_region;
if($zag_magazin)
$title = $zag_magazin;
if($id_catalog && !$arr_razdel[$arr_catalog['id_catalog']])
$con_razdel=1;
if(!$_SERVER['QUERY_STRING'])
$zag_glav='Бесплатные РѕР±СŠСЏРІР»РµРЅРёСЏ бесплатно';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta name="interkassa-verification" content="7917b5ae5b324dd05e511d7bc06cbf2c" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Бесплатные РѕР±С&
<meta name="description" content="Сайт бесплатных РѕР±СŠСЏРІР»РµРЅРёР№ Р РѕСЃСЃРёРё РѕС‚ частных лиц Рё компаний. Авто, тшанспошт, РЅРµРґРІРёР¶РёРјРѕСЃС‚СŒ, шабота, СƒСЃР»СƒРіРё, техника, одежда Рё РјРЅРѕРіРѕРµ РґС€СƒРіРѕРµ РЅР° сайте Mobile.">
<meta name="keywords" content="бесплатные РѕР±СŠСЏРІР»РµРЅРёСЏ сайт РѕР±СŠСЏРІР»РµРЅРёР№ РїРѕРґР°С‚СŒ РѕР±СŠСЏРІР»РµРЅРёРµ РґР°С‚СŒ С€Р°Р·РјРµСЃС‚РёС‚СŒ РґРѕСЃРєР° РѕР±СŠСЏРІР»РµРЅРёР№ животные тшанспошт личные вещи шабота СƒСЃР»СƒРіРё товашы для детей бытовая электшоника РєСƒРїРёС‚СŒ РїС€РѕРґР°С‚СŒ">
<meta name="Author" content="" />
<meta name="robots" content="index,follow">
<meta name="revisit-after" content="1 days" />
<meta http-equiv="content-language" content="Russian">
<meta name="Language" content="ru">
<meta name="interkassa-verification" content="92ce0ae5a75c968e8cc4c5c08719f128" />
<link rel="shortcut icon" href="<?=$bp?>icon/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="<?=$bp?>style/style.css" />
<link rel="stylesheet" type="text/css" href="<?=$bp?>style/jquery.fancybox.css" media="screen" />
<script type="text/javascript" src="<?=$bp?>lib/flash.js"></script>
<script type="text/javascript" charset="utf-8" src="<?=$bp.'js/'?>jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="<?=$bp.'js/'?>jquery.easing.1.3.js"></script>
<script type="text/javascript" src="<?=$bp.'js/'?>jquery.fancybox-1.2.1.pack.js"></script>
<script type="text/javascript" src="<?=$bp.'js/'?>fancy.js"></script>
<script type="text/javascript">
$("#fancy_registr, #fancy_zabili, #fancy_vhod, #fancy_send_email, #fancy_zhaloba, #fancy_map, #fancy_mess, #fancy_vip1, #fancy_vip2, #fancy_vip3").live('click', function(){$(".fl_hidden").hide();});
$("#fancybox-close").live('click', function(){$(".fl_hidden").show();});
$("#fancybox-overlay").live('click', function(){$(".fl_hidden").show();});
function scrollTo(el)
{
var duration = 700;
var element = $(el).offset();
var pos = element.top;
$('html, body').animate({scrollTop: pos}, duration);
}
jQuery( function($) {
$('tbody tr[data-href]').addClass('clickable').click( function() {
window.location = $(this).attr('data-href');
});
});
</script>
<![if !IE]>
<?
if($rru['round'])
{
?>
<script type="text/javascript" src="<?=$bp.'js/'?>jquery.corner.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".imground").corner("round");
$(".submit").corner("round");
$(".str").corner("round");
});
</script>
<?
}
?>
<![endif]>
</head>
<BODY
style="MARGIN: 0px auto; POSITION: inherit; width: 1000px">
<?
include_once($base_path."blok/top_form.php");
?>
<table width="100%" class="table">
<?
?>
<tr>
<td>
<table width="100%">
<tr>
<td valign="top" class="td" width="90%">
<?
if($id_firm)
include_once($base_path."blok/magazin.php");
if(!$id_activ)
include_once($base_path."blok/search_form.php");
?>
</td>
</tr>
</table>
</td>
</tr>
<?
?>
<?
if(!$_SERVER['QUERY_STRING'])
{
?>
<tr>
<td align="center">
<?
_rec (0, 1);
?>
</td>
</tr>
<?
}
?>
<tr>
<td class="td" >
<?
if(!$err404)
{
if($id_firm && !$id_activ)
{
if($arr_catalog['tab'])
include_once($base_path."blok/tab_tab.php");
else
include_once($base_path."blok/tab.php");
}
if(!$_SERVER['QUERY_STRING'])
{
if($rru['reg_cat']==1)
include_once($base_path."blok/region.php");
elseif($rru['reg_cat']==2)
include_once($base_path."blok/razdel.php");
include_once($base_path."blok/region.php");
}
}
?>
</td>
</tr>
<tr>
<td>
<table width="100%" cellpadding="5" cellspacing="5">
<tr>
<td>
<?
echo '<a href=""></a>';
include_once($base_path."blok/bottom_form.php");
?>
</td>
<td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
_____________
бесплатные объявления