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

返回列表 发帖
查看: 2438|回复: 3 收起左侧
开启左侧收起左侧开启左侧
上一主题 下一主题 打印

仿火狼数据调用附件   [复制链接]

附件下载信息仿火狼数据调用.zip
附件大小:7.79 KB
附件售价:金钱 0 枚 [记录]
下载次数:7
更新时间:2018-9-8 17:45
下载地址: 普通方式下载 - 仿火狼数据调用.zip


后台数据调用导入:防火狼首页N格数据调用.xml

discuz.htm里的代码用记事本打开,放到discuz.htm模板里,具体位置我也不太清楚,你可以借鉴其他版本的放置位置,加代码之前记得备份,切记


后续要是还有问题我再把我后台的代码复制给你看
1

评分人数

  • 無名

最近看过此主题的会员

無名
访问时间:2025-03-16 09:17
他不准我哭
访问时间:2020-05-17 12:12
小豪
访问时间:2020-04-25 23:23
繽紛色彩
访问时间:2020-04-02 23:31
邹城老王
访问时间:2020-02-02 15:20
开心
访问时间:2020-01-17 14:31
yanli2008
访问时间:2019-11-23 17:22
琼斯博士
访问时间:2019-08-27 21:16
qcsmoe
访问时间:2019-04-06 23:57

点评
B Color Link Smilies

您还可以输入:个字符
X

 X

应该没什么问题了,你按我说的试一下吧

点评

i-share   

谢谢!已经弄好了    发表于 2018-9-8 21:12 

点评
B Color Link Smilies

您还可以输入:个字符
X

 X

另外添加三个数据调用
会员排行_状元
  1. [node]
  2. [show=1]<div class="zhuangyuan" style="padding-top: 23px;background: url(http://mc0713.66rt.com/attachments/day_180805/1808051007490a42944ac813cf.gif) no-repeat scroll 0px 0px rgb(190,224,251);"><strong style="float: right;margin-top: -23px;margin-right: 135px;">状元</strong><div style="margin-right: 10px; float: left;">{avatarsmall}</div><div style="background: rgb(222,235,251);height: 48px;"><p>用户名:{member}</p><p>发帖数:{value} 篇</p></div></div>[/show]
  3. [/node]
复制代码
会员排行_榜眼
  1. [node]
  2. [show=2]<div class="bangyan" style="padding-top: 23px;background: url(http://mc0713.66rt.com/attachments/day_180805/180805100791b087f43ebc2c0b.gif) no-repeat scroll 0px 0px rgb(245,190,251);"><strong style="float: right;margin-top: -23px;margin-right: 135px;">榜眼</strong><div style="margin-right: 10px; float: left;">{avatarsmall}</div><div style="background: rgb(252,224,251);height: 48px;"><p>用户名:{member}</p><p>发帖数:{value} 篇</p></div></div>[/show]
  3. [/node]
复制代码
会员排行_探花
  1. [node]
  2. [show=3]<div class="tanhua" style="padding-top: 23px;background: url(http://mc0713.66rt.com/attachments/day_180805/1808051007172a314dc49c3ce1.gif) no-repeat scroll 0px 0px rgb(251,229,190);"><strong style="float: right;margin-top: -23px;margin-right: 135px;">探花</strong><div style="margin-right: 10px; float: left;">{avatarsmall}</div><div style="background: rgb(251,244,229);height: 48px;"><p>用户名:{member}</p><p>发帖数:{value} 篇</p></div></div>[/show]
  3. [/node]
复制代码
点评
B Color Link Smilies

您还可以输入:个字符
X

 X

  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="http://mc0713.66rt.com/attachments/day_180826/180826121294e30185917846d6.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>
  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([img]http://mc0713.66rt.com/attachments/day_180826/1808261212fe2b808e6836ead1.png[/img]) 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([img]http://mc0713.66rt.com/attachments/day_180826/1808261212fe2b808e6836ead1.png[/img]) 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([img]http://mc0713.66rt.com/attachments/day_180826/1808261212fe2b808e6836ead1.png[/img]) 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([img]http://mc0713.66rt.com/attachments/day_180826/1808261212778231771a969f54.jpg[/img]); }
  45. .tlb-hover { background-repeat: no-repeat; color: #ff6600; font-weight: bold; background-image: url([img]http://mc0713.66rt.com/attachments/day_180826/180826121220ef34fdfa300ecf.jpg[/img]); }
  46. .tlb-normal1 { background-repeat: no-repeat; color: #336699; font-weight: bold; background-image: url([img]http://mc0713.66rt.com/attachments/day_180826/1808261212d59adc55799d54d6.jpg[/img]); }
  47. .tlb-hover1 { background-repeat: no-repeat; color: #ff6600; font-weight: bold; background-image: url([img]http://mc0713.66rt.com/attachments/day_180826/18082612126b1a3132a7b4f377.jpg[/img]); }
  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([img]http://mc0713.66rt.com/attachments/day_180826/1808261212585d5f1e008ed78b.gif[/img]) repeat-x; }
  55. .tlb_show .txt span { float: right; color: #07519a; }
  56. .icont li{position:relative;background:url([img]http://mc0713.66rt.com/attachments/day_180826/1808261212585d5f1e008ed78b.gif[/img]) 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([img]http://mc0713.66rt.com/attachments/day_180805/18080510262890c5fffa02d19b.png[/img]) 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:;border-left: 1px solid #E6E7E1 !important;line-height: 30px;}
  62. </style>

  63. <div style="margin-top: -25px;float: right;">
  64. <a href="my.php?item=threads" title="我的帖子" class="xi2">我的帖子</a><span class="pipe">|</span><a href="search.php?srchfrom=604800&amp;searchsubmit=yes" title="最新回复" class="xi2">最新回复</a>
  65. </div>

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

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

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

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

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

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

  114. <div class="tlb-dism" id="tbcm_01" style="width: 181px;height: 213px;">
  115. {eval request('会员排行_状元');}{eval request('会员排行_榜眼');}{eval request('会员排行_探花');}
  116. </div>

  117. <div class="tlb-undism" id="tbcm_02" style="width:98%; margin: 8px auto;background:url([img]http://mc0713.66rt.com/attachments/day_180805/18080510262890c5fffa02d19b.png[/img]) 0px 0px no-repeat;">
  118. {eval request('仿火狼_积分飙升榜');}
  119. </div>

  120. <div class="tlb-undism" id="tbcm_03" style="width:98%; margin: 8px auto;background:url([img]http://mc0713.66rt.com/attachments/day_180805/18080510262890c5fffa02d19b.png[/img]) 0px 0px no-repeat;">
  121. {eval request('仿火狼_金币飙升榜');}
  122. </div>
  123. </div>
  124. </div>
  125. {eval request('仿火狼_新会员');}
  126. <!--我的首页调用end-->
复制代码
我的调用代码
点评
B Color Link Smilies

您还可以输入:个字符
X

 X

返回列表 发帖
 已经运行: