include("../menu_main.php");?>
include("../index_func.php"); include("../addemail.php"); ?> include("func.php"); // `ưH ƨӰ-p $result=countBook(); list($coun)=mysql_fetch_row($result); $list_page=10; //]⳩wC ܭ $All=ceil($coun/$list_page);//round()Υ|ˤJ禡Ӱ`d H ƹB // X if(empty($HTTP_GET_VARS['Page'])){ $Page="1"; //Y ܪȴNw]Ĥ@ }else{ $Page = $HTTP_GET_VARS['Page']; } if($Page > $All){ $Page = $All; } $sp=$list_page*($Page-1); ?>
華弘學院 / 季刊回顧
$rs = getBook($sp,$list_page); $i=1; while(list($book_id,$book_year,$book_month,$book_no)=mysql_fetch_row($rs)){ ?>
華弘之友
=$book_year;?>
年
=$book_month;?>
月 No.
=$book_no;?>
$i++; } for($k=$i;$k<=11;$k++){ ?>
} ?> if($All==1){ echo "
上一頁 | 下一頁
"; }else{ if($Page==1){ echo "
上一頁 |
下一頁
"; }else if($Page ==$All && $All >1){ echo "
上一頁
| 下一頁
"; }else{ echo "
上一頁
"; echo " |
下一頁
"; } } ?>