首页不知道楼主是何用意,为什么只留下一个DIY按钮。请问这样做,你怎么登录?
我这里帮你删了header.htm一些代码,只留下一个DIY按钮。
希望可以帮助到你。
效果图:
代码: - <!--{subtemplate common/header_common}-->
- <meta name="application-name" content="$_G['setting']['bbname']" />
- <meta name="msapplication-tooltip" content="$_G['setting']['bbname']" />
- <!--{if $_G['setting']['portalstatus']}-->
- <meta name="msapplication-task" content="name=$_G['setting']['navs'][1]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['portal']) ? 'http://'.$_G['setting']['domain']['app']['portal'] : $_G[siteurl].'portal.php'};icon-uri={$_G[siteurl]}{IMGDIR}/portal.ico" />
- <!--{/if}-->
- <meta name="msapplication-task" content="name=$_G['setting']['navs'][2]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['forum']) ? 'http://'.$_G['setting']['domain']['app']['forum'] : $_G[siteurl].'forum.php'};icon-uri={$_G[siteurl]}{IMGDIR}/bbs.ico" />
- <!--{if $_G['setting']['groupstatus']}-->
- <meta name="msapplication-task" content="name=$_G['setting']['navs'][3]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['group']) ? 'http://'.$_G['setting']['domain']['app']['group'] : $_G[siteurl].'group.php'};icon-uri={$_G[siteurl]}{IMGDIR}/group.ico" />
- <!--{/if}-->
- <!--{if helper_access::check_module('feed')}-->
- <meta name="msapplication-task" content="name=$_G['setting']['navs'][4]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['home']) ? 'http://'.$_G['setting']['domain']['app']['home'] : $_G[siteurl].'home.php'};icon-uri={$_G[siteurl]}{IMGDIR}/home.ico" />
- <!--{/if}-->
- <!--{if $_G['basescript'] == 'forum' && $_G['setting']['archiver']}-->
- <link rel="archives" title="$_G['setting']['bbname']" href="{$_G[siteurl]}archiver/" />
- <!--{/if}-->
- <!--{if !empty($rsshead)}-->
- $rsshead
- <!--{/if}-->
- <!--{if widthauto()}-->
- <link rel="stylesheet" id="css_widthauto" type="text/css" href="data/cache/style_{STYLEID}_widthauto.css?{VERHASH}" />
- <script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
- <!--{/if}-->
- <!--{if $_G['basescript'] == 'forum' || $_G['basescript'] == 'group'}-->
- <script type="text/javascript" src="{$_G[setting][jspath]}forum.js?{VERHASH}"></script>
- <!--{elseif $_G['basescript'] == 'home' || $_G['basescript'] == 'userapp'}-->
- <script type="text/javascript" src="{$_G[setting][jspath]}home.js?{VERHASH}"></script>
- <!--{elseif $_G['basescript'] == 'portal'}-->
- <script type="text/javascript" src="{$_G[setting][jspath]}portal.js?{VERHASH}"></script>
- <!--{/if}-->
- <!--{if $_G['basescript'] != 'portal' && $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
- <script type="text/javascript" src="{$_G[setting][jspath]}portal.js?{VERHASH}"></script>
- <!--{/if}-->
- <!--{if $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
- <link rel="stylesheet" type="text/css" id="diy_common" href="data/cache/style_{STYLEID}_css_diy.css?{VERHASH}" />
- <!--{/if}-->
- </head>
- <body id="nv_{$_G[basescript]}" class="pg_{CURMODULE}{if $_G['basescript'] === 'portal' && CURMODULE === 'list' && !empty($cat)} {$cat['bodycss']}{/if}" onkeydown="if(event.keyCode==27) return false;">
- <div id="append_parent"></div>
- <div id="ajaxwaitid"></div>
- <!--{if $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
- <!--{template common/header_diy}-->
- <!--{/if}-->
- <!--{if check_diy_perm($topic)}-->
- <!--{block diynav}-->
- <a id="diy-tg" href="javascript:openDiy();" title="{lang open_diy}" class="xi1 xw1" onMouseOver="showMenu(this.id)"><img src="{STATICURL}image/diy/panel-toggle.png" alt="DIY" /></a>
- <div id="diy-tg_menu" style="display: none;">
- <ul>
- <li><a href="javascript:saveUserdata('diy_advance_mode', '');openDiy();" class="xi2">{lang header_diy_mode_simple}</a></li>
- <li><a href="javascript:saveUserdata('diy_advance_mode', '1');openDiy();" class="xi2">{lang header_diy_mode_adv}</a></li>
- </ul>
- </div>
- <!--{/block}-->
- <!--{/if}-->
- <!--{if CURMODULE == 'topic' && $topic && empty($topic['useheader']) && check_diy_perm($topic)}-->
- $diynav
- <!--{/if}-->
- <!--{if empty($topic) || $topic['useheader']}-->
- <!--{if $_G['setting']['mobile']['allowmobile'] && (!$_G['setting']['cacheindexlife'] && !$_G['setting']['cachethreadon'] || $_G['uid']) && ($_GET['diy'] != 'yes' || !$_GET['inajax']) && ($_G['mobile'] != '' && $_G['cookie']['mobile'] == '' && $_GET['mobile'] != 'no')}-->
- <div class="xi1 bm bm_c"> {lang your_mobile_browser}<a href="{$_G['siteurl']}forum.php?mobile=yes">{lang go_to_mobile}</a> <span class="xg1">|</span> <a href="$_G['setting']['mobile']['nomobileurl']">{lang to_be_continue}</a> </div>
- <!--{/if}-->
- <a id="switchblind" style="display:none;" href="javascript:;" onClick="toggleBlind(this)" title="{lang switch_blind}" class="switchblind">{lang switch_blind}</a>
- <!--{if check_diy_perm($topic)}-->
- $diynav
- <!--{/if}-->
- <!--{if !IS_ROBOT}-->
- <!--{if $_G['uid'] && !empty($_G['style']['extstyle'])}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{ad/headerbanner/wp a_h}-->
- <!--{hook/global_header}-->
- <!--{/if}-->
- <div id="wp" class="wp">
复制代码
DIY按钮代码
- <a id="diy-tg" href="javascript:openDiy();" title="{lang open_diy}" class="xi1 xw1" onMouseOver="showMenu(this.id)"><img src="{STATICURL}image/diy/panel-toggle.png" alt="DIY" /></a>
- <div id="diy-tg_menu" style="display: none;">
- <ul>
- <li><a href="javascript:saveUserdata('diy_advance_mode', '');openDiy();" class="xi2">{lang header_diy_mode_simple}</a></li>
- <li><a href="javascript:saveUserdata('diy_advance_mode', '1');openDiy();" class="xi2">{lang header_diy_mode_adv}</a></li>
- </ul>
- </div>
复制代码 |