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

重新建立一个xshow模板,把下边代码粘贴进去试试吧。
  1. <!-- XShow v1.2.70 -->

  2. <!--{eval require_once DISCUZ_ROOT.'./templates/default/xshow.php';}-->
  3. <!--{if $_DPLUGIN['xshow']['available'] && ($xshow['is_guest'] || $discuz_uid)}-->
  4. <!--{if $xshow['prompt']}-->

  5. <script type="text/javascript" src="images/xshow/title.js"></script>
  6. <!--{/if}-->
  7. <style type="text/css">
  8. <!--
  9. .xshow{width:980px;margin:0 auto 0px ;background:#F2F2F2 ;border:{WRAPBORDER} solid {WRAPBORDERCOLOR};}
  10. .xshow table {background:{WRAPBG};text-align:left;border:none;}
  11. .xshow .header td{text-align:center;height:31px;border:1px solid #CDCDCD;background:#F2F2F2;}
  12. .xshow .border{border:1px solid #CDCDCD;border-bottom:1px solid #CDCDCD;}
  13. .xshow .txt_con td{padding:5px;}
  14. .xshow .txt td{padding:0;vertical-align:top;}
  15. .xshow .txt div{width:100%;height:20px;background:url('images/xshow/listbg.gif') repeat-x;overflow:hidden;}
  16. .xshow .txt span{float:right;}
  17. .xshow .fiveline{border-top:1px solid {COMMONBORDER};padding: 0 5px;}
  18. .xshow .fiveline img{width:48px;heigth:48px;}
  19. -->
  20. </style>
  21. <div class="xshow">
  22.   <table cellspacing="0" cellpadding="0" width="99%" align="center">
  23.      <tr class="header">
  24.       <td class="border"><h3>{$x_title[0]}</h3></td>
  25.       <td class="border"><h3>{$x_title[1]}</h3></td>
  26.       <td class="border"><h3>{$x_title[2]}</h3></td>
  27.       <td{$is_five}><h3>{$x_title[3]}</h3></td>
  28. <!--{if $xshow['set_row'] == 2 && !$xshow['five_list']}-->
  29.       <td><h3>{$x_title[4]}</h3></td>
  30. <!--{/if}-->
  31.     </tr>
  32.     <tr class="txt_con">
  33.       <td width="28%" class="border">
  34.         <script type="text/javascript">
  35.           var config = '{$xshow['pic_cut']}|0xffffff|{$pic_color}|50|0xffffff|{$pic_color}|0x000000';
  36.           var files = '{$picpics}';
  37.           var links = '{$piclinks}';
  38.           var texts = '{$pictexts}';
  39.           document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="198">');
  40.           document.write('<param name="movie" value="images/xshow/focus.swf" />');
  41.           document.write('<param name="quality" value="high" />');
  42.           document.write('<param name="menu" value="false" />');
  43.           document.write('<param name="wmode" value="transparent" />');
  44.           document.write('<param name="FlashVars" value="config='+config+'&bcastr_flie='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'" />');
  45.           document.write('<embed src="images/xshow/focus.swf" wmode="opaque" FlashVars="config='+config+'&bcastr_flie='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'" menu="false" quality="high" width="100%" height="198" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
  46.           document.write('</object>');
  47.         </script>
  48.       </td>
  49.       <td width="{$td_row}" class="border">
  50.         <table cellpadding="0" cellspacing="0" class="txt">
  51.           <tr>
  52.             <td><img src="images/xshow/list.gif" alt="" /></td>
  53.             <td width="100%">
  54. <!--{loop $newPost $thread}-->{LF}
  55.               <div>
  56. <!--{if $xshow['is_author']}-->                <span><a style="color:{$author_color}" href="space.php?uid=$thread['authorid']">[{$thread['authors']}]</a></span>{LF}<!--{/if}-->
  57. <!--{if $thread['replies']}-->
  58.                 <a{$linkwindow} href="viewthread.php?tid=$thread['tid']"{$thread['highlight']} title="{$propre[0]}$thread['name']{LF}{$propre[1]}$thread['subject']{LF}{$propre[2]}$thread['author'] ($thread['date']){LF}{$propre[3]}$thread['views']{$propre[4]}{LF}{$propre[5]}$thread['lastposter'] ($thread['retime']){LF}{$propre[5]}$thread['replies']{$propre[4]}">$thread['view_subject']</a>
  59. <!--{else}-->
  60.                 <a{$linkwindow} href="viewthread.php?tid=$thread['tid']"{$thread['highlight']} title="{$propre[0]}$thread['name']{LF}{$propre[1]}$thread['subject']{LF}{$propre[2]}$thread['author'] ($thread['date']){LF}{$propre[3]}$thread['views']{$propre[4]}{LF}{$propre[6]}">$thread['view_subject']</a>
  61. <!--{/if}-->
  62.               </div>
  63. <!--{/loop}-->{LF}
  64.             </td>
  65.           </tr>
  66.         </table>
  67.       </td>
  68.       <td width="{$td_row}" class="border">
  69.         <table cellpadding="0" cellspacing="0" class="txt">
  70.           <tr>
  71.             <td><img src="images/xshow/list.gif" alt="" /></td>
  72.             <td width="100%">
  73. <!--{loop $newReply $thread}-->{LF}
  74.               <div>
  75. <!--{if $xshow['is_author']}-->
  76.                 <span><a style="color:{$author_color}" href="space.php?uid=$thread['authorid']">[{$thread['authors']}]</a></span>
  77. <!--{/if}-->
  78.                 <a{$linkwindow} href="redirect.php?tid=$thread['tid']&goto=lastpost#lastpost"{$thread['highlight']} title="{$propre[0]}$thread['name']{LF}{$propre[1]}$thread['subject']{LF}{$propre[2]}$thread['author'] ($thread['date']){LF}{$propre[3]}$thread['views']{$propre[4]}{LF}{$propre[5]}$thread['lastposter'] ($thread['retime']){LF}{$propre[5]}$thread['replies']{$propre[4]}">$thread['view_subject']</a>
  79.               </div>
  80. <!--{/loop}-->{LF}
  81.             </td>
  82.           </tr>
  83.         </table>
  84.       </td>
  85.       <td width="{$td_row}"{$is_five}>
  86.         <table cellpadding="0" cellspacing="0" class="txt">
  87.           <tr>
  88.             <td><img src="images/xshow/list.gif" alt="" /></td>
  89.             <td width="100%">
  90. <!--{loop $ObjArray $thread}-->{LF}
  91.               <div>
  92. <!--{if $xshow['is_author']}-->
  93.                 <span><a style="color:{$author_color}" href="space.php?uid=$thread['authorid']">[{$thread['authors']}]</a></span>
  94. <!--{/if}-->
  95.                 <a{$linkwindow} href="viewthread.php?tid=$thread['tid']"{$thread['highlight']} title="{$propre[0]}$thread['name']{LF}{$propre[1]}$thread['subject']{LF}{$propre[2]}$thread['author'] ($thread['date']){LF}{$propre[3]}$thread['views']{$propre[4]}{LF}{$propre[5]}$thread['lastposter'] ($thread['retime']){LF}{$propre[5]}$thread['replies']{$propre[4]}">$thread['view_subject']</a>
  96.               </div>
  97. <!--{/loop}-->{LF}
  98.             </td>
  99.           </tr>
  100.         </table>
  101.       </td>
  102. <!--{if $xshow['set_row'] == 2}-->
  103. <!--{eval $i = 0;}-->
  104. <!--{if !$xshow['five_list']}-->
  105.       <td>
  106.         <table cellpadding="0" cellspacing="0" class="txt">
  107.           <tr>
  108.             <td><img src="images/xshow/list.gif" alt="" /></td>
  109.             <td width="100%">
  110. <!--{loop $postStar $result}-->{LF}
  111.               <div><span style="color:{$authnum_color}">[{$result['num']}]</span><a title="$result['autitl'] ($result['num'])" href="space.php?uid=$result['authorid']">$result['author']</a></div>
  112. <!--{eval $i++; if($i == 10) break;}-->
  113. <!--{/loop}-->{LF}
  114.             </td>
  115.           </tr>
  116.         </table>
  117.       </td>
  118. <!--{else}-->
  119.     </tr>
  120.     <tr>
  121. <!--{if $xshow['five_pic']}-->
  122.       <td colspan="4" class="fiveline">
  123. <!--{loop $postStar $result}-->{LF}
  124.         <a title="{$result['autitl']} [{$result['num']}]" href="space.php?uid=$result['authorid']">$result['avatar']</a>
  125. <!--{/loop}-->{LF}
  126.       </td>
  127. <!--{else}-->
  128.       <td colspan="4" class="fiveline">
  129.         TOP:
  130. <!--{loop $postStar $result}-->{LF}
  131.         <a href="space.php?uid=$result['authorid']">$result['autitl']</a> <span style="color:{$authnum_color}">[{$result['num']}]</span>
  132. <!--{eval $i++; if($i == 10) break;}-->
  133. <!--{/loop}-->{LF}
  134.       </td>
  135. <!--{/if}-->
  136. <!--{/if}-->
  137. <!--{/if}-->
  138.     </tr>
  139.   </table>
  140. </div>
  141. <!--{/if}-->
  142. <!-- xshow end -->
複製代碼

TOP

回復 20# hnrpg


    或者你把帐密发给我 我给你试试

TOP

回復  无界

晕死了!现在该如何恢复呢?求助下
hnrpg 發表於 14-11-2016 15:58



    再去discuz模板删除{template xshow}这句代码也可以

TOP

回復 23# 无界


我私信发给你了,有劳帮忙解决下,先谢谢了!

TOP

回復 24# hnrpg


    ok了

TOP

本帖最後由 hnrpg 於 2016-11-14 16:14 編輯

回復 25# 无界

非常感谢!但是在模板管理 详情 里头没看到你添加 xshow模板 呀,想弄懂下能附图说明下吗?

TOP

回復 26# hnrpg


    {template xshow}其实这句代码就是调用模板xshow删除它不在discuz里边调用就行了

TOP

回復 27# 无界

OK弄好就行了感谢了!
还有问题需要解决下的,在后台开通QQ云平台提示
11.png
2016-11-14 16:19

请问这个该如何解决!

TOP

回復 28# hnrpg


    这个你得单独发帖求助admin老大了

TOP

回復 29# 无界


好的,估计这个不好弄吧,再次感谢你!

TOP

返回列表