免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享

仿制火狼--我的首页调用

本文来自:★flash之路-flash技术交流★ 转帖请注明出处! 作者:flashroad 您是第1634个浏览者

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
flashroad友情提示:
“点评”不是“回帖”!
discuz模板,在
{template index_header}
上面添加:
  1. <!--我的首页调用begin-->
  2. <div class="tongji_a">
  3. <div id="tongji">
  4.    <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>
  5. </div>
  6. </div>
  7. <script type="text/javascript" src="http://flashroad.joinbbs.net/templates/sea/js2.htm" ></script>
  8. <script type="text/javascript" src="http://flashroad.joinbbs.net/templates/sea/js1.htm" ></script>
  9. <script>
  10. function g(o) {
  11.     return document.getElementById(o);
  12. }

  13. function HoverLi(n) {
  14.     for(var i=1;i<=5;i++) {
  15.         g('tb_'+i).className='tlb-normal';
  16.         g('tbc_0'+i).className='tlb-undis';
  17.     }
  18.     g('tbc_0'+n).className='tlb-dis';
  19.     g('tb_'+n).className='tlb-hover';
  20. }
  21. function HoverLim(n) {
  22.     for(var i=1;i<=3;i++) {
  23.         g('tbm_'+i).className='tlb-normal1';
  24.         g('tbcm_0'+i).className='tlb-undism';
  25.     }
  26.     g('tbcm_0'+n).className='tlb-dism';
  27.     g('tbm_'+n).className='tlb-hover1';
  28. }  
  29. </script>

  30. <style>
  31. ul,li { list-style: none; }
  32. .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; }
  33. .tlb_show .com-1 { width: 35%; height: 245px; float: left; border-right: solid 1px #b1c9dc; }
  34. .tlb_show .com-2 { width:46%; height: 245px; float: left; border-right: solid 1px #b1c9dc; }
  35. .tlb_show .com-3 { width: 18%; height: 245px; float: left;}
  36. .tlb_show .com-1-top { width:34%; height: 32px; }
  37. .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; }
  38. .tlb-top { width:98%; height: 32px; background: url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101423klg6670t6d6665wv.png) repeat-x top; }
  39. .tlb-top ul { height: 32px; }
  40. .tlb-top li { float: left; height: 32px; line-height: 32px; text-align: center; width: 78px; cursor: pointer; }
  41. .tlb-topm { width:150px; height: 32px; background: url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101423klg6670t6d6665wv.png) repeat-x top; }
  42. .tlb-topm ul { height: 32px; }
  43. .tlb-topm li { float: left; height: 32px; line-height: 32px; text-align: center; width: 50px; cursor: pointer; }
  44. .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); }
  45. .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); }
  46. .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); }
  47. .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); }
  48. .tlb-dis { display: block; }
  49. .tlb-undis { display: none; }
  50. .tlb-dis span a { color: #2E9AFE; }
  51. .tlb-dism { display: block; }
  52. .tlb-undism { display: none; }
  53. .tlb_show .txt td { padding: 0; vertical-align: top; }
  54. .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; }
  55. .tlb_show .txt span { float: right; color: #07519a; }
  56. .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;}
  57. .icont{height:200px;}
  58. .icont ul{background:url(https://bbs.rainmeter.cn/data/attachment/album/201412/17/101451grcfrordi8sk6r9t.gif) 0px 0px no-repeat;}
  59. .icont li span{right:5px;top:0px;position:absolute; }
  60. .tongji_a {margin:30px 0 0 0;clear: both;overflow: hidden;margin-bottom:5px;line-height:23px;}
  61. #tongji {margin-top:-30px;position: absolute;width: 500px;border-left: 1px solid #E6E7E1 !important;line-height: 30px;}
  62. </style>

  63. <div class="tlb_show">
  64. <div class="com-1">
  65. <div class="com-1-top">
  66. <span>精彩图片</span>
  67. </div>
  68. <ul id="pub_slideplay">
  69. {eval request('仿火狼_精彩图片');}
  70. </ul>
  71. <script type="text/javascript">new dk_slideplayer("#pub_slideplay",{width:"100%",height:"213px",fontsize:"12px",time:"5000"});</script>
  72. </div>  

  73. <div class="com-2">
  74. <div id="tb_" class="tlb-top">
  75. <ul>
  76. <li id="tb_1" onmouseover="x:HoverLi(1);" class="tlb-hover">最新帖子</li>
  77. <li id="tb_2" onmouseover="x:HoverLi(2);" class="tlb-normal">最新回复</li>
  78. <li id="tb_3" onmouseover="x:HoverLi(3);" class="tlb-normal">本周热门</li>
  79. <li id="tb_4" onmouseover="x:HoverLi(4);" class="tlb-normal">精华帖子</li>
  80. <li id="tb_5" onmouseover="x:HoverLi(5);" class="tlb-normal">社区微博</li>
  81. </ul>
  82. </div>

  83. <div class="icont">
  84. <div class="tlb-dis" id="tbc_01" style="width:98%; margin: 8px auto;">
  85. {eval request('仿火狼_最新主题');}
  86. </div>
  87.                
  88. <div class="tlb-undis" id="tbc_02" style="width:98%; margin: 8px auto;">
  89. {eval request('仿火狼_最新回复');}
  90. </div>

  91. <div class="tlb-undis" id="tbc_03" style="width:98%; margin: 8px auto;">
  92. {eval request('仿火狼_本周热门');}  
  93. </div>

  94. <div class="tlb-undis" id="tbc_04" style="width:98%; margin: 8px auto;">
  95. {eval request('仿火狼_精华帖子');}
  96. </div>
  97.             
  98. <div class="tlb-undis" id="tbc_05" style="width:98%; margin: 8px auto;">
  99. {eval request('仿火狼_帖子微博');}
  100. </div>
  101. </div>
  102. </div>

  103. <div class="com-3">
  104. <div id="tb_" class="tlb-topm">
  105. <ul>
  106. <li id="tbm_1" onmouseover="x:HoverLim(1);" class="tlb-hover1">明星</li>
  107. <li id="tbm_2" onmouseover="x:HoverLim(2);" class="tlb-normal1">活跃</li>
  108. <li id="tbm_3" onmouseover="x:HoverLim(3);" class="tlb-normal1">财神</li>
  109. </ul>
  110. </div>

  111. <div class="tlb-dism" id="tbcm_01" style="width:98%; margin: 8px auto;">
  112. {eval request('仿火狼_本周之星');}
  113. </div>

  114. <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;">
  115. {eval request('仿火狼_积分飙升榜');}
  116. </div>

  117. <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;">
  118. {eval request('仿火狼_金币飙升榜');}
  119. </div>
  120. </div>
  121. </div>
  122. {eval request('仿火狼_新会员');}
  123. <!--我的首页调用end-->
复制
您所在的用户组只能看到部分内容.
如查看全部内容, 请先登录或者注册.

获得 小福神卡 一张

卡片说明:flashroad帮助迷路的小朋友找到家长,家长为表达谢意,付出了3威望

卡片效果:+3

友情提示:单击下列任意一个表情,即可瞬间自动回复本帖!

好贴......
郁闷......
开心......
擦汗......
鄙视......
狂怒
谢谢
爱你呦
拜托了
嗯嗯
OMG
求关注
伤心......
无奈.....
无奈.....
无奈.....
无奈.....
无奈.....
哈哈哈
NO
OK
what
我来了

最近访问本帖者列表:

天使小小
访问时间:2020-04-09 10:06
阿么
访问时间:2019-05-03 03:59
测试一号
访问时间:2018-12-31 11:05
flashroad
访问时间:2018-10-27 11:23
麻城生活网
访问时间:2018-09-08 18:40

打赏

取消

感谢您的支持,我会继续努力的!

扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

Powered by 爱秀代码,分享从这里开始,精彩与您同在

点评
B Color Smilies

您还可以输入:个字符
X

X

 

B Color Image Link Quote Code Smilies
高级模式 | 发新话题

您需要登录后才可以回帖 登录|立即注册

快速
返回顶部
返回首页