-
/www/wwwroot/adorablecode.com/dayrui/App/Module/Models/Content.php : 783 — CodeIgniter\Database\BaseBuilder->select ()
776 $hits = \Phpcmf\Service::L('cache')->get_data($name); 777 } 778 779 if (!$is_qx && $hits) { 780 return dr_return_data(1, $hits, '不重复统计'); 781 } 782 783 $data = $this->db->table($this->mytable)->where('id', $id)->select('hits,updatetime')->get()->getRowArray(); 784 if (!$data) { 785 // 主表不存在尝试判断分表 786 $index = $this->table($this->mytable.'_index')->get($id); 787 if (!$index) { 788 return dr_return_data(0, dr_lang('阅读统计: 模块内容不存在')); 789 } 790 $table = dr_module_ctable($this->mytable, dr_cat_value($index['catid'])); -
/www/wwwroot/adorablecode.com/dayrui/App/Module/Config/Hooks.php : 424 — Phpcmf\Model\Module\Content->update_hits ()
417 */ 418 if (!function_exists('dr_show_hits')) { 419 function dr_show_hits($id, $dom = "", $dir = 'MOD_DIR') { 420 if (!dr_is_app('chtml')) { 421 // 动态统计阅读量 422 $obj = \Phpcmf\Service::C(); 423 if ($obj->content_model) { 424 $rt = $obj->content_model->update_hits($id, $dom); 425 return $rt['msg']; 426 } else { 427 return 0; 428 } 429 } else { 430 $is = $dom; 431 !$dom && $dom = "dr_show_hits_{$id}"; -
/www/wwwroot/adorablecode.com/cache/template/_DS_www_DS_wwwroot_DS_adorablecode.com_DS_template_DS_pc_DS_default_DS_home_DS_show.html.cache.php : 771 — dr_show_hits()
-
include /www/wwwroot/adorablecode.com/dayrui/Fcms/Core/View.php — include()
-
/www/wwwroot/adorablecode.com/dayrui/App/Module/Extends/Home/Module.php : 616 — Phpcmf\View->display ()
609 'related' => $related, 610 'urlrule' => dr_module_show_url($this->module, $data, '[page]'), 611 'fix_html_now_url' => defined('SC_HTML_FILE') ? dr_url_prefix(dr_module_show_url($this->module, $data, $page), $this->module['dirname'], SITE_ID, \Phpcmf\Service::IS_MOBILE_TPL()) : '', // 修复静态下的当前url变量 612 ]); 613 614 \Phpcmf\Service::V()->module($this->module['dirname']); 615 $data['phpcmf_tpl'] = isset($data['template']) && strpos($data['template'], '.html') !== FALSE && is_file(\Phpcmf\Service::V()->get_dir().$data['template']) ? $data['template'] : ($cat['setting']['template']['show'] ? $cat['setting']['template']['show'] : 'show.html'); 616 !$rt && \Phpcmf\Service::V()->display($data['phpcmf_tpl']); 617 618 return $data; 619 } 620 621 // 模块草稿、审核、定时、内容页 622 protected function _MyShow($type, $id = 0, $page = 1) { 623 -
/www/wwwroot/adorablecode.com/dayrui/Fcms/Control/Show.php : 34 — Phpcmf\Home\Module->_Show ()
27 $this->goto_404_page(dr_lang('无法通过id找到共享模块的模块目录')); 28 } 29 30 // 初始化模块 31 $this->_module_init($mid); 32 33 // 调用内容方法 34 $this->_Show($id, null, max(1, (int)\Phpcmf\Service::L('input')->get('page'))); 35 } 36 37 } 38 -
/www/wwwroot/adorablecode.com/dayrui/System/Extend/Run.php : 149 — Phpcmf\Control\Show->index ()
142 'value' => $value 143 ]); 144 145 } 146 } 147 } 148 149 $app->$method(); 150 151 if (CI_DEBUG) { 152 $tool = new \CodeIgniter\Debug\Toolbar(config(\Config\Toolbar::class)); 153 $tool->prepare($this); 154 } 155 156 -
/www/wwwroot/adorablecode.com/dayrui/System/Init.php : 402 — Frame\Run->bootWeb ()
395 $tool->respond(); 396 }); 397 } 398 399 400 // 启动框架 401 $run = new \Frame\Run(); 402 $run->bootWeb(); 403 404 -
require /www/wwwroot/adorablecode.com/dayrui/Fcms/Init.php — require()
-
require /www/wwwroot/adorablecode.com/public/index.php — require()