You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

63 lines
2.0 KiB

<!-- $Id: agency_info.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{include file="pageheader.htm"}
{insert_scripts files="validator.js,../js/transport_jquery.js,../js/region.js"}
<div class="main-div">
<form method="post" action="merchants_percent.php" name="theForm" enctype="multipart/form-data" onsubmit="return validate()">
<table cellspacing="1" cellpadding="3" width="100%">
{if $form_action eq 'insert'}
<tr>
<td class="label">{$lang.label_percent_value}</td>
<td><input type="text" name="percent_value" maxlength="60" value="" />&nbsp;%&nbsp;{$lang.require_field}</td>
</tr>
<tr>
<td class="label">{$lang.label_percent_sort}</td>
<td><input type="text" name="sort_order" maxlength="60" value="10"/></td>
</tr>
{else}
<tr>
<td class="label">{$lang.label_percent_value}</td>
<td><input type="text" name="percent_value" maxlength="60" value="{$percent.percent_value}" />&nbsp;%&nbsp;{$lang.require_field}</td>
</tr>
<tr>
<td class="label">{$lang.label_percent_sort}</td>
<td><input type="text" name="sort_order" maxlength="60" value="{$percent.sort_order}" /></td>
</tr>
{/if}
</table>
<table align="center">
<tr>
<td colspan="2" align="center">
<input type="submit" class="button" value="{$lang.button_submit}" />
<input type="reset" class="button" value="{$lang.button_reset}" />
<input type="hidden" name="act" value="{$form_action}" />
<input type="hidden" name="id" value="{$percent.percent_id}" />
</td>
</tr>
</table>
</form>
</div>
{insert_scripts files="../js/utils.js,validator.js"}
{literal}
<script language="JavaScript">
<!--
document.forms['theForm'].elements['suppliers_name'].focus();
onload = function()
{
// 开始检查订单
startCheckOrder();
}
/**
* 检查表单输入的数据
*/
function validate()
{
validator = new Validator("theForm");
validator.required("percent_value", '奖励额度不能为空');
return validator.passed();
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}