Anunturi Animale: Anunturi caini, pisici, pasari

'; $q_cat = "SELECT * FROM `category` WHERE `cat_fatherid` = '0' ORDER By `cat_total` DESC"; $res_cat = mysql_query($q_cat); $i=0; while($row_cat = mysql_fetch_assoc($res_cat)){ echo '

'.$row_cat['cat_name'].' ('.$row_cat['cat_total'].')

'; $q_subcat = "SELECT * FROM `category` WHERE `cat_fatherid` = '".$row_cat['cat_id']."' ORDER By `cat_name` ASC"; $res_subcat = mysql_query($q_subcat); echo ''; echo '
'; if($row_cat['cat_image'] != ''){ echo ''.$row_cat['cat_name'].''; } echo ''; while($row_subcat = mysql_fetch_assoc($res_subcat)){ echo '

'.$row_subcat['cat_name'].' ('.$row_subcat['cat_total'].')

'; } echo '
'; if($i%2) echo ''; $i++; } echo ''; ?>

Ultimele anunturi adaugate

paginate(); $i = 1; while($r = mysql_fetch_array($rs)){ $pic = mysql_query("SELECT `filename` FROM `picture` WHERE `pic_ad_id` = '".$r['ad_id']."' LIMIT 0,1"); $res = mysql_fetch_array($pic); $poza = str_replace("_tmb2","_tmb1",$res['filename']); if($poza == '') $img = 'http://www.animalpedia.ro/cabinete-veterinare/img/fara_imagine.gif'; else $img = $_LINK.'images/'.$poza; if($i%4 == 3){?>

  0) && ($r['ad_totalscore'] <= 1)){?> 1) && ($r['ad_totalscore'] <= 2)){?> 2) && ($r['ad_totalscore'] <= 3)){?> 3) && ($r['ad_totalscore'] <= 4)){?> 4) && ($r['ad_totalscore'] <= 5)){?> 5) && ($r['ad_totalscore'] <= 6)){?> 6) && ($r['ad_totalscore'] <= 7)){?> 7) && ($r['ad_totalscore'] <= 8)){?> 8) && ($r['ad_totalscore'] <= 9)){?> 9) && ($r['ad_totalscore'] <= 10)){?>
 

$_el_per_page_frontend){ ?>
renderFullNav();?>