-
D:\wwwroot\w.hbyxfy.com\cms\libs\classes\db_mysqli.class.php : 270 — mysqli->query ( arguments )
$query
SELECT `data` FROM `whbyxfy`.`hbyxfy_session` WHERE `id` = 'cms_session:gju9hss4dr0t73qs4invm8np81' LIMIT 1
$result_mode
0
263 if ($res = $this->link->store_result()) { 264 $res->free(); 265 } 266 } 267 $this->lastQuery = $sql; 268 $startTime = microtime(true); 269 try { 270 $this->lastqueryid = $this->link->query($this->prepQuery($sql), $this->resultMode); 271 } catch (mysqli_sql_exception $e) { 272 log_message('error', (string) $e); 273 if ($this->config['debug']) { 274 throw $e; 275 } 276 } 277 pc_base::load_sys_class('debug')::addmsg($sql, 1, $startTime);
-
D:\wwwroot\w.hbyxfy.com\cms\libs\classes\db_mysqli.class.php : 350 — db_mysqli->execute ( arguments )
$sql
SELECT `data` FROM `whbyxfy`.`hbyxfy_session` WHERE `id` = 'cms_session:gju9hss4dr0t73qs4invm8np81' LIMIT 1
343 $group = $group == '' ? '' : ' GROUP BY '.$group; 344 $limit = ' LIMIT 1'; 345 $field = explode( ',', $data); 346 array_walk($field, array($this, 'add_special_char')); 347 $data = implode(',', $field); 348 349 $sql = 'SELECT '.$data.' FROM `'.$this->config['database'].'`.`'.$table.'`'.$where.$group.$order.$limit; 350 $this->execute($sql); 351 $res = $this->fetch_next(); 352 $this->free_result(); 353 return $res; 354 } 355 356 /** 357 * 遍历查询结果集
-
D:\wwwroot\w.hbyxfy.com\cms\libs\classes\model.class.php : 82 — db_mysqli->get_one ( arguments )
$data
`data`
$table
hbyxfy_session
$where
WHERE `id` = 'cms_session:gju9hss4dr0t73qs4invm8np81'
$order
$group
75 * @param $data 需要查询的字段值[例`name`,`gender`,`birthday`] 76 * @param $order 排序方式 [默认按数据库默认方式排序] 77 * @param $group 分组方式 [默认为空] 78 * @return array/null 数据查询结果集,如果不存在,则返回空 79 */ 80 final public function get_one($where = '', $data = '*', $order = '', $group = '') { 81 if (is_array($where)) $where = $this->sqls($where); 82 return $this->db->get_one($data, $this->table_name, $where, $order, $group); 83 } 84 85 /** 86 * 直接执行sql查询 87 * @param $sql 查询sql语句 88 * @return boolean/query resource 如果为查询语句,返回资源句柄,否则返回true/false 89 */
-
D:\wwwroot\w.hbyxfy.com\cms\libs\classes\session_mysqli.class.php : 63 — model->get_one ( arguments )
$where
`id` = 'cms_session:gju9hss4dr0t73qs4invm8np81'
$data
data
56 57 $where = array('id'=>$this->idPrefix . $id); 58 if ($this->match_ip) { 59 $where2 = array('ip_address'=>ip()); 60 } 61 $where = dr_array22array($where, $where2); 62 63 $result = $this->db->get_one($where, 'data'); 64 65 if ($result === null) { 66 $this->_row_exists = false; 67 $this->_fingerprint = md5(''); 68 return ''; 69 } 70
-
{PHP internal code} — session_mysqli->read ( arguments )
$id
gju9hss4dr0t73qs4invm8np81
-
D:\wwwroot\w.hbyxfy.com\cms\libs\classes\session_mysqli.class.php : 31 — session_start()
-
D:\wwwroot\w.hbyxfy.com\cms\base.php : 469 — session_mysqli->__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) {
-
D:\wwwroot\w.hbyxfy.com\cms\base.php : 420 — pc_base::_load_class ( arguments )
$classname
session_mysqli
$path
libs\classes
$initialize
1
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 是否初始化
-
D:\wwwroot\w.hbyxfy.com\cms\libs\classes\session.class.php : 5 — pc_base::load_sys_class ( arguments )
$classname
session_mysqli
1 <?php 2 class session { 3 4 function __construct() { 5 pc_base::load_sys_class('session_'.SESSION_STORAGE); 6 } 7 8 public function set($data, $value = null) { 9 if (is_array($data)) { 10 foreach ($data as $key => &$value) { 11 if (is_int($key)) { 12 $_SESSION[$value] = null; 13 } else { 14 $_SESSION[$key] = $value; 15 }
-
D:\wwwroot\w.hbyxfy.com\cms\base.php : 469 — session->__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) {
-
D:\wwwroot\w.hbyxfy.com\cms\base.php : 420 — pc_base::_load_class ( arguments )
$classname
session
$path
libs\classes
$initialize
1
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 是否初始化
-
D:\wwwroot\w.hbyxfy.com\cms\libs\classes\param.class.php : 141 — pc_base::load_sys_class ( arguments )
$classname
session
134 } 135 136 public static function set_session($key, $value = '') { 137 pc_base::load_sys_class('session')->set(SYS_KEY.$key, $value); 138 } 139 140 public static function get_session($key) { 141 return pc_base::load_sys_class('session')->get(SYS_KEY.$key); 142 } 143 144 public static function del_session($key) { 145 return pc_base::load_sys_class('session')->remove(SYS_KEY.$key); 146 } 147 148 public static function setTempdata($key, $value, $time) {
-
D:\wwwroot\w.hbyxfy.com\cms\model\content_model.class.php : 24 — param::get_session ( arguments )
$key
userid
17 $this->input = pc_base::load_sys_class('input'); 18 $this->cache = pc_base::load_sys_class('cache'); 19 $this->db_config = pc_base::load_config('database'); 20 $this->db_setting = 'default'; 21 parent::__construct(); 22 $this->url = pc_base::load_app_class('url', 'content'); 23 $this->siteid = get_siteid(); 24 $this->userid = param::get_session('userid') ? param::get_session('userid') : (param::get_cookie('_userid') ? param::get_cookie('_userid') : param::get_cookie('userid')); 25 $this->rid = md5(FC_NOW_URL.$this->input->get_user_agent().$this->input->ip_address().intval($this->userid)); 26 $this->grouplist = getcache('grouplist', 'member'); 27 $this->isadmin = param::get_session('roleid') ? 1 : 0; 28 $this->groupid = param::get_cookie('_groupid') ? param::get_cookie('_groupid') : 8; 29 } 30 public function set_model($modelid) { 31 $this->model = getcache('model', 'commons');
-
D:\wwwroot\w.hbyxfy.com\cms\base.php : 469 — content_model->__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) {
-
D:\wwwroot\w.hbyxfy.com\cms\base.php : 440 — pc_base::_load_class ( arguments )
$classname
content_model
$path
model
433 } 434 435 /** 436 * 加载数据模型 437 * @param string $classname 类名 438 */ 439 public static function load_model($classname) { 440 return self::_load_class($classname,'model'); 441 } 442 443 /** 444 * 加载类文件函数 445 * @param string $classname 类名 446 * @param string $path 扩展地址 447 * @param intger $initialize 是否初始化
-
D:\wwwroot\w.hbyxfy.com\cms\modules\content\classes\content_tag.class.php : 7 — pc_base::load_model ( arguments )
$classname
content_model
1 <?php 2 class content_tag { 3 private $input,$db,$position,$keyword_db,$category,$modelid,$hits_db; 4 public $tablename; 5 public function __construct() { 6 $this->input = pc_base::load_sys_class('input'); 7 $this->db = pc_base::load_model('content_model'); 8 $this->position = pc_base::load_model('position_data_model'); 9 } 10 /** 11 * 初始化模型 12 * @param $catid 13 */ 14 public function set_modelid($catid) { 15 static $CATS;
-
D:\wwwroot\w.hbyxfy.com\cms\base.php : 469 — content_tag->__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) {
-
D:\wwwroot\w.hbyxfy.com\cms\base.php : 432 — pc_base::_load_class ( arguments )
$classname
content_tag
$path
modules\content\classes
$initialize
1
425 * @param string $classname 类名 426 * @param string $m 模块 427 * @param intger $initialize 是否初始化 428 */ 429 public static function load_app_class($classname, $m = '', $initialize = 1) { 430 $m = empty($m) && defined('ROUTE_M') ? ROUTE_M : $m; 431 if (empty($m)) return false; 432 return self::_load_class($classname, 'modules'.DIRECTORY_SEPARATOR.$m.DIRECTORY_SEPARATOR.'classes', $initialize); 433 } 434 435 /** 436 * 加载数据模型 437 * @param string $classname 类名 438 */ 439 public static function load_model($classname) {
-
D:\wwwroot\w.hbyxfy.com\caches\caches_template\yxfy\content\header.php : 24 — pc_base::load_app_class ( arguments )
$classname
content_tag
$m
content
17 <div id="header"> 18 <div class="wp"> 19 <div class="logo"><a href="<?php echo siteurl($siteid);?>/" title="<?php echo $SEO['site_title'];?>"><img src="<?php echo siteurl($siteid);?>/cms/templates/yxfy/statics/images/logo.png" alt="<?php echo $SEO['site_title'];?>"></a></div> 20 </div> 21 </div> 22 <div id="nav"> 23 <div class="wp"> 24 <?php if(defined('IS_ADMIN') && IS_ADMIN && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b43f1459ac702900c8d44c91a5e796dd&action=category&catid=0&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'0','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?> 25 <ul> 26 <li class="line"></li> 27 <li><a href="<?php echo siteurl($siteid);?>" <?php if(!$catid) { ?> class="focus" <?php } ?>>首页</a></li> 28 <li class="line"></li> 29 <li><a href="index.php?m=content&c=index&a=lists&catid=2" <?php if($catid==2) { ?> class="focus" <?php } ?>>关于我们</a></li> 30 <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?> 31 <li class="line"></li>
-
include D:\wwwroot\w.hbyxfy.com\caches\caches_template\default\content\msg.php — include()
-
include D:\wwwroot\w.hbyxfy.com\cms\libs\classes\service.class.php — include()
-
D:\wwwroot\w.hbyxfy.com\cms\libs\functions\global.func.php : 1821 — service->display ( arguments )
$module
content
$template
msg
1814 'dialog' => $dialog, 1815 'backurl' => $backurl, 1816 'SEO' => $SEO 1817 ]; 1818 pc_base::load_sys_class('hooks')::trigger('cms_end', $rt); 1819 1820 pc_base::load_sys_class('service')->assign($rt); 1821 pc_base::load_sys_class('service')->display('content', 'msg'); 1822 if ($return) { 1823 return; 1824 } 1825 exit(); 1826 } 1827 /** 1828 * 当前URL
-
D:\wwwroot\w.hbyxfy.com\cms\libs\classes\application.class.php : 151 — dr_msg()
-
D:\wwwroot\w.hbyxfy.com\cms\libs\classes\application.class.php : 90 — application->load_controller ()
83 } 84 } 85 } 86 } 87 $this->verify(); 88 // 挂钩点 程序运行之前 89 pc_base::load_sys_class('hooks')::trigger('cms_run'); 90 $controller = $this->load_controller(); 91 // 挂钩点 程序加载之后 92 pc_base::load_sys_class('hooks')::trigger('init'); 93 // 挂钩点 程序初始化之后 94 pc_base::load_sys_class('hooks')::trigger('cms_init'); 95 if (IS_API === 'api') { 96 if(intval(pc_base::load_sys_class('param')::get_cookie('_userid'))) { 97 if(pc_base::load_model('member_model')->get_one(array('userid'=>intval(pc_base::load_sys_class('param')::get_cookie('_userid'))),'islock')['islock']) dr_msg(0, L('user_is_lock', '', 'member'));
-
D:\wwwroot\w.hbyxfy.com\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 */
-
D:\wwwroot\w.hbyxfy.com\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) {
-
D:\wwwroot\w.hbyxfy.com\cms\base.php : 420 — pc_base::_load_class ( arguments )
$classname
application
$path
libs\classes
$initialize
1
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 是否初始化
-
D:\wwwroot\w.hbyxfy.com\cms\base.php : 411 — pc_base::load_sys_class ( arguments )
$classname
application
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 */
-
D:\wwwroot\w.hbyxfy.com\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();