?? list.php
字號:
<?php
/*
*####################################################
* PHPCMS v3.0.0 - Advanced Content Manage System.
* Copyright (c) 2005-2006 phpcms.cn
*
* For further information go to http://www.phpcms.cn/
* This copyright notice MUST stay intact for use.
*####################################################
*/
defined('IN_PHPCMS') or exit('Access Denied');
require_once PHPCMS_ROOT."/module/article/common.php";
$catid = intval($catid);
if(!is_array($_CAT[$catid])) message('欄目不存在,請返回','goback');
@extract($_CAT[$catid]);
if($catpurview)
{
if(!check_purview($arrgroupid_browse))
{
message("本欄目為認證欄目,您沒有權限瀏覽!","goback");
}
}
$position = cat_posurl($catid);
$p->set_catid($catid);
$caturl = $p->get_listurl(0);
$arrchildids = get_childcat($channelid,$catid);
$arrchildid = array();
foreach($arrchildids as $c)
{
if($c['cattype']) $arrchildid[] = $c;
}
$page = intval($page);
$skindir = $skinid ? PHPCMS_PATH."templates/".$defaulttemplate."/skins/".$skinid : $skindir;
$cattemplateid = ($child && !$page) ? $templateid : $listtemplateid;
$templatetype = ($child && !$page) ? 'category' : 'category_list';
$templateid = $cattemplateid ? $cattemplateid : $templatetype;
$page = $page ? $page : 1 ;
$meta_title = $catname."-".$_CHA['channelname'];
$meta_keywords = $meta_keywords.",".$_CHA['meta_keywords'];
$meta_description = $meta_description."-".$_CHA['meta_description'];
if(!$catpurview) $filecaching = 1;
include template($mod,$templateid);
?>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -