📄 type.inc.php
字号:
<?php
defined('IN_PHPCMS') or exit('Access Denied');
require PHPCMS_ROOT.'/module/'.$mod.'/include/common.inc.php';
$typeid = isset($typeid) ? intval($typeid) : 0;
$catid = isset($catid) ? intval($catid) : 0;
$TYPE = cache_read('type_'.$channelid.'.php');
if($typeid)
{
if(!isset($TYPE[$typeid])) showmessage($LANG['illegal_operation']);
extract($TYPE[$typeid]);
$templateid = 'type_list';
if(!isset($page)) $page = 1;
$head['title'] = $name;
$head['keywords'] = $name;
$head['description'] = $name;
}
else
{
$templateid = 'type';
$head['title'] = $LANG['type'];
$head['keywords'] = '';
$head['description'] = '';
}
$position = '';
include template($mod, $templateid);
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -