if ($cookiej2hbomb ==""){setcookie ("cookiej2hbomb",$REMOTE_ADDR, time()+86400*180,"/bbs/"); }
include "config.php";
include "../top.php";
include "../news.php"; ?>
【我要貼貼貼】
主題 | 作者 | 人氣 | 回應 | 轉寄 | 張貼日期 |
while ($i < $number){
$row = mysql_fetch_array($result);
$id=$row["id"];
$j2h=$row["j2h"];
$j2h2=$row["j2h2"];
$j2h3=$row["j2h3"];
$j2h6=$row["j2h6"];
$j2h7=$row["j2h7"];
$mail=$row["mail"];
$bad=$row["bad"];
$date=$row["date"];
$redate=$row["redate"];
$username=$row["username"];
$counter=$row["counter"];
if($i%2==0)
{
$entry_color = "ddf0ff";
} else {
$entry_color = "white";
}
$datestemp = mktime();
$post_date_string = date("Y-m-d",$date);
$reply_date_string = date("Y-m-d",$redate);
$now_date_string = date("Y-m-d",$datestemp);
if($post_date_string == $now_date_string) {
$new_post = " 新 ";
} else {
$new_post = "";
}
if($reply_date_string == $now_date_string && $date != $redate) {
$up_post = " 回 ";
} else {
$up_post = "";
}
if($j2h3!="" ){ $j2hmember="--[$j2h3 級會員]"; }else {
$j2hmember = "";
}
?>
>
.html target="j2hpage"> echo substr("$j2h2",0,40) ; echo $j2hmember ; ?> echo " $new_post $up_post " ;?> |
if ($username !=""){echo "";
echo substr("$j2h",0,10); echo"";}else{echo substr("$j2h",0,10);}?> |
echo $j2h6 ;?> |
echo $counter ;?> |
echo $mail ;?> |
echo $post_date_string ;?> |
$i++;
}
?>
include "../downpage.php";
?>