PageRenderTime 33ms CodeModel.GetById 34ms RepoModel.GetById 1ms app.codeStats 0ms

/temp/compiled/user_transaction.dwt.php

https://bitbucket.org/luxi78/fengyu
PHP | 1157 lines | 1111 code | 44 blank | 2 comment | 187 complexity | 06fc9aa804c10f4bedb27f21db979548 MD5 | raw file
Possible License(s): LGPL-2.1

Large files files are truncated, but you can click here to view the full file

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta name="Generator" content="ECSHOP v2.7.0" />
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
  7. <meta name="Description" content="<?php echo $this->_var['description']; ?>" />
  8. <title><?php echo $this->_var['page_title']; ?></title>
  9. <link rel="shortcut icon" href="favicon.ico" />
  10. <link rel="icon" href="animated_favicon.gif" type="image/gif" />
  11. <link href="<?php echo $this->_var['ecs_css_path']; ?>" rel="stylesheet" type="text/css" />
  12. <?php echo $this->smarty_insert_scripts(array('files'=>'common.js,user.js')); ?>
  13. </head>
  14. <body>
  15. <?php echo $this->fetch('library/page_header.lbi'); ?>
  16. <?php echo $this->fetch('library/search_form.lbi'); ?>
  17. <?php echo $this->fetch('library/ur_here.lbi'); ?>
  18. <div class="block clearfix">
  19. <div id="areaLeft">
  20. <?php echo $this->fetch('library/user_menu.lbi'); ?>
  21. </div>
  22. <div id="areaRight">
  23. <?php if ($this->_var['action'] == 'profile'): ?>
  24. <?php echo $this->smarty_insert_scripts(array('files'=>'utils.js')); ?>
  25. <script type="text/javascript">
  26. <?php $_from = $this->_var['lang']['profile_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
  27. foreach ($_from AS $this->_var['key'] => $this->_var['item']):
  28. ?>
  29. var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
  30. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  31. </script>
  32. <div class="General_Title clearfix">
  33. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['profile']; ?></p>&nbsp;</div>
  34. </div>
  35. <div class="clearfix groupList flowBox">
  36. <form name="formEdit" action="user.php" method="post" onSubmit="return userEdit()">
  37. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  38. <tr>
  39. <td width="28%" align="right" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['birthday']; ?>? </td>
  40. <td width="72%" align="left" bgcolor="#FFFFFF"> <?php echo $this->html_select_date(array('field_order'=>'YMD','prefix'=>'birthday','start_year'=>'-60','end_year'=>'+1','display_days'=>'true','month_format'=>'%m','day_value_format'=>'%02d','time'=>$this->_var['profile']['birthday'])); ?> </td>
  41. </tr>
  42. <tr>
  43. <td width="28%" align="right" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['sex']; ?>? </td>
  44. <td width="72%" align="left" bgcolor="#FFFFFF"><input type="radio" name="sex" value="0" <?php if ($this->_var['profile']['sex'] == 0): ?>checked="checked"<?php endif; ?> />
  45. <?php echo $this->_var['lang']['secrecy']; ?>&nbsp;&nbsp;
  46. <input type="radio" name="sex" value="1" <?php if ($this->_var['profile']['sex'] == 1): ?>checked="checked"<?php endif; ?> />
  47. <?php echo $this->_var['lang']['male']; ?>&nbsp;&nbsp;
  48. <input type="radio" name="sex" value="2" <?php if ($this->_var['profile']['sex'] == 2): ?>checked="checked"<?php endif; ?> />
  49. <?php echo $this->_var['lang']['female']; ?>&nbsp;&nbsp; </td>
  50. </tr>
  51. <tr>
  52. <td width="28%" align="right" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['email']; ?>? </td>
  53. <td width="72%" align="left" bgcolor="#FFFFFF"><input name="email" type="text" value="<?php echo $this->_var['profile']['email']; ?>" size="25" class="border" /></td>
  54. </tr>
  55. <tr>
  56. <td width="28%" align="right" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['other_msn']; ?>?</td>
  57. <td width="72%" align="left" bgcolor="#FFFFFF"><input name="other[msn]" type="text" value="<?php echo $this->_var['profile']['msn']; ?>" class="border" />
  58. </td>
  59. </tr>
  60. <tr>
  61. <td width="28%" align="right" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['other_qq']; ?>?</td>
  62. <td width="72%" align="left" bgcolor="#FFFFFF"><input name="other[qq]" type="text" value="<?php echo $this->_var['profile']['qq']; ?>" class="border" />
  63. </td>
  64. </tr>
  65. <tr>
  66. <td width="28%" align="right" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['other_office_phone']; ?>?</td>
  67. <td width="72%" align="left" bgcolor="#FFFFFF"><input name="other[office_phone]" type="text" value="<?php echo $this->_var['profile']['office_phone']; ?>" class="border" />
  68. </td>
  69. </tr>
  70. <tr>
  71. <td width="28%" align="right" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['other_home_phone']; ?>?</td>
  72. <td width="72%" align="left" bgcolor="#FFFFFF"><input name="other[home_phone]" type="text" value="<?php echo $this->_var['profile']['home_phone']; ?>" class="border" />
  73. </td>
  74. </tr>
  75. <tr>
  76. <td width="28%" align="right" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['other_mobile_phone']; ?>?</td>
  77. <td width="72%" align="left" bgcolor="#FFFFFF"><input name="other[mobile_phone]" type="text" value="<?php echo $this->_var['profile']['mobile_phone']; ?>" class="border" />
  78. </td>
  79. </tr>
  80. <?php $_from = $this->_var['extend_info_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'field');if (count($_from)):
  81. foreach ($_from AS $this->_var['field']):
  82. ?>
  83. <tr>
  84. <td width="28%" align="right" bgcolor="#FFFFFF"><?php echo $this->_var['field']['reg_field_name']; ?>?</td>
  85. <td width="72%" align="left" bgcolor="#FFFFFF">
  86. <input name="extend_field<?php echo $this->_var['field']['id']; ?>" type="text" class="border" value="<?php echo $this->_var['field']['content']; ?>"/>
  87. </td>
  88. </tr>
  89. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  90. <tr>
  91. <td colspan="2" align="center" bgcolor="#FFFFFF"><input name="act" type="hidden" value="act_edit_profile" />
  92. <input name="submit" type="submit" class="bnt_number4" value="<?php echo $this->_var['lang']['confirm_edit']; ?>" />
  93. </td>
  94. </tr>
  95. </table>
  96. </form>
  97. <form name="formPassword" action="user.php" method="post" onSubmit="return editPassword()" >
  98. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  99. <tr>
  100. <td width="28%" align="right" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['old_password']; ?>?</td>
  101. <td width="76%" align="left" bgcolor="#FFFFFF"><input name="old_password" type="password" size="25" class="border" /></td>
  102. </tr>
  103. <tr>
  104. <td width="28%" align="right" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['new_password']; ?>?</td>
  105. <td align="left" bgcolor="#FFFFFF"><input name="new_password" type="password" size="25" class="border" /></td>
  106. </tr>
  107. <tr>
  108. <td width="28%" align="right" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['confirm_password']; ?>?</td>
  109. <td align="left" bgcolor="#FFFFFF"><input name="comfirm_password" type="password" size="25" class="border" /></td>
  110. </tr>
  111. <tr>
  112. <td colspan="2" align="center" bgcolor="#FFFFFF"><input name="act" type="hidden" value="act_edit_password" />
  113. <input name="submit" type="submit" class="bnt_number4" value="<?php echo $this->_var['lang']['confirm_edit']; ?>" />
  114. </td>
  115. </tr>
  116. </table>
  117. </form>
  118. </div>
  119. <?php endif; ?>
  120. <?php if ($this->_var['action'] == 'bonus'): ?>
  121. <script type="text/javascript">
  122. <?php $_from = $this->_var['lang']['profile_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
  123. foreach ($_from AS $this->_var['key'] => $this->_var['item']):
  124. ?>
  125. var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
  126. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  127. </script>
  128. <div class="General_Title clearfix">
  129. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['label_bonus']; ?></p>&nbsp;</div>
  130. </div>
  131. <div class="clearfix groupList flowBox">
  132. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  133. <tr>
  134. <th align="center" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['bonus_sn']; ?></th>
  135. <th align="center" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['bonus_name']; ?></th>
  136. <th align="center" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['bonus_amount']; ?></th>
  137. <th align="center" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['min_goods_amount']; ?></th>
  138. <th align="center" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['bonus_end_date']; ?></th>
  139. <th align="center" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['bonus_status']; ?></th>
  140. </tr>
  141. <?php if ($this->_var['bonus']): ?>
  142. <?php $_from = $this->_var['bonus']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)):
  143. foreach ($_from AS $this->_var['item']):
  144. ?>
  145. <tr>
  146. <td align="center" bgcolor="#FFFFFF"><?php echo empty($this->_var['item']['bonus_sn']) ? 'N/A' : $this->_var['item']['bonus_sn']; ?></td>
  147. <td align="center" bgcolor="#FFFFFF"><?php echo $this->_var['item']['type_name']; ?></td>
  148. <td align="center" bgcolor="#FFFFFF"><?php echo $this->_var['item']['type_money']; ?></td>
  149. <td align="center" bgcolor="#FFFFFF"><?php echo $this->_var['item']['min_goods_amount']; ?></td>
  150. <td align="center" bgcolor="#FFFFFF"><?php echo $this->_var['item']['use_enddate']; ?></td>
  151. <td align="center" bgcolor="#FFFFFF"><?php echo $this->_var['item']['status']; ?></td>
  152. </tr>
  153. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  154. <?php else: ?>
  155. <tr>
  156. <td colspan="6" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['user_bonus_empty']; ?></td>
  157. </tr>
  158. <?php endif; ?>
  159. </table>
  160. </div>
  161. <?php echo $this->fetch('library/pages.lbi'); ?>
  162. <div class="General_Title clearfix">
  163. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['add_bonus']; ?></p>&nbsp;</div>
  164. </div>
  165. <div class="clearfix groupList flowBox">
  166. <form name="addBouns" action="user.php" method="post" onSubmit="return addBonus()">
  167. <div style="padding: 15px;">
  168. <?php echo $this->_var['lang']['bonus_number']; ?>
  169. <input name="bonus_sn" type="text" size="30" class="border" />
  170. <input type="hidden" name="act" value="act_add_bonus"/>
  171. <input type="submit" value="<?php echo $this->_var['lang']['add_bonus']; ?>" class="bnt_number4" />
  172. </div>
  173. </form>
  174. </div>
  175. <?php endif; ?>
  176. <?php if ($this->_var['action'] == 'order_list'): ?>
  177. <div class="General_Title clearfix">
  178. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['label_order']; ?></p>&nbsp;</div>
  179. </div>
  180. <div class="clearfix groupList flowBox">
  181. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  182. <tr align="center">
  183. <td bgcolor="#ffffff"><?php echo $this->_var['lang']['order_number']; ?></td>
  184. <td bgcolor="#ffffff"><?php echo $this->_var['lang']['order_addtime']; ?></td>
  185. <td bgcolor="#ffffff"><?php echo $this->_var['lang']['order_money']; ?></td>
  186. <td bgcolor="#ffffff"><?php echo $this->_var['lang']['order_status']; ?></td>
  187. <td bgcolor="#ffffff"><?php echo $this->_var['lang']['handle']; ?></td>
  188. </tr>
  189. <?php $_from = $this->_var['orders']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)):
  190. foreach ($_from AS $this->_var['item']):
  191. ?>
  192. <tr>
  193. <td align="center" bgcolor="#ffffff"><a href="user.php?act=order_detail&order_id=<?php echo $this->_var['item']['order_id']; ?>" class="f6"><?php echo $this->_var['item']['order_sn']; ?></a></td>
  194. <td align="center" bgcolor="#ffffff"><?php echo $this->_var['item']['order_time']; ?></td>
  195. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['item']['total_fee']; ?></td>
  196. <td align="center" bgcolor="#ffffff"><?php echo $this->_var['item']['order_status']; ?></td>
  197. <td align="center" bgcolor="#ffffff"><font class="f6"><?php echo $this->_var['item']['handler']; ?></font></td>
  198. </tr>
  199. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  200. </table>
  201. </div>
  202. <?php echo $this->fetch('library/pages.lbi'); ?>
  203. <div class="General_Title clearfix">
  204. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['merge_order']; ?></p>&nbsp;</div>
  205. </div>
  206. <div class="clearfix groupList flowBox">
  207. <script type="text/javascript">
  208. <?php $_from = $this->_var['lang']['merge_order_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
  209. foreach ($_from AS $this->_var['key'] => $this->_var['item']):
  210. ?>
  211. var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
  212. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  213. </script>
  214. <form action="user.php" method="post" name="formOrder" onsubmit="return mergeOrder()">
  215. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  216. <tr>
  217. <td width="22%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['first_order']; ?>:</td>
  218. <td width="12%" align="left" bgcolor="#ffffff"><select name="to_order" class="border">
  219. <option value="0"><?php echo $this->_var['lang']['select']; ?></option>
  220. <?php echo $this->html_options(array('options'=>$this->_var['merge'])); ?>
  221. </select></td>
  222. <td width="19%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['second_order']; ?>:</td>
  223. <td width="11%" align="left" bgcolor="#ffffff"><select name="from_order" class="border">
  224. <option value="0"><?php echo $this->_var['lang']['select']; ?></option>
  225. <?php echo $this->html_options(array('options'=>$this->_var['merge'])); ?>
  226. </select></td>
  227. <td width="36%" bgcolor="#ffffff">&nbsp;<input name="act" value="merge_order" type="hidden" />
  228. <input type="submit" name="Submit" class="bnt_number4" value="<?php echo $this->_var['lang']['merge_order']; ?>" /></td>
  229. </tr>
  230. <tr>
  231. <td bgcolor="#ffffff">&nbsp;</td>
  232. <td colspan="4" align="left" bgcolor="#ffffff"><?php echo $this->_var['lang']['merge_order_notice']; ?></td>
  233. </tr>
  234. </table>
  235. </form>
  236. </div>
  237. <?php endif; ?>
  238. <?php if ($this->_var['action'] == 'track_packages'): ?>
  239. <div class="General_Title clearfix">
  240. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['label_track_packages']; ?></p>&nbsp;</div>
  241. </div>
  242. <div class="clearfix groupList flowBox">
  243. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd" id="order_table">
  244. <tr align="center">
  245. <td bgcolor="#ffffff"><?php echo $this->_var['lang']['order_number']; ?></td>
  246. <td bgcolor="#ffffff"><?php echo $this->_var['lang']['handle']; ?></td>
  247. </tr>
  248. <?php $_from = $this->_var['orders']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)):
  249. foreach ($_from AS $this->_var['item']):
  250. ?>
  251. <tr>
  252. <td align="center" bgcolor="#ffffff"><a href="user.php?act=order_detail&order_id=<?php echo $this->_var['item']['order_id']; ?>"><?php echo $this->_var['item']['order_sn']; ?></a></td>
  253. <td align="center" bgcolor="#ffffff"><?php echo $this->_var['item']['query_link']; ?></td>
  254. </tr>
  255. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  256. </table>
  257. <script>
  258. var query_status = '<?php echo $this->_var['lang']['query_status']; ?>';
  259. var ot = document.getElementById('order_table');
  260. for (var i = 1; i < ot.rows.length; i++)
  261. {
  262. var row = ot.rows[i];
  263. var cel = row.cells[1];
  264. cel.getElementsByTagName('a').item(0).innerHTML = query_status;
  265. }
  266. </script>
  267. </div>
  268. <?php echo $this->fetch('library/pages.lbi'); ?>
  269. <?php endif; ?>
  270. <?php if ($this->_var['action'] == order_detail): ?>
  271. <div class="General_Title clearfix">
  272. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['order_status']; ?></p>&nbsp;</div>
  273. </div>
  274. <div class="clearfix groupList flowBox">
  275. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  276. <tr>
  277. <td width="15%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['detail_order_sn']; ?>?</td>
  278. <td align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['order_sn']; ?>
  279. <?php if ($this->_var['order']['extension_code'] == "group_buy"): ?>
  280. <a href="./group_buy.php?act=view&id=<?php echo $this->_var['order']['extension_id']; ?>" class="f6"><strong><?php echo $this->_var['lang']['order_is_group_buy']; ?></strong></a>
  281. <?php elseif ($this->_var['order']['extension_code'] == "exchange_goods"): ?>
  282. <a href="./exchange.php?act=view&id=<?php echo $this->_var['order']['extension_id']; ?>" class="f6"><strong><?php echo $this->_var['lang']['order_is_exchange']; ?></strong></a>
  283. <?php endif; ?>
  284. <a href="user.php?act=message_list&order_id=<?php echo $this->_var['order']['order_id']; ?>" class="f6">[<?php echo $this->_var['lang']['business_message']; ?>]</a>
  285. </td>
  286. </tr>
  287. <tr>
  288. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['detail_order_status']; ?>?</td>
  289. <td align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['order_status']; ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_var['order']['confirm_time']; ?></td>
  290. </tr>
  291. <tr>
  292. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['detail_pay_status']; ?>?</td>
  293. <td align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['pay_status']; ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php if ($this->_var['order']['order_amount'] > 0): ?><?php echo $this->_var['order']['pay_online']; ?><?php endif; ?><?php echo $this->_var['order']['pay_time']; ?></td>
  294. </tr>
  295. <tr>
  296. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['detail_shipping_status']; ?>?</td>
  297. <td align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['shipping_status']; ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_var['order']['shipping_time']; ?></td>
  298. </tr>
  299. <?php if ($this->_var['order']['invoice_no']): ?>
  300. <tr>
  301. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['consignment']; ?>?</td>
  302. <td align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['invoice_no']; ?></td>
  303. </tr>
  304. <?php endif; ?>
  305. <?php if ($this->_var['order']['to_buyer']): ?>
  306. <tr>
  307. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['detail_to_buyer']; ?>?</td>
  308. <td align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['to_buyer']; ?></td>
  309. </tr>
  310. <?php endif; ?>
  311. <?php if ($this->_var['virtual_card']): ?>
  312. <tr>
  313. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['virtual_card_info']; ?>?</td>
  314. <td colspan="3" align="left" bgcolor="#ffffff">
  315. <?php $_from = $this->_var['virtual_card']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'vgoods');if (count($_from)):
  316. foreach ($_from AS $this->_var['vgoods']):
  317. ?>
  318. <?php $_from = $this->_var['vgoods']['info']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'card');if (count($_from)):
  319. foreach ($_from AS $this->_var['card']):
  320. ?>
  321. <?php if ($this->_var['card']['card_sn']): ?><?php echo $this->_var['lang']['card_sn']; ?>:<span style="color:red;"><?php echo $this->_var['card']['card_sn']; ?></span><?php endif; ?>
  322. <?php if ($this->_var['card']['card_password']): ?><?php echo $this->_var['lang']['card_password']; ?>:<span style="color:red;"><?php echo $this->_var['card']['card_password']; ?></span><?php endif; ?>
  323. <?php if ($this->_var['card']['end_date']): ?><?php echo $this->_var['lang']['end_date']; ?>:<?php echo $this->_var['card']['end_date']; ?><?php endif; ?><br />
  324. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  325. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  326. </td>
  327. </tr>
  328. <?php endif; ?>
  329. </table>
  330. </div>
  331. <div class="General_Title clearfix">
  332. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['goods_list']; ?></p>
  333. <?php if ($this->_var['allow_to_cart']): ?>
  334. <a href="javascript:;" onclick="returnToCart(<?php echo $this->_var['order']['order_id']; ?>)"><font class="empty"><?php echo $this->_var['lang']['return_to_cart']; ?></font></a>
  335. <?php endif; ?>
  336. </div>
  337. </div>
  338. <div class="clearfix groupList flowBox">
  339. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  340. <tr>
  341. <th width="23%" align="center" bgcolor="#ffffff"><?php echo $this->_var['lang']['goods_name']; ?></th>
  342. <th width="29%" align="center" bgcolor="#ffffff"><?php echo $this->_var['lang']['goods_attr']; ?></th>
  343. <!--<th><?php echo $this->_var['lang']['market_price']; ?></th>-->
  344. <th width="26%" align="center" bgcolor="#ffffff"><?php echo $this->_var['lang']['goods_price']; ?><?php if ($this->_var['order']['extension_code'] == "group_buy"): ?><?php echo $this->_var['lang']['gb_deposit']; ?><?php endif; ?></th>
  345. <th width="9%" align="center" bgcolor="#ffffff"><?php echo $this->_var['lang']['number']; ?></th>
  346. <th width="20%" align="center" bgcolor="#ffffff"><?php echo $this->_var['lang']['subtotal']; ?></th>
  347. </tr>
  348. <?php $_from = $this->_var['goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)):
  349. foreach ($_from AS $this->_var['goods']):
  350. ?>
  351. <tr>
  352. <td bgcolor="#ffffff">
  353. <?php if ($this->_var['goods']['goods_id'] > 0 && $this->_var['goods']['extension_code'] != 'package_buy'): ?>
  354. <a href="goods.php?id=<?php echo $this->_var['goods']['goods_id']; ?>" target="_blank" class="f6"><?php echo $this->_var['goods']['goods_name']; ?></a>
  355. <?php if ($this->_var['goods']['parent_id'] > 0): ?>
  356. <span style="color:#FF0000">?<?php echo $this->_var['lang']['accessories']; ?>?</span>
  357. <?php elseif ($this->_var['goods']['is_gift']): ?>
  358. <span style="color:#FF0000">?<?php echo $this->_var['lang']['largess']; ?>?</span>
  359. <?php endif; ?>
  360. <?php elseif ($this->_var['goods']['goods_id'] > 0 && $this->_var['goods']['extension_code'] == 'package_buy'): ?>
  361. <a href="javascript:void(0)" onclick="setSuitShow(<?php echo $this->_var['goods']['goods_id']; ?>)" class="f6"><?php echo $this->_var['goods']['goods_name']; ?><span style="color:#FF0000;">????</span></a>
  362. <div id="suit_<?php echo $this->_var['goods']['goods_id']; ?>" style="display:none">
  363. <?php $_from = $this->_var['goods']['package_goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'package_goods_list');if (count($_from)):
  364. foreach ($_from AS $this->_var['package_goods_list']):
  365. ?>
  366. <a href="goods.php?id=<?php echo $this->_var['package_goods_list']['goods_id']; ?>" target="_blank" class="f6"><?php echo $this->_var['package_goods_list']['goods_name']; ?></a><br />
  367. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  368. </div>
  369. <?php endif; ?>
  370. </td>
  371. <td align="left" bgcolor="#ffffff"><?php echo nl2br($this->_var['goods']['goods_attr']); ?></td>
  372. <!--<td align="right"><?php echo $this->_var['goods']['market_price']; ?></td>-->
  373. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['goods']['goods_price']; ?></td>
  374. <td align="center" bgcolor="#ffffff"><?php echo $this->_var['goods']['goods_number']; ?></td>
  375. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['goods']['subtotal']; ?></td>
  376. </tr>
  377. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  378. <tr>
  379. <td colspan="8" bgcolor="#ffffff" align="right">
  380. <?php echo $this->_var['lang']['shopping_money']; ?><?php if ($this->_var['order']['extension_code'] == "group_buy"): ?><?php echo $this->_var['lang']['gb_deposit']; ?><?php endif; ?>: <?php echo $this->_var['order']['formated_goods_amount']; ?>
  381. </td>
  382. </tr>
  383. </table>
  384. </div>
  385. <div class="General_Title clearfix">
  386. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['fee_total']; ?></p>&nbsp;</div>
  387. </div>
  388. <div class="clearfix groupList flowBox">
  389. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  390. <tr>
  391. <td align="right" bgcolor="#ffffff">
  392. <?php echo $this->_var['lang']['goods_all_price']; ?><?php if ($this->_var['order']['extension_code'] == "group_buy"): ?><?php echo $this->_var['lang']['gb_deposit']; ?><?php endif; ?>: <?php echo $this->_var['order']['formated_goods_amount']; ?>
  393. <?php if ($this->_var['order']['discount'] > 0): ?>
  394. - <?php echo $this->_var['lang']['discount']; ?>: <?php echo $this->_var['order']['formated_discount']; ?>
  395. <?php endif; ?>
  396. <?php if ($this->_var['order']['tax'] > 0): ?>
  397. + <?php echo $this->_var['lang']['tax']; ?>: <?php echo $this->_var['order']['formated_tax']; ?>
  398. <?php endif; ?>
  399. <?php if ($this->_var['order']['shipping_fee'] > 0): ?>
  400. + <?php echo $this->_var['lang']['shipping_fee']; ?>: <?php echo $this->_var['order']['formated_shipping_fee']; ?>
  401. <?php endif; ?>
  402. <?php if ($this->_var['order']['insure_fee'] > 0): ?>
  403. + <?php echo $this->_var['lang']['insure_fee']; ?>: <?php echo $this->_var['order']['formated_insure_fee']; ?>
  404. <?php endif; ?>
  405. <?php if ($this->_var['order']['pay_fee'] > 0): ?>
  406. + <?php echo $this->_var['lang']['pay_fee']; ?>: <?php echo $this->_var['order']['formated_pay_fee']; ?>
  407. <?php endif; ?>
  408. <?php if ($this->_var['order']['pack_fee'] > 0): ?>
  409. + <?php echo $this->_var['lang']['pack_fee']; ?>: <?php echo $this->_var['order']['formated_pack_fee']; ?>
  410. <?php endif; ?>
  411. <?php if ($this->_var['order']['card_fee'] > 0): ?>
  412. + <?php echo $this->_var['lang']['card_fee']; ?>: <?php echo $this->_var['order']['formated_card_fee']; ?>
  413. <?php endif; ?> </td>
  414. </tr>
  415. <tr>
  416. <td align="right" bgcolor="#ffffff">
  417. <?php if ($this->_var['order']['money_paid'] > 0): ?>
  418. - <?php echo $this->_var['lang']['order_money_paid']; ?>: <?php echo $this->_var['order']['formated_money_paid']; ?>
  419. <?php endif; ?>
  420. <?php if ($this->_var['order']['surplus'] > 0): ?>
  421. - <?php echo $this->_var['lang']['use_surplus']; ?>: <?php echo $this->_var['order']['formated_surplus']; ?>
  422. <?php endif; ?>
  423. <?php if ($this->_var['order']['integral_money'] > 0): ?>
  424. - <?php echo $this->_var['lang']['use_integral']; ?>: <?php echo $this->_var['order']['formated_integral_money']; ?>
  425. <?php endif; ?>
  426. <?php if ($this->_var['order']['bonus'] > 0): ?>
  427. - <?php echo $this->_var['lang']['use_bonus']; ?>: <?php echo $this->_var['order']['formated_bonus']; ?>
  428. <?php endif; ?> </td>
  429. </tr>
  430. <tr>
  431. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['order_amount']; ?>: <?php echo $this->_var['order']['formated_order_amount']; ?>
  432. <?php if ($this->_var['order']['extension_code'] == "group_buy"): ?><br />
  433. <?php echo $this->_var['lang']['notice_gb_order_amount']; ?><?php endif; ?></td>
  434. </tr>
  435. <?php if ($this->_var['allow_edit_surplus']): ?>
  436. <tr>
  437. <td align="right" bgcolor="#ffffff">
  438. <form action="user.php" method="post" name="formFee" id="formFee"><?php echo $this->_var['lang']['use_more_surplus']; ?>:
  439. <input name="surplus" type="text" size="8" value="0" class="border"/><?php echo $this->_var['max_surplus']; ?>
  440. <input type="submit" name="Submit" value="<?php echo $this->_var['lang']['button_submit']; ?>" class="bnt_number2" />
  441. <input type="hidden" name="act" value="act_edit_surplus" />
  442. <input type="hidden" name="order_id" value="<?php echo $_GET['order_id']; ?>" />
  443. </form></td>
  444. </tr>
  445. <?php endif; ?>
  446. </table>
  447. </div>
  448. <div class="General_Title clearfix">
  449. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['consignee_info']; ?></p>&nbsp;</div>
  450. </div>
  451. <div class="clearfix groupList flowBox">
  452. <?php if ($this->_var['order']['allow_update_address'] > 0): ?>
  453. <form action="user.php" method="post" name="formAddress" id="formAddress">
  454. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  455. <tr>
  456. <td width="15%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['consignee_name']; ?>? </td>
  457. <td width="35%" align="left" bgcolor="#ffffff"><input name="consignee" type="text" class="border" value="<?php echo htmlspecialchars($this->_var['order']['consignee']); ?>" size="25">
  458. </td>
  459. <td width="15%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['email_address']; ?>? </td>
  460. <td width="35%" align="left" bgcolor="#ffffff"><input name="email" type="text" class="border" value="<?php echo htmlspecialchars($this->_var['order']['email']); ?>" size="25" />
  461. </td>
  462. </tr>
  463. <?php if ($this->_var['order']['exist_real_goods']): ?>
  464. <tr>
  465. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['detailed_address']; ?>? </td>
  466. <td align="left" bgcolor="#ffffff"><input name="address" type="text" class="border" value="<?php echo htmlspecialchars($this->_var['order']['address']); ?> " size="25" /></td>
  467. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['postalcode']; ?>?</td>
  468. <td align="left" bgcolor="#ffffff"><input name="zipcode" type="text" class="border" value="<?php echo htmlspecialchars($this->_var['order']['zipcode']); ?>" size="25" /></td>
  469. </tr>
  470. <?php endif; ?>
  471. <tr>
  472. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['phone']; ?>?</td>
  473. <td align="left" bgcolor="#ffffff"><input name="tel" type="text" class="border" value="<?php echo htmlspecialchars($this->_var['order']['tel']); ?>" size="25" /></td>
  474. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['backup_phone']; ?>?</td>
  475. <td align="left" bgcolor="#ffffff"><input name="mobile" type="text" class="border" value="<?php echo htmlspecialchars($this->_var['order']['mobile']); ?>" size="25" /></td>
  476. </tr>
  477. <?php if ($this->_var['order']['exist_real_goods']): ?>
  478. <tr>
  479. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['sign_building']; ?>?</td>
  480. <td align="left" bgcolor="#ffffff"><input name="sign_building" class="border" type="text" value="<?php echo htmlspecialchars($this->_var['order']['sign_building']); ?>" size="25" />
  481. </td>
  482. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['deliver_goods_time']; ?>?</td>
  483. <td align="left" bgcolor="#ffffff"><input name="best_time" type="text" class="border" value="<?php echo htmlspecialchars($this->_var['order']['best_time']); ?>" size="25" />
  484. </td>
  485. </tr>
  486. <?php endif; ?>
  487. <tr>
  488. <td colspan="4" align="center" bgcolor="#ffffff"><input type="hidden" name="act" value="save_order_address" />
  489. <input type="hidden" name="order_id" value="<?php echo $this->_var['order']['order_id']; ?>" />
  490. <input type="submit" value="<?php echo $this->_var['lang']['update_address']; ?>" class="bnt_number10" />
  491. </td>
  492. </tr>
  493. </table>
  494. </form>
  495. <?php else: ?>
  496. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  497. <tr>
  498. <td width="15%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['consignee_name']; ?>?</td>
  499. <td width="35%" align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['consignee']; ?></td>
  500. <td width="15%" align="right" bgcolor="#ffffff" ><?php echo $this->_var['lang']['email_address']; ?>?</td>
  501. <td width="35%" align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['email']; ?></td>
  502. </tr>
  503. <?php if ($this->_var['order']['exist_real_goods']): ?>
  504. <tr>
  505. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['detailed_address']; ?>?</td>
  506. <td colspan="3" align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['address']; ?>
  507. <?php if ($this->_var['order']['zipcode']): ?>
  508. [<?php echo $this->_var['lang']['postalcode']; ?>: <?php echo $this->_var['order']['zipcode']; ?>]
  509. <?php endif; ?></td>
  510. </tr>
  511. <?php endif; ?>
  512. <tr>
  513. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['phone']; ?>?</td>
  514. <td align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['tel']; ?> </td>
  515. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['backup_phone']; ?>?</td>
  516. <td align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['mobile']; ?></td>
  517. </tr>
  518. <?php if ($this->_var['order']['exist_real_goods']): ?>
  519. <tr>
  520. <td align="right" bgcolor="#ffffff" ><?php echo $this->_var['lang']['sign_building']; ?>?</td>
  521. <td align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['sign_building']; ?> </td>
  522. <td align="right" bgcolor="#ffffff" ><?php echo $this->_var['lang']['deliver_goods_time']; ?>?</td>
  523. <td align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['best_time']; ?></td>
  524. </tr>
  525. <?php endif; ?>
  526. </table>
  527. <?php endif; ?>
  528. </div>
  529. <div class="General_Title clearfix">
  530. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['payment']; ?></p>&nbsp;</div>
  531. </div>
  532. <div class="clearfix groupList flowBox">
  533. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  534. <tr>
  535. <td bgcolor="#ffffff">
  536. <?php echo $this->_var['lang']['select_payment']; ?>: <?php echo $this->_var['order']['pay_name']; ?>?<?php echo $this->_var['lang']['order_amount']; ?>: <strong><?php echo $this->_var['order']['formated_order_amount']; ?></strong><br />
  537. <?php echo $this->_var['order']['pay_desc']; ?>
  538. </td>
  539. </tr>
  540. <tr>
  541. <td bgcolor="#ffffff" align="right">
  542. <?php if ($this->_var['payment_list']): ?>
  543. <form name="payment" method="post" action="user.php">
  544. <?php echo $this->_var['lang']['change_payment']; ?>:
  545. <select name="pay_id">
  546. <?php $_from = $this->_var['payment_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'payment');if (count($_from)):
  547. foreach ($_from AS $this->_var['payment']):
  548. ?>
  549. <option value="<?php echo $this->_var['payment']['pay_id']; ?>">
  550. <?php echo $this->_var['payment']['pay_name']; ?>(<?php echo $this->_var['lang']['pay_fee']; ?>:<?php echo $this->_var['payment']['format_pay_fee']; ?>)
  551. </option>
  552. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  553. </select>
  554. <input type="hidden" name="act" value="act_edit_payment" />
  555. <input type="hidden" name="order_id" value="<?php echo $this->_var['order']['order_id']; ?>" />
  556. <input type="submit" name="Submit" value="<?php echo $this->_var['lang']['button_submit']; ?>" class="bnt_number2" />
  557. </form>
  558. <?php endif; ?>
  559. </td>
  560. </tr>
  561. </table>
  562. </div>
  563. <div class="General_Title clearfix">
  564. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['other_info']; ?></p>&nbsp;</div>
  565. </div>
  566. <div class="clearfix groupList flowBox">
  567. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  568. <?php if ($this->_var['order']['shipping_id'] > 0): ?>
  569. <tr>
  570. <td width="15%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['shipping']; ?>?</td>
  571. <td colspan="3" width="85%" align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['shipping_name']; ?></td>
  572. </tr>
  573. <?php endif; ?>
  574. <tr>
  575. <td width="15%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['payment']; ?>?</td>
  576. <td colspan="3" align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['pay_name']; ?></td>
  577. </tr>
  578. <?php if ($this->_var['order']['insure_fee'] > 0): ?>
  579. <?php endif; ?>
  580. <?php if ($this->_var['order']['pack_name']): ?>
  581. <tr>
  582. <td width="15%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['use_pack']; ?>?</td>
  583. <td colspan="3" align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['pack_name']; ?></td>
  584. </tr>
  585. <?php endif; ?>
  586. <?php if ($this->_var['order']['card_name']): ?>
  587. <tr>
  588. <td width="15%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['use_card']; ?>?</td>
  589. <td colspan="3" align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['card_name']; ?></td>
  590. </tr>
  591. <?php endif; ?>
  592. <?php if ($this->_var['order']['card_message']): ?>
  593. <tr>
  594. <td width="15%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['bless_note']; ?>?</td>
  595. <td colspan="3" align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['card_message']; ?></td>
  596. </tr>
  597. <?php endif; ?>
  598. <?php if ($this->_var['order']['surplus'] > 0): ?>
  599. <?php endif; ?>
  600. <?php if ($this->_var['order']['integral'] > 0): ?>
  601. <tr>
  602. <td width="15%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['use_integral']; ?>?</td>
  603. <td colspan="3" align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['integral']; ?></td>
  604. </tr>
  605. <?php endif; ?>
  606. <?php if ($this->_var['order']['bonus'] > 0): ?>
  607. <?php endif; ?>
  608. <?php if ($this->_var['order']['inv_payee'] && $this->_var['order']['inv_content']): ?>
  609. <tr>
  610. <td width="15%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['invoice_title']; ?>?</td>
  611. <td width="36%" align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['inv_payee']; ?></td>
  612. <td width="19%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['invoice_content']; ?>?</td>
  613. <td width="25%" align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['inv_content']; ?></td>
  614. </tr>
  615. <?php endif; ?>
  616. <?php if ($this->_var['order']['postscript']): ?>
  617. <tr>
  618. <td width="15%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['order_postscript']; ?>?</td>
  619. <td colspan="3" align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['postscript']; ?></td>
  620. </tr>
  621. <?php endif; ?>
  622. <tr>
  623. <td width="15%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['booking_process']; ?>?</td>
  624. <td colspan="3" align="left" bgcolor="#ffffff"><?php echo $this->_var['order']['how_oos_name']; ?></td>
  625. </tr>
  626. </table>
  627. </div>
  628. <?php endif; ?>
  629. <?php if ($this->_var['action'] == "account_raply" || $this->_var['action'] == "account_log" || $this->_var['action'] == "account_deposit" || $this->_var['action'] == "account_detail"): ?>
  630. <script type="text/javascript">
  631. <?php $_from = $this->_var['lang']['account_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
  632. foreach ($_from AS $this->_var['key'] => $this->_var['item']):
  633. ?>
  634. var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
  635. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  636. </script>
  637. <div class="General_Title clearfix">
  638. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['user_balance']; ?></p>&nbsp;</div>
  639. </div>
  640. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  641. <tr>
  642. <td align="right" bgcolor="#ffffff">
  643. <a href="user.php?act=account_deposit" <?php if ($this->_var['action'] == 'account_deposit'): ?>class="f4_b"<?php endif; ?>><?php echo $this->_var['lang']['surplus_type_0']; ?></a> | <a href="user.php?act=account_raply" <?php if ($this->_var['action'] == 'account_raply'): ?>class="f4_b"<?php endif; ?>><?php echo $this->_var['lang']['surplus_type_1']; ?></a> | <a href="user.php?act=account_detail" <?php if ($this->_var['action'] == 'account_detail'): ?>class="f4_b"<?php endif; ?>><?php echo $this->_var['lang']['add_surplus_log']; ?></a> | <a href="user.php?act=account_log" <?php if ($this->_var['action'] == 'account_log'): ?>class="f4_b"<?php endif; ?>><?php echo $this->_var['lang']['view_application']; ?></a>
  644. </td>
  645. </tr>
  646. </table>
  647. <?php endif; ?>
  648. <?php if ($this->_var['action'] == "account_raply"): ?>
  649. <form name="formSurplus" method="post" action="user.php" onSubmit="return submitSurplus()">
  650. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  651. <tr>
  652. <td width="15%" bgcolor="#ffffff"><?php echo $this->_var['lang']['repay_money']; ?>:</td>
  653. <td bgcolor="#ffffff" align="left"><input type="text" name="amount" value="<?php echo htmlspecialchars($this->_var['order']['amount']); ?>" class="border" size="30" />
  654. </td>
  655. </tr>
  656. <tr>
  657. <td bgcolor="#ffffff"><?php echo $this->_var['lang']['process_notic']; ?>:</td>
  658. <td bgcolor="#ffffff" align="left"><textarea name="user_note" cols="55" rows="6" class="border"><?php echo htmlspecialchars($this->_var['order']['user_note']); ?></textarea></td>
  659. </tr>
  660. <tr>
  661. <td bgcolor="#ffffff" colspan="2" align="center">
  662. <input type="hidden" name="surplus_type" value="1" />
  663. <input type="hidden" name="act" value="act_account" />
  664. <input type="submit" name="submit" class="bnt_number4" value="<?php echo $this->_var['lang']['submit_request']; ?>" />
  665. <input type="reset" name="reset" class="bnt_number4" value="<?php echo $this->_var['lang']['button_reset']; ?>" />
  666. </td>
  667. </tr>
  668. </table>
  669. </form>
  670. <?php endif; ?>
  671. <?php if ($this->_var['action'] == "account_deposit"): ?>
  672. <form name="formSurplus" method="post" action="user.php" onSubmit="return submitSurplus()">
  673. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  674. <tr>
  675. <td width="15%" bgcolor="#ffffff"><?php echo $this->_var['lang']['deposit_money']; ?>:</td>
  676. <td align="left" bgcolor="#ffffff"><input type="text" name="amount" class="border" value="<?php echo htmlspecialchars($this->_var['order']['amount']); ?>" size="30" /></td>
  677. </tr>
  678. <tr>
  679. <td bgcolor="#ffffff"><?php echo $this->_var['lang']['process_notic']; ?>:</td>
  680. <td align="left" bgcolor="#ffffff"><textarea name="user_note" cols="55" rows="6" class="border"><?php echo htmlspecialchars($this->_var['order']['user_note']); ?></textarea></td>
  681. </tr>
  682. </table>
  683. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  684. <tr align="center">
  685. <td bgcolor="#ffffff" colspan="3" align="left"><?php echo $this->_var['lang']['payment']; ?>:</td>
  686. </tr>
  687. <tr align="center">
  688. <td bgcolor="#ffffff"><?php echo $this->_var['lang']['pay_name']; ?></td>
  689. <td bgcolor="#ffffff" width="60%"><?php echo $this->_var['lang']['pay_desc']; ?></td>
  690. <td bgcolor="#ffffff" width="17%"><?php echo $this->_var['lang']['pay_fee']; ?></td>
  691. </tr>
  692. <?php $_from = $this->_var['payment']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'list');if (count($_from)):
  693. foreach ($_from AS $this->_var['list']):
  694. ?>
  695. <tr>
  696. <td bgcolor="#ffffff" align="left">
  697. <input type="radio" name="payment_id" value="<?php echo $this->_var['list']['pay_id']; ?>" /><?php echo $this->_var['list']['pay_name']; ?></td>
  698. <td bgcolor="#ffffff" align="left"><?php echo $this->_var['list']['pay_desc']; ?></td>
  699. <td bgcolor="#ffffff" align="center"><?php echo $this->_var['list']['pay_fee']; ?></td>
  700. </tr>
  701. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  702. <tr>
  703. <td bgcolor="#ffffff" colspan="3" align="center">
  704. <input type="hidden" name="surplus_type" value="0" />
  705. <input type="hidden" name="rec_id" value="<?php echo $this->_var['order']['id']; ?>" />
  706. <input type="hidden" name="act" value="act_account" />
  707. <input type="submit" name="submit" class="bnt_number4" value="<?php echo $this->_var['lang']['submit_request']; ?>" />
  708. <input type="reset" name="reset" class="bnt_number4" value="<?php echo $this->_var['lang']['button_reset']; ?>" />
  709. </td>
  710. </tr>
  711. </table>
  712. </form>
  713. <?php endif; ?>
  714. <?php if ($this->_var['action'] == "act_account"): ?>
  715. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  716. <tr>
  717. <td width="25%" align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['surplus_amount']; ?></td>
  718. <td width="80%" bgcolor="#ffffff"><?php echo $this->_var['amount']; ?></td>
  719. </tr>
  720. <tr>
  721. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['payment_name']; ?></td>
  722. <td bgcolor="#ffffff"><?php echo $this->_var['payment']['pay_name']; ?></td>
  723. </tr>
  724. <tr>
  725. <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['payment_fee']; ?></td>
  726. <td bgcolor="#ffffff"><?php echo $this->_var['pay_fee']; ?></td>
  727. </tr>
  728. <tr>
  729. <td align="right" valign="middle" bgcolor="#ffffff"><?php echo $this->_var['lang']['payment_desc']; ?></td>
  730. <td bgcolor="#ffffff"><?php echo $this->_var['payment']['pay_desc']; ?></td>
  731. </tr>
  732. <tr>
  733. <td colspan="2" bgcolor="#ffffff"><?php echo $this->_var['payment']['pay_button']; ?></td>
  734. </tr>
  735. </table>
  736. <?php endif; ?>
  737. <?php if ($this->_var['action'] == "account_detail"): ?>
  738. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  739. <tr align="center">
  740. <td bgcolor="#ffffff"><?php echo $this->_var['lang']['process_time']; ?></td>
  741. <td bgcolor="#ffffff"><?php echo $this->_var['lang']['surplus_pro_type']; ?></td>
  742. <td bgcolor="#ffffff"><?php echo $this->_var['lang']['money']; ?></td>
  743. <td

Large files files are truncated, but you can click here to view the full file