{include file="page_header.htm"}
{insert_scripts files="../js/utils.js"}
<form enctype="multipart/form-data" name="theForm" action="product.php" method="post" onsubmit="return validate()">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_form">
	<tr>
		<td class="label" valign="top">上传Excel：</td>
		<td>
			<input type="file" name="excelfile" id="excelfile" /> <span class="required">&nbsp;</span>
		</td>
	</tr>
	
	<tr>
	<td class="label" valign="top">说明：</td>
	<td style="line-height:18px;">
		<a href="product.php?act=download_excel" target="_blank">下载模版</a>
	</td>
	</tr>	        
	
	<tr>
	<td style="border:none;"></td>
	<td style="border:none;">
		<input type="hidden" name="act" value="import_confirm" />
		<input type="submit" value="提交" class="bginput" />
		<input type="reset" value="重置" class="bginput" />
	</td>
	</tr> 	
	
	</table>
</form>
	
<script language="JavaScript">
{literal}
function validate(){
	validator = new Validator("theForm");
	validator.required('excelfile','请选择要上传的文件.');
	return validator.passed();
}
{/literal}
</script>
{insert_scripts files="validator.js"}
{include file="page_footer.htm"}