Error

模板标签写法错误:Undefined constant "catid"
变量或者常量没有定义 "catid"
/data/wwwroot/hhhtsdsyy/caches/caches_template/default/content/page-kfzx.php(8) 搜索问题 →

模板文件:/data/wwwroot/hhhtsdsyy/cms/templates/default/content/page-kfzx.html

模板文件:/data/wwwroot/hhhtsdsyy/cms/templates/default/content/header_page.html

解析文件:/data/wwwroot/hhhtsdsyy/caches/caches_template/default/content/page-kfzx.php at line 8

 1 <?php defined('IN_CMS') or exit('No permission resources.'); ?><?php if ($fn_include pc_base::load_sys_class('service')->_include("content","header_page")) include($fn_include); ?> 
 2 <img src="<?php echo $image;?>" style="width:100%" />
 3 <div class="container" style="margin-top: 50px;">
 4    <div class="channel_list">
 5     <div class="t"><?php echo $CATEGORYS[62]['catname']; ?></div>
 6     <div class="chnList">
 7       <ul>         
 8                     <li <?php if($r[catid] == $catid) { ?> class="on" <?php } ?>>
 9                         <a  href="<?php echo $CATEGORYS[62]['url']; ?>" ><?php echo $title;?></a>
10                     </li>
11       </ul>
12     </div>
13   </div>        
14     <div class="document_list">
15     <div class="position"><a href="index.php" target="_blank" title="首页" class="CurrChnlCls">首页</a>&nbsp;&gt;&nbsp; <?php echo catpos($catid);?></div>
  1. include /data/wwwroot/hhhtsdsyy/cms/libs/classes/service.class.php   —   include()

  2. /data/wwwroot/hhhtsdsyy/cms/modules/content/index.php : 277   —  service->display ()

    270                         define('IS_HTML'0);
    271                     }
    272                     pc_base::load_sys_class('service')->display('mobile',$template);
    273                 }
    274             }else{
    275                 define('ISMOBILE'0);
    276                 define('IS_HTML'$setting['ishtml']);
    277                 pc_base::load_sys_class('service')->display('content',$template);
    278             }
    279         }
    280     }
    281     //内容页
    282     public function show() {
    283         if (IS_POST) {
    284             dr_json(0L('禁止提交,请检查提交地址是否有误'));
    
  3. /data/wwwroot/hhhtsdsyy/cms/libs/classes/application.class.php : 114   —  index->lists ()

    107                 throw new \OutOfBoundsException('API处理程序不存在<br>检查此文件是否存在:'.CMS_PATH.'api/'.$op.'.php,检查地址是否正确,注意控制器文件');
    108             }
    109         } else {
    110             if (method_exists($controllerROUTE_A)) {
    111                 if (preg_match('/^[_]/i'ROUTE_A)) {
    112                     dr_exit_msg(0'You are visiting the action is to protect the private action');
    113                 } else {
    114                     call_user_func(array($controller, ROUTE_A));
    115                     if (IS_ADMIN && CI_DEBUG && !IS_AJAX) {
    116                         if (!in_array(ROUTE_M, array('admin')) || !in_array(ROUTE_C, array('index')) && !in_array(ROUTE_A, array('public_main'))) {
    117                             $this->debug->message();
    118                         }
    119                     }
    120                     if (!IS_ADMIN && IS_DEV && !IS_AJAX) {
    121                         $this->debug->message();
    
  4. /data/wwwroot/hhhtsdsyy/cms/libs/classes/application.class.php : 57   —  application->init ()

    50         }
    51         // 是否前端
    52         define('IS_HOME', !IS_ADMIN && !IS_MEMBER);
    53         if (IS_ADMIN) {
    54             // 开启session
    55             $this->session();
    56         }
    57         $this->init();
    58         // 挂钩点 程序结束之后
    59         pc_base::load_sys_class('hooks')::trigger('cms_close');
    60     }
    61     
    62     /**
    63      * 调用件事
    64      */
    
  5. /data/wwwroot/hhhtsdsyy/cms/base.php : 469   —  application->__construct ()

    462             include PC_PATH.$path.DIRECTORY_SEPARATOR.$classname.'.class.php';
    463             $name $classname;
    464             if ($my_path self::my_path(PC_PATH.$path.DIRECTORY_SEPARATOR.$classname.'.class.php')) {
    465                 include $my_path;
    466                 $name 'MY_'.$classname;
    467             }
    468             if ($initialize) {
    469                 $classes[$key] = new $name;
    470             } else {
    471                 $classes[$key] = true;
    472             }
    473             // 站群系统接入
    474             if (is_file(CMS_PATH.'api/fclient/sync.php')) {
    475                 $sync = require CMS_PATH.'api/fclient/sync.php';
    476                 if ($sync['status'] == 4) {
    
  6. /data/wwwroot/hhhtsdsyy/cms/base.php : 420   —  pc_base::_load_class ()

    413     /**
    414      * 加载系统类方法
    415      * @param string $classname 类名
    416      * @param string $path 扩展地址
    417      * @param intger $initialize 是否初始化
    418      */
    419     public static function load_sys_class($classname$path ''$initialize 1) {
    420         return self::_load_class($classname, $path, $initialize);
    421     }
    422     
    423     /**
    424      * 加载应用类方法
    425      * @param string $classname 类名
    426      * @param string $m 模块
    427      * @param intger $initialize 是否初始化
    
  7. /data/wwwroot/hhhtsdsyy/cms/base.php : 411   —  pc_base::load_sys_class ()

    404 
    405 class pc_base {
    406     
    407     /**
    408      * 初始化应用程序
    409      */
    410     public static function creat_app() {
    411         return self::load_sys_class('application');
    412     }
    413     /**
    414      * 加载系统类方法
    415      * @param string $classname 类名
    416      * @param string $path 扩展地址
    417      * @param intger $initialize 是否初始化
    418      */
    
  8. /data/wwwroot/hhhtsdsyy/index.php : 40   —  pc_base::creat_app ()

    33 // 判断安装
    34 if (file_exists('install') && is_file(CACHE_PATH.'install.lock')) {
    35     dr_dir_delete('install'TRUE);
    36 }
    37 // 结束,安装之后可以删除此段代码
    38 
    39 // 执行主程序
    40 pc_base::creat_app();
    

$_SERVER

Key Value
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_HOST www.hhhtsdsyy.org.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME hhhtsdsyy.org.cn
SERVER_PORT 443
SERVER_ADDR 172.21.48.12
REMOTE_PORT 50177
REMOTE_ADDR 216.73.216.26
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /data/wwwroot/hhhtsdsyy
DOCUMENT_URI /index.php
REQUEST_URI /index.php?m=content&c=index&a=lists&catid=62
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING m=content&c=index&a=lists&catid=62
SCRIPT_FILENAME /data/wwwroot/hhhtsdsyy/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT
1751770034.9                                                                    
REQUEST_TIME
1751770034                                                                    

Constants

Key Value
IS_DEV 1
IS_ADMIN
IS_MOBILE
SELF index.php
CMS_PATH /data/wwwroot/hhhtsdsyy/
IN_CMS 1
IN_PHPCMS 1
IS_API
IS_COLLAPI
PC_PATH /data/wwwroot/hhhtsdsyy/cms/
PHPCMS_PATH /data/wwwroot/hhhtsdsyy/
CACHE_PATH /data/wwwroot/hhhtsdsyy/caches/
CONFIGPATH /data/wwwroot/hhhtsdsyy/caches/configs/
HTTP_REFERER
SYS_START_TIME 1751770034.9017
SYS_START_MEM 512752
MIN_PHP_VERSION 7.1.0
SYS_TIMEZONE 8
CHARSET utf-8
SYS_TPL_ROOT templates/
TPLPATH /data/wwwroot/hhhtsdsyy/cms/templates/
SYS_TIME_FORMAT
SYS_ADMIN_PAGESIZE 10
TEMPPATH /data/wwwroot/hhhtsdsyy/cms/temp/
IS_AJAX
IS_POST
IS_AJAX_POST
SYS_TIME 1751770034
SYS_BDMAP_API
WEB_PATH /
SITE_THEME 0
JS_PATH https://www.hhhtsdsyy.org.cn/statics/js/
CSS_PATH https://www.hhhtsdsyy.org.cn/statics/css/
IMG_PATH https://www.hhhtsdsyy.org.cn/statics/images/
MOBILE_JS_PATH https://www.hhhtsdsyy.org.cn/mobile/statics/js/
MOBILE_CSS_PATH https://www.hhhtsdsyy.org.cn/mobile/statics/css/
MOBILE_IMG_PATH https://www.hhhtsdsyy.org.cn/mobile/statics/images/
APP_PATH https://www.hhhtsdsyy.org.cn/
MOBILE_PATH https://www.hhhtsdsyy.org.cn/mobile/
SYS_DEBUG 1
SYS_EDITOR 0
SESSION_STORAGE file
SESSION_TTL 1800
SESSION_SAVEPATH /data/wwwroot/hhhtsdsyy/caches/sessions/
COOKIE_PRE CMS36C79039F3279_
COOKIE_DOMAIN
COOKIE_PATH
SYS_ADMIN_PATH login
NeedCheckComeUrl 1
SYS_KEY CMSe26a119e3968b7bfea00123377eb3e20
SYS_LANGUAGE zh-cn
SYS_GO_404 0
SYS_301 1
SYS_URL_ONLY 0
SYS_TOKEN_NAME csrf_test_name
SYS_CSRF 0
SYS_CSRF_TIME 0
SYS_TPL_NAME default
IS_EDIT_TPL 0
SYS_ADMIN_LOG 1
SYS_GZIP 1
ADMIN_FOUNDERS
Array
(
    [0] => 1
)
                                                                    
SYS_HTML_ROOT /html
SYS_MOBILE_ROOT /mobile
SYS_KEYWORDAPI 0
SYS_BAIDU_AID
SYS_BAIDU_SKEY
SYS_BAIDU_ARCRETKEY
SYS_BAIDU_QCNUM 10
SYS_XUNFEI_AID
SYS_XUNFEI_SKEY
SYS_ATTACHMENT_STAT 1
SYS_ATTACHMENT_FILE 0
SYS_ATTACHMENT_DEL 1
SYS_ATTACHMENT_SAVE_ID 0
SYS_ATTACHMENT_CF 0
SYS_ATTACHMENT_PAGESIZE 18
SYS_ATTACHMENT_SAFE 0
SYS_ATTACHMENT_PATH
SYS_ATTACHMENT_URL
SYS_ATTACHMENT_SAVE_TYPE 0
SYS_ATTACHMENT_SAVE_DIR
CI_DEBUG 1
IS_DEBUG 0
SYS_CACHE 0
SYS_CACHE_TYPE 0
SYS_CACHE_CLEAR 0
SYS_CACHE_SHOW 0
SYS_CACHE_SMS 60
SYS_UPLOAD_PATH /data/wwwroot/hhhtsdsyy/uploadfile/
SYS_UPLOAD_URL https://www.hhhtsdsyy.org.cn/uploadfile/
SYS_AVATAR_PATH /data/wwwroot/hhhtsdsyy/uploadfile/avatar/
SYS_AVATAR_URL https://www.hhhtsdsyy.org.cn/uploadfile/avatar/
SYS_THUMB_PATH /data/wwwroot/hhhtsdsyy/uploadfile/thumb/
SYS_THUMB_URL https://www.hhhtsdsyy.org.cn/uploadfile/thumb/
SITE_PROTOCOL https://
FC_NOW_URL https://www.hhhtsdsyy.org.cn/index.php?m=content&c=index&a=lists&catid=62
FC_NOW_HOST https://www.hhhtsdsyy.org.cn/
DOMAIN_NAME www.hhhtsdsyy.org.cn
WEB_DIR /
CMSURI
SITE_ID 1
ROOT_URL https://www.hhhtsdsyy.org.cn/
SITE_URL https://www.hhhtsdsyy.org.cn
SITE_MURL
ROUTE_M content
ROUTE_C index
ROUTE_A lists
IS_MEMBER
IS_HOME 1
EVENT_PRIORITY_LOW 200
EVENT_PRIORITY_NORMAL 10
EVENT_PRIORITY_HIGH 10
CACHE_MODEL_PATH /data/wwwroot/hhhtsdsyy/caches/caches_model/caches_data/
SITEID 1
STYLE default
ISMOBILE 0
IS_HTML 0
Path https://www.hhhtsdsyy.org.cn/index.php?m=content&c=index&a=lists&catid=62
HTTP Method GET
IP Address 216.73.216.26
Is AJAX? no
Is CLI? no
User Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

$_GET

Key Value
m content
c index
a lists
catid 62

Headers

Header Value
Accept-Encoding gzip, br, zstd, deflate
User-Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Accept */*
Host www.hhhtsdsyy.org.cn
  1. /data/wwwroot/hhhtsdsyy/index.php
  2. /data/wwwroot/hhhtsdsyy/cms/base.php
  3. /data/wwwroot/hhhtsdsyy/caches/configs/system.php
  4. /data/wwwroot/hhhtsdsyy/caches/configs/cache.php
  5. /data/wwwroot/hhhtsdsyy/cms/libs/functions/global.func.php
  6. /data/wwwroot/hhhtsdsyy/cms/libs/functions/extention.func.php
  7. /data/wwwroot/hhhtsdsyy/cms/libs/classes/cache.class.php
  8. /data/wwwroot/hhhtsdsyy/cms/libs/classes/application.class.php
  9. /data/wwwroot/hhhtsdsyy/cms/libs/classes/debug.class.php
  10. /data/wwwroot/hhhtsdsyy/cms/libs/classes/param.class.php
  11. /data/wwwroot/hhhtsdsyy/caches/configs/route.php
  12. /data/wwwroot/hhhtsdsyy/cms/libs/classes/input.class.php
  13. /data/wwwroot/hhhtsdsyy/cms/libs/classes/security.class.php
  14. /data/wwwroot/hhhtsdsyy/cms/libs/classes/service.class.php
  15. /data/wwwroot/hhhtsdsyy/cms/modules/attachment/config/filters.php
  16. /data/wwwroot/hhhtsdsyy/cms/modules/admin/config/hooks.php
  17. /data/wwwroot/hhhtsdsyy/cms/libs/classes/hooks.class.php
  18. /data/wwwroot/hhhtsdsyy/cms/modules/admin/config/filters.php
  19. /data/wwwroot/hhhtsdsyy/cms/modules/member/config/hooks.php
  20. /data/wwwroot/hhhtsdsyy/cms/modules/member/config/filters.php
  21. /data/wwwroot/hhhtsdsyy/cms/modules/collection/config/filters.php
  22. /data/wwwroot/hhhtsdsyy/cms/modules/template/config/filters.php
  23. /data/wwwroot/hhhtsdsyy/caches/configs/hooks.php
  24. /data/wwwroot/hhhtsdsyy/cms/modules/content/index.php
  25. /data/wwwroot/hhhtsdsyy/cms/modules/content/functions/util.func.php
  26. /data/wwwroot/hhhtsdsyy/cms/modules/content/functions/global.func.php
  27. /data/wwwroot/hhhtsdsyy/cms/model/content_model.class.php
  28. /data/wwwroot/hhhtsdsyy/cms/libs/classes/model.class.php
  29. /data/wwwroot/hhhtsdsyy/cms/libs/classes/db_factory.class.php
  30. /data/wwwroot/hhhtsdsyy/cms/libs/classes/upload.class.php
  31. /data/wwwroot/hhhtsdsyy/caches/configs/database.php
  32. /data/wwwroot/hhhtsdsyy/cms/libs/classes/db_mysqli.class.php
  33. /data/wwwroot/hhhtsdsyy/cms/modules/content/classes/url.class.php
  34. /data/wwwroot/hhhtsdsyy/cms/model/category_model.class.php
  35. /data/wwwroot/hhhtsdsyy/cms/libs/classes/session.class.php
  36. /data/wwwroot/hhhtsdsyy/cms/libs/classes/session_file.class.php
  37. /data/wwwroot/hhhtsdsyy/cms/model/member_lock_model.class.php
  38. /data/wwwroot/hhhtsdsyy/cms/model/member_login_model.class.php
  39. /data/wwwroot/hhhtsdsyy/cms/model/admin_model.class.php
  40. /data/wwwroot/hhhtsdsyy/cms/model/admin_login_model.class.php
  41. /data/wwwroot/hhhtsdsyy/cms/model/category_priv_model.class.php
  42. /data/wwwroot/hhhtsdsyy/cms/model/page_model.class.php
  43. /data/wwwroot/hhhtsdsyy/caches/caches_model/caches_data/content_output.class.php
  44. /data/wwwroot/hhhtsdsyy/cms/libs/classes/template_cache.class.php
  45. /data/wwwroot/hhhtsdsyy/caches/caches_template/default/content/page-kfzx.php
  46. /data/wwwroot/hhhtsdsyy/caches/caches_template/default/content/header_page.php
  47. /data/wwwroot/hhhtsdsyy/cms/modules/content/classes/content_tag.class.php
  48. /data/wwwroot/hhhtsdsyy/cms/model/position_data_model.class.php
  49. /data/wwwroot/hhhtsdsyy/cms/temp/errors/html/error_exception.php
Memory Usage 6MB
Peak Memory Usage: 6MB
Memory Limit: 128M