spacecp_ec_list.htm 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <!--{template common/header}-->
  2. <table cellspacing="0" cellpadding="0" class="dt">
  3. <caption>
  4. <p class="tbmu bw0" style="padding: 10px 0;">
  5. <!--{if in_array($filter, array('thisweek', 'thismonth', 'halfyear', 'before')) && in_array($from, array('buyer', 'seller'))}-->
  6. <a class="a" href="javascript:;" hidefocus="true">
  7. <!--{if $filter == 'thisweek'}-->{lang eccredit_1week}<!--{elseif $filter == 'thismonth'}-->{lang eccredit_1month}<!--{elseif $filter == 'halfyear'}-->{lang eccredit_6month}<!--{else}-->{lang eccredit_6monthbefore}<!--{/if}--> {lang from}<!--{if $from == 'buyer'}-->{lang trade_buyer}<!--{else}-->{lang trade_seller}<!--{/if}-->{lang eccredit_s}<!--{if $level == 'good'}-->{lang eccredit_good}<!--{elseif $level == 'soso'}-->{lang eccredit_soso}<!--{elseif $level == 'bad'}-->{lang eccredit_bad}<!--{else}-->{lang eccredit1}<!--{/if}-->
  8. </a><span class="pipe">|</span>
  9. <!--{/if}-->
  10. <!--{if !$from}-->
  11. <a class="a" href="javascript:;" hidefocus="true">{lang eccredit_list_all}</a>
  12. <!--{else}-->
  13. <a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">{lang eccredit_list_all}</a>
  14. <!--{/if}-->
  15. <!--{if $from == 'buyer' && !$filter}-->
  16. <span class="pipe">|</span><a class="a" href="javascript:;" hidefocus="true">{lang eccredit_list_buyer}</a>
  17. <!--{else}-->
  18. <span class="pipe">|</span><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=buyer" hidefocus="true" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">{lang eccredit_list_buyer}</a>
  19. <!--{/if}-->
  20. <!--{if $from == 'seller' && !$filter}-->
  21. <span class="pipe">|</span><a class="a" href="javascript:;" hidefocus="true">{lang eccredit_list_seller}</a>
  22. <!--{else}-->
  23. <span class="pipe">|</span><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=seller" hidefocus="true" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">{lang eccredit_list_seller}</a>
  24. <!--{/if}-->
  25. <!--{if $from == 'myself'}-->
  26. <span class="pipe">|</span><a class="a" href="javascript:;" hidefocus="true">{lang eccredit_list_other}</a>
  27. <!--{else}-->
  28. <span class="pipe">|</span><a href="home.php?mod=spacecp&ac=eccredit&op=list&uid=$uid&from=myself" hidefocus="true" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">{lang eccredit_list_other}</a>
  29. <!--{/if}-->
  30. </p>
  31. </caption>
  32. <tr class="alt">
  33. <td style="width: 45px;">&nbsp;</td>
  34. <td>{lang eccredit_content}</td>
  35. <td>{lang eccredit_goodsname_seller}</td>
  36. <td style="width: 90px;">{lang eccredit_tradeprice}</td>
  37. </tr>
  38. <!--{if $comments}-->
  39. <!--{loop $comments $comment}-->
  40. <tr>
  41. <td>
  42. <!--{if $comment[score] == 1}-->
  43. <img src="{STATICURL}image/traderank/good.gif" width="14" height="16" alt="good" class="vm" /> <span style="color:red">{lang eccredit_good}</span>
  44. <!--{elseif $comment[score] == 0}-->
  45. <img src="{STATICURL}image/traderank/soso.gif" width="14" height="16" alt="soso" class="vm" /> <span style="color:green">{lang eccredit_soso}</span>
  46. <!--{else}-->
  47. <img src="{STATICURL}image/traderank/bad.gif" width="14" height="16" alt="bad" class="vm" /> {lang eccredit_bad}
  48. <!--{/if}-->
  49. </td>
  50. <td>
  51. <span class="xg1">$comment[dateline]</span><br />$comment[message]<br />
  52. <!--{if $comment[explanation]}-->
  53. {lang eccredit_explanation}: $comment[explanation]
  54. <!--{elseif $_G['uid'] && $_G['uid'] == $comment[rateeid] && $comment[dbdateline] >= TIMESTAMP - 30 * 86400}-->
  55. <span id="ecce_$comment[id]"><a href="home.php?mod=spacecp&ac=eccredit&op=explain&id=$comment[id]&ajaxmenuid=ajax_$comment[id]_explain_menu" id="ajax_$comment[id]_explain" onclick="ajaxmenu(this, 0, 0);doane(event);">[ {lang eccredit_needexplanation} ]</a><br /><span class="xg1">{lang eccredit_explanationexpiration}</span></span>
  56. <!--{/if}-->
  57. </td>
  58. <td>
  59. <a href="forum.php?mod=redirect&goto=findpost&pid=$comment[pid]" target="_blank">$comment[subject]</a><br />
  60. <!--{if $from == 'myself'}-->
  61. <!--{if $comment[type]}-->{lang trade_buyer}: <!--{else}-->{lang trade_seller}: <!--{/if}--><a href="home.php?mod=space&uid=$comment[rateeid]" target="_blank">$comment[ratee]</a>
  62. <!--{else}-->
  63. <!--{if $comment[type]}-->{lang trade_seller}: <!--{else}-->{lang trade_buyer}: <!--{/if}--><a href="home.php?mod=space&uid=$comment[raterid]" target="_blank">$comment[rater]</a>
  64. <!--{/if}-->
  65. </td>
  66. <td>
  67. <!--{if $comment[price] > 0}-->
  68. $comment[price] {lang trade_units}&nbsp;&nbsp;
  69. <!--{/if}-->
  70. <!--{if $_G['setting']['creditstransextra'][5] != -1 && $comment['credit'] > 0}-->
  71. <!--{if $comment[price] > 0}--><br /><!--{/if}-->{$_G[setting][extcredits][$_G['setting']['creditstransextra'][5]][title]} $comment[credit] {$_G[setting][extcredits][$_G['setting']['creditstransextra'][5]][unit]}
  72. <!--{/if}-->
  73. </td>
  74. </tr>
  75. <!--{/loop}-->
  76. <!--{else}-->
  77. <tr><td colspan="4"><p class="emp">{lang eccredit_nofound}</p></td></tr>
  78. <!--{/if}-->
  79. </table>
  80. <!--{if $multipage}--><div class="pgs cl mtm">$multipage</div><!--{/if}-->
  81. <!--{template common/footer}-->