'-1' LIMIT 1",$dbcnx); $arr_rez_texts1=array(); while ($rez_texts1=mysql_fetch_array($query_texts1, MYSQL_NUM)) { $arr_rez_texts1[]=$rez_texts1; } $count_texts1=count($arr_rez_texts1); if ($count_texts1==0) { //header("Location: ".$URL."index.php"); } else { $name_texts1=$arr_rez_texts1[0][0]; $head_texts1=$arr_rez_texts1[0][1]; $text_texts1=pic($arr_rez_texts1[0][2]); $title_texts1=$arr_rez_texts1[0][3]; $description_texts1=$arr_rez_texts1[0][4]; $keywords_texts1=$arr_rez_texts1[0][5]; } //одиночные ссылки link по id $query_melkie=mysql_query("SELECT link,name FROM `text` WHERE `id` in (7,10,11) ORDER BY `id` ASC ;",$dbcnx); $arr_rez_melkie=array(); while ($rez_melkie=mysql_fetch_array($query_melkie, MYSQL_NUM)) { $arr_rez_melkie[]=$rez_melkie; } ?> <? echo $title_texts1;?>
".$arr_rez_catshome1[$i][1].""; $query_catshome2=mysql_query("SELECT id,name FROM `category` WHERE `level` = '2' and `parent_id`='".$arr_rez_catshome1[$i][0]."' ORDER BY `sort` ASC, `name` ASC ;",$dbcnx); $arr_rez_catshome2=array(); while ($rez_catshome2=mysql_fetch_array($query_catshome2, MYSQL_NUM)) { $arr_rez_catshome2[]=$rez_catshome2; } $count_catshome2=count($arr_rez_catshome2); if ($count_catshome2>0) { for ($j=0; $j<$count_catshome2;$j++) { if ($j!=0) {echo ", ";} echo "".$arr_rez_catshome2[$j][1].""; } } } ?>
".$arr_rez_catshome1[$i][1].""; $query_catshome2=mysql_query("SELECT id,name FROM `category` WHERE `level` = '2' and `parent_id`='".$arr_rez_catshome1[$i][0]."' ORDER BY `sort` ASC, `name` ASC ;",$dbcnx); $arr_rez_catshome2=array(); while ($rez_catshome2=mysql_fetch_array($query_catshome2, MYSQL_NUM)) { $arr_rez_catshome2[]=$rez_catshome2; } $count_catshome2=count($arr_rez_catshome2); if ($count_catshome2>0) { for ($j=0; $j<$count_catshome2;$j++) { if ($j!=0) {echo ", ";} echo "".$arr_rez_catshome2[$j][1].""; } } } ?>

Для содержимого этой страницы требуется более новая версия Adobe Flash Player.

Получить проигрыватель Adobe Flash Player

Сегодня:
Новости каталога
Все новости
".$datetime_news0."
".$arr_rez_news1[$i][3]."

".$arr_rez_news1[$i][2]."

"; } ?>
"; } ?>

".$text_texts1."

"; include('inc/inc_tenders.php'); } else if ($s=='top10') { include('inc/inc_top10.php'); } else if ($s=='zakupki') { ?>