if ($cookiej2hbomb ==""){setcookie ("cookiej2hbomb",$REMOTE_ADDR, time()+86400*180,"/bbs/"); }
include "config.php";
include "../top5.php"; ?>
include "sort.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 = "$j2hcolor";
} 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 rel=popup1 class=poplight name=modal> echo substr("$j2h2",0,50) ; 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 $bad ;?> |
echo $post_date_string;?> |
$i++;
}?>
include "../downpage.php";
?>