<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">
<link href="../images/default/deeptree.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 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>
<script>
	function check_parent(check_id,this_value){
		if(this_value==check_id){
			alert("选择错误：不能选择自己的！");
		}
	}
	</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/}">
  <table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr valign="bottom">
      <td height="50" valign="middle">
        <div align="center" class="style1 style2">
			{/$title/}
	    </div></td>
    </tr>
	{/section name=sec loop=$admin_array/}
    <tr>
        <td><div align="center">
           {/$admin_array[sec].display_name/}： <input name="{/$admin_array[sec].field_name/}" type="{/$admin_array[sec].display_type/}" size="{/$admin_array[sec].display_width/}" value="{/$admin_array[sec].field_value/}" {/$admin_array[sec].is_readonly/} {/$admin_array[sec].field_type/}>{/$admin_array[sec].select_array/}
		</div></td>
	</tr>
	{//section/}
	<tr height="60%">
        <td>
			<table width="55%" height="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
			  <tr>
				<td width="35%" valign="top">
					<div id="Layer1" style="position:absolute; width:120px; height:270px; z-index:1; top: 180px; left: 180px; background-color:#CCCCCC; overflow: auto;">
						<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr height="30"><td><div align="center"><strong><font color="#0000FF">待选择列表</font></strong></div></td></tr>
							{/section name=sec loop=$unselected_array/}
							<tr id="unselected_{/$unselected_array[sec].auto_id/}" onDblClick="javascript:document.all['unselected_{/$unselected_array[sec].auto_id/}'].style.display = 'none';document.all['selected_{/$unselected_array[sec].auto_id/}'].style.display = '';document.all['checked_{/$unselected_array[sec].auto_id/}'].value='{/$unselected_array[sec].name/}';" {/if $unselected_array[sec].display=="false"/} style="display:none " {//if/}>
								<td  height="20" style="cursor:hand ">
								<div>
								   &nbsp;&nbsp;{/$unselected_array[sec].name/}
								</div>
								</td>
							</tr>
							{//section/}
						</table>
				  </div>
				</td>
				<td width="30%" >
					<div align="center">
					双击选择/取消选择
					</div>
				</td>
				<td width="35%" valign="top">
					<div id="Layer2" style="position:absolute; width:120px; height:270px; z-index:1; top: 180px; left: 440px; background-color:#CCCCCC; overflow: auto;">
						<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr height="30"><td><div align="center"><strong><font color="#0000FF">已选择列表</font></strong></div></td></tr>
							{/section name=sec loop=$selected_array/}
							<tr id="selected_{/$selected_array[sec].auto_id/}" onDblClick="javascript:document.all['selected_{/$selected_array[sec].auto_id/}'].style.display = 'none';document.all['unselected_{/$selected_array[sec].auto_id/}'].style.display = '';document.all['checked_{/$selected_array[sec].auto_id/}'].value='';" {/if $selected_array[sec].display=="false"/} style="display:none " {//if/}>
								<td  height="20" style="cursor:hand ">
								<div>
								   &nbsp;&nbsp;{/$selected_array[sec].name/}<input name="select[]" id="checked_{/$selected_array[sec].auto_id/}" type="hidden" value="{/$selected_array[sec].value/}">
								</div>
								</td>
							</tr>
							{//section/}
						</table>
				  </div>
				</td>
			  </tr>
		  </table>
		</td>
	</tr>
    <tr valign="top">
      <td height="35"><div align="center">
        <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="cancel" value=" 取消 " onClick="self.close()">
      </div></td>
    </tr>
  </table>
</form>
</BODY>
</HTML>