PageRenderTime 21ms CodeModel.GetById 3ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/themes/default/user_transaction.dwt

https://bitbucket.org/luxi78/fengyu
Unknown | 1081 lines | 1065 code | 16 blank | 0 comment | 0 complexity | c65f64015ef35ea74b067f95d9c2a58a MD5 | raw file

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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5<meta name="Keywords" content="{$keywords}" />
  6<meta name="Description" content="{$description}" />
  7<!-- TemplateBeginEditable name="doctitle" -->
  8<title>{$page_title}</title>
  9<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
 10<link rel="shortcut icon" href="favicon.ico" />
 11<link rel="icon" href="animated_favicon.gif" type="image/gif" />
 12<link href="{$ecs_css_path}" rel="stylesheet" type="text/css" />
 13{* ?????? *}
 14{insert_scripts files='common.js,user.js'}
 15</head>
 16<body>
 17<!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->
 18<!--???? start-->
 19<div class="block box">
 20 <div id="ur_here">
 21  <!-- #BeginLibraryItem "/library/ur_here.lbi" --><!-- #EndLibraryItem -->
 22 </div>
 23</div>
 24<!--???? end-->
 25<div class="blank"></div>
 26<div class="block clearfix">
 27  <!--left start-->
 28  <div class="AreaL">
 29    <div class="box">
 30     <div class="box_1">
 31      <div class="userCenterBox">
 32        <!-- #BeginLibraryItem "/library/user_menu.lbi" --><!-- #EndLibraryItem -->
 33      </div>
 34     </div>
 35    </div>
 36  </div>
 37  <!--left end-->
 38  <!--right start-->
 39  <div class="AreaR">
 40    <div class="box">
 41     <div class="box_1">
 42      <div class="userCenterBox boxCenterList clearfix" style="_height:1%;">
 43         <!-- ?????? start-->
 44         <!--{if $action eq 'profile'}-->
 45         {insert_scripts files='utils.js'}
 46        <script type="text/javascript">
 47          {foreach from=$lang.profile_js item=item key=key}
 48            var {$key} = "{$item}";
 49          {/foreach}
 50        </script>
 51      <h5><span>{$lang.profile}</span></h5>
 52      <div class="blank"></div>
 53     <form name="formEdit" action="user.php" method="post" onSubmit="return userEdit()">
 54      <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
 55                <tr>
 56                  <td width="28%" align="right" bgcolor="#FFFFFF">{$lang.birthday}? </td>
 57                  <td width="72%" align="left" bgcolor="#FFFFFF"> {html_select_date field_order=YMD prefix=birthday start_year=-60 end_year=+1 display_days=true month_format=%m day_value_format=%02d time=$profile.birthday} </td>
 58                </tr>
 59                <tr>
 60                  <td width="28%" align="right" bgcolor="#FFFFFF">{$lang.sex}? </td>
 61                  <td width="72%" align="left" bgcolor="#FFFFFF"><input type="radio" name="sex" value="0" {if $profile.sex==0}checked="checked"{/if} />
 62                    {$lang.secrecy}&nbsp;&nbsp;
 63                    <input type="radio" name="sex" value="1" {if $profile.sex==1}checked="checked"{/if} />
 64                    {$lang.male}&nbsp;&nbsp;
 65                    <input type="radio" name="sex" value="2" {if $profile.sex==2}checked="checked"{/if} />
 66                  {$lang.female}&nbsp;&nbsp; </td>
 67                </tr>
 68                <tr>
 69                  <td width="28%" align="right" bgcolor="#FFFFFF">{$lang.email}? </td>
 70                  <td width="72%" align="left" bgcolor="#FFFFFF"><input name="email" type="text" value="{$profile.email}" size="25" class="inputBg" /></td>
 71                </tr>
 72                <tr>
 73                  <td width="28%" align="right" bgcolor="#FFFFFF">{$lang.other_msn}?</td>
 74                  <td width="72%" align="left" bgcolor="#FFFFFF"><input name="other[msn]" type="text" value="{$profile.msn}" class="inputBg" />
 75                  </td>
 76                </tr>
 77                <tr>
 78                  <td width="28%" align="right" bgcolor="#FFFFFF">{$lang.other_qq}?</td>
 79                  <td width="72%" align="left" bgcolor="#FFFFFF"><input name="other[qq]" type="text" value="{$profile.qq}" class="inputBg" />
 80                  </td>
 81                </tr>
 82                <tr>
 83                  <td width="28%" align="right" bgcolor="#FFFFFF">{$lang.other_office_phone}?</td>
 84                  <td width="72%" align="left" bgcolor="#FFFFFF"><input name="other[office_phone]" type="text" value="{$profile.office_phone}" class="inputBg" />
 85                  </td>
 86                </tr>
 87                <tr>
 88                  <td width="28%" align="right" bgcolor="#FFFFFF">{$lang.other_home_phone}?</td>
 89                  <td width="72%" align="left" bgcolor="#FFFFFF"><input name="other[home_phone]" type="text" value="{$profile.home_phone}" class="inputBg" />
 90                  </td>
 91                </tr>
 92                <tr>
 93                  <td width="28%" align="right" bgcolor="#FFFFFF">{$lang.other_mobile_phone}?</td>
 94                  <td width="72%" align="left" bgcolor="#FFFFFF"><input name="other[mobile_phone]" type="text" value="{$profile.mobile_phone}" class="inputBg" />
 95                  </td>
 96                </tr>
 97		{foreach from=$extend_info_list item=field}
 98		<tr>
 99			<td width="28%" align="right" bgcolor="#FFFFFF">{$field.reg_field_name}?</td>
100			<td width="72%" align="left" bgcolor="#FFFFFF">
101			<input name="extend_field{$field.id}" type="text" class="inputBg" value="{$field.content}"/>
102			</td>
103		</tr>
104		{/foreach}
105                <tr>
106                  <td colspan="2" align="center" bgcolor="#FFFFFF"><input name="act" type="hidden" value="act_edit_profile" />
107                    <input name="submit" type="submit" value="{$lang.confirm_edit}" class="bnt_blue_1" style="border:none;" />
108                  </td>
109                </tr>
110       </table>
111    </form>
112     <form name="formPassword" action="user.php" method="post" onSubmit="return editPassword()" >
113     <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
114        <tr>
115          <td width="28%" align="right" bgcolor="#FFFFFF">{$lang.old_password}?</td>
116          <td width="76%" align="left" bgcolor="#FFFFFF"><input name="old_password" type="password" size="25"  class="inputBg" /></td>
117        </tr>
118        <tr>
119          <td width="28%" align="right" bgcolor="#FFFFFF">{$lang.new_password}?</td>
120          <td align="left" bgcolor="#FFFFFF"><input name="new_password" type="password" size="25"  class="inputBg" /></td>
121        </tr>
122        <tr>
123          <td width="28%" align="right" bgcolor="#FFFFFF">{$lang.confirm_password}?</td>
124          <td align="left" bgcolor="#FFFFFF"><input name="comfirm_password" type="password" size="25"  class="inputBg" /></td>
125        </tr>
126        <tr>
127          <td colspan="2" align="center" bgcolor="#FFFFFF"><input name="act" type="hidden" value="act_edit_password" />
128            <input name="submit" type="submit" class="bnt_blue_1" style="border:none;" value="{$lang.confirm_edit}" />
129          </td>
130        </tr>
131      </table>
132    </form>
133     <!--{/if}-->
134     <!--#?????? end-->
135     <!-- {if $action eq 'bonus'} ??????? start-->
136      <script type="text/javascript">
137        {foreach from=$lang.profile_js item=item key=key}
138          var {$key} = "{$item}";
139        {/foreach}
140      </script>
141      <h5><span>{$lang.label_bonus}</span></h5>
142      <div class="blank"></div>
143       <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
144        <tr>
145          <th align="center" bgcolor="#FFFFFF">{$lang.bonus_sn}</th>
146          <th align="center" bgcolor="#FFFFFF">{$lang.bonus_name}</th>
147          <th align="center" bgcolor="#FFFFFF">{$lang.bonus_amount}</th>
148          <th align="center" bgcolor="#FFFFFF">{$lang.min_goods_amount}</th>
149          <th align="center" bgcolor="#FFFFFF">{$lang.bonus_end_date}</th>
150          <th align="center" bgcolor="#FFFFFF">{$lang.bonus_status}</th>
151        </tr>
152        <!-- {if $bonus} -->
153        <!--{foreach from=$bonus item=item}-->
154        <tr>
155          <td align="center" bgcolor="#FFFFFF">{$item.bonus_sn|default:N/A}</td>
156          <td align="center" bgcolor="#FFFFFF">{$item.type_name}</td>
157          <td align="center" bgcolor="#FFFFFF">{$item.type_money}</td>
158          <td align="center" bgcolor="#FFFFFF">{$item.min_goods_amount}</td>
159          <td align="center" bgcolor="#FFFFFF">{$item.use_enddate}</td>
160          <td align="center" bgcolor="#FFFFFF">{$item.status}</td>
161        </tr>
162        <!--{/foreach}-->
163        <!-- {else} -->
164        <tr>
165          <td colspan="6" bgcolor="#FFFFFF">{$lang.user_bonus_empty}</td>
166        </tr>
167        <!-- {/if} -->
168      </table>
169      <div class="blank5"></div>
170      <!-- #BeginLibraryItem "/library/pages.lbi" --><!-- #EndLibraryItem -->
171      <div class="blank5"></div>
172      <h5><span>{$lang.add_bonus}</span></h5>
173      <div class="blank"></div>
174      <form name="addBouns" action="user.php" method="post" onSubmit="return addBonus()">
175        <div style="padding: 15px;">
176        {$lang.bonus_number}
177          <input name="bonus_sn" type="text" size="30" class="inputBg" />
178          <input type="hidden" name="act" value="act_add_bonus" class="inputBg" />
179          <input type="submit" class="bnt_blue_1" style="border:none;" value="{$lang.add_bonus}" />
180        </div>
181      </form>
182    <!-- {/if} -->
183   <!--??????-->
184      <!--#?????? start-->
185       <!-- {if $action eq 'order_list'} -->
186       <h5><span>{$lang.label_order}</span></h5>
187       <div class="blank"></div>
188       <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
189          <tr align="center">
190            <td bgcolor="#ffffff">{$lang.order_number}</td>
191            <td bgcolor="#ffffff">{$lang.order_addtime}</td>
192            <td bgcolor="#ffffff">{$lang.order_money}</td>
193            <td bgcolor="#ffffff">{$lang.order_status}</td>
194            <td bgcolor="#ffffff">{$lang.handle}</td>
195          </tr>
196          <!--{foreach from=$orders item=item}-->
197          <tr>
198            <td align="center" bgcolor="#ffffff"><a href="user.php?act=order_detail&order_id={$item.order_id}" class="f6">{$item.order_sn}</a></td>
199            <td align="center" bgcolor="#ffffff">{$item.order_time}</td>
200            <td align="right" bgcolor="#ffffff">{$item.total_fee}</td>
201            <td align="center" bgcolor="#ffffff">{$item.order_status}</td>
202            <td align="center" bgcolor="#ffffff"><font class="f6">{$item.handler}</font></td>
203          </tr>
204          <!--{/foreach}-->
205          </table>
206        <div class="blank5"></div>
207       <!-- #BeginLibraryItem "/library/pages.lbi" --><!-- #EndLibraryItem -->
208       <div class="blank5"></div>
209       <h5><span>{$lang.merge_order}</span></h5>
210       <div class="blank"></div>
211        <script type="text/javascript">
212        {foreach from=$lang.merge_order_js item=item key=key}
213          var {$key} = "{$item}";
214        {/foreach}
215        </script>
216        <form action="user.php" method="post" name="formOrder" onsubmit="return mergeOrder()">
217          <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
218            <tr>
219              <td width="22%" align="right" bgcolor="#ffffff">{$lang.first_order}:</td>
220              <td width="12%" align="left" bgcolor="#ffffff"><select name="to_order">
221              <option value="0">{$lang.select}</option>
222
223                  {html_options options=$merge}
224
225                </select></td>
226              <td width="19%" align="right" bgcolor="#ffffff">{$lang.second_order}:</td>
227              <td width="11%" align="left" bgcolor="#ffffff"><select name="from_order">
228              <option value="0">{$lang.select}</option>
229
230                  {html_options options=$merge}
231
232                </select></td>
233              <td width="36%" bgcolor="#ffffff">&nbsp;<input name="act" value="merge_order" type="hidden" />
234              <input type="submit" name="Submit"  class="bnt_blue_1" style="border:none;"  value="{$lang.merge_order}" /></td>
235            </tr>
236            <tr>
237              <td bgcolor="#ffffff">&nbsp;</td>
238              <td colspan="4" align="left" bgcolor="#ffffff">{$lang.merge_order_notice}</td>
239            </tr>
240          </table>
241        </form>
242       <!--{/if}-->
243      <!--#?????? end-->
244       <!--#???????? start-->
245      <!-- {if $action eq 'track_packages'} -->
246        <h5><span>{$lang.label_track_packages}</span></h5>
247        <div class="blank"></div>
248        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd" id="order_table">
249        <tr align="center">
250          <td bgcolor="#ffffff">{$lang.order_number}</td>
251          <td bgcolor="#ffffff">{$lang.handle}</td>
252        </tr>
253        <!--{foreach from=$orders item=item}-->
254        <tr>
255          <td align="center" bgcolor="#ffffff"><a href="user.php?act=order_detail&order_id={$item.order_id}">{$item.order_sn}</a></td>
256          <td align="center" bgcolor="#ffffff">{$item.query_link}</td>
257        </tr>
258        <!--{/foreach}-->
259      </table>
260      <script>
261      var query_status = '{$lang.query_status}';
262      var ot = document.getElementById('order_table');
263      for (var i = 1; i < ot.rows.length; i++)
264      {
265        var row = ot.rows[i];
266        var cel = row.cells[1];
267        cel.getElementsByTagName('a').item(0).innerHTML = query_status;
268      }
269      </script>
270      <div class="blank5"></div>
271      <!-- #BeginLibraryItem "/library/pages.lbi" --><!-- #EndLibraryItem -->
272      <!--{/if}-->
273    <!--#???????? end-->
274     <!-- ==========??????,?????????????????????????????????========== -->
275      <!--{if $action eq order_detail} -->
276        <h5><span>{$lang.order_status}</span></h5>
277        <div class="blank"></div>
278         <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
279        <tr>
280          <td width="15%" align="right" bgcolor="#ffffff">{$lang.detail_order_sn}?</td>
281          <td align="left" bgcolor="#ffffff">{$order.order_sn}
282          <!-- {if $order.extension_code eq "group_buy"} -->
283					<a href="./group_buy.php?act=view&id={$order.extension_id}" class="f6"><strong>{$lang.order_is_group_buy}</strong></a>
284					<!-- {elseif $order.extension_code eq "exchange_goods"} -->
285					<a href="./exchange.php?act=view&id={$order.extension_id}" class="f6"><strong>{$lang.order_is_exchange}</strong></a>
286					<!--{/if}-->  
287					<a href="user.php?act=message_list&order_id={$order.order_id}" class="f6">[{$lang.business_message}]</a>
288					</td>
289        </tr>
290        <tr>
291          <td align="right" bgcolor="#ffffff">{$lang.detail_order_status}?</td>
292          <td align="left" bgcolor="#ffffff">{$order.order_status}&nbsp;&nbsp;&nbsp;&nbsp;{$order.confirm_time}</td>
293        </tr>
294        <tr>
295          <td align="right" bgcolor="#ffffff">{$lang.detail_pay_status}?</td>
296          <td align="left" bgcolor="#ffffff">{$order.pay_status}&nbsp;&nbsp;&nbsp;&nbsp;{if $order.order_amount gt 0}{$order.pay_online}{/if}{$order.pay_time}</td>
297        </tr>
298        <tr>
299          <td align="right" bgcolor="#ffffff">{$lang.detail_shipping_status}?</td>
300          <td align="left" bgcolor="#ffffff">{$order.shipping_status}&nbsp;&nbsp;&nbsp;&nbsp;{$order.shipping_time}</td>
301        </tr>
302        <!-- {if $order.invoice_no}-->
303        <tr>
304          <td align="right" bgcolor="#ffffff">{$lang.consignment}?</td>
305          <td align="left" bgcolor="#ffffff">{$order.invoice_no}</td>
306        </tr>
307        <!--{/if}-->
308        <!--{if $order.to_buyer}-->
309        <tr>
310          <td align="right" bgcolor="#ffffff">{$lang.detail_to_buyer}?</td>
311          <td align="left" bgcolor="#ffffff">{$order.to_buyer}</td>
312        </tr>
313        <!-- {/if} -->
314
315        <!--{if $virtual_card}-->
316        <tr>
317          <td align="right" bgcolor="#ffffff">{$lang.virtual_card_info}?</td>
318          <td colspan="3" align="left" bgcolor="#ffffff">
319          <!--{foreach from=$virtual_card item=vgoods}-->
320            <!--{foreach from=$vgoods.info item=card}-->
321              <!--{if $card.card_sn}-->{$lang.card_sn}:<span style="color:red;">{$card.card_sn}</span><!--{/if}-->
322              <!--{if $card.card_password}-->{$lang.card_password}:<span style="color:red;">{$card.card_password}</span><!--{/if}-->
323              <!--{if $card.end_date}-->{$lang.end_date}:{$card.end_date}<!--{/if}--><br />
324            <!--{/foreach}-->
325          <!--{/foreach}-->
326          </td>
327        </tr>
328        <!--{/if}-->
329      </table>
330        <div class="blank"></div>
331        <h5><span>{$lang.goods_list}</span>
332        <!-- {if $allow_to_cart} -->
333        <a href="javascript:;" onclick="returnToCart({$order.order_id})" class="f6">{$lang.return_to_cart}</a>
334        <!-- {/if} -->
335        </h5>
336        <div class="blank"></div>
337         <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
338          <tr>
339            <th width="23%" align="center" bgcolor="#ffffff">{$lang.goods_name}</th>
340            <th width="29%" align="center" bgcolor="#ffffff">{$lang.goods_attr}</th>
341            <!--<th>{$lang.market_price}</th>-->
342            <th width="26%" align="center" bgcolor="#ffffff">{$lang.goods_price}<!-- {if $order.extension_code eq "group_buy"} -->{$lang.gb_deposit}<!-- {/if} --></th>
343            <th width="9%" align="center" bgcolor="#ffffff">{$lang.number}</th>
344            <th width="20%" align="center" bgcolor="#ffffff">{$lang.subtotal}</th>
345          </tr>
346          <!-- {foreach from=$goods_list item=goods} -->
347          <tr>
348            <td bgcolor="#ffffff">
349              <!-- {if $goods.goods_id gt 0 && $goods.extension_code neq 'package_buy'} ?? -->
350                <a href="goods.php?id={$goods.goods_id}" target="_blank" class="f6">{$goods.goods_name}</a>
351                <!-- {if $goods.parent_id > 0} -->
352                <span style="color:#FF0000">?{$lang.accessories}?</span>
353                <!-- {elseif $goods.is_gift} -->
354                <span style="color:#FF0000">?{$lang.largess}?</span>
355                <!-- {/if} -->
356              <!-- {elseif $goods.goods_id gt 0 && $goods.extension_code eq 'package_buy'} -->
357                <a href="javascript:void(0)" onclick="setSuitShow({$goods.goods_id})" class="f6">{$goods.goods_name}<span style="color:#FF0000;">????</span></a>
358                <div id="suit_{$goods.goods_id}" style="display:none">
359                    <!-- {foreach from=$goods.package_goods_list item=package_goods_list} -->
360                      <a href="goods.php?id={$package_goods_list.goods_id}" target="_blank" class="f6">{$package_goods_list.goods_name}</a><br />
361                    <!-- {/foreach} -->
362                </div>
363              <!-- {/if} -->
364              </td>
365            <td align="left" bgcolor="#ffffff">{$goods.goods_attr|nl2br}</td>
366            <!--<td align="right">{$goods.market_price}</td>-->
367            <td align="right" bgcolor="#ffffff">{$goods.goods_price}</td>
368            <td align="center" bgcolor="#ffffff">{$goods.goods_number}</td>
369            <td align="right" bgcolor="#ffffff">{$goods.subtotal}</td>
370          </tr>
371          <!-- {/foreach} -->
372          <tr>
373            <td colspan="8" bgcolor="#ffffff" align="right">
374            {$lang.shopping_money}<!-- {if $order.extension_code eq "group_buy"} -->{$lang.gb_deposit}<!-- {/if} -->: {$order.formated_goods_amount}
375            </td>
376          </tr>
377        </table>
378         <div class="blank"></div>
379        <h5><span>{$lang.fee_total}</span></h5>
380        <div class="blank"></div>
381         <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
382          <tr>
383            <td align="right" bgcolor="#ffffff">
384                {$lang.goods_all_price}<!-- {if $order.extension_code eq "group_buy"} -->{$lang.gb_deposit}<!-- {/if} -->: {$order.formated_goods_amount}
385              <!-- {if $order.discount gt 0} ?? -->
386              - {$lang.discount}: {$order.formated_discount}
387              <!-- {/if} -->
388              <!-- {if $order.tax gt 0} -->
389              + {$lang.tax}: {$order.formated_tax}
390              <!-- {/if} -->
391              <!-- {if $order.shipping_fee > 0} -->
392              + {$lang.shipping_fee}: {$order.formated_shipping_fee}
393              <!-- {/if} -->
394              <!-- {if $order.insure_fee > 0} -->
395              + {$lang.insure_fee}: {$order.formated_insure_fee}
396              <!-- {/if} -->
397              <!-- {if $order.pay_fee > 0} -->
398              + {$lang.pay_fee}: {$order.formated_pay_fee}
399              <!-- {/if} -->
400              <!-- {if $order.pack_fee > 0} -->
401              + {$lang.pack_fee}: {$order.formated_pack_fee}
402              <!-- {/if} -->
403              <!-- {if $order.card_fee > 0} -->
404              + {$lang.card_fee}: {$order.formated_card_fee}
405              <!-- {/if} -->        </td>
406          </tr>
407          <tr>
408            <td align="right" bgcolor="#ffffff">
409              <!-- {if $order.money_paid > 0} -->
410              - {$lang.order_money_paid}: {$order.formated_money_paid}
411              <!-- {/if} -->
412              <!-- {if $order.surplus > 0} -->
413              - {$lang.use_surplus}: {$order.formated_surplus}
414              <!-- {/if} -->
415              <!-- {if $order.integral_money > 0} -->
416              - {$lang.use_integral}: {$order.formated_integral_money}
417              <!-- {/if} -->
418              <!-- {if $order.bonus > 0} -->
419              - {$lang.use_bonus}: {$order.formated_bonus}
420              <!-- {/if} -->        </td>
421          </tr>
422          <tr>
423            <td align="right" bgcolor="#ffffff">{$lang.order_amount}: {$order.formated_order_amount}
424            <!-- {if $order.extension_code eq "group_buy"} --><br />
425            {$lang.notice_gb_order_amount}<!-- {/if} --></td>
426          </tr>
427            <!-- {if $allow_edit_surplus} ??????????? -->
428          <tr>
429            <td align="right" bgcolor="#ffffff">
430      <form action="user.php" method="post" name="formFee" id="formFee">{$lang.use_more_surplus}:
431            <input name="surplus" type="text" size="8" value="0" style="border:1px solid #ccc;"/>{$max_surplus}
432            <input type="submit" name="Submit" class="submit" value="{$lang.button_submit}" />
433      <input type="hidden" name="act" value="act_edit_surplus" />
434      <input type="hidden" name="order_id" value="{$smarty.get.order_id}" />
435      </form></td>
436          </tr>
437    <!--{/if}-->
438        </table>
439         <div class="blank"></div>
440        <h5><span>{$lang.consignee_info}</span></h5>
441        <div class="blank"></div>
442         <!-- {if $order.allow_update_address gt 0} -->
443          <form action="user.php" method="post" name="formAddress" id="formAddress">
444           <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
445              <tr>
446                <td width="15%" align="right" bgcolor="#ffffff">{$lang.consignee_name}? </td>
447                <td width="35%" align="left" bgcolor="#ffffff"><input name="consignee" type="text"  class="inputBg" value="{$order.consignee|escape}" size="25">
448                </td>
449                <td width="15%" align="right" bgcolor="#ffffff">{$lang.email_address}? </td>
450                <td width="35%" align="left" bgcolor="#ffffff"><input name="email" type="text"  class="inputBg" value="{$order.email|escape}" size="25" />
451                </td>
452              </tr>
453              <!-- {if $order.exist_real_goods} -->
454              <!-- ????????-->
455              <tr>
456                <td align="right" bgcolor="#ffffff">{$lang.detailed_address}? </td>
457                <td align="left" bgcolor="#ffffff"><input name="address" type="text" class="inputBg" value="{$order.address|escape} " size="25" /></td>
458                <td align="right" bgcolor="#ffffff">{$lang.postalcode}?</td>
459                <td align="left" bgcolor="#ffffff"><input name="zipcode" type="text"  class="inputBg" value="{$order.zipcode|escape}" size="25" /></td>
460              </tr>
461              <!--{/if}-->
462              <tr>
463                <td align="right" bgcolor="#ffffff">{$lang.phone}?</td>
464                <td align="left" bgcolor="#ffffff"><input name="tel" type="text" class="inputBg" value="{$order.tel|escape}" size="25" /></td>
465                <td align="right" bgcolor="#ffffff">{$lang.backup_phone}?</td>
466                <td align="left" bgcolor="#ffffff"><input name="mobile" type="text"  class="inputBg" value="{$order.mobile|escape}" size="25" /></td>
467              </tr>
468              <!-- {if $order.exist_real_goods} -->
469              <!-- ????????-->
470              <tr>
471                <td align="right" bgcolor="#ffffff">{$lang.sign_building}?</td>
472                <td align="left" bgcolor="#ffffff"><input name="sign_building" class="inputBg" type="text" value="{$order.sign_building|escape}" size="25" />
473                </td>
474                <td align="right" bgcolor="#ffffff">{$lang.deliver_goods_time}?</td>
475                <td align="left" bgcolor="#ffffff"><input name="best_time" type="text" class="inputBg" value="{$order.best_time|escape}" size="25" />
476                </td>
477              </tr>
478              <!-- {/if}-->
479              <tr>
480                <td colspan="4" align="center" bgcolor="#ffffff"><input type="hidden" name="act" value="save_order_address" />
481                  <input type="hidden" name="order_id" value="{$order.order_id}" />
482                  <input type="submit" class="bnt_blue_2" value="{$lang.update_address}"  />
483                </td>
484              </tr>
485            </table>
486          </form>
487          <!-- {else} -->
488          <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
489            <tr>
490              <td width="15%" align="right" bgcolor="#ffffff">{$lang.consignee_name}?</td>
491              <td width="35%" align="left" bgcolor="#ffffff">{$order.consignee}</td>
492              <td width="15%" align="right" bgcolor="#ffffff" >{$lang.email_address}?</td>
493              <td width="35%" align="left" bgcolor="#ffffff">{$order.email}</td>
494            </tr>
495            <!-- {if $order.exist_real_goods} -->
496            <tr>
497              <td align="right" bgcolor="#ffffff">{$lang.detailed_address}?</td>
498              <td colspan="3" align="left" bgcolor="#ffffff">{$order.address}
499                <!-- {if $order.zipcode} -->
500                [{$lang.postalcode}: {$order.zipcode}]
501                <!-- {/if} --></td>
502            </tr>
503            <!-- {/if}-->
504            <tr>
505              <td align="right" bgcolor="#ffffff">{$lang.phone}?</td>
506              <td align="left" bgcolor="#ffffff">{$order.tel} </td>
507              <td align="right" bgcolor="#ffffff">{$lang.backup_phone}?</td>
508              <td align="left" bgcolor="#ffffff">{$order.mobile}</td>
509            </tr>
510            <!-- {if $order.exist_real_goods} -->
511            <tr>
512              <td align="right" bgcolor="#ffffff" >{$lang.sign_building}?</td>
513              <td align="left" bgcolor="#ffffff">{$order.sign_building} </td>
514              <td align="right" bgcolor="#ffffff" >{$lang.deliver_goods_time}?</td>
515              <td align="left" bgcolor="#ffffff">{$order.best_time}</td>
516            </tr>
517            <!--{/if}-->
518          </table>
519          <!-- {/if} -->
520          <div class="blank"></div>
521        <h5><span>{$lang.payment}</span></h5>
522        <div class="blank"></div>
523        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
524                <tr>
525                  <td bgcolor="#ffffff">
526                  {$lang.select_payment}: {$order.pay_name}?{$lang.order_amount}: <strong>{$order.formated_order_amount}</strong><br />
527                  {$order.pay_desc}
528                  </td>
529                </tr>
530                  <tr>
531                  <td bgcolor="#ffffff" align="right">
532                  <!--{if $payment_list}-->
533              <form name="payment" method="post" action="user.php">
534              {$lang.change_payment}:
535              <select name="pay_id">
536                <!--{foreach from=$payment_list item=payment}-->
537                <option value="{$payment.pay_id}">
538                {$payment.pay_name}({$lang.pay_fee}:{$payment.format_pay_fee})
539                </option>
540                <!--{/foreach}-->
541              </select>
542              <input type="hidden" name="act" value="act_edit_payment" />
543              <input type="hidden" name="order_id" value="{$order.order_id}" />
544              <input type="submit" name="Submit" class="submit" value="{$lang.button_submit}" />
545              </form>
546              <!--{/if}-->
547                  </td>
548                </tr>
549              </table>
550        <div class="blank"></div>
551        <h5><span>{$lang.other_info}</span></h5>
552        <div class="blank"></div>
553        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
554          <!-- {if $order.shipping_id > 0} -->
555          <tr>
556            <td width="15%" align="right" bgcolor="#ffffff">{$lang.shipping}?</td>
557            <td colspan="3" width="85%" align="left" bgcolor="#ffffff">{$order.shipping_name}</td>
558          </tr>
559          <!-- {/if} -->
560
561          <tr>
562            <td width="15%" align="right" bgcolor="#ffffff">{$lang.payment}?</td>
563            <td colspan="3" align="left" bgcolor="#ffffff">{$order.pay_name}</td>
564          </tr>
565          <!--{if $order.insure_fee > 0}-->
566          <!--{/if}-->
567          <!-- {if $order.pack_name} ?????? -->
568          <tr>
569            <td width="15%" align="right" bgcolor="#ffffff">{$lang.use_pack}?</td>
570            <td colspan="3" align="left" bgcolor="#ffffff">{$order.pack_name}</td>
571          </tr>
572          <!-- {/if} ?????? -->
573          <!-- {if $order.card_name} ?????? -->
574          <tr>
575            <td width="15%" align="right" bgcolor="#ffffff">{$lang.use_card}?</td>
576            <td colspan="3" align="left" bgcolor="#ffffff">{$order.card_name}</td>
577          </tr>
578          <!-- {/if} -->
579          <!-- {if $order.card_message} ?????? -->
580          <tr>
581            <td width="15%" align="right" bgcolor="#ffffff">{$lang.bless_note}?</td>
582            <td colspan="3" align="left" bgcolor="#ffffff">{$order.card_message}</td>
583          </tr>
584          <!-- {/if} ?????? -->
585          <!-- {if $order.surplus > 0} ?????? -->
586          <!-- {/if} -->
587          <!-- {if $order.integral > 0} ?????? -->
588          <tr>
589            <td width="15%" align="right" bgcolor="#ffffff">{$lang.use_integral}?</td>
590            <td colspan="3" align="left" bgcolor="#ffffff">{$order.integral}</td>
591          </tr>
592          <!-- {/if} ?????? -->
593          <!-- {if $order.bonus > 0} ?????? -->
594          <!-- {/if} -->
595          <!-- {if $order.inv_payee && $order.inv_content} ????? -->
596          <tr>
597            <td width="15%" align="right" bgcolor="#ffffff">{$lang.invoice_title}?</td>
598            <td width="36%" align="left" bgcolor="#ffffff">{$order.inv_payee}</td>
599            <td width="19%" align="right" bgcolor="#ffffff">{$lang.invoice_content}?</td>
600            <td width="25%" align="left" bgcolor="#ffffff">{$order.inv_content}</td>
601          </tr>
602          <!-- {/if} -->
603          <!-- {if $order.postscript} ??????? -->
604          <tr>
605            <td width="15%" align="right" bgcolor="#ffffff">{$lang.order_postscript}?</td>
606            <td colspan="3" align="left" bgcolor="#ffffff">{$order.postscript}</td>
607          </tr>
608          <!-- {/if} -->
609          <tr>
610            <td width="15%" align="right" bgcolor="#ffffff">{$lang.booking_process}?</td>
611            <td colspan="3" align="left" bgcolor="#ffffff">{$order.how_oos_name}</td>
612          </tr>
613        </table>
614      <!--{/if} -->
615    <!--#????? end-->
616    <!--#???? start-->
617      <!--{if $action eq "account_raply" || $action eq "account_log" || $action eq "account_deposit" || $action eq "account_detail"} -->
618        <script type="text/javascript">
619          {foreach from=$lang.account_js item=item key=key}
620            var {$key} = "{$item}";
621          {/foreach}
622        </script>
623        <h5><span>{$lang.user_balance}</span></h5>
624        <div class="blank"></div>
625         <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
626          <tr>
627            <td align="right" bgcolor="#ffffff"><a href="user.php?act=account_deposit" class="f6">{$lang.surplus_type_0}</a> | <a href="user.php?act=account_raply" class="f6">{$lang.surplus_type_1}</a> | <a href="user.php?act=account_detail" class="f6">{$lang.add_surplus_log}</a> | <a href="user.php?act=account_log" class="f6">{$lang.view_application}</a> </td>
628          </tr>
629        </table>
630        <!-- {/if} -->
631        <!-- {if $action eq "account_raply"} -->
632        <form name="formSurplus" method="post" action="user.php" onSubmit="return submitSurplus()">
633        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
634          <tr>
635            <td width="15%" bgcolor="#ffffff">{$lang.repay_money}:</td>
636            <td bgcolor="#ffffff" align="left"><input type="text" name="amount" value="{$order.amount|escape}" class="inputBg" size="30" />
637            </td>
638          </tr>
639          <tr>
640            <td bgcolor="#ffffff">{$lang.process_notic}:</td>
641            <td bgcolor="#ffffff" align="left"><textarea name="user_note" cols="55" rows="6" style="border:1px solid #ccc;">{$order.user_note|escape}</textarea></td>
642          </tr>
643          <tr>
644            <td bgcolor="#ffffff" colspan="2" align="center">
645            <input type="hidden" name="surplus_type" value="1" />
646              <input type="hidden" name="act" value="act_account" />
647              <input type="submit" name="submit"  class="bnt_blue_1" value="{$lang.submit_request}" />
648              <input type="reset" name="reset" class="bnt_blue_1" value="{$lang.button_reset}" />
649            </td>
650          </tr>
651        </table>
652        </form>
653        <!-- {/if} -->
654        <!-- {if $action eq "account_deposit"} -->
655        <form name="formSurplus" method="post" action="user.php" onSubmit="return submitSurplus()">
656        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
657            <tr>
658              <td width="15%" bgcolor="#ffffff">{$lang.deposit_money}:</td>
659              <td align="left" bgcolor="#ffffff"><input type="text" name="amount"  class="inputBg" value="{$order.amount|escape}" size="30" /></td>
660            </tr>
661            <tr>
662              <td bgcolor="#ffffff">{$lang.process_notic}:</td>
663              <td align="left" bgcolor="#ffffff"><textarea name="user_note" cols="55" rows="6" style="border:1px solid #ccc;">{$order.user_note|escape}</textarea></td>
664            </tr>
665          </table>
666          <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
667            <tr align="center">
668              <td bgcolor="#ffffff"  colspan="3" align="left">{$lang.payment}:</td>
669            </tr>
670            <tr align="center">
671              <td bgcolor="#ffffff">{$lang.pay_name}</td>
672              <td bgcolor="#ffffff" width="60%">{$lang.pay_desc}</td>
673              <td bgcolor="#ffffff" width="17%">{$lang.pay_fee}</td>
674            </tr>
675            <!-- {foreach from=$payment item=list} -->
676            <tr>
677              <td bgcolor="#ffffff" align="left">
678              <input type="radio" name="payment_id" value="{$list.pay_id}" />{$list.pay_name}</td>
679              <td bgcolor="#ffffff" align="left">{$list.pay_desc}</td>
680              <td bgcolor="#ffffff" align="center">{$list.pay_fee}</td>
681            </tr>
682            <!-- {/foreach} -->
683            <tr>
684        <td bgcolor="#ffffff" colspan="3"  align="center">
685        <input type="hidden" name="surplus_type" value="0" />
686          <input type="hidden" name="rec_id" value="{$order.id}" />
687          <input type="hidden" name="act" value="act_account" />
688          <input type="submit" class="bnt_blue_1" name="submit" value="{$lang.submit_request}" />
689          <input type="reset" class="bnt_blue_1" name="reset" value="{$lang.button_reset}" />
690        </td>
691      </tr>
692          </table>
693        </form>
694        <!-- {/if} -->
695        <!-- {if $action eq "act_account"} -->
696        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
697          <tr>
698            <td width="25%" align="right" bgcolor="#ffffff">{$lang.surplus_amount}</td>
699            <td width="80%" bgcolor="#ffffff">{$amount}</td>
700          </tr>
701          <tr>
702            <td align="right" bgcolor="#ffffff">{$lang.payment_name}</td>
703            <td bgcolor="#ffffff">{$payment.pay_name}</td>
704          </tr>
705          <tr>
706            <td align="right" bgcolor="#ffffff">{$lang.payment_fee}</td>
707            <td bgcolor="#ffffff">{$pay_fee}</td>
708          </tr>
709          <tr>
710            <td align="right" valign="middle" bgcolor="#ffffff">{$lang.payment_desc}</td>
711            <td bgcolor="#ffffff">{$payment.pay_desc}</td>
712          </tr>
713          <tr>
714            <td colspan="2" bgcolor="#ffffff">{$payment.pay_button}</td>
715          </tr>
716        </table>
717        <!-- {/if} -->
718       <!-- {if $action eq "account_detail"} -->
719        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
720          <tr align="center">
721            <td bgcolor="#ffffff">{$lang.process_time}</td>
722            <td bgcolor="#ffffff">{$lang.surplus_pro_type}</td>
723            <td bgcolor="#ffffff">{$lang.money}</td>
724            <td bgcolor="#ffffff">{$lang.change_desc}</td>
725          </tr>
726          <!--{foreach from=$account_log item=item}-->
727          <tr>
728            <td align="center" bgcolor="#ffffff">{$item.change_time}</td>
729            <td align="center" bgcolor="#ffffff">{$item.type}</td>
730            <td align="right" bgcolor="#ffffff">{$item.amount}</td>
731            <td bgcolor="#ffffff" title="{$item.change_desc}">&nbsp;&nbsp;{$item.short_change_desc}</td>
732          </tr>
733          <!--{/foreach}-->
734          <tr>
735            <td colspan="4" align="center" bgcolor="#ffffff"><div align="right">{$lang.current_surplus}{$surplus_amount}</div></td>
736          </tr>
737        </table>
738        <!-- #BeginLibraryItem "/library/pages.lbi" --><!-- #EndLibraryItem -->
739        <!-- {/if} -->
740        <!-- {if $action eq "account_log"} -->
741        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
742          <tr align="center">
743            <td bgcolor="#ffffff">{$lang.process_time}</td>
744            <td bgcolor="#ffffff">{$lang.surplus_pro_type}</td>
745            <td bgcolor="#ffffff">{$lang.money}</td>
746            <td bgcolor="#ffffff">{$lang.process_notic}</td>
747            <td bgcolor="#ffffff">{$lang.admin_notic}</td>
748            <td bgcolor="#ffffff">{$lang.is_paid}</td>
749            <td bgcolor="#ffffff">{$lang.handle}</td>
750          </tr>
751          <!--{foreach from=$account_log item=item}-->
752          <tr>
753            <td align="center" bgcolor="#ffffff">{$item.add_time}</td>
754            <td align="left" bgcolor="#ffffff">{$item.type}</td>
755            <td align="right" bgcolor="#ffffff">{$item.amount}</td>
756            <td align="left" bgcolor="#ffffff">{$item.short_user_note}</td>
757            <td align="left" bgcolor="#ffffff">{$item.short_admin_note}</td>
758            <td align="center" bgcolor="#ffffff">{$item.pay_status}</td>
759            <td align="right" bgcolor="#ffffff">{$item.handle}
760              <!-- {if ($item.is_paid eq 0 && $item.process_type eq 1) || $item.handle} -->
761              <a href="user.php?act=cancel&id={$item.id}" onclick="if (!confirm('{$lang.confirm_remove_account}')) return false;">{$lang.is_cancel}</a>
762              <!-- {/if} -->
763                            </td>
764          </tr>
765          <!--{/foreach}-->
766          <tr>
767            <td colspan="7" align="right" bgcolor="#ffffff">{$lang.current_surplus}{$surplus_amount}</td>
768          </tr>
769        </table>
770        <!-- #BeginLibraryItem "/library/pages.lbi" --><!-- #EndLibraryItem -->
771      <!-- {/if} -->
772      <!--#???? end-->
773      <!--#?????? -->
774      <!--{if $action eq 'address_list'} -->
775        <h5><span>{$lang.consignee_info}</span></h5>
776        <div class="blank"></div>
777         {* ?????? *}
778            {insert_scripts files='utils.js,transport.js,region.js,shopping_flow.js'}
779            <script type="text/javascript">
780              region.isAdmin = false;
781              {foreach from=$lang.flow_js item=item key=key}
782              var {$key} = "{$item}";
783              {/foreach}
784              {literal}
785              onload = function() {
786                if (!document.all)
787                {
788                  document.forms['theForm'].reset();
789                }
790              }
791              {/literal}
792            </script>
793            <!-- {foreach from=$consignee_list item=consignee key=sn} -->
794            <form action="user.php" method="post" name="theForm" onsubmit="return checkConsignee(this)">
795              <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
796                <tr>
797                  <td align="right" bgcolor="#ffffff">{$lang.country_province}?</td>
798                  <td colspan="3" align="left" bgcolor="#ffffff"><select name="country" id="selCountries_{$sn}" onchange="region.changed(this, 1, 'selProvinces_{$sn}')">
799                      <option value="0">{$lang.please_select}{$name_of_region[0]}</option>
800                      <!-- {foreach from=$country_list item=country} -->
801                      <option value="{$country.region_id}" {if $consignee.country eq $country.region_id}selected{/if}>{$country.region_name}</option>
802                      <!-- {/foreach} -->
803                    </select>
804                    <select name="province" id="selProvinces_{$sn}" onchange="region.changed(this, 2, 'selCities_{$sn}')">
805                      <option value="0">{$lang.please_select}{$name_of_region[1]}</option>
806                      <!-- {foreach from=$province_list.$sn item=province} -->
807                      <option value="{$province.region_id}" {if $consignee.province eq $province.region_id}selected{/if}>{$province.region_name}</option>
808                      <!-- {/foreach} -->
809                    </select>
810                    <select name="city" id="selCities_{$sn}" onchange="region.changed(this, 3, 'selDistricts_{$sn}')">
811                      <option value="0">{$lang.please_select}{$name_of_region[2]}</option>
812                      <!-- {foreach from=$city_list.$sn item=city} -->
813                      <option value="{$city.region_id}" {if $consignee.city eq $city.region_id}selected{/if}>{$city.region_name}</option>
814                      <!-- {/foreach} -->
815                    </select>
816                    <select name="district" id="selDistricts_{$sn}" {if !$district_list.$sn}style="display:none"{/if}>
817                      <option value="0">{$lang.please_select}{$name_of_region[3]}</option>
818                      <!-- {foreach from=$district_list.$sn item=district} -->
819                      <option value="{$district.region_id}" {if $consignee.district eq $district.region_id}selected{/if}>{$district.region_name}</option>
820                      <!-- {/foreach} -->
821                    </select>
822                  {$lang.require_field} </td>
823                </tr>
824                <tr>
825                  <td align="right" bgcolor="#ffffff">{$lang.consignee_name}?</td>
826                  <td align="left" bgcolor="#ffffff"><input name="consignee" type="text" class="inputBg" id="consignee_{$sn}" value="{$consignee.consignee|escape}" />
827                  {$lang.require_field} </td>
828                  <td align="right" bgcolor="#ffffff">{$lang.email_address}?</td>
829                  <td align="left" bgcolor="#ffffff"><input name="email" type="text" class="inputBg" id="email_{$sn}" value="{$consignee.email|escape}" />
830                  {$lang.require_field}</td>
831                </tr>
832                <tr>
833                  <td align="right" bgcolor="#ffffff">{$lang.detailed_address}?</td>
834                  <td align="left" bgcolor="#ffffff"><input name="address" type="text" class="inputBg" id="address_{$sn}" value="{$consignee.address|escape}" />
835                  {$lang.require_field}</td>
836                  <td align="right" bgcolor="#ffffff">{$lang.postalcode}?</td>
837                  <td align="left" bgcolor="#ffffff"><input name="zipcode" type="text" class="inputBg" id="zipcode_{$sn}" value="{$consignee.zipcode|escape}" /></td>
838                </tr>
839                <tr>
840                  <td align="right" bgcolor="#ffffff">{$lang.phone}?</td>
841                  <td align="left" bgcolor="#ffffff"><input name="tel" type="text" class="inputBg" id="tel_{$sn}" value="{$consignee.tel|escape}" />
842                  {$lang.require_field}</td>
843                  <td align="right" bgcolor="#ffffff">{$lang.backup_phone}?</td>
844                  <td align="left" bgcolor="#ffffff"><input name="mobile" type="text" class="inputBg" id="mobile_{$sn}" value="{$consignee.mobile|escape}" /></td>
845                </tr>
846                <tr>
847                  <td align="right" bgcolor="#ffffff">{$lang.sign_building}?</td>
848                  <td align="left" bgcolor="#ffffff"><input name="sign_building" type="text" class="inputBg" id="sign_building_{$sn}" value="{$consignee.sign_building|escape}" /></td>
849                  <td align="right" bgcolor="#ffffff">{$lang.deliver_goods_time}?</td>
850                  <td align="left" bgcolor="#ffffff"><input name="best_time" type="text"  class="inputBg" id="best_time_{$sn}" value="{$consignee.best_time|escape}" /></td>
851                </tr>
852                <tr>
853                  <td align="right" bgcolor="#ffffff">&nbsp;</td>
854                  <td colspan="3" align="center" bgcolor="#ffffff"><!-- {if $consignee.consignee && $consignee.email} -->
855                    <input type="submit" name="submit" class="bnt_blue_1" value="{$lang.confirm_edit}" />
856                    <input name="button" type="button" class="bnt_blue"  onclick="if (confirm('{$lang.confirm_drop_address}'))location.href='user.php?act=drop_consignee&id={$consignee.address_id}'" value="{$lang.drop}" />
857                    <!-- {else} -->
858                    <input type="submit" name="submit" class="bnt_blue_2"  value="{$lang.add_address}"/>
859                    <!-- {/if} -->
860                    <input type="hidden" name="act" value="act_edit_address" />
861                    <input name="address_id" type="hidden" value="{$consignee.address_id}" />
862                  </td>
863                </tr>
864              </table>
865            </form>
866            <!-- {/foreach} -->
867      <!--{/if} -->
868    <!--#???????? -->
869      <!--* ????-->
870       <!--{if $action eq 'transform_points'} -->
871       <h5><span>{$lang.transform_points}</span></h5>
872             <div class="blank"></div>
873       <!--{if $exchange_type eq 'ucenter'}-->
874        <form action="user.php" method="post" name="transForm" onsubmit="return calcredit();">
875       <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
876                <tr>
877                    <th width="120" bgcolor="#FFFFFF" align="right" valign="top">{$lang.cur_points}:</th>
878                    <td bgcolor="#FFFFFF">
879                    <label for="pay_points">{$lang.exchange_points.1}:</label><input type="text" size="15" id="pay_points" name="pay_points" value="{$shop_points.pay_points}" style="border:0;border-bottom:1px solid #DADADA;" readonly="readonly" /><br />
880                    <div class="blank"></div>
881                    <label for="rank_points">{$lang.exchange_points.0}:</label><input type="text" size="15" id="rank_points" name="rank_points" value="{$shop_points.rank_points}" style="border:0;border-bottom:1px solid #DADADA;" readonly="readonly" />
882                    </td>
883                    </tr>
884          <tr><td bgcolor="#FFFFFF">&nbsp;</td>
885          <td bgcolor="#FFFFFF">&nbsp;</td>
886          </tr>
887          <tr>
888            <th align="right" bgcolor="#FFFFFF"><label for="amount">{$lang.exchange_amount}:</label></th>
889            <td bgcolor="#FFFFFF"><input size="15" name="amount" id="amount" value="0" onkeyup="calcredit();" type="text" />
890                <select name="fromcredits" id="fromcredits" onchange="calcredit();">
891                  {html_options options=$lang.exchange_points selected=$selected_org}
892                </select>
893            </td>
894          </tr>
895          <tr>
896            <th align="right" bgcolor="#FFFFFF"><label for="desamount">{$lang.exchange_desamount}:</label></th>
897            <td bgcolor="#FFFFFF"><input type="text" name="desamount" id="desamount" disabled="disabled" value="0" size="15" />
898              <select name="tocredits" id="tocredits" onchange="calcredit();">
899                {html_options options=$to_credits_options selected=$selected_dst}
900              </select>
901            </td>
902          </tr>
903          <tr>
904            <th align="right" bgcolor="#FFFFFF">{$lang.exchange_ratio}:</th>
905            <td bgcolor="#FFFFFF">1 <span id="orgcreditunit">{$orgcreditunit}</span> <span id="orgcredittitle">{$orgcredittitle}</span> {$lang.exchange_action} <span id="descreditamount">{$descreditamount}</span> <span id="descreditunit">{$descreditunit}</span> <span id="descredittitle">{$descredittitle}</span></td>
906          </tr>
907          <tr><td bgcolor="#FFFFFF">&nbsp;</td>
908          <td bgcolor="#FFFFFF"><input type="hidden" name="act" value="act_transform_ucenter_points" /><input type="submit"…

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