"; $new1 = mysql_query("select * FROM page_rus WHERE `cat`='$sec' AND `hide2`='show' order by cat,poz "); if ($new1) { while($news = mysql_fetch_array($new1)) { echo "

".$news['name']."

".$news['mini']." Читать дальше >


"; } } if ($sec==1) { $new2 = mysql_query("select * FROM page_rus WHERE `hide2`='show' order by cat"); if ($new2) { while($news2 = mysql_fetch_array($new2)) { echo "".$news2['name']."

"; } } } if ($sec==2) { $new2 = mysql_query("select * FROM page_rus WHERE `cat`='$set17' AND `hide2`='show' order by cat,poz LIMIT 0,4 "); if ($new2) { while($news2 = mysql_fetch_array($new2)) { echo "

".$news2['name']."

".$news2['mini']." Читать дальше >
"; } } $new3 = mysql_query("select * FROM page_rus WHERE `cat`='$set11' AND `hide2`='show' order by cat,poz LIMIT 0,4"); if ($new3) { while($news3 = mysql_fetch_array($new3)) { echo "

".$news3['name']."

".$news3['mini']." Читать дальше >
"; } } $new4 = mysql_query("select * FROM page_rus WHERE `cat`='$set12' AND `hide2`='show' order by cat,poz LIMIT 0,4"); if ($new4) { while($news4 = mysql_fetch_array($new4)) { echo "

".$news4['name']."

".$news4['mini']." Читать дальше >

"; } } $new5 = mysql_query("select * FROM page_rus WHERE `cat`='$set13' AND `hide2`='show' order by cat,poz LIMIT 0,4"); if ($new5) { while($news5 = mysql_fetch_array($new5)) { echo "

".$news5['name']."

".$news5['mini']." Читать дальше >
"; } } } include ("".$lan."design/3.tpl"); } else { include ("".$lan."design/1.tpl"); print "ошибка" ; include ("".$lan."design/3.tpl"); } ?>