[分享]仿火狼N格For Sclub 7.2升級版
原作者:[url=http://icode.258club.com][color=red][b]無界[/b][/color][/url][size=17px][b][colorT]提示:之前安装了“仿火狼N格For Sclub 7.2升級版”出现爆框的请更新以下的内容[/colorT][/b][/size]
[size=17px][b][colorT]2020年3月26日更新[/colorT][/b][/size]
新建 i_huolang模板,内容:[code]
<style>
.tlb_show .com-1 { width: 35%; height: 245px; float: left; border-right: solid 1px #b1c9dc; }
.tlb_show .com-2 { width:46%; height: 245px; float: left; border-right: solid 1px #b1c9dc; }
.tlb_show .com-3 { width: 18%; height: 245px; float: left;}
.tlb_show .com-1-top { width:100%; height: 32px; }
.tlb_show .com-1-top span { margin:110px; height: 32px; line-height: 32px; text-align: left; cursor: pointer; padding-left: 15px; color: #336699; font-weight: bold; }
.tlb-top ul { height: 32px; }
.tlb-top li { float: left; height: 32px; line-height: 32px; text-align: center; width: 78px;}
.tlb-topm ul { height: 32px; }
.tlb-topm li { float: left; height: 32px; line-height: 32px; text-align: center; width: 50px;}
#tbm_1 {height: 30px!important; line-height: 32px!important; }
.tlb-disma { display: block; }
.tlb-disma li{list-style: none;}
.tlb-undisa { display: none; }
.tlb-dis { display: block; }
.tlb-dism {display: block;list-style: none;}
.tlb-undis { display: none; }
.tlb-dis span a { color: #2E9AFE; }
.tlb-undism { display: none; }
.tlb_show .txt td { padding: 0; vertical-align: top; }
.tlb_show .txt span { float: right; color: #07519a; }
.icont{height:200px;}
.icont li span{right:5px;top:0px;position:absolute; }
.tongji_a {margin:42px 0 0 0;clear: both;overflow: hidden;line-height:23px;}
#tongji {line-height: 30px;}
.tj{color:#999;}
.tja{color:#369;}
.tlb-topa li { float: left; height: 30px; line-height: 32px; text-align: center; width: 78px;}
.tlb_show { width:99.9%; height: 245px; margin: 0 0 10px 0; border: solid 1px #b1c9dc; background: url(https://kuchingshare.my/template/style/images/fhl_1.png) repeat-x top; }
.tlb-top { width:98%; height: 32px; background: url(https://kuchingshare.my/template/style/images/fhl_1.png) repeat-x top; }
.tlb-topm { width:150px; height: 32px; background: url(https://kuchingshare.my/template/style/images/fhl_1.png) repeat-x top; }
.tlb-normal { background-repeat: no-repeat; color: #336699; font-weight: bold; background-image: url(https://kuchingshare.my/template/style/images/fhl_5.jpg); }
.tlb-hover { background-repeat: no-repeat; color: #ff6600; font-weight: bold; background-image: url(https://kuchingshare.my/template/style/images/fhl_6.jpg); }
.tlb-normal1 { background-repeat: no-repeat; color: #336699; font-weight: bold; background-image: url(https://kuchingshare.my/template/style/images/fhl_7.jpg); }
.tlb-hover1 { background-repeat: no-repeat; color: #ff6600; font-weight: bold; background-image: url(https://kuchingshare.my/template/style/images/fhl_8.jpg); }
.tlb_show .txt div { width: 100%; height: 20px; overflow: hidden; background: url(https://kuchingshare.my/template/style/images/fhl_9.gif) repeat-x; }
.icont li{position:relative;background:url(https://kuchingshare.my/template/style/images/fhl_10.gif) repeat-x left bottom;height:20px;line-height:20px;padding:0px 5px 0px 20px;text-align:left;margin-right:0px;position:relative;clear:both;}
.icont ul{background:url(https://kuchingshare.my/template/style/images/fhl_3.gif) 0px 0px no-repeat;}
.tlb-normal2 { background-repeat: no-repeat; color: #336699; font-weight: bold; background-image: url(https://kuchingshare.my/template/style/images/fhl_13.jpg); }
.tlb-hover2 { background-repeat: no-repeat; color: #ff6600; font-weight: bold; background-image: url(https://kuchingshare.my/template/style/images/fhl_14.jpg); }
.chart {padding-left: 22px;background: url(https://kuchingshare.my/static/image/common/chart.png) no-repeat 0 50%;}
</style>
<div id="huolang" style="margin-top: 42px;">
<div id="tongji">
<p class="chart"><em class="tj">{lang index_today}:</em> <em>$todayposts</em><span class="pipe">|</span><em class="tj">{lang index_yesterday}:</em> <em>$postdata[0]</em><span class="pipe">|</span><em class="tj">{lang index_posts}:</em> <em>$posts</em><span class="pipe">|</span><em class="tj">会员:</em> <em>{eval $xunirenshu=$totalmembers *1;}$xunirenshu</em><span class="pipe">|</span><em class="tj">欢迎新会员: <a href="space.php?username=$memberenc"><font color=#2E9AFE><b>$lastmember</b></font></a>
</div>
<div style="margin-top: -25px;float: right;">
<!--{if $discuz_uid}--><a href="my.php?item=threads" title="我的帖子" class="xi2">我的帖子</a><span class="pipe">|</span><!--{/if}--><a href="search.php?srchfrom=604800&searchsubmit=yes" title="最新回复" class="xi2">最新回复</a>
</div>
<script type="text/javascript" src="https://kuchingshare.my/template/ishare/js2.htm" ></script>
<script type="text/javascript" src="https://kuchingshare.my/template/ishare/js1.htm" ></script>
<script>
function g(o) {
return document.getElementById(o);
}
function HoverLi(n) {
for(var i=1;i<=5;i++) {
g('tb_'+i).className='tlb-normal';
g('tbc_0'+i).className='tlb-undis';
}
g('tbc_0'+n).className='tlb-dis';
g('tb_'+n).className='tlb-hover';
}
function HoverLim(n) {
for(var i=1;i<=3;i++) {
g('tbm_'+i).className='tlb-normal1';
g('tbcm_0'+i).className='tlb-undism';
}
g('tbcm_0'+n).className='tlb-dism';
g('tbm_'+n).className='tlb-hover1';
}
function HoverLia(n) {
for(var i=1;i<=2;i++) {
g('tba_'+i).className='tlb-normal2';
g('tbca_0'+i).className='tlb-undisa';
}
g('tbca_0'+n).className='tlb-disma';
g('tba_'+n).className='tlb-hover2';
}
</script>
<div class="tlb_show">
<div class="com-1">
<div class="com-1-top tlb-topa">
<ul>
<li id="tba_1" class="tlb-hover2">最新图片</li>
</ul>
</div>
<div class="tlb-disma" id="tbca_01">
{eval request('仿火狼_精彩图片');}
<script type="text/javascript">new dk_slideplayer("#tbca_01",{width:"100%",height:"213px",fontsize:"12px",time:"5000"});</script>
</div>
<div class="tlb-undisa" id="tbca_02">
{eval request('仿火狼_精彩图片2');}
<script type="text/javascript">new dk_slideplayer("#tbca_02",{width:"100%",height:"213px",fontsize:"12px",time:"5000"});</script>
</div>
</div>
<div class="com-2">
<div id="tb_" class="tlb-top">
<ul>
<li id="tb_1" onmouseover="x:HoverLi(1);" class="tlb-hover">最新帖子</li>
<li id="tb_2" onmouseover="x:HoverLi(2);" class="tlb-normal">最新回复</li>
<li id="tb_3" onmouseover="x:HoverLi(3);" class="tlb-normal">本周热门</li>
<li id="tb_4" onmouseover="x:HoverLi(4);" class="tlb-normal">精华帖子</li>
<li id="tb_5" onmouseover="x:HoverLi(5);" class="tlb-normal">社区微博</li>
</ul>
</div>
<div class="icont">
<div class="tlb-dis" id="tbc_01" style="width:98%; margin: 8px auto;">
{eval request('仿火狼_最新主题');}
</div>
<div class="tlb-undis" id="tbc_02" style="width:98%; margin: 8px auto;">
{eval request('仿火狼_最新回复');}
</div>
<div class="tlb-undis" id="tbc_03" style="width:98%; margin: 8px auto;">
{eval request('仿火狼_本周热门');}
</div>
<div class="tlb-undis" id="tbc_04" style="width:98%; margin: 8px auto;">
{eval request('仿火狼_精华帖子');}
</div>
<div class="tlb-undis" id="tbc_05" style="width:98%; margin: 8px auto;">
{eval request('仿火狼_帖子微博');}
</div>
</div>
</div>
<div class="com-3">
<div id="tb_" class="tlb-topm">
<ul>
<li id="tbm_1" onmouseover="x:HoverLim(1);" class="tlb-hover1">明星</li>
<li id="tbm_2" onmouseover="x:HoverLim(2);" class="tlb-normal1">活跃</li>
<li id="tbm_3" onmouseover="x:HoverLim(3);" class="tlb-normal1">财神</li>
</ul>
</div>
<div class="tlb-dism" id="tbcm_01" style="width: 181px;height: 213px;">
<div>
<div class="zhuangyuan" style="padding-top: 23px;background: url(https://kuchingshare.my/template/style/images/fhl_15.gif) no-repeat scroll 0px 0px rgb(190,224,251);"><strong style="float: right;margin-top: -20px;margin-right: 135px;"><font color=red>状元</font></strong><div style="margin-right: 10px; float: left;"><img src="https://uc.discuz.net/images/noavatar_small.gif"></div>
<div style="background: rgb(222,235,251);height: 48px;"><br /><p style="color: #00588A;margin-top: -4px;">无人上榜:<a href="" target="_blank" style="color:#FF0000;">我要上榜</a></p></div></div>
<div class="bangyan" style="padding-top: 23px;background: url(https://kuchingshare.my/template/style/images/fhl_16.gif) no-repeat scroll 0px 0px rgb(245,190,251);"><strong style="float: right;margin-top: -20px;margin-right: 135px;"><font color=orange>榜眼</font></strong><div style="margin-right: 10px; float: left;"><img src="https://uc.discuz.net/images/noavatar_small.gif"></div>
<div style="background: rgb(252,224,251);height: 48px;"><br /><p style="color: #00588A;margin-top: -4px;">无人上榜:<a href="" target="_blank" style="color:#FF0000;">我要上榜</a></p></div></div>
<div class="tanhua" style="padding-top: 23px;background: url(https://kuchingshare.my/template/style/images/fhl_17.gif) no-repeat scroll 0px 0px rgb(251,229,190);"><strong style="float: right;margin-top: -20px;margin-right: 135px;"><font color=blue>探花</font></strong><div style="margin-right: 10px; float: left;"><img src="https://uc.discuz.net/images/noavatar_small.gif"></div>
<div style="background: rgb(251,244,229);height: 48px;"><br /><p style="color: #00588A;margin-top: -4px;">无人上榜:<a href="" target="_blank" style="color:#FF0000;">我要上榜</a></p></div></div>
</div>
<div style="position: absolute;width: 181px;margin-top: -213px;">
{eval request('会员排行_状元');}
{eval request('会员排行_榜眼');}
{eval request('会员排行_探花');}
</div></div>
<div class="tlb-undism" id="tbcm_02" style="width:98%; margin: 8px auto;background:url(https://kuchingshare.my/template/style/images/fhl_4.gif) 0px 0px no-repeat;">
{eval request('仿火狼_积分飙升榜');}
</div>
<div class="tlb-undism" id="tbcm_03" style="width:98%; margin: 8px auto;background:url(https://kuchingshare.my/template/style/images/fhl_4.gif) 0px 0px no-repeat;">
{eval request('仿火狼_金币飙升榜');}
</div>
</div>
</div>
</div>
{eval request('仿火狼_新会员');}
[/code]然后打开discuz模板,找到:[code]<!--我的首页调用begin-->
<div class="tongji_a">
<div id="tongji">
<a target="_blank" href="stats.php"><img border="0" align="absmiddle" title="统计" src="https://bbs.rainmeter.cn/data/attachment/album/201412/17/101453ygjgkpjp6szaiwv6.gif" /></a> {lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: <em>$postdata[0]</em><span class="pipe">|</span>{lang index_posts}: <em>$posts</em><span class="pipe">|</span><font color=red>会员</font>: <em>$totalmembers</em><span class="pipe">|</span><font color=red>新会员</font>: <a href="space.php?username=$memberenc"><font color=#2E9AFE><b>$lastmember</b></font></a>
</div>{template index_header}
</div>
<script type="text/javascript" src="http://i-share.66rt.com/templates/hsbk/js2.htm" ></script>
<script type="text/javascript" src="http://i-share.66rt.com/templates/hsbk/js1.htm" ></script>
<script>
function g(o) {
return document.getElementById(o);
}
function HoverLi(n) {
for(var i=1;i<=5;i++) {
g('tb_'+i).className='tlb-normal';
g('tbc_0'+i).className='tlb-undis';
}
g('tbc_0'+n).className='tlb-dis';
g('tb_'+n).className='tlb-hover';
}
function HoverLim(n) {
for(var i=1;i<=3;i++) {
g('tbm_'+i).className='tlb-normal1';
g('tbcm_0'+i).className='tlb-undism';
}
g('tbcm_0'+n).className='tlb-dism';
g('tbm_'+n).className='tlb-hover1';
}
</script>
<style>
ul,li { list-style: none; }
.tlb_show { width:99.9%; height: 245px; margin: 0 0 10px 0; border: solid 1px #b1c9dc; background: url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101423klg6670t6d6665wv.png) repeat-x top; }
.tlb_show .com-1 { width: 35%; height: 245px; float: left; border-right: solid 1px #b1c9dc; }
.tlb_show .com-2 { width:46%; height: 245px; float: left; border-right: solid 1px #b1c9dc; }
.tlb_show .com-3 { width: 18%; height: 245px; float: left;}
.tlb_show .com-1-top { width:34%; height: 32px; }
.tlb_show .com-1-top span { float: left; height: 32px; line-height: 32px; text-align: left; cursor: pointer; padding-left: 15px; color: #336699; font-weight: bold; }
.tlb-top { width:98%; height: 32px; background: url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101423klg6670t6d6665wv.png) repeat-x top; }
.tlb-top ul { height: 32px; }
.tlb-top li { float: left; height: 32px; line-height: 32px; text-align: center; width: 78px; cursor: pointer; }
.tlb-topm { width:150px; height: 32px; background: url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101423klg6670t6d6665wv.png) repeat-x top; }
.tlb-topm ul { height: 32px; }
.tlb-topm li { float: left; height: 32px; line-height: 32px; text-align: center; width: 50px; cursor: pointer; }
.tlb-normal { background-repeat: no-repeat; color: #336699; font-weight: bold; background-image: url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101450l7atbr7vv97pwtpb.jpg); }
.tlb-hover { background-repeat: no-repeat; color: #ff6600; font-weight: bold; background-image: url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101449vefehejjiv7wd4zi.jpg); }
.tlb-normal1 { background-repeat: no-repeat; color: #336699; font-weight: bold; background-image: url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101451n5f9o5dqsyu5uysm.jpg); }
.tlb-hover1 { background-repeat: no-repeat; color: #ff6600; font-weight: bold; background-image: url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101450d007tz0vh7kx676o.jpg); }
.tlb-dis { display: block; }
.tlb-undis { display: none; }
.tlb-dis span a { color: #2E9AFE; }
.tlb-dism { display: block; }
.tlb-undism { display: none; }
.tlb_show .txt td { padding: 0; vertical-align: top; }
.tlb_show .txt div { width: 100%; height: 20px; overflow: hidden; background: url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101452uqnk8sqz1ieiss8n.gif) repeat-x; }
.tlb_show .txt span { float: right; color: #07519a; }
.icont li{position:relative;background:url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101452uqnk8sqz1ieiss8n.gif) repeat-x left bottom;height:20px;line-height:20px;padding:0px 5px 0px 20px;text-align:left;margin-right:0px;position:relative;clear:both;}
.icont{height:200px;}
.icont ul{background:url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101451grcfrordi8sk6r9t.gif) 0px 0px no-repeat;}
.icont li span{right:5px;top:0px;position:absolute; }
.tongji_a {margin:30px 0 0 0;clear: both;overflow: hidden;margin-bottom:5px;line-height:23px;}
#tongji {margin-top:-30px;position: absolute;width: 500px;border-left: 1px solid #E6E7E1 !important;line-height: 30px;}
</style>
<div class="tlb_show">
<div class="com-1">
<div class="com-1-top">
<span>精彩图片</span>
</div>
<ul id="pub_slideplay">
{eval request('仿火狼_精彩图片');}
</ul>
<script type="text/javascript">new dk_slideplayer("#pub_slideplay",{width:"100%",height:"213px",fontsize:"12px",time:"5000"});</script>
</div>
<div class="com-2">
<div id="tb_" class="tlb-top">
<ul>
<li id="tb_1" onmouseover="x:HoverLi(1);" class="tlb-hover">最新帖子</li>
<li id="tb_2" onmouseover="x:HoverLi(2);" class="tlb-normal">最新回复</li>
<li id="tb_3" onmouseover="x:HoverLi(3);" class="tlb-normal">本周热门</li>
<li id="tb_4" onmouseover="x:HoverLi(4);" class="tlb-normal">精华帖子</li>
<li id="tb_5" onmouseover="x:HoverLi(5);" class="tlb-normal">社区微博</li>
</ul>
</div>
<div class="icont">
<div class="tlb-dis" id="tbc_01" style="width:98%; margin: 8px auto;">
{eval request('仿火狼_最新主题');}
</div>
<div class="tlb-undis" id="tbc_02" style="width:98%; margin: 8px auto;">
{eval request('仿火狼_最新回复');}
</div>
<div class="tlb-undis" id="tbc_03" style="width:98%; margin: 8px auto;">
{eval request('仿火狼_本周热门');}
</div>
<div class="tlb-undis" id="tbc_04" style="width:98%; margin: 8px auto;">
{eval request('仿火狼_精华帖子');}
</div>
<div class="tlb-undis" id="tbc_05" style="width:98%; margin: 8px auto;">
{eval request('仿火狼_帖子微博');}
</div>
</div>
</div>
<div class="com-3">
<div id="tb_" class="tlb-topm">
<ul>
<li id="tbm_1" onmouseover="x:HoverLim(1);" class="tlb-hover1">明星</li>
<li id="tbm_2" onmouseover="x:HoverLim(2);" class="tlb-normal1">活跃</li>
<li id="tbm_3" onmouseover="x:HoverLim(3);" class="tlb-normal1">财神</li>
</ul>
</div>
<div class="tlb-dism" id="tbcm_01" style="width: 181px;height: 213px;">
{eval request('会员排行_状元');}{eval request('会员排行_榜眼');}{eval request('会员排行_探花');}
</div>
<div class="tlb-undism" id="tbcm_02" style="width:98%; margin: 8px auto;background:url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101452hqhrlb0lhj7zksch.gif) 0px 0px no-repeat;">
{eval request('仿火狼_积分飙升榜');}
</div>
<div class="tlb-undism" id="tbcm_03" style="width:98%; margin: 8px auto;background:url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101452hqhrlb0lhj7zksch.gif) 0px 0px no-repeat;">
{eval request('仿火狼_金币飙升榜');}
</div>
</div>
</div>
{eval request('仿火狼_新会员');}
<!--我的首页调用end-->[/code]替换成:[code]<!--我的首页调用begin-->
{subtemplate i_huolang}
<!--我的首页调用end-->[/code]最后把下面的代码添加到 css_common 模板:
**** Hidden Message *****
============================== 下面是安装仿火狼N格For Sclub 7.2升級版教程 ===========================
首先進入後台的工具-數據調用,選擇文件框里找到下載來的.xml文件,然後點擊”提交“
[attach]37[/attach]
再到界面-糢板管理,點擊”詳情“
[attach]38[/attach]
找到discuz,點”編輯“
[attach]39[/attach]
就進入這個畫面
[attach]47[/attach]
然後我們打開存放在電腦的仿火狼N格插件里的discuz文件,右鍵打開方式,點擊”記事本“
[attach]41[/attach]
在記事本的編輯里選擇”全選“
[attach]42[/attach]
把所有的文字都複制
[attach]43[/attach]
回到後台剛才打開的界面,把複制來的文字黏貼到”{template index_header}的上面按最下面的“提交"
[attach]44[/attach]
最後到工具更新緩存
[attach]45[/attach]
到前台刷新一下就能看到安裝的N格了
[attach]180[/attach]
附件下載:[attach]179[/attach] six six six
(* ̄3 ̄)╭♡❀小花花砸你 666666666,精彩好文 楼主发帖辛苦了,谢谢楼主的分享! 谢谢分享 謝謝分享! 楼主发帖辛苦了,谢谢楼主的分享! 楼主发帖辛苦了,谢谢楼主的分享! 谢谢,已更新 [colorT]楼主太厉害了!I*老*虎*U![/colorT] 既然你诚心诚意的推荐了,那我就勉为其难的看看吧!
页:
[1]