本帖最后由 新手。求助 于 2012-11-25 14:51 编辑
模板支持:GBK简体 语言编码。
适用版本iscuz! X2 Discuz! X2.5 。
模板色系:蓝色 。
本人亲测、放心使用、无错位、
更新缓存
预览
手动修改方法:
请按以下步骤:
一、找到“template\default\forum\Discuz.htm”模板,打开查找- <!--{if empty($gid)}-->
- <div class="wp">
- <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
- </div>
- <!--{/if}-->
复制代码 在后面添加这个- <!-- Start zhanhelp.com Hot -->
- <div class="zhanhelp_hot">
- <style type="text/css">
- .zhanhelp_hot { background:#FFF; margin:8px 0; width:958px; border:1px solid #DADADA }
- .zhanhelp_hot_title { background: url(static/image/common/zhanhelp_hot01.png) repeat-x scroll 0 0 transparent; border-bottom: 3px solid #4284CE; height: 30px; }
- .ndhot_t_left { display: inline; float: left; padding-left: 20px; margin-top: 5px; }
- .ndhot_t_left span { display:block; background:#4284CE; border: 1px solid #4284CE; color: #FFF; font-size: 12px; height: 24px; line-height: 24px; text-align: center; width: 70px; }
- .ndhot_t_right { display: inline; float: right; padding-right: 15px; padding-top: 5px; }
- .ndhot_t_right ul { list-style-type: none; margin: 0; padding: 0; }
- .ndhot_t_right li { display: inline; float: left; margin-left: 10px; }
- .ndhot_t_right li a { color: #035F9A; display: block; font-size: 12px; height: 24px; line-height: 24px; text-align: center; text-decoration: none; width: 65px; }
- .ndhot_t_right li a:hover { text-decoration: none; }
- .ndhot_t_right li a.zhanhelp_hov { background: url("static/image/common/zhanhelp_hot02.png") no-repeat scroll 0 0 transparent; color: #FFFFFF; }
- .zhanhelp_hot_con { padding:2px; overflow:hidden; height:222px;}
- .ndhot_con_left { width:330px; height:220px; float:left; overflow:hidden }
- .ndhot_con_right { width:620px; float:right;}
- .ndhot_con_right .zhanhelp_hid { display:none; }
- .ndhot_con_right ul{ margin-top:7px;}
- .ndhot_con_right li { float:left; width:49%; font-size:14px; overflow:hidden; height:30px; line-height:30px; }
- .ndhot_con_right li a { color:#666; }
- .ndhot_con_right li span a { color:#197CBD; }
- .ndhot_con_right li span.spe { font-family:'宋体'; font-weight:bold; }
- .ndhot_con_right .con_hot_spe{ width:185px; float:left; padding:7px 10px 0; }
- .ndhot_con_right dt { background:url(static/image/common/zhanhelp_hot03.png) repeat-x 0 0; border: 1px solid #D3D3D3; color: #666; font-size: 12px; line-height: 18px; text-align: center; }
- .ndhot_con_right dd{ background:url({static/image/common/zhanhelp_hot_icon.png) no-repeat scroll 3px 6px; padding-left:16px; height:20px; line-height:20px; border-bottom:1px dashed #069; font-size:12px;}
- .ndhot_con_right dd span{ float:right; color:#999;}
- .ndhot_con_right dd a{ color:#127BBF; text-decoration:none;}
- </style>
- <script type="text/javascript">
- function showTab(name,cur,n){
- for(i=1;i<=n;i++){
- var menu=document.getElementById(name+i);
- var con=document.getElementById("con_"+name+"_"+i);
- menu.className=i==cur?"zhanhelp_hov":"";
- con.className=i==cur?"":"zhanhelp_hid";
- }
- }
- </script>
- <div class="zhanhelp_hot_title">
- <h3 class="ndhot_t_left"><span>焦点图片</span></h3>
- <ul class="ndhot_t_right">
- <li><a id="hot1" onmouseover="showTab('hot',1,7)" class="zhanhelp_hov" >本周热门</a></li>
- <li><a id="hot2" onmouseover="showTab('hot',2,7)">最新主题</a></li>
- <li><a id="hot3" onmouseover="showTab('hot',3,7)">最新回复</a></li>
- <li><a id="hot4" onmouseover="showTab('hot',4,7)">新生咨询</a></li>
- <li><a id="hot5" onmouseover="showTab('hot',5,7)">心灵驿站</a></li>
- <li><a id="hot6" onmouseover="showTab('hot',6,7)">校园生活</a></li>
- <li><a id="hot7" onmouseover="showTab('hot',7,7)">活跃会员</a></li>
- </ul>
- </div>
- <div class="zhanhelp_hot_con">
- <div class="ndhot_con_left"><!--[diy=zhanhelp01]-->
- <div id="zhanhelp01" class="area"></div>
- <!--[/diy]--></div>
- <div class="ndhot_con_right">
- <div id="con_hot_1">
- <!--[diy=zhanhelp02]-->
- <div id="zhanhelp02" class="area"></div>
- <!--[/diy]-->
- </div>
- <div id="con_hot_2" class="zhanhelp_hid">
- <!--[diy=zhanhelp03]-->
- <div id="zhanhelp03" class="area"></div>
- <!--[/diy]-->
- </div>
- <div id="con_hot_3" class="zhanhelp_hid">
- <!--[diy=zhanhelp04]-->
- <div id="zhanhelp04" class="area"></div>
- <!--[/diy]-->
- </div>
- <div id="con_hot_4" class="zhanhelp_hid">
- <!--[diy=zhanhelp05]-->
- <div id="zhanhelp05" class="area"></div>
- <!--[/diy]-->
- </div>
- <div id="con_hot_5" class="zhanhelp_hid">
- <!--[diy=zhanhelp06]-->
- <div id="zhanhelp06" class="area"></div>
- <!--[/diy]-->
- </div>
- <div id="con_hot_6" class="zhanhelp_hid">
- <!--[diy=zhanhelp07]-->
- <div id="zhanhelp07" class="area"></div>
- <!--[/diy]-->
- </div>
- <div id="con_hot_7" class="zhanhelp_hid">
- <div class="con_hot_spe">
- <!--[diy=zhanhelp08]-->
- <div id="zhanhelp08" class="area"></div>
- <!--[/diy]-->
- </div>
- <div class="con_hot_spe">
- <!--[diy=zhanhelp09]-->
- <div id="zhanhelp09" class="area"></div>
- <!--[/diy]-->
- </div>
- <div class="con_hot_spe">
- <!--[diy=zhanhelp10]-->
- <div id="zhanhelp10" class="area"></div>
- <!--[/diy]-->
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--// End zhanhelp.com Hot -->
复制代码 二、然后将“论坛N格”文件夹的“static”拷贝到根目录;
三、再导入forum_discuz.xml即可;
|