"; exit; } mysql_connect("localhost:/tmp/mysql5.sock","resu321","rabota") or die("No connection!"); mysql_select_db('eplovdiv_news_bg'); mysql_query("SET NAMES 'cp1251'")or die("No setting names!"); $res=mysql_query("select * from imoti where id='$id'"); $res2=""; $num=mysql_num_rows($res); if($num){$tip = mysql_result($res,0,"tip"); $res2=mysql_query("select * from categoriq where id='$tip'"); } mysql_close(); if($num){ $zagl=mysql_result($res,0,"zagl"); $tipid=mysql_result($res2,0,"name"); $mqsto = mysql_result($res,0,"mqsto"); $pic=mysql_result($res,0,"pic"); $mater = mysql_result($res,0,"mater"); $spalnq=mysql_result($res,0,"spalnq"); $gostna=mysql_result($res,0,"gostna"); $banq=mysql_result($res,0,"banq"); $kvsg=mysql_result($res,0,"kvsg"); $kvdv=mysql_result($res,0,"kvdv"); $cena=mysql_result($res,0,"cena"); $opis=mysql_result($res,0,"opisan"); $datata=mysql_result($res,0,"date"); } include('functions.php'); ?> Версия за печат: <? echo " $zagl "; ?>

Категория: $tipid | $datata
"; echo"
$mqsto
"; $opis=nl2br($opis); echo"

".wordwrap(ParseCode($opis))."
"; echo"
(c) www.e-Plovdiv.com | http://www.e-plovdiv.com/podr.html?id=$id
"; ### Drugi novini ot kategoriqta ?>