'$cid' AND $np ORDER BY `id` ASC LIMIT 0,1"; $r_nxt = mysql_query($nxt) or die('Error, query failed ' . mysql_error()); if (mysql_num_rows($r_nxt) == 0) { if($sbt != '') { $nxtr = "/".$rowg['sub_cat_url']."/"; }else { $nxtr = "/".$rowg['cat_url']."/"; } }else { while($row_next = mysql_fetch_array($r_nxt)) { $nxtr = "/".$loc_path."/0".$row_next[id]."/"; } } $pre = "SELECT `id` FROM `comment` WHERE `id` < '$cid' AND $np ORDER BY `id` DESC LIMIT 0,1"; $r_pre = mysql_query($pre) or die('Error, query failed ' . mysql_error()); if (mysql_num_rows($r_pre) == 0) { if($sbt != '') { $prer = "/".$rowg['sub_cat_url']."/"; }else { $prer = "/".$rowg['cat_url']."/"; } }else { while($row_pre = mysql_fetch_array($r_pre)) { $prer = "/".$loc_path."/0".$row_pre[id]."/"; } } $cat_url = $rowg['cat_url']; ?> <?=$title;?> Comments, graphics, images, pictures, photos - <?=$_REQUEST[id];?>
 :
Comment / Graphic Code
 :

Comment / Graphic Code

 
Views :
Copy your comment / graphic code