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.
61 lines
1.8 KiB
61 lines
1.8 KiB
<!-- $Id: user_info.htm 16854 2009-12-07 06:20:09Z sxc_shop $ -->
|
|
{include file="pageheader.htm"}
|
|
<div class="main-div">
|
|
<form method="post" action="region_area.php" name="theForm" onsubmit="return validate()">
|
|
<table width="100%" style="width:100%">
|
|
<tr>
|
|
<td class="label">{$lang.region_name}:</td>
|
|
<td><input type="text" name="ra_name" value="{$region_info.ra_name}" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">{$lang.ra_sort}:</td>
|
|
<td><input type="text" name="ra_sort" value="{$region_info.ra_sort|default:1}" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">{$lang.choose_area}:</td>
|
|
<td>
|
|
<div style="width:300px;">
|
|
{foreach from=$province_list item=province}
|
|
<label><input name="area_list[]" type="checkbox" value="{$province.region_id}" {if $province.disabled eq 1}disabled="disabled"{/if} {if $province.checked eq 1}checked="checked"{/if} />{$province.region_name}</label>
|
|
{/foreach}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" align="center">
|
|
<input type="submit" value="{$lang.button_submit}" class="button" />
|
|
<input type="reset" value="{$lang.button_reset}" class="button" />
|
|
<input type="hidden" name="act" value="{$form_action}" />
|
|
<input type="hidden" name="id" value="{$region_info.ra_id}" /> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|
|
</div>
|
|
{insert_scripts files="../js/utils.js,validator.js"}
|
|
{literal}
|
|
<script language="JavaScript">
|
|
<!--
|
|
|
|
if (document.forms['theForm'].elements['act'].value == "insert")
|
|
{
|
|
document.forms['theForm'].elements['ra_name'].focus();
|
|
}
|
|
|
|
onload = function()
|
|
{
|
|
// 开始检查订单
|
|
startCheckOrder();
|
|
}
|
|
|
|
/**
|
|
* 检查表单输入的数据
|
|
*/
|
|
function validate()
|
|
{
|
|
|
|
}
|
|
//-->
|
|
</script>
|
|
{/literal}
|
|
{include file="pagefooter.htm"}
|
|
|