-
query($sql_news_list));
$p = new show_page; //建立新对�
$p->file="news_list_place.php"; //设置文件�,默认为当�页
$p->pvar="page"; //设置页é�¢ä¼ 递的å�‚数,默认为p
$p->setvar(array("cat" => intval($_GET['cat']), "place_c" => intval($_GET['place_c']), "pic" => intval($_GET['pic'])));
$p->set(20,$rnum,intval($_GET["page"])); //设置相关�数,共三个,分别为'页�大�'�'总记录数'�'当�页(如果为空则自动读�GET��)'
$sql_news_list=$db->query($sql_news_list." limit {$p->limit()}");
while($rows_news_list=mysql_fetch_object($sql_news_list)){
?>
- mysubstr(strip_tags($rows_news_list->title),0,17); ?> addtime; ?>
1){?>
output(0);?>
query("select * from news_place where place_c='".intval($_GET['place_c'])."' and cat=".intval($_GET['pic'])." and pic<>'' and hot!=1 and
status=1 order by id desc limit 0,1"));
?>
query("select * from news_place where place_c='".intval($_GET['place_c'])."' and cat=".intval($_GET['pic'])." and pic<>'' and hot!=1 and
status=1 order by id desc limit 1,1"));
?>
query("select * from news_place where place_c='".intval($_GET['place_c'])."' and cat=".intval($_GET['pic'])." and pic<>'' and hot!=1 and
status=1 order by id desc limit 2,1"));
?>
query("select * from news_place where place_c='".intval($_GET['place_c'])."' and cat=".intval($_GET['pic'])." and pic<>'' and hot!=1 and
status=1 order by id desc limit 3,1"));
?>
query("select * from news_place where place_c='".intval($_GET['place_c'])."' and cat=".intval($_GET['pic'])." and pic<>'' and hot!=1 and
status=1 order by id desc limit 4,1"));
?>
query("select * from news_place where place_c='".intval($_GET['place_c'])."' and cat=".intval($_GET['pic'])." and pic<>'' and hot!=1 and
status=1 order by id desc limit 5,1"));
?>

