Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 显示这代码有什么做用

[复制链接]
fkenuiabcd 发表于 2013-5-26 00:08:58 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X2.5
浏览器: IE6 IE8 IE9 TT 360 
使用模板: 官方模板
BUG地址: http://www.yiqihuwai.cn
首页显示这代码有什么做用
<script src="home.php?mod=spacecp&ac=pm&op=checknewpm&rand=1369497754" type="text/javascript"></script><script src="misc.php?mod=patch&action=checkpatch&rand=1369497754" type="text/javascript"></script><span id="scrolltop">回顶部</span><script type="text/javascript">_attachEvent(window, 'scroll', function(){showTopLink();});checkBlind();</script>                        <div id="discuz_tips" style="display:none;"></div>                        <script type="text/javascript">                                var discuzSId = '24587806';                                var discuzVersion = 'X2.5';                                var discuzRelease = '20130426';                                var discuzApi = '0.6';                                var discuzIsFounder = '1';                                var discuzFixbug = '25000004';                                var discuzAdminId = '1';                                var discuzOpenId = '';                                var discuzUid = '1';                                var discuzGroupId = '1';                                var ts = '1369497754';                                var sig = '4da7c998a90413aafec921a70ac9455d';                                var discuzTipsCVersion = '2';                        </script>                        <script src="http://discuz.gtimg.cn/cloud/scripts/discuz_tips.js?v=1" type="text/javascript" charset="UTF-8"></script>





这是模板页面的,这多,浏览器打开又没有,有什么用呀,这么多

<!--{if !$_G['setting']['bbclosed']}-->
        <!--{if $_G[uid] && !isset($_G['cookie']['checkpm'])}-->
        <script type="text/javascript" src="home.php?mod=spacecp&ac=pm&op=checknewpm&rand=$_G[timestamp]"></script>
        <!--{/if}-->

        <!--{if $_G[uid] && helper_access::check_module('follow') && !isset($_G['cookie']['checkfollow'])}-->
        <script type="text/javascript" src="home.php?mod=spacecp&ac=follow&op=checkfeed&rand=$_G[timestamp]"></script>
        <!--{/if}-->

        <!--{if !isset($_G['cookie']['sendmail'])}-->
        <script type="text/javascript" src="home.php?mod=misc&ac=sendmail&rand=$_G[timestamp]"></script>
        <!--{/if}-->

        <!--{if $_G[uid] && $_G['member']['allowadmincp'] == 1 && !isset($_G['cookie']['checkpatch'])}-->
        <script type="text/javascript" src="misc.php?mod=patch&action=checkpatch&rand=$_G[timestamp]"></script>
        <!--{/if}-->

<!--{/if}-->

<!--{if $_GET['diy'] == 'yes'}-->
        <!--{if check_diy_perm($topic) && (empty($do) || $do != 'index')}-->
                <script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
                <script type="text/javascript" src="{$_G[setting][jspath]}portal_diy{if !check_diy_perm($topic, 'layout')}_data{/if}.js?{VERHASH}"></script>
        <!--{/if}-->
        <!--{if $space['self'] && CURMODULE == 'space' && $do == 'index'}-->
                <script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
                <script type="text/javascript" src="{$_G[setting][jspath]}space_diy.js?{VERHASH}"></script>
        <!--{/if}-->
<!--{/if}-->
<!--{if $_G['uid'] && $_G['member']['allowadmincp'] == 1 && $_G['setting']['showpatchnotice'] == 1}-->
        <script type="text/javascript">patchNotice();</script>
<!--{/if}-->
<!--{if $_G['uid'] && $_G['member']['allowadmincp'] == 1 && empty($_G['cookie']['pluginnotice'])}-->
        <div class="focus plugin" id="plugin_notice"></div>
        <script type="text/javascript">pluginNotice();</script>
<!--{/if}-->
<!--{if $_G['member']['newprompt'] && (empty($_G['cookie']['promptstate_'.$_G[uid]]) || $_G['cookie']['promptstate_'.$_G[uid]] != $_G['member']['newprompt']) && $_GET['do'] != 'notice'}-->
        <script type="text/javascript">noticeTitle();</script>
<!--{/if}-->

<!--{eval userappprompt();}-->
<!--{if $_G['basescript'] != 'userapp'}-->
<span id="scrolltop">{lang scrolltop}</span>
<script type="text/javascript">_attachEvent(window, 'scroll', function(){showTopLink();});checkBlind();</script>
<!--{/if}-->
<!--{eval output();}-->
<!--{if $_G['basescript'] == 'portal' && CURMODULE == index}-->
                <script type="text/javascript" src="{$_G[setting][jspath]}home.js?{VERHASH}"></script>
        <script type="text/javascript" src="$_G['style']['styleimgdir']/zbr_jq.js?{VERHASH}"></script>
<!--{/if}-->





</body>
</html>

 楼主| fkenuiabcd 发表于 2013-5-26 21:13:19 | 显示全部楼层

模板本来就是这样的呀
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-25 00:07 , Processed in 0.022873 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表