📄 html.class.php
字号:
<?php
class html
{
function __construct()
{
}
function html()
{
$this->__construct();
}
//鐢熸垚棣栭〉
function index()
{
extract($GLOBALS, EXTR_SKIP);
$head['title'] = $M['name'];
$head['keywords'] = $M['seo_keywords'];
$head['description'] = $M['seo_description'];
ob_start();
$datas = subtype('link');
include template('link','index');
$file = PHPCMS_ROOT."/link/index.html";
return createhtml($file);
}
//鐢熸垚鍒楄〃
function type($typeid)
{
extract($GLOBALS, EXTR_SKIP);
$head['title'] = $M['name'];
$head['keywords'] = $M['seo_keywords'];
$head['description'] = $M['seo_description'];
ob_start();
$datas = subtype('link');
include template('link','list');
$file = PHPCMS_ROOT."/link/list_".$typeid.".html";
return createhtml($file);
}
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -