免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 发帖

新手报到

本帖最后由 造访者 于 2018-9-6 14:14 编辑

大家好!我是新来的,请问管理员可以分享仿火狼N格的代码吗?我只需要图中红框里面的那段代码,谢谢!

附件: 您需要登录才可以下载或查看附件。没有帐号?注册(只支持中文注册)  

复制 道具 收藏 分享 评分
分享到: QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
点评
B Color Link Smilies

您还可以输入:个字符
X

 X

好久没调整论坛了,忘记存哪里了
点评
B Color Link Smilies

您还可以输入:个字符
X

 X

TOP

回复 2# pigeon

在discuz.htm模板里面,

代码的开始是
  1. !--我的首页调用begin-->
  2. <div class="tongji_a">
  3. <div id="tongji">
  4. &nbsp;&nbsp;<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>{template index_header}
  6. </div>
  7. <script type="text/javascript" src="http://tlb.258club.com/templates/zyx2/js2.htm" ></script>
  8. <script type="text/javascript" src="http://tlb.258club.com/templates/zyx2/js1.htm" ></script>
复制代码
结束是
  1. {eval request('仿火狼_金币飙升榜');}
  2. </div>
  3. </div>
  4. </div>
  5. {eval request('仿火狼_新会员');}
  6. <!--我的首页调用end-->
复制代码
帮帮忙复制给我可以吗?我反转很多论坛都找不到代码。。。
点评
B Color Link Smilies

您还可以输入:个字符
X

 X

TOP

  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="http://pigeon.weclub.info/attachments/month_1409/14091213330aa1dbe780c1f5d2.png" /></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>{eval request('会员排行_B3K');}</b></font></a>
  5. </div>{template index_header}
  6. </div>
  7. <script type="text/javascript" src="templates/default/js2.htm" ></script>
  8. <script type="text/javascript" src="templates/default/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<=6;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. function HoverLia(n) {
  30.     for(var i=1;i<=2;i++) {
  31.         g('tba_'+i).className='tlb-normal2';
  32.         g('tbca_0'+i).className='tlb-undisa';
  33.     }
  34.     g('tbca_0'+n).className='tlb-disma';
  35.     g('tba_'+n).className='tlb-hover2';
  36. }   
  37. </script>

  38. <style>
  39. ul,li { list-style: none; }
  40. .tlb_show { width:99.9%; height: 245px; margin: 0 0 10px 0; border: solid 1px #b1c9dc; background: url(http://pigeon.weclub.info/attachments/month_1409/1409121311b27da7cc08949629.png) repeat-x top; }
  41. .tlb_show .com-1 { width:30%; height: 245px; float: left; border-right: solid 1px #b1c9dc; }
  42. .tlb_show .com-2 { width:52%; height: 245px; float: left; border-right: solid 1px #b1c9dc; }
  43. .tlb_show .com-3 { width: 17%; height: 245px; float: left;}
  44. .tlb_show .com-1-top { width:100%; height: 32px; }
  45. .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; }
  46. .tlb-top { width:98%; height: 32px; background: url(http://pigeon.weclub.info/attachments/month_1409/1409121311b27da7cc08949629.png) repeat-x top; }
  47. .tlb-top ul { height: 32px; }
  48. .tlb-top li { float: left; height: 32px; line-height: 32px; text-align: center; width: 78px; cursor: pointer; }
  49. .tlb-topm { width:150px; height: 32px; background: url(http://pigeon.weclub.info/attachments/month_1409/1409121311b27da7cc08949629.png) repeat-x top; }
  50. .tlb-topm ul { height: 32px; }
  51. .tlb-topm li { float: left; height: 32px; line-height: 32px; text-align: center; width: 50px; cursor: pointer; }
  52. .tlb-normal { background-repeat: no-repeat; color: #336699; font-weight: bold; background-image: url(http://pigeon.weclub.info/attachments/month_1409/1409121314d4796d840b05debf.jpg); }
  53. .tlb-hover { background-repeat: no-repeat; color: #ff6600; font-weight: bold; background-image: url(http://pigeon.weclub.info/attachments/month_1409/1409121316a71f81cab422988a.jpg); }
  54. .tlb-normal1 { background-repeat: no-repeat; color: #336699; font-weight: bold; background-image: url(http://pigeon.weclub.info/attachments/month_1409/1409121317ad4e8f0eee4b3185.jpg); }
  55. .tlb-hover1 { background-repeat: no-repeat; color: #ff6600; font-weight: bold; background-image: url(http://pigeon.weclub.info/attachments/month_1409/1409121318cade7a32bbf4274f.jpg); }
  56. .tlb-dis { display: block; }
  57. .tlb-undis { display: none; }
  58. .tlb-dis span a { color: #2E9AFE; }
  59. .tlb-dism { display: block; }
  60. .tlb-undism { display: none; }
  61. .tlb_show .txt td { padding: 0; vertical-align: top; }
  62. .tlb_show .txt div { width: 100%; height: 20px; overflow: hidden; background: url(http://pigeon.weclub.info/attachments/month_1409/1409121319a6c2b0c2fdf2a90e.gif) repeat-x; }
  63. .tlb_show .txt span { float: right; color: #07519a; }
  64. .icont li{position:relative;background:url(http://pigeon.weclub.info/attachments/month_1409/1409121319a6c2b0c2fdf2a90e.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;}
  65. .icont{height:200px;}
  66. .icont ul{background:url(http://pigeon.weclub.info/attachments/month_1409/1409121321dd338bcf52f972fa.gif) 0px 0px no-repeat;}
  67. .icont li span{right:5px;top:0px;position:absolute; }
  68. .tongji_a {margin:30px 0 0 0;clear: both;overflow: hidden;margin-bottom:5px;line-height:23px;}
  69. #tongji {margin-top:-30px;position: absolute;width: 500px;border-left: 1px solid #E6E7E1 !important;line-height: 30px;}
  70. .tlb-normal2 { background-repeat: no-repeat; color: #336699; font-weight: bold; background-image: url(http://pigeon.weclub.info/attachments/month_1409/1409121314d4796d840b05debf.jpg); }
  71. .tlb-hover2 { background-repeat: no-repeat; color: #ff6600; font-weight: bold; background-image: url(http://pigeon.weclub.info/attachments/month_1409/1409121316a71f81cab422988a.jpg); }
  72. .tlb-disma { display: block; }
  73. .tlb-undisa { display: none; }
  74. .tlb-topa li { float: left; height: 30px; line-height: 32px; text-align: center; width: 78px; cursor: pointer; }
  75. </style>

  76. <div class="tlb_show">
  77. <div class="com-1">
  78. <div class="com-1-top tlb-topa">
  79. <ul>
  80. <li id="tba_1" onmouseover="x:HoverLia(1);" class="tlb-hover2">最新图片</li>
  81. <li id="tba_2" onmouseover="x:HoverLia(2);" class="tlb-normal2">热门图片</li>
  82. </ul>
  83. </div>
  84. <div class="tlb-disma" id="tbca_01">
  85. {eval request('仿火狼_精彩图片');}
  86. <script type="text/javascript">new dk_slideplayer("#tbca_01",{width:"100%",height:"213px",fontsize:"12px",time:"5000"});</script>
  87. </div>
  88. <div class="tlb-undisa" id="tbca_02">
  89. {eval request('仿火狼_精彩图片2');}
  90. <script type="text/javascript">new dk_slideplayer("#tbca_02",{width:"100%",height:"213px",fontsize:"12px",time:"5000"});</script>
  91. </div>
  92. </div>  

  93. <div class="com-2">
  94. <div id="tb_" class="tlb-top">
  95. <ul>
  96. <li id="tb_1" onmouseover="x:HoverLi(1);" class="tlb-hover">最新帖子</li>
  97. <li id="tb_2" onmouseover="x:HoverLi(2);" class="tlb-normal">最新回复</li>
  98. <li id="tb_3" onmouseover="x:HoverLi(3);" class="tlb-normal">本周热门</li>
  99. <li id="tb_4" onmouseover="x:HoverLi(4);" class="tlb-normal">精华帖子</li>
  100. <li id="tb_5" onmouseover="x:HoverLi(5);" class="tlb-normal">最新公告</li>
  101. <li id="tb_6" onmouseover="x:HoverLi(6);" class="tlb-normal">社区微博</li>
  102. </ul>
  103. </div>

  104. <div class="icont">
  105. <div class="tlb-dis" id="tbc_01" style="width:98%; margin: 8px auto;">
  106. {eval request('仿火狼_最新主题');}
  107. </div>
  108.                
  109. <div class="tlb-undis" id="tbc_02" style="width:98%; margin: 8px auto;">
  110. {eval request('仿火狼_最新回复');}
  111. </div>

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

  115. <div class="tlb-undis" id="tbc_04" style="width:98%; margin: 8px auto;">
  116. {eval request('仿火狼_精华帖子');}
  117. </div>
  118.             
  119. <div class="tlb-undis" id="tbc_05" style="width:98%; margin: 8px auto;">
  120. {eval request('仿火狼_社区公告');}
  121. </div>

  122. <div class="tlb-undis" id="tbc_06" style="width:98%; margin: 8px auto;">
  123. {eval request('仿火狼_帖子微博');}
  124. </div>
  125. </div>
  126. </div>

  127. <div class="com-3">
  128. <div id="tb_" class="tlb-topm">
  129. <ul>
  130. <li id="tbm_1" onmouseover="x:HoverLim(1);" class="tlb-hover1">明星</li>
  131. <li id="tbm_2" onmouseover="x:HoverLim(2);" class="tlb-normal1">活跃</li>
  132. <li id="tbm_3" onmouseover="x:HoverLim(3);" class="tlb-normal1">财神</li>
  133. </ul>
  134. </div>

  135. <div class="tlb-dism" id="tbcm_01" style="width: 166px;height: 213px;">
  136. <div>
  137. <div class="zhuangyuan" style="padding-top: 23px;background: url(http://pigeon.weclub.info/attachments/month_1409/1409121248c83a59bd481f7945.gif) no-repeat scroll 0px 0px rgb(245,190,251);"><strong style="float: right;margin-top: -20px;margin-right: 135px;">状元</strong><div style="margin-right: 10px; float: left;"><img src="http://pigeon.weclub.info/attachments/month_1409/14091308468a072d44f2da4a2b.gif"></div>
  138. <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>
  139. <div class="bangyan" style="padding-top: 23px;background: url(http://pigeon.weclub.info/attachments/month_1409/1409121248896f6f7f20d2ad01.gif) no-repeat scroll 0px 0px rgb(251,229,190);"><strong style="float: right;margin-top: -20px;margin-right: 135px;">榜眼</strong><div style="margin-right: 10px; float: left;"><img src="http://pigeon.weclub.info/attachments/month_1409/14091308468a072d44f2da4a2b.gif"></div>
  140. <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>
  141. <div class="tanhua" style="padding-top: 23px;background: url(http://pigeon.weclub.info/attachments/month_1409/14091212482503e5da6ebd0a8e.gif) no-repeat scroll 0px 0px rgb(190,224,251);"><strong style="float: right;margin-top: -20px;margin-right: 135px;">探花</strong><div style="margin-right: 10px; float: left;"><img src="http://pigeon.weclub.info/attachments/month_1409/14091308468a072d44f2da4a2b.gif"></div>
  142. <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>
  143. </div>

  144. <div  style="position: absolute;width: 166px;margin-top: -213px;">
  145. {eval request('会员排行_状元');}
  146. {eval request('会员排行_榜眼');}
  147. {eval request('会员排行_探花');}
  148. </div>
  149. </div>

  150. <div class="tlb-undism" id="tbcm_02" style="width:98%; margin: 8px auto;background:url(http://pigeon.weclub.info/attachments/month_1409/1409121257c15044f387446ee4.gif) 0px 0px no-repeat;">
  151. {eval request('仿火狼_积分飙升榜');}
  152. </div>

  153. <div class="tlb-undism" id="tbcm_03" style="width:98%; margin: 8px auto;background:url(http://pigeon.weclub.info/attachments/month_1409/1409121257c15044f387446ee4.gif) 0px 0px no-repeat;">
  154. {eval request('仿火狼_金币飙升榜');}
  155. </div>
  156. </div>
  157. </div>
  158. {eval request('仿火狼_新会员');}
  159. <!--我的首页调用end-->
复制代码
回复 3# 造访者

点评

造访者   

谢谢管理员!    发表于 2018-9-6 10:49 

点评
B Color Link Smilies

您还可以输入:个字符
X

 X

TOP

回复 4# pigeon

折腾了一整天,没想到有了代码没有数据调用也无法实现让明星上榜;不过还是要谢谢管理员给的代码。
点评
B Color Link Smilies

您还可以输入:个字符
X

 X

TOP

回复 5# 造访者


   不客气,需要什么尽管拿去

点评

造访者   

我已经在某个论坛找到调用的数据,所以不用麻烦管理员了,谢谢!    发表于 2018-9-8 21:34 

造访者   

那你可以不可以到工具---数据调用---仿火狼---(  )----编辑---把外部调用和预览里的代码复制给我啊!谢谢。    发表于 2018-9-7 08:51 

点评
B Color Link Smilies

您还可以输入:个字符
X

 X

TOP

返回列表

站长推荐 关闭


本论坛开启实名验证标志申请

即日起,论坛开启实名验证,凡申请通过者将颁发实名验证标志!


查看