<html>
<head>
<title>{/$module_name/}</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
<link href="../images/default/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
	<!--
	body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	}
	.style1 {
		font-size: 24px;
		font-family: "楷体_GB2312";
	}
	.style2 {font-size: 30px}
	a:link {
		color: #990000;
		text-decoration: none;
	}
	a:visited {
		text-decoration: none;
		color: #990000;
	}
	a:active {
		text-decoration: none;
		color: #990000;
	}
	-->
	</style>
<script src="../includes/js/checkFunction.js"></script>
<script src="../includes/js/Popcalendar.js"></script>
<script src="../includes/js/common.js"></script>
<script language="javascript" for="document" event="onkeydown">
	<!--
	  if(event.keyCode==13 && event.srcElement.type!='button' && event.srcElement.type!='submit' && event.srcElement.type!='reset' && event.srcElement.type!='textarea' && event.srcElement.type!='')
		 event.keyCode=9;
	-->
	</script>
<base target="_self">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body>
<form name="form1" method="post" action="{/$action_file/}">
 {/section name=sec loop=$hidden_field/}
 <input type="hidden" name="{/$hidden_field[sec].field_name/}" value="{/$hidden_field[sec].field_value/}">
 {//section/}
  <table width="98%" border="0" align="right" cellpadding="0" cellspacing="0">
    <tr valign="bottom">
      <td height="50" valign="middle">
      <div align="center" class="style1 style2">{/$title/}</div></td>
    </tr>
	<tr><td height="418">
	  <div id="Layer1" style="position:absolute; width:711px; height:410px; z-index:1; top: 54px; overflow: auto;">
	  <table width="100%">
	  <tr>
		<td>
			<table width="100%" border="0" align="center">
			  <tr>
			  {/section name=sec loop=$tab1_array/}
			  	{/if $tab1_array[sec].single_row==true/}
					{/if $smarty.section.sec.rownum%2==0 /}
					<td>&nbsp;</td><td>&nbsp;</td>
			 		 </tr>
					 <tr>
					{//if/}
				<td width="12%" height="28"><div align="center">{/$tab1_array[sec].display_name/}：</div></td>
				<td colspan="3"><input name="{/$tab1_array[sec].field_name/}" type="{/$tab1_array[sec].display_type/}" size="{/$tab1_array[sec].display_width/}" value="{/$tab1_array[sec].field_value/}" {/$tab1_array[sec].is_readonly/} {/$tab1_array[sec].field_type/}>{/$tab1_array[sec].select_array/}</td>
			  </tr>
				{/else/}
				<td width="12%" height="28"><div align="center">{/$tab1_array[sec].display_name/}：</div></td>
				<td width="38%"><input name="{/$tab1_array[sec].field_name/}" type="{/$tab1_array[sec].display_type/}" size="{/$tab1_array[sec].display_width/}" value="{/$tab1_array[sec].field_value/}" {/$tab1_array[sec].is_readonly/} {/$tab1_array[sec].field_type/}>{/$tab1_array[sec].select_array/}</td>
					{/if $smarty.section.sec.rownum is div by 2/}
					  </tr>
					  <tr>
					{//if/}
				{//if/}
			  {//section/}
			  </tr>
			  {/if $tab1_display!=""/}
			  <tr><td colspan="4"><hr></td></tr>
			  {//if/}
			</table>
			<table width="100%" border="0" align="center">
			  <tr>
			  {/section name=sec loop=$tab2_array/}
			  	{/if $tab2_array[sec].single_row==true/}
					{/if $smarty.section.sec.rownum%2==0 /}
					<td>&nbsp;</td><td>&nbsp;</td>
			 		 </tr>
					 <tr>
					{//if/}
				<td width="12%" height="28"><div align="center">{/$tab2_array[sec].display_name/}：</div></td>
				<td colspan="3"><input name="{/$tab2_array[sec].field_name/}" type="{/$tab2_array[sec].display_type/}" size="{/$tab2_array[sec].display_width/}" value="{/$tab2_array[sec].field_value/}" {/$tab2_array[sec].is_readonly/} {/$tab2_array[sec].field_type/}>{/$tab2_array[sec].select_array/}</td>
			  </tr>
				{/else/}
				<td width="12%" height="28"><div align="center">{/$tab2_array[sec].display_name/}：</div></td>
				<td width="38%"><input name="{/$tab2_array[sec].field_name/}" type="{/$tab2_array[sec].display_type/}" size="{/$tab2_array[sec].display_width/}" value="{/$tab2_array[sec].field_value/}" {/$tab2_array[sec].is_readonly/} {/$tab2_array[sec].field_type/}>{/$tab2_array[sec].select_array/}</td>
				{/if $smarty.section.sec.rownum is div by 2/}
			  </tr>
			  <tr>
			  	{//if/}
				{//if/}
			  {//section/}
			  </tr>
			  {/if $tab2_display!=""/}
			  <tr><td colspan="4"><hr></td></tr>
			  {//if/}
			</table>
			<table width="100%" border="0" align="center">
			  <tr>
			  {/section name=sec loop=$tab3_array/}
			  	{/if $tab3_array[sec].single_row==true/}
					{/if $smarty.section.sec.rownum%2==0 /}
					<td>&nbsp;</td><td>&nbsp;</td>
			 		 </tr>
					 <tr>
					{//if/}
				<td width="12%" height="28"><div align="center">{/$tab3_array[sec].display_name/}：</div></td>
				<td colspan="3"><input name="{/$tab3_array[sec].field_name/}" type="{/$tab3_array[sec].display_type/}" size="{/$tab3_array[sec].display_width/}" value="{/$tab3_array[sec].field_value/}" {/$tab3_array[sec].is_readonly/} {/$tab3_array[sec].field_type/}>{/$tab3_array[sec].select_array/}</td>
			  </tr>
				{/else/}
				<td width="12%" height="28"><div align="center">{/$tab3_array[sec].display_name/}：</div></td>
				<td width="38%"><input name="{/$tab3_array[sec].field_name/}" type="{/$tab3_array[sec].display_type/}" size="{/$tab3_array[sec].display_width/}" value="{/$tab3_array[sec].field_value/}" {/$tab3_array[sec].is_readonly/} {/$tab3_array[sec].field_type/}>{/$tab3_array[sec].select_array/}</td>
				{/if $smarty.section.sec.rownum is div by 2/}
			  </tr>
			  <tr>
			  	{//if/}
				{//if/}
			  {//section/}
			  </tr>
			  {/if $tab3_display!=""/}
			  <tr><td colspan="4"><hr></td></tr>
			  {//if/}
			</table>
			<table width="100%" border="0" align="center">
			  <tr>
			  {/section name=sec loop=$tab4_array/}
			  	{/if $tab4_array[sec].single_row==true/}
					{/if $smarty.section.sec.rownum%2==0 /}
					<td>&nbsp;</td><td>&nbsp;</td>
			 		 </tr>
					 <tr>
					{//if/}
				<td width="12%" height="28"><div align="center">{/$tab4_array[sec].display_name/}：</div></td>
				<td colspan="3"><input name="{/$tab4_array[sec].field_name/}" type="{/$tab4_array[sec].display_type/}" size="{/$tab4_array[sec].display_width/}" value="{/$tab4_array[sec].field_value/}" {/$tab4_array[sec].is_readonly/} {/$tab4_array[sec].field_type/}>{/$tab4_array[sec].select_array/}</td>
			  </tr>
				{/else/}
				<td width="12%" height="28"><div align="center">{/$tab4_array[sec].display_name/}：</div></td>
				<td width="38%"><input name="{/$tab4_array[sec].field_name/}" type="{/$tab4_array[sec].display_type/}" size="{/$tab4_array[sec].display_width/}" value="{/$tab4_array[sec].field_value/}" {/$tab4_array[sec].is_readonly/} {/$tab4_array[sec].field_type/}>{/$tab4_array[sec].select_array/}</td>
				{/if $smarty.section.sec.rownum is div by 2/}
			  </tr>
			  <tr>
			  	{//if/}
				{//if/}
			  {//section/}
			  </tr>
			  {/if $tab4_display!=""/}
			  <tr><td colspan="4"><hr></td></tr>
			  {//if/}
			</table>
		</td>
		</tr>
	  </table>
	  </div>
	</td>
	</tr>
	<tr valign="top">
      <td height="35" valign="middle"><div align="center"><input type="hidden" name="changed">
		  <input class="INPUT_BUTTON" type="submit" name="add_confirm" value=" 增加 "  onclick="{/$judgement/}if(confirm('确定要增加该资料吗？')) return true; else return false;" {/$add_disabled/}>
&nbsp;
<input class="INPUT_BUTTON" type="submit" name="update_confirm" value=" 修改 "  onclick="{/$judgement/}if(confirm('确定要修改该资料吗？')) return true; else return false;" {/$update_disabled/}>
&nbsp;
<input class="INPUT_BUTTON" type="submit" name="copy_confirm" value=" 复制 "  onclick="{/$judgement/}if(confirm('确定要复制该资料吗？')) return true; else return false;" {/$copy_disabled/}>
&nbsp;
<input class="INPUT_BUTTON" type="submit" name="delete_confirm" value=" 删除 "  onclick="if(confirm('确定要删除该资料吗？')) return true; else return false;" {/$delete_disabled/}>
&nbsp;
<input class="INPUT_BUTTON" type="button" name="inport_confirm2" value=" 导入 "  onClick="showInportWindow('{/$table_name/}','{/$module_name/}')">
&nbsp;
<input class="INPUT_BUTTON" type="button" name="cancel" value=" 取消 " onClick="self.close()">
</div></td>
    </tr>
  </table>
</form>
</BODY>
</HTML>