-
/www/wwwroot/www.sthyzt.com/dayrui/System/Database/MySQLi/Connection.php : 327 — mysqli->query ()
320 $this->connID->next_result(); 321 if ($res = $this->connID->store_result()) { 322 $res->free(); 323 } 324 } 325 326 try { 327 return $this->connID->query($this->prepQuery($sql), $this->resultMode); 328 } catch (mysqli_sql_exception $e) { 329 log_message('error', (string) $e); 330 331 if ($this->DBDebug) { 332 throw new DatabaseException($e->getMessage(), $e->getCode(), $e); 333 } 334 } -
/www/wwwroot/www.sthyzt.com/dayrui/System/Database/BaseConnection.php : 729 — CodeIgniter\Database\MySQLi\Connection->execute ()
722 */ 723 public function simpleQuery(string $sql) 724 { 725 if (empty($this->connID)) { 726 $this->initialize(); 727 } 728 729 return $this->execute($sql); 730 } 731 732 /** 733 * Disable Transactions 734 * 735 * This permits transactions to be disabled at run-time. 736 * -
/www/wwwroot/www.sthyzt.com/dayrui/System/Database/BaseConnection.php : 646 — CodeIgniter\Database\BaseConnection->simpleQuery ()
639 640 return $query; 641 } 642 643 // Run the query for real 644 try { 645 $exception = null; 646 $this->resultID = $this->simpleQuery($query->getQuery()); 647 } catch (DatabaseException $exception) { 648 $this->resultID = false; 649 } 650 651 if ($this->resultID === false) { 652 $query->setDuration($startTime, $startTime); 653 -
/www/wwwroot/www.sthyzt.com/dayrui/Fcms/Core/View.php : 1372 — CodeIgniter\Database\BaseConnection->query ()
1365 $sql = str_replace($this->_select_rt_name, 'sum('.$system['sum'].') as ct', $sql); 1366 break; 1367 } 1368 } 1369 1370 // 执行SQL 1371 $t = microtime(TRUE); 1372 $query = $mysql->query($sql); 1373 $time = microtime(TRUE) - $t; 1374 1375 // 记录慢日志 1376 if ($time > 1 && is_file(WRITEPATH.'database/sql.lock')) { 1377 $file = WRITEPATH.'database/Sql/sql.txt'; 1378 $path = dirname($file); 1379 if (!is_dir($path)) { -
/www/wwwroot/www.sthyzt.com/dayrui/App/Module/Action/Module.php : 290 — Phpcmf\View->_query ()
283 $sql_limit = "LIMIT {$system['num']}"; 284 } 285 286 $system['order'] = $this->_set_orders_field_prefix($system['order'], $_order); // 给排序字段加上表前缀 287 $sql = "SELECT " .$this->_get_select_field($system['field'] ? $system['field'] : '*') . " FROM $sql_from " . ($sql_where ? "WHERE $sql_where" : "") . ($system['order'] == "null" || !$system['order'] ? "" : " ORDER BY {$system['order']}") . " $sql_limit"; 288 } 289 290 $data = $this->_query($sql, $system); 291 292 // 缓存查询结果 293 if (is_array($data) && $data) { 294 // 模块表的系统字段 295 $fields['inputtime'] = ['fieldtype' => 'Date']; 296 $fields['updatetime'] = ['fieldtype' => 'Date']; 297 // 格式化显示自定义字段内容 -
require /www/wwwroot/www.sthyzt.com/dayrui/App/Module/Action/Related.php — require()
-
require /www/wwwroot/www.sthyzt.com/dayrui/Fcms/Core/View.php — require()
-
/www/wwwroot/www.sthyzt.com/cache/template/template_DS_pc_DS_zaomeng_DS_home_DS_tag_DS_tag.html.cache.php : 56 — Phpcmf\View->list_tag ()
49 <ul> 50 51 <?php 52 $cache = md5($tag['tags']); 53 $getcache = \Phpcmf\Service::L('cache')->get_data($tag['tags']); 54 if (!$getcache) { ?> 55 56 <?php $return = [];$list_return = $this->list_tag("action=related module=article field=id,title,url,thumb,updatetime,description tag=$tag[tags] page=1 order=updatetime pagesize=10 urlrule=$urlrule cache=3600000"); if ($list_return && is_array($list_return)) { extract($list_return, EXTR_OVERWRITE); } $count=dr_count($return); if (is_array($return) && $return) { $key=-1; foreach ($return as $t) { $key++; $is_first=$key==0 ? 1 : 0;$is_last=$count==$key+1 ? 1 : 0; ?> 57 <li class="clearfix"> 58 <div class="pic"><a href="<?php echo $t['url']; ?>" title="<?php echo $t['title']; ?>"><img src="<?php echo dr_get_file($t['thumb']); ?>" alt="<?php echo $t['title']; ?>"></a></div> 59 <div class="li_r"> 60 <h2><a href="<?php echo $t['url']; ?>" title="<?php echo $t['title']; ?>"><?php echo $t['title']; ?></a></h2> 61 <p><?php echo dr_strcut($t['description'],100); ?></p> 62 <div class="sj"><?php echo $t['updatetime']; ?></div> 63 <div class="more"><a href="<?php echo $t['url']; ?>" title="<?php echo $t['title']; ?>" rel="nofollow">查看详细</a></div> -
include /www/wwwroot/www.sthyzt.com/dayrui/Fcms/Core/View.php — include()
-
/www/wwwroot/www.sthyzt.com/dayrui/App/Tag/Controllers/Home.php : 115 — Phpcmf\View->display ()
108 'parent' => $parent, 109 'related' => $related, 110 'urlrule' => \Phpcmf\Service::M('tag', 'tag')->tag_url($data, '[page]'), 111 'meta_title' => $meta_title, 112 'meta_keywords' => $meta_keywords, 113 'meta_description' => $meta_description 114 )); 115 \Phpcmf\Service::V()->display('tag.html'); 116 } 117 118 119 public function juhe() { 120 121 $page = max(1, (int)\Phpcmf\Service::L('Input')->get('page')); 122 $config = \Phpcmf\Service::M('tag', 'tag')->get_config(); -
/www/wwwroot/www.sthyzt.com/dayrui/App/Tag/Controllers/Home.php : 12 — Phpcmf\Controllers\Home->tag ()
5 public function index() { 6 7 // 获取tag数据 8 $tag = dr_safe_replace(urldecode(\Phpcmf\Service::L('Input')->get('name'))); 9 if (!$tag) { 10 $this->juhe(); 11 } else { 12 $this->tag($tag); 13 } 14 } 15 16 public function tag($tag) { 17 18 $config = \Phpcmf\Service::M('tag', 'tag')->get_config(); 19 -
/www/wwwroot/www.sthyzt.com/dayrui/System/Extend/Run.php : 149 — Phpcmf\Controllers\Home->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/www.sthyzt.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/www.sthyzt.com/dayrui/Fcms/Init.php — require()
-
require /www/wwwroot/www.sthyzt.com/index.php — require()