include "config.php"; $ip=$REMOTE_ADDR; $get_j2h = mysql_query("select * from $j2hbbstable where id='$id'",$conID); $get_row = mysql_fetch_array($get_j2h); $id = $get_row[id]; $j2h = $get_row[j2h]; $j2h2 = $get_row[j2h2]; $j2h5 = $get_row[j2h5]; $j2h7 = $get_row[j2h7]; $date = $get_row[date]; $post_date_string = date("Y-m-d",$date); if($id){$sql = "update $j2hbbstable set j2h6=j2h6+1 where id='$id'"; $result = mysql_query($sql,$conID);} ?>
房屋仲介•房地產新聞• |
echo $j2h2;?> |
房東: echo"$j2h";?> 發表時間: echo $post_date_string ;?> |
if ($j2h7>=1){$j2hcomment = eregi_replace("([^=^\"]|^)((http|ftp|mms)\:[0-9a-zA-Z\.\~\_\/\?\&\+\=\:\@\%\;\#\-]+)", "\\1\\2", nl2br($j2h5));
echo $j2hcomment;}else {$j2hcomment = eregi_replace("([^=^\"]|^)((http|ftp|mms)\:[0-9a-zA-Z\.\~\_\/\?\&\+\=\:\@\%\;\#\-]+)", "\\1\\2", nl2br(HTMLSpecialChars($j2h5)));
echo $j2hcomment;} ?>
|