index.php

来自「一个简单的网站管理系统,他能实现你所需要的功能,是个值得一看的系统」· PHP 代码 · 共 29 行

PHP
29
字号
<?php
if(!defined('IN_PHPCMS')) {
        exit('Access Denied');
}

$head[title]=$sitekeywords;
$head[keywords]=$sitekeywords;
$head[description]=$sitedescription;

$cats = $cat = array();
$childcatids=childcatids(0);
if(is_array($childcatids)){
   foreach($childcatids as $catid){
           if($_CAT[$catid][cattype] && $_CAT[$catid][islist]){
              $cat = $_CAT[$catid];
              $cat[url] = $rootpath.'/data/'.$cat[catdir].'/';
              $cats[] = $cat;
           }
   }
}

ob_start();
include template('index');
copyright($version);
$data=$inc.ob_get_contents();
$filename='index'.$fileext;
file_write($filename,$data);
ob_clean();
?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?