//-------------------------------------------------------------------------------
//ÇÁ·Î±×·¥¸í : RoomSolution ½ºÄð·ë free
//¹èÆ÷¹öÁ¯ : 2.0 free
//ÇÁ·Î±×·¥µî·Ï : 2002-01-26-2944 ELS K-TooL
//ƯÇãÃâ¿ø : 2002-0076246
//°³¹ß»ç : (ÁÖ)ÀÌ¿¤¿¡½º - ELS CO.,Ltd.
//Homepage : http://www.els.co.kr
//µ¥¸ð ¹× ¼ºñ½º : www.rsolution.com
//* º» ¼Ò½ºÄÚµå´Â ¼ÒÇÁÆ®¿þ¾î, ƯÇã, ÀúÀÛ±Ç µîÀÇ ¹ý·ü¿¡ ÀÇÇØ º¸È£¹Þ°í ÀÖ½À´Ï´Ù.
//-------------------------------------------------------------------------------
?>
include "../top.html";
include "../left.html";
?>
if (!$page) { $page=1;}
$pagesize=15;
$listsize=10; //ÇÏ´Ü ¸®½ºÆ® °¹¼ö
$query=mysql_query("select count(*) from $tname where c_no='$c_no' and c_bnum='$c_bnum'");
$ro=mysql_fetch_array($query);
$total=$ro[0];
$lownumber=(($page-1)*$pagesize);
$totalpage = ceil($total/$pagesize); //ÃÑÆäÀÌÁö¼ö
$totalblock = ceil($totalpage/$listsize); //ÃÑºí·°¼ö
$block=ceil($page/$listsize); //ÇöÀç ºí·°
$first_page=($block-1)*$listsize; //ÇöÀçºí·°¿¡¼ Ãâ·ÂµÉ ù¹øÂ° ÆäÀÌÁö
$last_page=$block*$listsize; //ÇöÀçºí·°¿¡¼ Ãâ·ÂµÉ ¸¶Áö¸· ÆäÀÌÁö
if($block>=$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");
?>
=$t[c_boardtitle]?>
|
=$total?>
|
±Û¾²±â
|
|
include "../copyright.html";
?>