<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/}">
  <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: 53px; overflow: auto;">
		<table width="100%">
			<tr>
			<td>
				<table width="100%" border="0" align="center">
				  <tr>
				  {/section name=sec loop=$tab1_array/}
					<td width="12%" height="23"><div align="center"><strong>{/$tab1_array[sec].display_name/}：</strong></div></td>
					<td width="38%">{/$tab1_array[sec].field_value/}</td>
				  {/if $smarty.section.sec.rownum is div by 2 /}
				  </tr>
				  <tr>
				  {//if/}
				  {//section/}
				  </tr>
				  {/if $tab1_display!=""/}
				  <tr><td colspan="4"><hr></td></tr>
				  {//if/}
				</table>
				<table>
					<tr>
						<td height="32" width="80" onClick="if(document.all('relation_table_1').style.display=='none'){document.all('relation_table_1').style.display=''; document.all('img1').src='../images/default/main/hide.gif';}else{ document.all('relation_table_1').style.display='none'; document.all('img1').src='../images/default/main/display.gif';}"><font color="red"><strong>&nbsp;联 系 人</strong></font><img name="img1" src="../images/default/main/hide.gif"></td>
						<td {/$add_relation_action_1/}><img src="../images/default/main/add.gif" alt="增加联系人"></td>
					</tr>
				</table>
				<TABLE id="relation_table_1" width="100%" border=1 align="center" cellpadding=0 cellspacing=0>
				  <tr>
					 {/section name=sec loop=$relation_top_list_1/}
					  <td height="23" width="{/$relation_top_list_1[sec].width/}"><div align="center"><strong>{/$relation_top_list_1[sec].display/}</strong></div></td>
					 {//section/}
				  </tr>
				  {/section name=row loop=$relation_array_1/}
				  <tr>
					  {/section name=sec loop=$relation_array_1[row].list/}
					  <td height="23" width="{/$relation_array_1[row].list[sec].width/}" {/$relation_array_1[row].list[sec].action/}><div align="center">{/$relation_array_1[row].list[sec].display/}</div></td>
					  {//section/}
				  </tr>
				  {//section/}
				</TABLE>
				<table>
					<tr>
						<td height="32" width="80" onClick="if(document.all('relation_table_5').style.display=='none'){document.all('relation_table_5').style.display=''; document.all('img5').src='../images/default/main/hide.gif';}else{ document.all('relation_table_5').style.display='none'; document.all('img5').src='../images/default/main/display.gif';}"><font color="red"><strong>&nbsp;联系信息</strong></font><img name="img5" src="../images/default/main/hide.gif"></td>
						<td {/$add_relation_action_5/}><img src="../images/default/main/add.gif" alt="增加客户服务"></td>
					</tr>
				</table>
				<TABLE id="relation_table_5" width="100%" border=1 align="center" cellpadding=0 cellspacing=0>
				  <tr>
					 {/section name=sec loop=$relation_top_list_5/}
					  <td height="23" width="{/$relation_top_list_5[sec].width/}"><div align="center"><strong>{/$relation_top_list_5[sec].display/}</strong></div></td>
					 {//section/}
				  </tr>
				  {/section name=row loop=$relation_array_5/}
				  <tr>
					  {/section name=sec loop=$relation_array_5[row].list/}
					  <td height="23" width="{/$relation_array_5[row].list[sec].width/}" {/$relation_array_5[row].list[sec].action/}><div align="center">{/$relation_array_5[row].list[sec].display/}</div></td>
					  {//section/}
				  </tr>
				  {//section/}
				</TABLE>
				<table>
					<tr>
						<td height="32" width="80" onClick="if(document.all('relation_table_2').style.display=='none'){document.all('relation_table_2').style.display=''; document.all('img2').src='../images/default/main/hide.gif';}else{ document.all('relation_table_2').style.display='none'; document.all('img2').src='../images/default/main/display.gif';}"><font color="red"><strong>&nbsp;客户商机</strong></font><img name="img2" src="../images/default/main/hide.gif"></td>
						<td {/$add_relation_action_2/}><img src="../images/default/main/add.gif" alt="增加客户商机"></td>
					</tr>
				</table>
				<TABLE id="relation_table_2" width="100%" border=1 align="center" cellpadding=0 cellspacing=0>
				  <tr>
					 {/section name=sec loop=$relation_top_list_2/}
					  <td height="23" width="{/$relation_top_list_2[sec].width/}"><div align="center"><strong>{/$relation_top_list_2[sec].display/}</strong></div></td>
					 {//section/}
				  </tr>
				  {/section name=row loop=$relation_array_2/}
				  <tr>
					  {/section name=sec loop=$relation_array_2[row].list/}
					  <td height="23" width="{/$relation_array_2[row].list[sec].width/}" {/$relation_array_2[row].list[sec].action/}><div align="center">{/$relation_array_2[row].list[sec].display/}</div></td>
					  {//section/}
				  </tr>
				  {//section/}
				</TABLE>
				<table>
					<tr>
						<td height="32" width="80" onClick="if(document.all('relation_table_3').style.display=='none'){document.all('relation_table_3').style.display=''; document.all('img3').src='../images/default/main/hide.gif';}else{ document.all('relation_table_3').style.display='none'; document.all('img3').src='../images/default/main/display.gif';}"><font color="red"><strong>&nbsp;客户服务</strong></font><img name="img3" src="../images/default/main/hide.gif"></td>
						<td {/$add_relation_action_3/}><img src="../images/default/main/add.gif" alt="增加客户服务"></td>
					</tr>
				</table>
				<TABLE id="relation_table_3" width="100%" border=1 align="center" cellpadding=0 cellspacing=0>
				  <tr>
					 {/section name=sec loop=$relation_top_list_3/}
					  <td height="23" width="{/$relation_top_list_3[sec].width/}"><div align="center"><strong>{/$relation_top_list_3[sec].display/}</strong></div></td>
					 {//section/}
				  </tr>
				  {/section name=row loop=$relation_array_3/}
				  <tr>
					  {/section name=sec loop=$relation_array_3[row].list/}
					  <td height="23" width="{/$relation_array_3[row].list[sec].width/}" {/$relation_array_3[row].list[sec].action/}><div align="center">{/$relation_array_3[row].list[sec].display/}</div></td>
					  {//section/}
				  </tr>
				  {//section/}
				</TABLE>
				<table>
					<tr>
						<td height="32" width="80" onClick="if(document.all('relation_table_4').style.display=='none'){document.all('relation_table_4').style.display=''; document.all('img4').src='../images/default/main/hide.gif';}else{ document.all('relation_table_4').style.display='none'; document.all('img4').src='../images/default/main/display.gif';}"><font color="red"><strong>&nbsp;合同文档</strong></font><img name="img4" src="../images/default/main/hide.gif"></td>
						<td {/$add_relation_action_4/}><img src="../images/default/main/add.gif" alt="增加合同文档"></td>
					</tr>
				</table>
				<TABLE id="relation_table_4" width="100%" border=1 align="center" cellpadding=0 cellspacing=0>
				  <tr>
					 {/section name=sec loop=$relation_top_list_4/}
					  <td height="23" width="{/$relation_top_list_4[sec].width/}"><div align="center"><strong>{/$relation_top_list_4[sec].display/}</strong></div></td>
					 {//section/}
				  </tr>
				  {/section name=row loop=$relation_array_4/}
				  <tr>
					  {/section name=sec loop=$relation_array_4[row].list/}
					  <td height="23" width="{/$relation_array_4[row].list[sec].width/}" {/$relation_array_4[row].list[sec].action/}><div align="center">{/$relation_array_4[row].list[sec].display/}</div></td>
					  {//section/}
				  </tr>
				  {//section/}
				</TABLE>
				<TABLE width="100%" border=0 align="center" cellpadding=0 cellspacing=0>
				  <tr><td colspan="15"><hr></td></tr>
				</TABLE>
				<table width="100%" border="0" align="center">
				  <tr>
				  {/section name=sec loop=$tab2_array/}
					<td width="12%" height="30"><div align="center"><strong>{/$tab2_array[sec].display_name/}：</strong></div></td>
					<td width="88%">{/$tab2_array[sec].field_value/}</td>
				  <tr>
				  <tr><td colspan="2"><hr></td></tr>
				  {//section/}
				  </tr>
				</table>
				<table width="100%" border="0" align="center">
				  <tr>
				  {/section name=sec loop=$tab3_array/}
					<td width="12%" height="23"><div align="center"><strong>{/$tab3_array[sec].display_name/}：</strong></div></td>
					<td width="38%">{/$tab3_array[sec].field_value/}</td>
				  {/if $smarty.section.sec.rownum is div by 2 /}
				  </tr>
				  <tr>
				  {//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/}
					<td width="5%" height="23"><div align="center"><strong>{/$tab4_array[sec].display_name/}</strong></div></td>
					<td width="15%" >{/$tab4_array[sec].field_value/}</td>
				  {/if $smarty.section.sec.rownum is div by 5 /}
				  </tr>
				  <tr>
				  {//if/}
				  {//section/}
				  </tr>
				  {/if $tab4_display!=""/}
				  <tr><td colspan="10"><hr></td></tr>
				  {//if/}
				</table>
			</td>
			</tr>
		</table>
		</div>
	</td>
	</tr>
	<tr valign="top">
      <td height="35" valign="middle"><div align="center">
			<input name="update" type="submit" class="INPUT_BUTTON" value=" 修改资料 " {/$update_disabled/}>
			&nbsp;		  
			<input class="INPUT_BUTTON" type="button" name="cancel" value=" 关闭窗口 " onClick="self.close()">
      </div></td>
    </tr>
  </table>
</form>
</BODY>
</HTML>