免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
设为首页收藏本站开启辅助访问站点地图

美化代码新人必看赚取圈币

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

默认模板套系 viewthread_trade.htm   [复制链接]

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

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

x
  1. <!--{if count($trades) > 1 || ($discuz_uid == $thread['authorid'] || $allowedittrade)}-->
  2.                         <div class="tradectrl">
  3.                                 <em>{lang post_trade_totalnumber}: $tradenum</em>
  4.                                 <!--{if $discuz_uid == $thread['authorid'] || $allowedittrade}-->
  5.                                         <a href="javascript:;" onclick="showWindow('tradeorder', 'misc.php?action=tradeorder&tid=$tid');return false;">{lang trade_displayorder}</a>
  6.                                         <!--{if $discuz_uid == $thread['authorid']}-->
  7.                                                 <!--{if $allowposttrade}-->
  8.                                                         <a href="post.php?action=reply&fid=$fid&tid=$tid&firstpid=$post[pid]&addtrade=yes">+ {lang trade_add_post}</a>
  9.                                                 <!--{/if}-->
  10.                                                 <span class="pipe">|</span>
  11.                                                 <a href="javascript:;" onclick="window.open('my.php?item=selltrades&tid=$tid','','');return false;">{lang my_trade_stat}</a>
  12.                                         <!--{/if}-->
  13.                                 <!--{/if}-->
  14.                         </div>
  15.                 <!--{/if}-->
  16.                 <!--{if $tradenum}-->
  17.                         <!--{if $trades}-->
  18.                                 <div class="s_clear">
  19.                                         <!--{loop $trades $key $trade}-->
  20.                                         <div class="treadbox">
  21.                                                 <dl id="trade$trade[pid]" class="tradethumblist">
  22.                                                         <dt class="thumblist" onclick="display('trade$trade[pid]');ajaxget('viewthread.php?do=tradeinfo&amp;tid=$tid&amp;pid=$trade[pid]','tradeinfo$trade[pid]','tradeinfo$trade[pid]')">
  23.                                                                 <!--{if $trade['displayorder'] > 0}--><label style="display: none;">{lang post_trade_sticklist}</label><!--{/if}-->
  24.                                                                 <!--{if $trade['thumb']}-->
  25.                                                                         <img src="$trade[thumb]" onload="thumbImg(this, 1)" _width="96" _height="96" alt="{if $trade['typeid']}[{$tradetypes[$trade['typeid']]}] {/if}$trade[subject]" />
  26.                                                                 <!--{else}-->
  27.                                                                         <img src="{IMGDIR}/trade_nophoto.gif" width="96" height="96" alt="{if $trade['typeid']}[{$tradetypes[$trade['typeid']]}] {/if}$trade[subject]" />
  28.                                                                 <!--{/if}-->
  29.                                                         </dt>
  30.                                                         <dd>
  31.                                                                 <span class="infoview"><a href="javascript:;" onclick="display('trade$trade[pid]');ajaxget('viewthread.php?do=tradeinfo&amp;tid=$tid&amp;pid=$trade[pid]','tradeinfo$trade[pid]','tradeinfo$trade[pid]')">{lang open}</a></span>
  32.                                                                 <h2 class="tradename"><a href="javascript:;" onclick="display('trade$trade[pid]');ajaxget('viewthread.php?do=tradeinfo&amp;tid=$tid&amp;pid=$trade[pid]','tradeinfo$trade[pid]','tradeinfo$trade[pid]')">$trade[subject]</a></h2>
  33.                                                                 <p>
  34.                                                                 <!--{if $trade[closed]}-->
  35.                                                                         <em>{lang trade_timeout}</em>
  36.                                                                 <!--{elseif $trade[expiration] > 0}-->
  37.                                                                         {$trade[expiration]}{lang days}{$trade[expirationhour]}{lang trade_hour}
  38.                                                                 <!--{elseif $trade[expiration] == -1}-->
  39.                                                                         <em>{lang trade_timeout}</em>
  40.                                                                 <!--{/if}-->
  41.                                                                 </p>
  42.                                                                 <!--{if $trade[price] && $trade['costprice'] > 0 || $creditstransextra[5] != -1 && $trade[credit] && $trade['costcredit'] > 0}-->
  43.                                                                         <p>{lang trade_costprice}:</p>
  44.                                                                         <!--{if $trade['costprice'] > 0}-->
  45.                                                                                 <del>$trade[costprice] {lang payment_unit}</del>&nbsp;&nbsp;
  46.                                                                         <!--{/if}-->
  47.                                                                         <!--{if $creditstransextra[5] != -1 && $trade['costcredit'] > 0}-->
  48.                                                                                 <del>{$extcredits[$creditstransextra[5]][title]} $trade[costcredit] {$extcredits[$creditstransextra[5]][unit]}</del>
  49.                                                                         <!--{/if}-->
  50.                                                                 <!--{/if}-->
  51.                                                                 <p>{lang trade_price}:</p>
  52.                                                                 <!--{if $trade[price] > 0}-->
  53.                                                                         <strong class="price">$trade[price]</strong>&nbsp;{lang payment_unit}&nbsp;&nbsp;
  54.                                                                 <!--{/if}-->
  55.                                                                 <!--{if $creditstransextra[5] != -1 && $trade[credit]}-->
  56.                                                                         {$extcredits[$creditstransextra[5]][title]}&nbsp;<strong class="price">$trade[credit]</strong>&nbsp;{$extcredits[$creditstransextra[5]][unit]}
  57.                                                                 <!--{/if}-->
  58.                                                         </dd>
  59.                                                 </dl>
  60.                                                 <div id="tradeinfo$trade[pid]"></div>
  61.                                         </div>
  62.                                         <!--{if count($trades) == 1}-->
  63.                                                 <script type="text/javascript" onload="1">display('trade$trade[pid]');ajaxget('viewthread.php?do=tradeinfo&tid=$tid&pid=$trade[pid]','tradeinfo$trade[pid]','tradeinfo$trade[pid]')</script>
  64.                                         <!--{/if}-->
  65.                                         <!--{/loop}-->
  66.                                 </div>
  67.                         <!--{/if}-->

  68.                 <div id="postmessage_$post[pid]">$post[counterdesc]</div>
  69.                 <!--{else}-->
  70.                         <div class="locked">{lang trade_nogoods}</div>
  71.                         <!--{if $discuz_uid == $thread['authorid'] && $allowposttrade}-->
  72.                                 <br /><button type="button" onclick="showWindow('reply', 'post.php?infloat=yes&action=reply&fid=$fid&tid=$tid&addtrade=yes');return false;">{lang trade_add_post}</button>
  73.                         <!--{/if}-->
  74.                 <!--{/if}-->
复制代码

最近看过此主题的圈友

小可爱
访问时间:2020-10-04 17:46
無名
访问时间:2018-09-03 20:07
龙门客
访问时间:2018-05-21 11:59
赵高
访问时间:2018-01-28 00:05
冒险家
访问时间:2016-01-14 01:37
小Song
访问时间:2015-04-14 20:01
小孩子
访问时间:2015-03-24 23:14
oocn
访问时间:2015-01-14 16:20

点评
B Color Link Smilies

您还可以输入:个字符
X

 X

今天你帮助了别人,明天别人帮助你.
返回列表 发帖
快速
返回顶部
返回首页