PageRenderTime 29ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/theme1/home/space_trade.htm

http://you.googlecode.com/
HTML | 339 lines | 233 code | 14 blank | 92 comment | 0 complexity | 3de8b1860d572ba91e3167b39d273690 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, LGPL-2.1
  1. <!--{template common/header}-->
  2. <!--{eval
  3. $_G['home_tpl_spacemenus'][] = "<a href=\"home.php?mod=space&do=trade\">{lang trade}</a>";
  4. }-->
  5. <!--{if $_G[gp_view] == 'eccredit'}-->
  6. <!--{eval
  7. $_G['home_tpl_spacemenus'][] = "<a href=\"home.php?mod=space&uid=$space[uid]&do=$do&view=eccredit\">{lang they_credit_rating}</a>";
  8. }-->
  9. <!--{else}-->
  10. <!--{eval
  11. $_G['home_tpl_spacemenus'][] = "<a href=\"home.php?mod=space&uid=$space[uid]&do=$do&view=onlyuser\">{lang they_trade}</a>";
  12. }-->
  13. <!--{/if}-->
  14. <div id="pt" class="bm cl">
  15. <!--{subtemplate common/simplesearchform}-->
  16. <div class="z">
  17. <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
  18. <a href="home.php">$_G[setting][navs][4][navname]</a> <em>&rsaquo;</em>
  19. <a href="home.php?mod=space&do=trade">{lang trade}</a>
  20. <!--{if $_GET['view']=='me'}-->
  21. <em>&rsaquo;</em> <a href="home.php?mod=space&uid=$space[uid]&do=trade&view=me">{$space[username]}{lang somebody_trade}</a>
  22. <!--{/if}-->
  23. </div>
  24. </div>
  25. <style id="diy_style" type="text/css"></style>
  26. <div class="wp">
  27. <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
  28. </div>
  29. <div id="ct" class="ct2_a wp cl">
  30. <div class="mn">
  31. <!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]-->
  32. <div class="bm bw0">
  33. <!--{if (!$_G['uid'] && !$space[uid]) || $space[self]}-->
  34. <h1 class="mt"><img alt="trade" src="{IMGDIR}/tradesmall.gif" class="vm" /> {lang trade}</h1>
  35. <!--{/if}-->
  36. <!--{if $space[self]}-->
  37. <ul class="tb cl">
  38. <li$actives[we]><a href="home.php?mod=space&uid=$space[uid]&do=trade&view=we">{lang friend_trade}</a></li>
  39. <li$actives[me]><a href="home.php?mod=space&uid=$space[uid]&do=trade&view=me">{lang my_trade}</a></li>
  40. <li$actives[tradelog]><a href="home.php?mod=space&uid=$space[uid]&do=trade&view=tradelog">{lang trade_log}</a></li>
  41. <li$actives[eccredit]><a href="home.php?mod=space&uid=$space[uid]&do=trade&view=eccredit">{lang credit_rating}</a></li>
  42. <li$actives[all]><a href="home.php?mod=space&uid=$space[uid]&do=trade&view=all">{lang view_all}</a></li>
  43. <!--{if $_G[group][allowposttrade]}-->
  44. <li class="o">
  45. <!--{if $_G[setting][tradeforumid]}-->
  46. <a href="forum.php?mod=post&action=newthread&fid=$_G[setting][tradeforumid]&special=2">{lang create_new_trade}</a>
  47. <!--{else}-->
  48. <a href="forum.php?mod=misc&action=nav&special=2" onclick="showWindow('nav', this.href)">{lang create_new_trade}</a>
  49. <!--{/if}-->
  50. </li>
  51. <!--{/if}-->
  52. </ul>
  53. <!--{else}-->
  54. <!--{template home/space_menu}-->
  55. <p class="tbmu cl">
  56. <span class="y">
  57. <!--{if $_G[gp_view]=='me'}-->
  58. <!--{eval $actives[onlyuser]=' class="a"';}-->
  59. <!--{/if}-->
  60. <!--{if $space[uid] > 0}-->
  61. <a href="home.php?mod=space&uid=$space[uid]&do=trade&view=onlyuser"$actives[onlyuser]>{lang sale_of_goods}</a><span class="pipe">|</span>
  62. <a href="home.php?mod=space&uid=$space[uid]&do=trade&view=eccredit"$actives[eccredit]>{lang credit_rating}</a>
  63. <!--{/if}-->
  64. </span>
  65. </p>
  66. <!--{/if}-->
  67. <!--{if $_G[gp_view] == 'tradelog' && $space[uid] > 0}-->
  68. <p class="tbmu bw0">
  69. <a href="home.php?mod=space&uid=$space[uid]&do=trade&view=tradelog&type=sell" $orderactives[sell]>{lang sell_trade}</a><span class="pipe">|</span>
  70. <a href="home.php?mod=space&uid=$space[uid]&do=trade&view=tradelog&type=buy" $orderactives[buy]>{lang buy_trade}</a>
  71. </p>
  72. <!--{elseif $_G[gp_view] == 'all'}-->
  73. <p class="tbmu">
  74. <a href="home.php?mod=space&do=trade&view=all"$orderactives[new]>{lang newest_trade}</a><span class="pipe">|</span>
  75. <a href="home.php?mod=space&do=trade&view=all&order=hot"$orderactives[hot]>{lang hot_trade}</a>
  76. </p>
  77. <!--{/if}-->
  78. <!--{if $userlist}-->
  79. <p class="tbmu">
  80. {lang view_by_friend}
  81. <select name="fuidsel" onchange="fuidgoto(this.value);" class="ps">
  82. <option value="">{lang all_friends}</option>
  83. <!--{loop $userlist $value}-->
  84. <option value="$value[fuid]"{$fuid_actives[$value[fuid]]}>$value[fusername]</option>
  85. <!--{/loop}-->
  86. </select>
  87. </p>
  88. <!--{/if}-->
  89. <!--{if $_G[gp_view] == 'tradelog'}-->
  90. <!--{eval
  91. $selltrades = array('all' => '{lang trade_all}', 'trading' => '{lang trade_trading}', 'attention' => '{lang trade_attention}', 'eccredit' => '{lang trade_eccredit}', 'success' => '{lang trade_success}', 'refund' => '{lang trade_refund}', 'closed' => '{lang trade_closed}', 'unstart' => '{lang trade_unstart}');
  92. }-->
  93. <div class="tl tlog">
  94. <table id="list_trade_selles" cellspacing="0" cellpadding="0">
  95. <tr class="th">
  96. <td width="90">{lang trade_goods_name}</td>
  97. <td>&nbsp;</td>
  98. <td class="by"><!--{if $viewtype == 'sell'}-->{lang trade_buyer}<!--{else}-->{lang trade_seller}<!--{/if}--></td>
  99. <td class="by">{lang trade_amount}</td>
  100. <td>
  101. <select onchange="filterTrade(this.value)">
  102. <!--{loop $selltrades $key $langstr}-->
  103. <option value="$key" {if $filter == $key} selected="selected"{/if}>$langstr</option>
  104. <!--{/loop}-->
  105. </select>
  106. <script type="text/javascript">
  107. function filterTrade(value) {
  108. window.location = 'home.php?mod=space&uid=1&do=trade&view=tradelog&type=$viewtype&filter='+value;
  109. }
  110. </script>
  111. </td>
  112. <!--{if $filter == 'success' || $filter == 'refund' || $filter == 'eccredit'}--><td>{lang trade_rate}</td><!--{/if}-->
  113. </tr>
  114. <tbody>
  115. <!--{if $tradeloglist}-->
  116. <!--{loop $tradeloglist $tradelog}-->
  117. <tr>
  118. <td>
  119. <a href="forum.php?mod=viewthread&tid=$tradelog[tid]&do=tradeinfo&pid=$tradelog[pid]"><!--{if $tradelog['aid']}--><img src="{echo getforumimg($tradelog[aid])}" width="90" /><!--{else}--><img src="{IMGDIR}/nophotosmall.gif" /><!--{/if}--></a>
  120. </td>
  121. <td>
  122. <a href="forum.php?mod=trade&orderid=$tradelog[orderid]">$tradelog[subject]</a><br />
  123. <a href="forum.php?mod=viewthread&tid=$tradelog[tid]&do=tradeinfo&pid=$tradelog[pid]" class="xg1">$tradelog[threadsubject]</a>
  124. </td>
  125. <td>
  126. <!--{if $item == 'selltrades'}-->
  127. <!--{if $tradelog['buyerid']}--><a target="_blank" href="home.php?mod=space&uid=$tradelog[buyerid]">$tradelog[buyer]</a><!--{else}-->$tradelog[buyer]<!--{/if}-->
  128. <!--{else}-->
  129. <a target="_blank" href="home.php?mod=space&uid=$tradelog[sellerid]">$tradelog[seller]</a>
  130. <!--{/if}-->
  131. </td>
  132. <td>
  133. <!--{if $tradelog[price] > 0}-->
  134. $tradelog[price] {lang trade_units}<br/>
  135. <!--{/if}-->
  136. <!--{if $tradelog[credit] > 0}-->
  137. {$extcredits[$creditid][title]} $tradelog[credit] {$extcredits[$creditid][unit]}
  138. <!--{/if}-->
  139. </td>
  140. <td>
  141. <cite><a target="_blank" href="forum.php?mod=trade&orderid=$tradelog[orderid]">
  142. <!--{if $tradelog['attend']}-->
  143. <b>$tradelog[status]</b>
  144. <!--{else}-->
  145. $tradelog[status]
  146. <!--{/if}-->
  147. </a></cite>
  148. <em>$tradelog[lastupdate]</em>
  149. </td>
  150. <!--{if $filter == 'success' || $filter == 'refund' || $filter == 'eccredit'}-->
  151. <td>
  152. <!--{if $tradelog[ratestatus] == 3}-->
  153. {lang eccredit_post_between}
  154. <!--{elseif ($item == 'buytrades' && $tradelog[ratestatus] == 1) || ($item == 'selltrades' && $tradelog[ratestatus] == 2)}-->
  155. {lang eccredit_post_waiting}
  156. <!--{else}-->
  157. <!--{if ($item == 'buytrades' && $tradelog[ratestatus] == 2) || ($item == 'selltrades' && $tradelog[ratestatus] == 1)}-->{lang eccredit_post_already}<br /><!--{/if}-->
  158. <!--{if $item == 'buytrades'}-->
  159. <a href="home.php?mod=spacecp&ac=eccredit&op=rate&orderid=$tradelog[orderid]&type=0" target="_blank">{lang eccredit1}</a>
  160. <!--{else}-->
  161. <a href="home.php?mod=spacecp&ac=eccredit&op=rate&orderid=$tradelog[orderid]&type=1" target="_blank">{lang eccredit1}</a>
  162. <!--{/if}-->
  163. <!--{/if}-->
  164. </td>
  165. <!--{/if}-->
  166. </tr>
  167. <!--{/loop}-->
  168. <!--{else}-->
  169. <td colspan="{if $filter == 'success' || $filter == 'refund' || $filter == 'eccredit'}6{else}5{/if}"><p class="emp">{lang data_nonexistence}</p></td></tr>
  170. <!--{/if}-->
  171. </tbody>
  172. </table>
  173. </div>
  174. <!--{if $multi}--><div class="pgs cl mtm">$multi</div><!--{/if}-->
  175. <!--{elseif $_G[gp_view] == 'eccredit'}-->
  176. <script type="text/javascript" src="{$_G[setting][jspath]}forum.js?{VERHASH}"></script>
  177. <p class="mtm mbw">
  178. <!--{if $member['alipay']}--><a href="https://www.alipay.com/trade/i_credit.do?email=$member[alipay]" target="_blank"><img src="{IMGDIR}/alipaysmall.gif" alt="{lang payto_creditinfo}" class="vm" /></a>&nbsp;&nbsp;<!--{/if}-->
  179. <!--{if $member['taobao']}--><script type="text/javascript">document.write('<a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid='+encodeURIComponent('$member[taobaoas]')+'&s=2"><img src="http://amos1.taobao.com/online.ww?v=2&uid='+encodeURIComponent('$member[taobaoas]')+'&s=1" alt="{lang taobao}" class="vm" /></a>&nbsp;');</script>&nbsp;&nbsp;<!--{/if}-->
  180. {lang eccredit_sellerpercent}: $sellerpercent%;&nbsp;&nbsp;
  181. {lang eccredit_buyerpercent}: $buyerpercent%;&nbsp;&nbsp;
  182. {lang regdate}: $member[regdate]
  183. </p>
  184. <table id="sellcredit" summary="eccredit" cellspacing="0" cellpadding="0" class="dt">
  185. <caption><h3 class="pbm">{lang eccredit_buyerinfo} $member[sellercredit] <img src="{STATICURL}image/traderank/buyer/$member['buyerrank'].gif" alt="buyer rank" class="vm" /></h3></caption>
  186. <tr class="alt">
  187. <td style="width: 45px;">&nbsp;</td>
  188. <td>{lang eccredit_1week}</td>
  189. <td>{lang eccredit_1month}</td>
  190. <td>{lang eccredit_6month}</td>
  191. <td>{lang eccredit_6monthbefore}</td>
  192. <td>{lang eccredit_total}</td>
  193. </tr>
  194. <tr>
  195. <td><img src="{STATICURL}image/traderank/good.gif" width="14" height="16" alt="good" class="vm" /> <span style="color:red">{lang eccredit_good}</span></td>
  196. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=thisweek&level=good#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][thisweek][good]</a></td>
  197. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=thismonth&level=good#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][thismonth][good]</a></td>
  198. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=halfyear&level=good#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][halfyear][good]</a></td>
  199. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=before&level=good#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][before][good]</a></td>
  200. <td>$caches[sellercredit][all][good]</td>
  201. </tr>
  202. <tr>
  203. <td><img src="{STATICURL}image/traderank/soso.gif" width="14" height="16" alt="soso" class="vm" /> <span style="color:green">{lang eccredit_soso}</span></td>
  204. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=thisweek&level=soso#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][thisweek][soso]</a></td>
  205. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=thismonth&level=soso#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][thismonth][soso]</a></td>
  206. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=halfyear&level=soso#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][halfyear][soso]</a></td>
  207. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=before&level=soso#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][before][soso]</a></td>
  208. <td>$caches[sellercredit][all][soso]</td>
  209. </tr>
  210. <tr>
  211. <td><img src="{STATICURL}image/traderank/bad.gif" width="14" height="16" alt="bad" class="vm" /> {lang eccredit_bad}</td>
  212. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=thisweek&level=bad#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][thisweek][bad]</a></td>
  213. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=thismonth&level=bad#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][thismonth][bad]</a></td>
  214. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=halfyear&level=bad#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][halfyear][bad]</a></td>
  215. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=before&level=bad#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][before][bad]</a></td>
  216. <td>$caches[sellercredit][all][bad]</td>
  217. </tr>
  218. <tr>
  219. <td>{lang eccredit_total}</td>
  220. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=thisweek#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][thisweek][total]</a></td>
  221. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=thismonth#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][thismonth][total]</a></td>
  222. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=halfyear#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][halfyear][total]</a></td>
  223. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer&filter=before#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[sellercredit][before][total]</a></td>
  224. <td>$caches[sellercredit][all][total]</td>
  225. </tr>
  226. </table>
  227. <table id="buyercredit" summary="eccredit" cellspacing="0" cellpadding="0" class="dt">
  228. <caption><h3 class="ptw pbm">{lang eccredit_sellerinfo} $member[buyercredit] <img src="{STATICURL}image/traderank/seller/$member['sellerrank'].gif" alt="seller rank" class="vm" /></h3></caption>
  229. <tr class="alt">
  230. <td style="width: 45px;">&nbsp;</td>
  231. <td>{lang eccredit_1week}</td>
  232. <td>{lang eccredit_1month}</td>
  233. <td>{lang eccredit_6month}</td>
  234. <td>{lang eccredit_6monthbefore}</td>
  235. <td>{lang eccredit_total}</td>
  236. </tr>
  237. <tr>
  238. <td><img src="{STATICURL}image/traderank/good.gif" width="14" height="16" alt="good" class="vm" /> <span style="color:red">{lang eccredit_good}</span></td><td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=thisweek&level=good" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][thisweek][good]</a></td>
  239. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=thismonth&level=good#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][thismonth][good]</a></td>
  240. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=halfyear&level=good#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][halfyear][good]</a></td>
  241. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=before&level=good#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][before][good]</a></td>
  242. <td>$caches[buyercredit][all][good]</td>
  243. </tr>
  244. <tr>
  245. <td><img src="{STATICURL}image/traderank/soso.gif" width="14" height="16" alt="soso" class="vm" /> <span style="color:green">{lang eccredit_soso}</span></td>
  246. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=thisweek&level=soso#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][thisweek][soso]</a></td>
  247. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=thismonth&level=soso#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][thismonth][soso]</a></td>
  248. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=halfyear&level=soso#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][halfyear][soso]</a></td>
  249. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=before&level=soso" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][before][soso]</a></td>
  250. <td>$caches[buyercredit][all][soso]</td>
  251. </tr>
  252. <tr>
  253. <td><img src="{STATICURL}image/traderank/bad.gif" width="14" height="16" alt="bad" class="vm" /> {lang eccredit_bad}</td>
  254. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=thisweek&level=bad#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][thisweek][bad]</a></td>
  255. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=thismonth&level=bad#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][thismonth][bad]</a></td>
  256. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=halfyear&level=bad#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][halfyear][bad]</a></td>
  257. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=before&level=bad#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][before][bad]</a></td>
  258. <td>$caches[buyercredit][all][bad]</td>
  259. </tr>
  260. <tr>
  261. <td>{lang eccredit_total}</td>
  262. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=thisweek#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][thisweek][total]</a></td>
  263. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=thismonth#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][thismonth][total]</a></td>
  264. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=halfyear#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][halfyear][total]</a></td>
  265. <td><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller&filter=before#" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">$caches[buyercredit][before][total]</a></td>
  266. <td>$caches[buyercredit][all][total]</td>
  267. </tr>
  268. </table>
  269. <div id="ajaxrate"></div>
  270. <!--{if $_G['uid']}-->
  271. <script type="text/javascript">ajaxget('home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid', 'ajaxrate');var explainmenu='ajax_explain_menu';</script>
  272. <!--{/if}-->
  273. <!--{else}-->
  274. <!--{if $list}-->
  275. <ul class="ml tradl cl">
  276. <!--{loop $list $key $value}-->
  277. <li class="bbda">
  278. <p class="u xg1"><a href="home.php?mod=space&uid=$value[sellerid]" title="$value[seller]" target="_blank">$value[seller]</a></p>
  279. <a href="forum.php?mod=viewthread&tid=$value[tid]&do=tradeinfo&pid=$value[pid]" class="tn">
  280. <!--{if $value[displayorder] > 0}--><em class="hot">{lang post_trade_sticklist}</em><!--{/if}-->
  281. <img src="{if $value[aid]}{echo getforumimg($value[aid])}{else}{IMGDIR}/nophoto.gif{/if}" alt="$value[subject]" />
  282. </a>
  283. <!--{if $value[expiration] && $value[expiration] < $_G[timestamp] || $value[closed]}-->
  284. <p class="stat">- {lang trade_closing} -</p>
  285. <!--{else}-->
  286. <!--{if $value[price] > 0}-->
  287. <p class="p">&yen; <em class="xi1">$value[price]</em></p>
  288. <!--{/if}-->
  289. <!--{if $_G['setting']['creditstransextra'][5] != -1 && $value[credit]}-->
  290. <p class="{if $value[price] > 0}xg1{else}p{/if}"><!--{if $value[price] > 0}-->{lang additional} <!--{/if}--><em class="xi1">$value[credit]</em> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][5]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][5]][title]}</p>
  291. <!--{/if}-->
  292. <!--{/if}-->
  293. <h4><a href="forum.php?mod=viewthread&tid=$value[tid]&do=tradeinfo&pid=$value[pid]" title="$value[subject]" class="xi2">$value[subject]</a></h4>
  294. </li>
  295. <!--{/loop}-->
  296. <!--{if $emptyli}-->
  297. <!--{loop $emptyli $value}-->
  298. <li class="bbda">&nbsp;</li>
  299. <!--{/loop}-->
  300. <!--{/if}-->
  301. </ul>
  302. <!--{else}-->
  303. <div class="emp">{lang no_trade}</div>
  304. <!--{/if}-->
  305. <!--{/if}-->
  306. </div>
  307. <!--{if $multi}--><div class="pgs cl">$multi</div><!--{/if}-->
  308. <!--[diy=diycontentbottom]--><div id="diycontentbottom" class="area"></div><!--[/diy]-->
  309. </div>
  310. <div class="appl">
  311. <!--{subtemplate common/userabout}-->
  312. <div class="drag">
  313. <!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
  314. </div>
  315. </div>
  316. </div>
  317. <div class="wp mtn">
  318. <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
  319. </div>
  320. <script type="text/javascript">
  321. function fuidgoto(fuid) {
  322. window.location.href = 'home.php?mod=space&do=trade&view=we&fuid='+fuid;
  323. }
  324. </script>
  325. <!--{template common/footer}-->