DbGetRow($sql); $mec_quan = $mec_cnt['NumCnt']; if($mec_quan > PAGE_LINES){ $rsPage = ceil($mec_quan / PAGE_LINES); for($i = 0; $i < $rsPage; $i++){ $rPage[] = $i; } }else{ $rsPage = 0; $rPage[] = 0; } $start = $page * PAGE_LINES; $limit = PAGE_LINES; $sql = "select * from e_news Order By Num Desc Limit ".$start.", ".$limit; $rec_news = $gDbManager->DbGetAll($sql); ?>
新增最新消息
NEWS
0){ $i = 0; foreach($rec_news as $a){ if($i % 2){ ?>