繁體
|
簡體
Sclub交友聊天~加入聊天室當版主
(檢舉)
分享
新浪微博
QQ空间
人人网
腾讯微博
Facebook
Google+
Plurk
Twitter
Line
标题:
仿制火狼--我的首页调用
[打印本页]
作者:
flashroad
时间:
2018-4-12 09:20
标题:
仿制火狼--我的首页调用
discuz模板,在
{template index_header}
上面添加:
<!--我的首页调用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>
</div>
<script type="text/javascript" src="http://flashroad.joinbbs.net/templates/sea/js2.htm" ></script>
<script type="text/javascript" src="http://flashroad.joinbbs.net/templates/sea/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:98%; margin: 8px auto;">
{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-->
复制
欢迎光临 flash之路-flash技术交流 (http://flashroad.joinbbs.net/)
Powered by Discuz! 7.2