<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<title>信息添加编辑</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="template/default/content/css/style.css">

</head>
<body class="bodycolor">
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="0" class="small">
  <tr>
    <td class="Big"><img src="template/default/content/images/notify_new.gif" align="absmiddle"><span class="big3"> 印鉴信息<?php echo $_title['name']?></span>&nbsp;&nbsp;&nbsp;&nbsp;
	<span style="font-size:12px; float:right;margin-right:20px;">
	
	<a href="admin.php?ac=<?php echo $ac?>&fileurl=<?php echo $fileurl?>" style="font-size:12px;"><<返回列表页</a></span>
    </td>
  </tr>
</table>
<script Language="JavaScript"> 
function CheckForm()
{
   if(document.save.title.value=="")
   { alert("印鉴不能为空！");
     document.save.title.focus();
     return (false);
   }
   if(document.save.sealurl.value=="")
   { alert("印鉴不能为空！");
     document.save.sealurl.focus();
     return (false);
   }
   
   return true;
}
function sendForm()
{
   if(CheckForm())
      document.save.submit();
}
function notk_word(){
	   mytop=(screen.availHeight-600)/2;
	   myleft=(screen.availWidth-1002)/2;
	   window.open("ntko/seal/index.php?uname=<?php echo get_realname($_USER->id)?>&cname=<?php echo $_CONFIG->config_data('name')?>","","height=600,width=1002,status=0,toolbar=no,menubar=no,location=no,scrollbars=yes,top="+mytop+",left="+myleft+",resizable=yes");
	}
</script>
<form name="save" method="post" action="?ac=<?php echo $ac?>&fileurl=<?php echo $fileurl?>&do=add">
<input type="hidden" name="view" value="edit" />
	<input type="hidden" name="id" value="<?php echo $user['id']?>" />
 <table class="TableBlock" border="0" width="90%" align="center">
  	<tr>
  		<td nowrap class="TableContent" width="120">印鉴名称：<? get_helps()?></td>
  	  <td class="TableData">
  	  	<input type="text" class="BigInput" name="sealtitle" value="<?php echo $user['sealtitle']?>" size=30 >  	  </td>  	  	
	</tr>
	
	<tr>
  		<td nowrap class="TableContent" width="120">上传印鉴：<? get_helps()?></td>
  	  <td class="TableData">
  	  	<?php echo public_upload('sealurl',$user['sealurl'])?>  	如果没有印鉴，请先制作印鉴(<a href="#" onClick="notk_word();">进入印鉴制作页面</a>)</td>  	  	
	</tr>
     
    <tr align="center" class="TableControl">
    	<td colspan="2" nowrap>
    	<input type="button" value="保存" class="BigButtonBHover" onClick="sendForm();">&nbsp;	    </td>
  </tr>
 </table>
  
</form>

 
</body>
</html>
