除过搜索外
源代码在线查看: list.php
include_once("config.php"); $query = $_SERVER['PHP_SELF']; $query =explode("list.php/",$query); $query = explode("/",$query[1]); $typename = $query[1]; $canshu = $query[0]; $canshu = explode("_",$canshu); $canshunum = count($canshu); if($canshunum < 3) { $lid = $canshu[0]; $count = 30; $start = 0; } else { $lid = $canshu[0]; $count = $canshu[1]; $start = $canshu[2]; } $result = judge_type_name($typename); $list_name = $result["id"]; $list_title = "$list_name[$lid] - $result[name]"; include_once("header.php"); if(!file_exists("data/list/page/$lid.php")){get_list_page($lid);} include_once("data/list/page/$lid.php"); ?> -> autoTable("AutoRows"); //--> 文章列表 if(!file_exists("data/list/data/$lid"."_".$count."_".$start.".txt")){get_alllist($lid,$count,$start);} include_once("data/list/data/$lid"."_".$count."_".$start.".txt"); ?> if($start == 0) { $now = 1; } else { $now = ceil($start/$count); } for($i=0;$i { $j = $i + 1; if($j == $total_page) break; $start = $j * $count; if($now == $j) { echo " echo "_$count"."_".$start; echo "/$typename> $j "; } else { echo " echo "_$count"."_".$start; echo "/$typename> $j "; } } ?> 近期热点 if(!file_exists("data/13jqrd.txt")){get_jqrd(13);} include_once("data/13jqrd.txt"); ?> 今日热点 if(!file_exists("data/13jrrd.txt")){get_jrrd(13);} include_once("data/13jrrd.txt"); ?> 昨日热点 if(!file_exists("data/13zrrd.txt")){get_zrrd(13);} include_once("data/13zrrd.txt"); ?> include_once("footer.html"); ?>