-
C:\phpstudy_pro\WWW\cms\libs\classes\db_mysqli.class.php : 270 — mysqli->query ( arguments )
$query
SELECT * FROM `jirehuo`.`by_event` WHERE status=99 AND catid IN (43,44) AND typeid IN (77,80,81,82,83,84,85,86) ORDER BY adday ASC,admonth ASC,nlday ASC,nlmonth ASC,season ASC,id ASC LIMIT 50
$resultmode
0
263 if ($res = $this->link->store_result()) { 264 $res->free(); 265 } 266 } 267 $startTime = microtime(true); 268 $this->lastQuery = $sql; 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);
-
C:\phpstudy_pro\WWW\cms\libs\classes\db_mysqli.class.php : 314 — db_mysqli->execute ( arguments )
$sql
SELECT * FROM `jirehuo`.`by_event` WHERE status=99 AND catid IN (43,44) AND typeid IN (77,80,81,82,83,84,85,86) ORDER BY adday ASC,admonth ASC,nlday ASC,nlmonth ASC,season ASC,id ASC LIMIT 50
307 $group = $group == '' ? '' : ' GROUP BY '.$group; 308 $limit = $limit == '' ? '' : ' LIMIT '.$limit; 309 $field = explode(',', $data); 310 array_walk($field, array($this, 'add_special_char')); 311 $data = implode(',', $field); 312 313 $sql = 'SELECT '.$data.' FROM `'.$this->config['database'].'`.`'.$table.'`'.$where.$group.$order.$limit; 314 $this->execute($sql); 315 if(!is_object($this->lastqueryid)) { 316 return $this->lastqueryid; 317 } 318 319 $datalist = array(); 320 while(($rs = $this->fetch_next()) != false) { 321 if($key) {
-
C:\phpstudy_pro\WWW\cms\libs\classes\model.class.php : 47 — db_mysqli->select ( arguments )
$data
*
$table
by_event
$where
WHERE status=99 AND catid IN (43,44) AND typeid IN (77,80,81,82,83,84,85,86)
$limit
LIMIT 50
$order
ORDER BY adday ASC,admonth ASC,nlday ASC,nlmonth ASC,season ASC,id ASC
$group
$key
id
40 * @param $order 排序方式 [默认按数据库默认方式排序] 41 * @param $group 分组方式 [默认为空] 42 * @param $key 返回数组按键名排序 43 * @return array 查询结果集数组 44 */ 45 final public function select($where = '', $data = '*', $limit = '', $order = '', $group = '', $key='') { 46 if (is_array($where)) $where = $this->sqls($where); 47 return $this->db->select($data, $this->table_name, $where, $limit, $order, $group, $key); 48 } 49 50 /** 51 * 查询多条数据并分页 52 * @param $where 53 * @param $order 54 * @param $page
-
C:\phpstudy_pro\WWW\cms\modules\content\classes\content_tag.class.php : 505 — model->select ( arguments )
$where
status=99 AND catid IN (43,44) AND typeid IN (77,80,81,82,83,84,85,86)
$data
*
$limit
50
$order
adday ASC,admonth ASC,nlday ASC,nlmonth ASC,season ASC,id ASC
$group
$key
id
498 if ($page + $pagesize > $total) { 499 log_message('debug', 'maxlimit设置最大显示'.$data['maxlimit'].'条,当前('.$total.')已超出'); 500 return; 501 } 502 } 503 } 504 505 $return = $this->db->select($sql, '*', $data['limit'], $order, '', 'id'); 506 507 //调用副表的数据 508 if (isset($data['moreinfo']) && intval($data['moreinfo']) == 1) { 509 foreach ($return as $k=>$v) { 510 if (isset($v['id']) && !empty($v['id'])) { 511 $this->db->table_name = $this->db->table_name.'_data_'.$v['tableid']; 512 $data_rs = $this->db->get_one(array('id'=>$v['id']));
-
C:\phpstudy_pro\WWW\caches\caches_template\default\pc\content\show_year.php : 33 — content_tag->lists ( arguments )
$data
Array ( [catid] => 42 [adyear] => [typeid] => 77,80,81,82,83,84,85,86 [order] => adday ASC,admonth ASC,nlday ASC,nlmonth ASC,season ASC,id ASC [limit] => 50 )
26 <?php $messagenums = strlen($imessage);?> 27 <li class="<?php if($messagenums > 60) { ?>all<?php } else { ?>half<?php } ?>"><b><?php echo $ititle;?></b><?php echo $imessage;?></li> 28 <?php $n++;}}unset($n); ?> 29 </ul> 30 </div> 31 <?php } ?> 32 </div> 33 <?php if(defined('IS_ADMIN') && IS_ADMIN && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=7fb1fe9c0846732908b0cf50ae224b80&action=lists&catid=42&adyear=%24year&typeid=77%2C80%2C81%2C82%2C83%2C84%2C85%2C86&order=adday+ASC%2Cadmonth+ASC%2Cnlday+ASC%2Cnlmonth+ASC%2Cseason+ASC%2Cid+ASC&num=50&return=events\"><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, 'lists')) {$events = $content_tag->lists(array('catid'=>'42','adyear'=>$year,'typeid'=>'77,80,81,82,83,84,85,86','order'=>'adday ASC,admonth ASC,nlday ASC,nlmonth ASC,season ASC,id ASC','limit'=>'50',));}?> 34 <?php if($events) { ?> 35 <div class="yearevent"> 36 <div class="title">大事记</div> 37 <ul> 38 <?php $n=1; if (isset($events) && is_array($events) && $events) { $key_r=-1;$count_r=dr_count($events);foreach ($events as $r) { $key_r++; $is_first=$key_r==0 ? 1 : 0;$is_last=$count_r==$key_r+1 ? 1 : 0;?> 39 <li> 40 <h5><a href="<?php echo $r[url]; ?>" target="_blank"<?php echo title_style($r[style]);?>><?php echo $r[title]; ?></a></h5>
-
include C:\phpstudy_pro\WWW\cms\libs\classes\service.class.php — include()
-
C:\phpstudy_pro\WWW\cms\modules\content\index.php : 543 — service->display ( arguments )
$module
content
$template
show_year
536 } else { 537 define('IS_HTML', 0); 538 } 539 } 540 }else{ 541 define('IS_HTML', $CAT['setting']['content_ishtml']); 542 } 543 pc_base::load_sys_class('service')->display('content',$template); 544 } 545 /** 546 * 模型搜索 547 */ 548 public function search($catid) { 549 if (IS_POST) { 550 dr_json(0, L('禁止提交,请检查提交地址是否有误'));
-
C:\phpstudy_pro\WWW\cms\libs\classes\application.class.php : 120 — index->show ()
113 throw new \OutOfBoundsException('API处理程序不存在<br>检查此文件是否存在:'.CMS_PATH.'api/'.$op.'.php,检查地址是否正确,注意控制器文件'); 114 } 115 } else { 116 if (method_exists($controller, ROUTE_A)) { 117 if (preg_match('/^[_]/i', ROUTE_A)) { 118 dr_exit_msg(0, 'You are visiting the action is to protect the private action'); 119 } else { 120 call_user_func(array($controller, ROUTE_A)); 121 if (IS_ADMIN && CI_DEBUG && !IS_AJAX) { 122 if (!in_array(ROUTE_M, array('admin')) || !in_array(ROUTE_C, array('index')) && !in_array(ROUTE_A, array('public_main'))) { 123 $this->debug->message(); 124 } 125 } 126 if (!IS_ADMIN && IS_DEV && !IS_AJAX) { 127 $this->debug->message();
-
C:\phpstudy_pro\WWW\cms\libs\classes\application.class.php : 63 — application->init ()
56 if ((defined('IS_MOBILE') && IS_MOBILE) || (is_mobile(SITE_ID) && dr_site_info('mobileauto', SITE_ID))) { 57 // 移动端模板 // 开启自动识别移动端 58 pc_base::load_sys_class('service')->init('mobile'); 59 } else { 60 // 默认情况下pc模板 61 pc_base::load_sys_class('service')->init('pc'); 62 } 63 $this->init(); 64 // 挂钩点 程序结束之后 65 pc_base::load_sys_class('hooks')::trigger('cms_close'); 66 } 67 68 /** 69 * 调用件事 70 */
-
C:\phpstudy_pro\WWW\cms\base.php : 471 — application->__construct ()
464 include PC_PATH.$path.DIRECTORY_SEPARATOR.$classname.'.class.php'; 465 $name = $classname; 466 if ($my_path = self::my_path(PC_PATH.$path.DIRECTORY_SEPARATOR.$classname.'.class.php')) { 467 include $my_path; 468 $name = 'MY_'.$classname; 469 } 470 if ($initialize) { 471 $classes[$key] = new $name; 472 } else { 473 $classes[$key] = true; 474 } 475 return $classes[$key]; 476 } else { 477 CI_DEBUG && log_message('debug', '类文件:'.$path.DIRECTORY_SEPARATOR.$classname.'.class.php不存在'); 478 return false;
-
C:\phpstudy_pro\WWW\cms\base.php : 422 — pc_base::_load_class ( arguments )
$classname
application
$path
libs\classes
$initialize
1
415 /** 416 * 加载系统类方法 417 * @param string $classname 类名 418 * @param string $path 扩展地址 419 * @param intger $initialize 是否初始化 420 */ 421 public static function load_sys_class($classname, $path = '', $initialize = 1) { 422 return self::_load_class($classname, $path, $initialize); 423 } 424 425 /** 426 * 加载应用类方法 427 * @param string $classname 类名 428 * @param string $m 模块 429 * @param intger $initialize 是否初始化
-
C:\phpstudy_pro\WWW\cms\base.php : 413 — pc_base::load_sys_class ( arguments )
$classname
application
406 407 class pc_base { 408 409 /** 410 * 初始化应用程序 411 */ 412 public static function creat_app() { 413 return self::load_sys_class('application'); 414 } 415 /** 416 * 加载系统类方法 417 * @param string $classname 类名 418 * @param string $path 扩展地址 419 * @param intger $initialize 是否初始化 420 */
-
C:\phpstudy_pro\WWW\index.php : 43 — pc_base::creat_app ()
36 // 判断安装 37 if (file_exists('install') && is_file(CACHE_PATH.'install.lock')) { 38 dr_dir_delete('install', TRUE); 39 } 40 // 结束,安装之后可以删除此段代码 41 42 // 执行主程序 43 pc_base::creat_app();