=$totalblock){ $last_page=$totalpage; } $sql=mysql_query("select c_boardtitle from c_boardinfo where c_no='$c_no' and num='$c_bnum'"); $t=mysql_fetch_array($sql); $query1=mysql_query("select * from $tname where c_no='$c_no' and c_bnum='$c_bnum' order By ref desc,re_level asc,step asc limit $lownumber,$pagesize"); ?>

±Û¾²±â

=2){ $cha=$pagesize*($page-1); $total=$total-$cha; } while($row=mysql_fetch_array($query1)) { $title=stripslashes($row[title]); $ttitle1=$title; $ttitle1=ereg_replace("\"","'",$ttitle1); $titleLen=38; if (strLen($title) >= $titleLen){ $title=substr($title,0,$titleLen-3)."..."; } $writeday=substr($row[writeday],0,10); ?>
No
Subject
Date
Name
Hit
0){ for($i=0;$i<=($row[step]-1);$i++){ print(" "); } print("Re:"); //´äº¯±Û Ç¥½Ã } print("$title"); //±ÛÁ¦¸ñ if ($writeday==date('Y-m-d')){ print(" "); //NEW Ç¥½Ã } ?>

1){ $mypage=$first_page; echo("  "); }?> $i  "); }else{ echo(" $i  "); } } ?> "); } ?>