暂时没有找到任何讨论。

发起新讨论

标题: 可空 昵称: 【表情】

[小提示:完成后可按 Ctrl+Enter 提交]

used time:0.028330087661743s
10.366 msSELECT count(cid) AS C FROM novel_app_comment WHERE 1 AND id='4' AND idtype='tid' AND isthread=1
Explain
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEnovel_app_commentrefbidbid36const,const1Using index condition; Using where
1/home/www/www/gl.mozhua.net/index.php
2/home/www/www/gl.mozhua.net/common.php
3/home/www/www/gl.mozhua.net/config/setting.php
4/home/www/www/gl.mozhua.net/config/ucenter.php
5/home/www/www/gl.mozhua.net/source/function_common.php
6/home/www/www/gl.mozhua.net/source/function_book.php
7/home/www/www/gl.mozhua.net/source/function_member.php
8/home/www/www/gl.mozhua.net/source/function_bbcode.php
9/home/www/www/gl.mozhua.net/source/inc_mysql.php
10/home/www/www/gl.mozhua.net/source/so_thread.php
11/home/www/www/gl.mozhua.net/source/function_comment.php
12/home/www/www/gl.mozhua.net/source/function_template.php
13/home/www/www/gl.mozhua.net/data/tpl_cache/template_default_so_thread.php
14/home/www/www/gl.mozhua.net/source/inc_debug.php
1$_SGLOBAL['timestamp']1531777173
2$_SGLOBAL['supe_starttime']1531777173.0213
3$_SGLOBAL['inajax']0
4$_SGLOBAL['injsonp']
5$_SGLOBAL['mobile']
6$_SGLOBAL['refer']
7$_SGLOBAL['supe_uid']0
8$_SGLOBAL['uhash']3c9b98380962bfc233b9caeef9390641
9$_SGLOBAL['rewrite']Array
(
[preg] => Array
(
[search] => Array
(
[0] => /\<a href\="(\/)?index\.php\?do=top(&view=(\w+))?"/is
[1] => /\<a href\="(\/)?index\.php\?do=top(&view=(\w+)&classid=(\d+))"/is
[2] => /\<a\s+href\="(\/)?index\.php\?do=index&key=([a-z0-9\=\&\%]+?\&?([a-z0-9\=\&\%]+?)?)"/is
[3] => /\<a\s+href\="(\/)?author\.php\?ac=home&uid=(\d+)"/is
[4] => /\<a\s+href\="(\/)?index\.php\?do=class\&classid=(\d+)\&tagid=([^\&]*?)(\&?([a-z0-9\=\&\%]+?)?)"/is
[5] => /\<a\s+href\="(\/)?index\.php\?do=class\&classid=(\d+\&?([a-z0-9\=\&\%]+?)?)"/is
[6] => /\<a\s+href\="(\/)?index\.php\?do=list\&bid=(\d+\&?([a-z0-9\=\&\%]+?)?)"/is
[7] => /\<a\s+href\="(\/)?index\.php\?do=chapter\&bid=(\d+)&cid=(\d+)"/is
[8] => /\<a\s+href\="(\/)?index\.php\?do=bookfile\&bid=(\d+)\&?(?:fid=(\d+))?"/is
[9] => /\<a\s+href\="(\/)?index\.php\?do=readfile\&bid=(\d+)\&fid=(\d+)\&index=(\d+)"/is
[10] => /\<a\s+href\="(\/)?index\.php\?do=(comment|thread)\&?([a-z0-9\=\&]+?)"/is
[11] => /\<a\s+href\="(\/)?cp\.php\?ac=fav\&uid=(\d+\&?([a-z0-9\=\&\%]+?)?)"/is
[12] => /\<a\s+href\="(\/)?index\.php\?do=([a-z0-9\=\&]+?)"/is
)

[replace] => Array
(
[0] => Closure Object
(
[parameter] => Array
(
[$m] => <required>
)

)

[1] => Closure Object
(
[parameter] => Array
(
[$m] => <required>
)

)

[2] => Closure Object
(
[parameter] => Array
(
[$m] => <required>
)

)

[3] => Closure Object
(
[parameter] => Array
(
[$m] => <required>
)

)

[4] => Closure Object
(
[parameter] => Array
(
[$m] => <required>
)

)

[5] => Closure Object
(
[parameter] => Array
(
[$m] => <required>
)

)

[6] => Closure Object
(
[parameter] => Array
(
[$m] => <required>
)

)

[7] => Closure Object
(
[parameter] => Array
(
[$m] => <required>
)

)

[8] => Closure Object
(
[parameter] => Array
(
[$m] => <required>
)

)

[9] => Closure Object
(
[parameter] => Array
(
[$m] => <required>
)

)

[10] => Closure Object
(
[parameter] => Array
(
[$m] => <required>
)

)

[11] => Closure Object
(
[parameter] => Array
(
[$m] => <required>
)

)

[12] => Closure Object
(
[parameter] => Array
(
[$m] => <required>
)

)

)

)

)
10$_SGLOBAL['db']dbstuff Object
(
[querynum] => 1
[link] => mysqli Object
(
[affected_rows] => 1
[client_info] => mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
[client_version] => 50012
[connect_errno] => 0
[connect_error] =>
[errno] => 0
[error] =>
[error_list] => Array
(
)

[field_count] => 10
[host_info] => mzdb:3066 via TCP/IP
[info] =>
[insert_id] => 0
[server_info] => 5.5.53-MariaDB
[server_version] => 50553
[stat] => Uptime: 796401 Threads: 50 Questions: 187850740 Slow queries: 29 Opens: 13978 Flush tables: 2 Open tables: 388 Queries per second avg: 235.874
[sqlstate] => 00000
[protocol_version] => 10
[thread_id] => 23770848
[warning_count] => 0
)

[charset] => utf8
)
11$_SGLOBAL['debug_query']Array
(
[0] => Array
(
[sql] => SELECT count(cid) AS C FROM novel_app_comment WHERE 1 AND id='4' AND idtype='tid' AND isthread=1
[time] => 0.366
[info] =>
[explain] => Array
(
[id] => 1
[select_type] => SIMPLE
[table] => novel_app_comment
[type] => ref
[possible_keys] => bid
[key] => bid
[key_len] => 36
[ref] => const,const
[rows] => 1
[Extra] => Using index condition; Using where
)

)

)
12$_SGLOBAL['i']24
13$_SGLOBAL['block_replace']Array
(
[1] => <?php echo sgmdate('Y-m-d', $val[dateline], 1); ?>
[2] => <?php echo sgmdate('Y-m-d', $val[replytime], 1); ?>
[3] => <?php echo sgmdate('Y-m-d', $val[replytime], 1); ?>
[4] => <?php echo sgmdate('Y-m-d', $val[dateline], 1); ?>
[5] => <?php echo avatar($_SGLOBAL[supe_uid]); ?>
[6] => <?php echo avatar($val[uid]); ?>
[7] => <?php echo avatar(0); ?>
[8] => <?php echo avatar($val[uid]); ?>
[9] => <?php echo avatar(0); ?>
[10] => <?php $_TPL['titles'] = '讨论馆 - '.$_SC[sitename];
$_TPL['keys'] = $_SC[sitename].',讨论馆';
$_TPL['desc'] = '讨论馆';

$returntitle = array(
'bid' => '书评',
'commentid' => '回复',
'tid' => '帖子',
'favid' => '书架',
'writer' => '留言'
);
$allthreadtype = class_system('thread'); ?>
[11] => <?php echo formhash() ?>
[12] => <?php if(MODULE=='index'){
$headactive = array($_GET['do']=>' class="active"');
}else{
$headactive = array(MODULE=>' class="active"');
} ?>
[13] => <?php $showkeys = array('uid', 'username', 'writename', 'gid'); ?>
[14] => <?php echo implode($showkeys,',') ?>
[15] => <?php $feedcount = squery('SELECT COUNT(updatenum) AS c FROM '.tname('app_fav').' WHERE updatenum>0 AND uid='.$_SGLOBAL['supe_uid'], 1);
$feedcount = $feedcount['c']; ?>
[16] => <?php echo urlencode($theurl) ?>
[17] => <?php echo getstr($val[title], 60); ?>
[18] => <?php echo getstr(preg_replace('/(<.*?>)|(\&nbsp\;)|\s*/is', '',$val[message]), 60) ?>
[19] => <?php echo getstr($val[title], 60); ?>
[20] => <?php echo getstr(preg_replace('/(<.*?>)|(\&nbsp\;)|\s*/is', '',$val[message]), 60) ?>
[21] => <?php $form['idtype'] = $idtype;
$form['id'] = $id;
$form['btn'] = '写好了';
if($idtype=='tid')$form['callback'] = 'commentjump'; ?>
[22] => <?php $form['expand']=1; ?>
[23] => <?php echo formhash() ?>
[24] => <?php if($_SGLOBAL['timestamp']-filemtime(S_ROOT.'/sitemap.xml')>=86400){
echo '<script src="'.$_SC['sitedir'].'a.php?ac=makesitemap"></script>';
} ?>
)
14$_SGLOBAL['block_search']Array
(
[1] => <!--DATE_TAG_1-->
[2] => <!--DATE_TAG_2-->
[3] => <!--DATE_TAG_3-->
[4] => <!--DATE_TAG_4-->
[5] => <!--AVATAR_TAG_5-->
[6] => <!--AVATAR_TAG_6-->
[7] => <!--AVATAR_TAG_7-->
[8] => <!--AVATAR_TAG_8-->
[9] => <!--AVATAR_TAG_9-->
[10] => <!--EVAL_TAG_10-->
[11] => <!--EVAL_TAG_11-->
[12] => <!--EVAL_TAG_12-->
[13] => <!--EVAL_TAG_13-->
[14] => <!--EVAL_TAG_14-->
[15] => <!--EVAL_TAG_15-->
[16] => <!--EVAL_TAG_16-->
[17] => <!--EVAL_TAG_17-->
[18] => <!--EVAL_TAG_18-->
[19] => <!--EVAL_TAG_19-->
[20] => <!--EVAL_TAG_20-->
[21] => <!--EVAL_TAG_21-->
[22] => <!--EVAL_TAG_22-->
[23] => <!--EVAL_TAG_23-->
[24] => <!--EVAL_TAG_24-->
)
15$_SGLOBAL['sub_tpls']Array
(
[0] => template/default/so_thread
[1] => template/default/header
[2] => template/default/cp_comment_form
[3] => template/default/footer
[4] => template/default/header_common
[5] => template/default/cp_online
)
16$_SGLOBAL['error_info']
17$_SGLOBAL['class_thread']Array
(
[1] => Array
(
[id] => 1
[category] => thread
[title] => 小说讨论
[description] =>
[orderid] => 0
)

[2] => Array
(
[id] => 2
[category] => thread
[title] => 水水水
[description] =>
[orderid] => 0
)

[3] => Array
(
[id] => 3
[category] => thread
[title] => 二次元
[description] =>
[orderid] => 0
)

[4] => Array
(
[id] => 4
[category] => thread
[title] => 你我她
[description] =>
[orderid] => 0
)

[5] => Array
(
[id] => 5
[category] => thread
[title] => 同人
[description] =>
[orderid] => 0
)

[6] => Array
(
[id] => 6
[category] => thread
[title] => 其他
[description] =>
[orderid] => 0
)

)
18$_SGLOBAL['formhash']3e5c9a02
19$_SGLOBAL['class_book']Array
(
[2] => Array
(
[classid] => 2
[classname] => 文学馆
[sortid] => 1
[publicmode] => 3
[publicuser] =>
[statusbook] => 0
)

[1] => Array
(
[classid] => 1
[classname] => 原创馆
[sortid] => 2
[publicmode] => 3
[publicuser] =>
[statusbook] => 0
)

[3] => Array
(
[classid] => 3
[classname] => 同人馆
[sortid] => 3
[publicmode] => 3
[publicuser] =>
[statusbook] => 0
)

)
1$_GET['do']thread
2$_GET['tid']4
3$_GET['idtype']tid
1$_SERVER['USER']www
2$_SERVER['HOME']/home/www
3$_SERVER['VH_NAME']gl.mozhua.net
4$_SERVER['DOCUMENT_ROOT']/home/www/www/gl.mozhua.net/
5$_SERVER['REMOTE_PORT']22146
6$_SERVER['REMOTE_ADDR']23.20.25.122
7$_SERVER['SERVER_PORT']80
8$_SERVER['SERVER_ADDR']127.0.0.1
9$_SERVER['SCRIPT_FILENAME']/home/www/www/gl.mozhua.net/index.php
10$_SERVER['PATH_TRANSLATED']/home/www/www/gl.mozhua.net/index.php
11$_SERVER['SCRIPT_NAME']/index.php
12$_SERVER['QUERY_STRING']do=thread&rewrite=tid_4
13$_SERVER['HTTP_X_REWRITE_URL']/thread_tid_4.html
14$_SERVER['REQUEST_URI']/thread_tid_4.html
15$_SERVER['REQUEST_METHOD']GET
16$_SERVER['SERVER_PROTOCOL']HTTP/1.1
17$_SERVER['SERVER_NAME']mz.gl
18$_SERVER['GATEWAY_INTERFACE']CGI/1.1
19$_SERVER['SERVER_SOFTWARE']kangle/3.4.8
20$_SERVER['HTTP_IF_MODIFIED_SINCE']Wed, 22 Nov 2017 08:54:16 GMT
21$_SERVER['HTTP_ACCEPT']text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
22$_SERVER['HTTP_ACCEPT_ENCODING']x-gzip, gzip, deflate
23$_SERVER['HTTP_X_FORWARDED_FOR']23.20.25.122
24$_SERVER['HTTP_HOST']mz.gl
25$_SERVER['HTTP_UA']CCBot/2.0 (http://commoncrawl.org/faq/)
26$_SERVER['HTTP_USER_AGENT']CCBot/2.0 (http://commoncrawl.org/faq/)
27$_SERVER['FCGI_ROLE']RESPONDER
28$_SERVER['PHP_SELF']/index.php
29$_SERVER['REQUEST_TIME_FLOAT']1531777173.021
30$_SERVER['REQUEST_TIME']1531777173