"; 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'"); $viewnum=mysql_result($res,0,"viewnum"); ######## $statsql=mysql_query("UPDATE imoti SET viewnum = '$viewnum'+1 WHERE id = '$id' "); ######## } mysql_close(); if($num){ $articleid=mysql_result($res,0,"id"); $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"); $viewnum=mysql_result($res,0,"viewnum"); } include('../functions.php'); ?> Mobile e-Plovdiv.com: <? echo " $zagl "; ?> "/> "/> "; ?> "; echo " "; echo " "; $k=$a+1; if(($k%1)==0)echo""; $a+=1; } ### - Kray Meta - Pic - ############ ?>
e-Plovdiv.com

Новини | Кино | Справочник

 


Начало / $tipid
"; ########## $pic=mysql_result($res,0,"pic"); if($pic){ $arr=explode(",",$pic); echo " "; } ########## echo"
$mqsto
"; $opis=nl2br($opis); echo"
".wordwrap(ParseCode($opis))."
"; ?>

Разгледано: пъти.

Facebook - http://www.e-plovdiv.com/podr.html?id=" target='_blank'> Twitter " target='_blank'> Google  Yahoo

Още новини от категория:
$tipid


"; ### Drugi novini ot kategoriqta include'conn2.php'; $res3=mysql_query("select * from imoti where tip='$tip' order by id desc limit 10"); $num3=mysql_num_rows($res3); for($d=0; $d<$num3; $d++)echo"• ".mysql_result($res3,$d,"zagl")." (".mysql_result($res3,$d,"date").")
"; mysql_close(); ?>