<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添加用户</title>
</head>
<style>
<!--
.table {
border: thin dashed #6699CC;
font-size: 9pt;
text-decoration: none;
}
.box {
border: 1pt solid #CCCCCC;
}
-->
</style>
<body><%if session("user")=""then
response.Redirect"login.asp"
end if
%>
<script>
        <!--
function validateform()
{
if (document.txl.corp.value=="")
{
window.alert ("请输入企业名称!");
return false;
}
if (document.txl.linkman.value=="");
{
window.alert ("请输入联系人!");
return false;
}
if (document.txl.CFO.value=="")
{
window.alert ("请输入财务主管!");
return false;
}
if (document.txl.type1.value=="")
{
window.alert ("请输入类型!");
return false;
}
if (document.txl.money1.value=="")
{
window.alert ("请输入金额!");
return false;
}
  if (document.txl.mail.value=="")
{
window.alert ("请输入e-mail!");
return false;
}
  if (document.txl.date1.value=="")
{
window.alert ("请输入签约时间!");
return false;
}
  if (document.txl.user.value=="")
{
window.alert ("请输入用户名!");
return false;
}
  if (document.txl.re.value=="")
{
window.alert ("请输入备注!");
return false;
}
}
        //-->
        </script>
<form  method="POST" action="addregist.asp" name="txl" onSubmit="return validateform( this.form )">
<table width="579" height="473" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" class="table">
  <tr>
    <td width="99" height="45"><div align="center">
        企业名称</div></td>
    <td width="480"><input name="corp" type="text" class="box" id="corp" size="30" maxlength="50">
    </td>
  </tr>
  <tr>
    <td><div align="center">联系人</div></td>
    <td><input name="linkman" type="text" class="box" id="linkman" size="11" maxlength="8"></td>
  </tr>
  <tr>
    <td><div align="center">财务主管</div></td>
    <td><input name="CFO" type="text" class="box" id="CFO" size="11" maxlength="11"></td>
  </tr>
  <tr>
    <td height="41"><div align="center">类型</div></td>
    <td><input name="type1" type="text" class="box" id="type1"")" size="11" maxlength="10"></td>
  </tr>
  <tr>
    <td height="37"><div align="center">金额</div></td>
    <td><input name="money1" type="text" class="box" id="money1" size="11" maxlength="10"></td>
  </tr>
  <tr>
    <td height="38"><div align="center">mail:</div></td>
    <td><input name="mail" type="text" class="box" id="mail" size="20" maxlength="30"></td>
  </tr>
  <tr>
    <td><div align="center">签约时间:</div>          <div align="center"></div>    </td>
    <td><input name="date1" type="text" class="box" id="date1" size="10" maxlength="10"></td>
  </tr>
  <tr>
    <td height="47"><div align="center">用户名:</div></td>
    <td><input name="user" type="text" class="box" id="user" size="11" maxlength="10">
    </td>
  </tr>
  <tr>
    <td><div align="center">其他:</div></td>
    <td><textarea name="re" cols="50" rows="6" wrap="VIRTUAL" class="box" id="re"></textarea></td>
  </tr>
  <tr>
    <td colspan="2"><div align="center">
      <input name="Submit" type="submit" class="box" value="提交">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input name="Submit" type="reset" class="box" value="重置">
</div></td>
  </tr>
</table>
</form></body>
</html>