Server : Apache System : Linux iZ2vcgyutqttsd1p850kl8Z 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64 User : www ( 1000) PHP Version : 5.6.40 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv Directory : /www/wwwroot/saimikebio.com/mobile/ecshopjcw/templates/ |
<!-- $Id: user_account_info.htm 14216 2008-03-10 02:27:21Z testyang $ --> {include file="pageheader.htm"} {insert_scripts files="./js/validator.js"} <div class="main-div"> <form action="user_account.php" method="post" name="theForm" onsubmit="return validate()"> <table width="100%"> <tr> <td class="label">{$lang.user_id}:</td> <td> <input type="text" name="user_id" value="{$user_name}" size="20" {if $user_surplus.process_type eq 2 || $user_surplus.process_type eq 3 || $action eq "edit"} readonly="true" {/if}/> </td> </tr> <tr> <td class="label">{$lang.surplus_amount}:</td> <td> <input type="text" name="amount" value="{$user_surplus.amount}" size="20" {if $user_surplus.process_type eq 2 || $user_surplus.process_type eq 3 || $action eq "edit"} readonly="true" {/if}/> </td> </tr> <tr> <td class="label">{$lang.pay_mothed}:</td> <td> <select name="payment" {if $user_surplus.process_type eq 2 || $user_surplus.process_type eq 3}disabled="true" {/if}> <option value="">{$lang.please_select}</option> {html_options options=$payment_list selected=$user_surplus.payment} </select> </td> </td> </tr> <tr> <td class="label">{$lang.process_type}:</td> <td> <input type="radio" name="process_type" value="0" {if $user_surplus.process_type eq 0} checked="true" {/if} {if $user_surplus.process_type eq 2 || $user_surplus.process_type eq 3 || $action eq "edit"}disabled="true" {/if} />{$lang.surplus_type_0} <input type="radio" name="process_type" value="1" {if $user_surplus.process_type eq 1} checked="true" {/if} {if $user_surplus.process_type eq 2 || $user_surplus.process_type eq 3|| $action eq "edit"}disabled="true" {/if} />{$lang.surplus_type_1} {if $action eq "edit" && ($user_surplus.process_type eq 2 || $user_surplus.process_type eq 3)} <input type="radio" name="process_type" value="2" {if $user_surplus.process_type eq 2|| $action eq "edit"} checked="true"{/if}{if $user_surplus.process_type eq 2 || $user_surplus.process_type eq 3} disabled="true"{/if} />{$lang.surplus_type_2} <input type="radio" name="process_type" value="3" {if $user_surplus.process_type eq 3|| $action eq "edit"} checked="true"{/if}{if $user_surplus.process_type eq 2 || $user_surplus.process_type eq 3} disabled="true"{/if} />{$lang.surplus_type_3} {/if} </td> </tr> <tr> <td class="label">{$lang.surplus_notic}:</td> <td> <textarea name="admin_note" cols="55" rows="3"{if $user_surplus.process_type eq 2 || $user_surplus.process_type eq 3} readonly="true" {/if}>{$user_surplus.admin_note}</textarea> </td> </tr> <tr> <td class="label">{$lang.surplus_desc}:</td> <td> <textarea name="user_note" cols="55" rows="3"{if $user_surplus.process_type eq 2 || $user_surplus.process_type eq 3} readonly="true" {/if}>{$user_surplus.user_note}</textarea> </td> </tr> <tr> <td class="label">{$lang.status}:</td> <td> <input type="radio" name="is_paid" value="0" {if $user_surplus.is_paid eq 0} checked="true"{/if} {if $user_surplus.process_type eq 2 || $user_surplus.process_type eq 3 ||$action eq "edit"} disabled="true"{/if}/>{$lang.unconfirm} <input type="radio" name="is_paid" value="1" {if $user_surplus.is_paid eq 1} checked="true" {/if} {if $user_surplus.process_type eq 2 || $user_surplus.process_type eq 3 ||$action eq "edit"} disabled="true"{/if}/>{$lang.confirm} <input type="radio" name="is_paid" value="2" {if $user_surplus.is_paid eq 2} checked="true" {/if} {if $user_surplus.process_type eq 2 || $user_surplus.process_type eq 3 ||$action eq "edit"} disabled="true"{/if}/>{$lang.cancel} </td> </tr> <tr> <td class="label"> </td> <td> <input type="hidden" name="id" value="{$user_surplus.id}" /> <input type="hidden" name="act" value="{$form_act}" /> {if $user_surplus.process_type eq 0 || $user_surplus.process_type eq 1} <input type="submit" value="{$lang.button_submit}" class="button" /> <input type="reset" value="{$lang.button_reset}" class="button" /> {/if} </td> </tr> </table> </form> </div> <script language="JavaScript"> <!-- {literal} onload = function() { // 开始检查订单 startCheckOrder(); } /** * 检查表单输入的数据 */ function validate() { validator = new Validator("theForm"); validator.required("user_id", user_id_empty); validator.required("amount", deposit_amount_empty); validator.isNumber("amount", deposit_amount_error, true); var deposit_amount = document['theForm'].elements['amount'].value; if (deposit_amount.length > 0) { if (deposit_amount == 0 || deposit_amount < 0) { alert(deposit_amount_error); return false; } } return validator.passed(); } //--> {/literal} </script> {include file="pagefooter.htm"}