BBCode说明

« 返回新闻首页 | 来源: 帮助 | 时间: 2012-09-06 13:12:08
效果名称
效果显示
效果代码
代码说明
粗体字 mz.gl [b]mz.gl[/b] [b]和[/b]之间为要设为粗体的文字
斜体字 mz.gl [i]mz.gl[/i] [i]和[/i]之间为要设为斜体的文字
下划线 mz.gl [u]mz.gl[/u] [u]和[/u]之间为要设为有下划线的文字
改变字体大小 mz.gl [size=4]mz.gl[/size] 数字改变,文字大小改变
改变颜色 mz.gl [color=red]mz.gl[/color] red表示红色,相应可使用black(黑色)、white(白色)、yellow(黄色)、orange(橘红)、purple(紫色)、blue(蓝色)、green(绿色)、magenta(洋红)等或者#xxxxxx颜色代码
背景颜色 mz.gl [backcolor=red]mz.gl[/backcolor] red表示红色,说明同上
改变字体 mz.gl [font=隶书]mz.gl[/font] 可以使用其他字体代替隶书,如使用 黑体、宋体等(需要浏览者的计算机装有相应的字体文件)
飞行文字 mz.gl [fly]mz.gl[/fly] [fly]和[/fly]之间为要飞行的文字
滚动文字 mz.gl [move]mz.gl[/move] [move]和[/move]之间为要设滚动的文字
向上滚动 mz.gl [up=100]mz.gl[/up] [up]和[/up]之间为要设滚动的文字,100代表滚动的高度,最大高度不能超过1000
链接 http://mz.gl [url]http://mz.gl[/url] 把两个方括号中间的地址做链接,链接的地址就是中间所写的地址,PS:如果内容中有地址,是会自动识别成链接的,您可以不需要加以上标签
文本对齐方向
向右对齐
[align=right]向右对齐[/align] right表示向右对齐,还可以使用left(向左对齐)、center(居中)
列表
    开始列表
  • 列表项目A
  • 列表项目B
[ul]开始列表
[*]列表项目A
[*]列表项目B
[/ul]
列表项目数目不限
有数字的列表
    开始有序号列表
  1. 列表项目 A
  2. 列表项目 B
[ol]开始有序号列表
[*]列表项目A
[*]列表项目B
[/ol]
列表项目数目不限
引用图片 [img]http://www.baidu.com/img/baidu_sylogo1.gif[/img] 中间部分的地址为引用的图片的地址
引用FLASH [swf,160,120]http://player.youku.com/player.php/sid/XNDEwMTkzMTQw/v.swf[/swf] 中间地址为引用的FLASH的地址, 160,120为flash的宽与高, 缺省为 375*500
组合效果
mz.gl
[align=center][font=隶书][size=5][color=blue]mz.gl[/color][/size][/font][/align] 可以将多种效果组合使用,但请注意给个效果的代码需要相互嵌套对称组合
音像文件 (只有声音,没有图像) [audio=1]http://x.y.z/abc.mp3[/audio] [audio]文件地址[/audio] 或[audio=1]文件地址[/audio] 其中的文件地址应该是一个完整的 URL, 包括 http:// 或 rtsp:// 等 audio,后的 1 表示在页面加载后是否自动播放这个文件 填 1或true 是自动播放, 0或false 是手动播放 支持文件类型: mp3,wma,mid,wav,ra,rm,ram (需要装 realone或realplayer)
视频文件 视频文件 [media=320,240]http://x.y.z/abc.mpg[/media] [media]文件地址[/media] 或 [media=320,240]文件地址[/media] 其中的文件地址应该是一个完整的 URL, 包括 http:// 等 media,后的 320,240 是播放影像的宽度和高度, 其中宽度限制在(0 ~ 600)之间 高度限制在 (0 ~ 480) 之间. 支持文件类型: mp3,wma,ra,ram,wav,mid,rm,rmvb,rtsp,flv,swf,asf,asx,wmv,mms,avi,mpg,mpeg,mov

颜色帮助

在个人专栏里添加新浪微博签名 
在个人专栏里添加腾讯微博签名

used time:0.08595609664917s
10.324 msSELECT * FROM novel_advice WHERE aid='8'
Explain
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEnovel_adviceconstPRIMARYPRIMARY4const1-
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_advice.php
11/home/www/www/gl.mozhua.net/source/function_template.php
12/home/www/www/gl.mozhua.net/data/tpl_cache/template_default_so_advice.php
13/home/www/www/gl.mozhua.net/source/inc_debug.php
1$_SGLOBAL['timestamp']1534297228
2$_SGLOBAL['supe_starttime']1534297228.8391
3$_SGLOBAL['inajax']0
4$_SGLOBAL['injsonp']
5$_SGLOBAL['mobile']
6$_SGLOBAL['refer']
7$_SGLOBAL['supe_uid']0
8$_SGLOBAL['uhash']8c5b6ffc8013390d2bc3ae939cb307ea
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['cachepage']Array
(
[key] => page_page_advice_8
[time] => 300
)
11$_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: 3316456 Threads: 4 Questions: 670454880 Slow queries: 87 Opens: 54878 Flush tables: 2 Open tables: 392 Queries per second avg: 202.160
[sqlstate] => 00000
[protocol_version] => 10
[thread_id] => 97312668
[warning_count] => 0
)

[charset] => utf8
)
12$_SGLOBAL['debug_query']Array
(
[0] => Array
(
[sql] => SELECT * FROM novel_advice WHERE aid='8'
[time] => 0.324
[info] =>
[explain] => Array
(
[id] => 1
[select_type] => SIMPLE
[table] => novel_advice
[type] => const
[possible_keys] => PRIMARY
[key] => PRIMARY
[key_len] => 4
[ref] => const
[rows] => 1
[Extra] =>
)

)

)
13$_SGLOBAL['i']11
14$_SGLOBAL['block_replace']Array
(
[1] => <?php echo sgmdate('Y-m-d H:i:s', $advice[dateline]); ?>
[2] => <?php echo sgmdate('[Y-m-d]', $value[dateline]); ?>
[3] => <?php echo avatar($_SGLOBAL[supe_uid]); ?>
[4] => <?php if($advice){
$_TPL['titles'] = $advice['title'].' - '.$_SC[sitename];
}else{
$_TPL['titles'] = '公告列表 - '.$_SC[sitename];
} ?>
[5] => <?php echo formhash() ?>
[6] => <?php if(MODULE=='index'){
$headactive = array($_GET['do']=>' class="active"');
}else{
$headactive = array(MODULE=>' class="active"');
} ?>
[7] => <?php $showkeys = array('uid', 'username', 'writename', 'gid'); ?>
[8] => <?php echo implode($showkeys,',') ?>
[9] => <?php $feedcount = squery('SELECT COUNT(updatenum) AS c FROM '.tname('app_fav').' WHERE updatenum>0 AND uid='.$_SGLOBAL['supe_uid'], 1);
$feedcount = $feedcount['c']; ?>
[10] => <?php echo urlencode($theurl) ?>
[11] => <?php if($_SGLOBAL['timestamp']-filemtime(S_ROOT.'/sitemap.xml')>=86400){
echo '<script src="'.$_SC['sitedir'].'a.php?ac=makesitemap"></script>';
} ?>
)
15$_SGLOBAL['block_search']Array
(
[1] => <!--DATE_TAG_1-->
[2] => <!--DATE_TAG_2-->
[3] => <!--AVATAR_TAG_3-->
[4] => <!--EVAL_TAG_4-->
[5] => <!--EVAL_TAG_5-->
[6] => <!--EVAL_TAG_6-->
[7] => <!--EVAL_TAG_7-->
[8] => <!--EVAL_TAG_8-->
[9] => <!--EVAL_TAG_9-->
[10] => <!--EVAL_TAG_10-->
[11] => <!--EVAL_TAG_11-->
)
16$_SGLOBAL['sub_tpls']Array
(
[0] => template/default/so_advice
[1] => template/default/header
[2] => template/default/footer
[3] => template/default/header_common
[4] => template/default/cp_online
)
17$_SGLOBAL['error_info']
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
)

)
20$_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
)

)
1$_GET['do']advice
2$_GET['aid']8
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']28250
6$_SERVER['REMOTE_ADDR']54.92.174.226
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=advice&rewrite=_aid_8
13$_SERVER['HTTP_X_REWRITE_URL']/advice_aid_8.html
14$_SERVER['REQUEST_URI']/advice_aid_8.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_ACCEPT_ENCODING']gzip
21$_SERVER['HTTP_ACCEPT']text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
22$_SERVER['HTTP_X_FORWARDED_FOR']54.92.174.226
23$_SERVER['HTTP_HOST']mz.gl
24$_SERVER['HTTP_UA']CCBot/2.0 (https://commoncrawl.org/faq/)
25$_SERVER['HTTP_USER_AGENT']CCBot/2.0 (https://commoncrawl.org/faq/)
26$_SERVER['FCGI_ROLE']RESPONDER
27$_SERVER['PHP_SELF']/index.php
28$_SERVER['REQUEST_TIME_FLOAT']1534297228.8389
29$_SERVER['REQUEST_TIME']1534297228