// ====================================\ @include_once('_dir.php'); // ====================================/ // ------------------------------------\ $page=(int)$args[0]; // ------------------------------------/ include_once("$ROOT_PATH/common/all_head.php"); ?> // ----------------------------------------------------------------------------\ $portion=(int)$Config['num_news']; $num_rows=@$sql_result(db_query("select count(*) from news"),0,0); $page=(int)$page; list($hbar,$lbar,$page)=make_page_bar("news_",$num_rows,$page,1,0,$portion); $lbar=preg_replace('/news_\d+/','\0.html',$lbar); $start=$page*$portion; $res=db_query("select nwsID,time,title,content,source from news order by time DESC,nwsID DESC limit $start,$portion"); // ----------------------------------------------------------------------------/ ?> = $hbar ?>