本帖最后由 ubmqyjb 于 2009-6-8 12:17 编辑
欢迎加入部落设计模板交流群:群4:2244579 群5:88476049 群6:88477705
将头部文件当中的- <div id="header">
- <div class="wrap s_clear">
- <h2><a href="$indexname" title="$bbname">{BOARDLOGO}</a></h2>
- <div class="ilsan-b">
- <div id="umenu">
- <!--{if $discuz_uid}-->
- <cite><a href="space.php?uid=$discuz_uid" class="noborder">$discuz_userss</a><!--{if $allowinvisible}--><span id="loginstatus"><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_invisible_mode}</a><!--{else}--><a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_normal_mode}</a><!--{/if}--></span><!--{/if}--></cite>
- <span class="pipe">|</span>
- <a href="my.php?item=threads{if $forum}&srchfid=$forum[fid]{/if}">{lang my_posts}</a>
- <!--{if $ucappopen['UCHOME']}-->
- <a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_short}</a>
- <!--{elseif $ucappopen['XSPACE']}-->
- <a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_short}</a>
- <!--{/if}-->
- <a href="pm.php" id="pm_ntc"<!--{if $newpm && $_DCOOKIE['pmnum']}--> onmouseover="pmviewnew()" class="new" title="{lang pm_new}"<!--{/if}--> target="_blank">{lang pm}<!--{if $newpm && $_DCOOKIE['pmnum']}--><span>($_DCOOKIE[pmnum])</span><!--{/if}--></a>
- <!--{if $taskon}-->
- <a id="task_ntc" {if $doingtask}href="task.php?item=doing" class="new" title="{lang task_unfinish}"{else}href="task.php"{/if} target="_blank">{lang task}</a>
- <!--{/if}-->
- <span class="pipe">|</span>
- <a href="memcp.php">{lang user_center}</a>
- <!--{if $discuz_uid && $adminid > 1}--><a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a><!--{/if}-->
- <!--{if $discuz_uid && $adminid == 1}--><a href="admincp.php" target="_blank">{lang admincp}</a><!--{/if}-->
- <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
- <!--{elseif !empty($_DCOOKIE['loginuser'])}-->
- <cite><a id="loginuser" class="noborder">$_DCOOKIE['loginuser']</a></cite>
- <a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">{lang activation}</a>
- <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
- <!--{else}-->
- <a href="$regname" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder">$reglinkname</a>
- <a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">{lang login}</a>
- <!--{/if}-->
- </div>
- <div id="menu">
- <ul>
- <!--{if $_DCACHE['settings']['frameon'] > 0}-->
- <li>
- <span class="frameswitch">
- <script type="text/javascript">
- if(top == self) {
- {if ($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))}
- top.location = 'frame.php?frameon=yes&referer='+escape(self.location);
- {/if}
- document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">{lang frameon_column}<\/a>');
- } else {
- document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">{lang frameon_flat}<\/a>');
- }
- </script>
- </span>
- </li>
- <!--{/if}-->
- <!--{loop $navs $id $nav}-->
- <!--{if $id == 3}-->
- <!--{else}-->
- <!--{if !$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)}-->$nav[nav]<!--{/if}-->
- <!--{/if}-->
- <!--{/loop}-->
- <!--{if in_array($BASEFILENAME, $navmns)}-->
- {eval $mnid = $BASEFILENAME;}
- <!--{elseif $navmngs[$BASEFILENAME]}-->
- <!--{loop $navmngs[$BASEFILENAME] $navmng}-->
- <!--{if $navmng[0] == array_intersect_assoc($navmng[0], $_GET)}-->{eval $mnid = $navmng[1];}<!--{/if}-->
- <!--{/loop}-->
- <!--{/if}-->
- </ul>
- <script type="text/javascript">
- var currentMenu = $('mn_$mnid') ? $('mn_$mnid') : $('mn_$navmns[0]');
- currentMenu.parentNode.className = 'current';
- </script>
- </div></div>
- <!--{if !empty($stylejumpstatus)}-->
- <script type="text/javascript">
- function setstyle(styleid) {
- str = unescape('{echo str_replace("'", "\\'", urlencode($_SERVER[QUERY_STRING]))}');
- str = str.replace(/(^|&)styleid=\d+/ig, '');
- str = (str != '' ? str + '&' : '') + 'styleid=' + styleid
- location.href = '$BASESCRIPT?' + str;
- }
- </script>
- <ul id="style_switch">
- <!--{loop $styles $id $stylename}-->
- <li{if $id == STYLEID} class="current"{/if}><a href="###" onclick="setstyle($id)" title="$stylename" style="background: $styleicons[$id];">$stylename</a></li>
- <!--{/loop}-->
- </ul>
- <!--{/if}-->
- </div>
- </div>
- <div id="ad_headerbanner"><!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['headerbanner'])}-->$advlist[headerbanner]<!--{/if}--></div>
复制代码 替换成- <div id="header">
- <div class="wrap s_clear">
- <h2><a href="$indexname" title="$bbname">{BOARDLOGO}</a></h2>
- <div id="ad_headerbanner"><!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['headerbanner'])}-->$advlist[headerbanner]<!--{/if}--></div>
- <div class="ilsan-b">
- <div id="umenu">
- <!--{if $discuz_uid}-->
- <cite><a href="space.php?uid=$discuz_uid" class="noborder">$discuz_userss</a><!--{if $allowinvisible}--><span id="loginstatus"><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_invisible_mode}</a><!--{else}--><a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_normal_mode}</a><!--{/if}--></span><!--{/if}--></cite>
- <span class="pipe">|</span>
- <a href="my.php?item=threads{if $forum}&srchfid=$forum[fid]{/if}">{lang my_posts}</a>
- <!--{if $ucappopen['UCHOME']}-->
- <a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_short}</a>
- <!--{elseif $ucappopen['XSPACE']}-->
- <a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_short}</a>
- <!--{/if}-->
- <a href="pm.php" id="pm_ntc"<!--{if $newpm && $_DCOOKIE['pmnum']}--> onmouseover="pmviewnew()" class="new" title="{lang pm_new}"<!--{/if}--> target="_blank">{lang pm}<!--{if $newpm && $_DCOOKIE['pmnum']}--><span>($_DCOOKIE[pmnum])</span><!--{/if}--></a>
- <!--{if $taskon}-->
- <a id="task_ntc" {if $doingtask}href="task.php?item=doing" class="new" title="{lang task_unfinish}"{else}href="task.php"{/if} target="_blank">{lang task}</a>
- <!--{/if}-->
- <span class="pipe">|</span>
- <a href="memcp.php">{lang user_center}</a>
- <!--{if $discuz_uid && $adminid > 1}--><a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a><!--{/if}-->
- <!--{if $discuz_uid && $adminid == 1}--><a href="admincp.php" target="_blank">{lang admincp}</a><!--{/if}-->
- <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
- <!--{elseif !empty($_DCOOKIE['loginuser'])}-->
- <cite><a id="loginuser" class="noborder">$_DCOOKIE['loginuser']</a></cite>
- <a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">{lang activation}</a>
- <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
- <!--{else}-->
- <a href="$regname" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder">$reglinkname</a>
- <a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">{lang login}</a>
- <!--{/if}-->
- </div>
- <div id="menu">
- <ul>
- <!--{if $_DCACHE['settings']['frameon'] > 0}-->
- <li>
- <span class="frameswitch">
- <script type="text/javascript">
- if(top == self) {
- {if ($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))}
- top.location = 'frame.php?frameon=yes&referer='+escape(self.location);
- {/if}
- document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">{lang frameon_column}<\/a>');
- } else {
- document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">{lang frameon_flat}<\/a>');
- }
- </script>
- </span>
- </li>
- <!--{/if}-->
- <!--{loop $navs $id $nav}-->
- <!--{if $id == 3}-->
- <!--{else}-->
- <!--{if !$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)}-->$nav[nav]<!--{/if}-->
- <!--{/if}-->
- <!--{/loop}-->
- <!--{if in_array($BASEFILENAME, $navmns)}-->
- {eval $mnid = $BASEFILENAME;}
- <!--{elseif $navmngs[$BASEFILENAME]}-->
- <!--{loop $navmngs[$BASEFILENAME] $navmng}-->
- <!--{if $navmng[0] == array_intersect_assoc($navmng[0], $_GET)}-->{eval $mnid = $navmng[1];}<!--{/if}-->
- <!--{/loop}-->
- <!--{/if}-->
- </ul>
- <script type="text/javascript">
- var currentMenu = $('mn_$mnid') ? $('mn_$mnid') : $('mn_$navmns[0]');
- currentMenu.parentNode.className = 'current';
- </script>
- </div></div>
- <!--{if !empty($stylejumpstatus)}-->
- <script type="text/javascript">
- function setstyle(styleid) {
- str = unescape('{echo str_replace("'", "\\'", urlencode($_SERVER[QUERY_STRING]))}');
- str = str.replace(/(^|&)styleid=\d+/ig, '');
- str = (str != '' ? str + '&' : '') + 'styleid=' + styleid
- location.href = '$BASESCRIPT?' + str;
- }
- </script>
- <ul id="style_switch">
- <!--{loop $styles $id $stylename}-->
- <li{if $id == STYLEID} class="current"{/if}><a href="###" onclick="setstyle($id)" title="$stylename" style="background: $styleicons[$id];">$stylename</a></li>
- <!--{/loop}-->
- </ul>
- <!--{/if}-->
- </div>
- </div>
复制代码
此次发面的风格与以往不同,我们特意加入了论坛部分的风格为了就是与HOME相适应。非常统一的一套风格哦!希望大家会喜欢!!!
不多说了。
非常抱歉因自己没有安装演示所以不知道有这么大的错误谢谢楼下的朋友提醒,现在已经更新好了。是风格文件没有导好。现在已经更新。
HOME演示:http://dome.39it.com.cn/19lou7.0/shuaij.php
论坛演示http://dome.39it.com.cn/19lou7.0/bbs.php?styleid=7
有一点说明下,HOME首页当中那个图片轮播是手动的哦,为的是更好的体现这个风格的效果!!
本次风格演示会稍晚放出。抢先安装好的朋友可以帮你放上演示。
更多风格大家可以到部落设计官方论坛下载http://www.39it.com.cn
安装方法一
HOME安装方式:
1、将压缩名当中的HOME风格当中的文件全部上传到论坛根目录
2、将HOME风格当中的discuz_request_20090521.txt导入到后台——工具——数据调用——导入(很重要请注意导入的步骤)
3、将论坛原来的index.php修改成bbs.php,然后将shuaij.php改成index.php
4、进入后台修改HOME的标签调用
5、OK查看首页效果
安装方法二
论坛风格安装:
上传论坛风格文件夹下面的templates文件夹,直接上传。
然后进入后台找到版块——风格管理——找到这个风格点击安装,然后切换成这个风格为默认风格就OK啦。刷新下看看,是不是HOME与论坛风格统一了呢?酷吧!!!哈哈
|