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.

46 lines
1.7 KiB

3 years ago
<!-- $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="shipping.php" name="theForm" onSubmit = "return checkShi();">
<table width="100%" >
<tr>
<td class="label">配送时间:</td>
<td><input type="text" name="shipping_date_start" id="shipping_date_start" value="{$shipping_date.start_date}" size="10"/>-<input type="text" id="shipping_date_end" name="shipping_date_end" value="{$shipping_date.end_date}" size="10"/> *例:09:00-19:00</td>
</tr>
<tr>
<td class="label">可选开始日期:</td>
<td><input type="text" name="later_day" id="later_day" value="{$shipping_date.select_day}"/>&nbsp;<b color=red>可选开始日期为今天的n天之后,如今天是2013-1-1,填写(3),则可选的配送日期为2013-1-5号之后(不包含2013-1-5)</b></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="{$act}" />
<input type="hidden" name="id" value="{$id}" /> </td>
</tr>
</table>
</form>
</div>
<script type="text/javascript">
function checkShi()
{
if(document.getElementById('shipping_date_start').value == "")
{
alert('请填写开始时间');
return false;
}
if(document.getElementById('shipping_date_end').value == "")
{
alert('请填写结束时间');
return false;
}
}
</script>
{insert_scripts files="../js/utils.js,validator.js"}
{include file="pagefooter.htm"}