- <%@ page contentType="text/html; charset=gb2312"%>
- <html><%java.util.Date date=new java.util.Date();%>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>添加联系人信息</title>
- <style type="text/css">
- <!--
- body {
- background-color: #000000;
- margin-left: 0px;
- margin-top: 0px;
- }
- td{
- font-size:9pt;
- }
- .style1 {font-size: 11pt}
- -->
- </style></head>
- <script language="JavaScript">
- function RgTest(){
- if(document.form.id.value==""){
- window.alert("请输入联系人编号");
- return false;
- }
- if(document.form.xm.value==""){
- window.alert("请输入联系人姓名");
- return false;
- }
- if(document.form.sex.value==""){
- window.alert("请输入联系人性别");
- return false;
- }
- if(document.form.age.value==""){
- window.alert("请输入联系人年龄");
- return false;
- }
- if(document.form.profession.value==""){
- window.alert("请输入联系人职业");
- return false;
- }
- if(document.form.tel.value==""){
- window.alert("请输入联系人办公电话");
- return false;
- }
- if(document.form.email.value==""){
- window.alert("请输入联系人电子邮件");
- return false;
- }
- if(document.form.sj.value==""){
- window.alert("请输入联系人手机");
- return false;
- }
- if(document.form.kh.value==""){
- window.alert("请输入是否客户联系人");
- return false;
- }
- if(document.form.bz.value==""){
- window.alert("请输入客户备注信息");
- return false;
- }
- if(document.form.grjj.value==""){
- window.alert("请输入个人简介");
- return false;
- }
- return true;
- }
- </script>
- <body>
- <table width="579" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <tr>
- <td> </td>
- </tr>
- </table>
- <table width="579" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="left" valign="top" bgcolor="#FFFFFF"> <table width="579" height="487" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="left" valign="top" bgcolor="#FFFFFF"><table width="579" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="2%" height="28"> </td>
- <td width="9%" background="images/circle.jpg"> </td>
- <td width="89%" bgcolor="#FFFFFF"><span class="style1">添加联系人信息</span></td>
- </tr>
- <tr style="line-height:2px">
- <td width="2%" height="5"> </td>
- <td height="5" colspan="2" bgcolor="#D4D0C8"> </td>
- </tr>
- <tr align="center" valign="top" bgcolor="#FFFFFF">
- <td height="454" colspan="3">
- <p> </p>
- <form name="form" method="post" action="lxrxxInsert.do?user=<%=request.getParameter("manager")%>" onSubmit="return RgTest()">
- <table width="95%" border="1" cellspacing="0" cellpadding="0">
- <tr>
- <td width="12%" height="22" bgcolor="#FFCC00">联系人编号</td>
- <td width="41%"><div align="center">
- <input type="hidden" name="id" value="LXR-<%=request.getAttribute("countID")%>">LXR-<%=request.getAttribute("countID")%>
- </div></td>
- <td width="13%" bgcolor="#FFCC00">企业名称</td>
- <td width="34%"><div align="center"><input type="text" name="mc"></div></td>
- </tr>
- <tr>
- <td height="22" width="12%" bgcolor="#FFCC00">联系人姓名</td>
- <td width="41%" ><div align="center"><input type="text" name="xm"></div></td>
- <td width="13%" bgcolor="#FFCC00">联系人性别</td>
- <td width="34%" ><div align="center">
- <select name="sex">
- <option></option>
- <option value="男">男</option>
- <option value="女">女</option>
- </select>
- </div></td>
- </tr>
- <tr>
- <td height="22" width="12%" bgcolor="#FFCC00">出生年月</td>
- <td width="41%" ><div align="center">
- <select name="year">
- <option value=""></option>
- <%for(int i=1960;i<date.getYear()+1900;i++){%>
- <option><%=i%></option>
- <%}%>
- </select>
- 年
- <select name="month">
- <option></option>
- <%for(int i=1;i<13;i++){%>
- <option><%=i%></option>
- <%}%>
- </select>
- 月
- <select name="date">
- <option></option>
- <%for(int i=1;i<32;i++){%>
- <option><%=i%></option>
- <%}%>
- </select>
- 日
- </div></td>
- <td width="13%" bgcolor="#FFCC00">联系人年龄</td>
- <td width="34%" ><div align="center"><input type="text" name="age"></div></td>
- </tr>
- <tr>
- <td height="22" width="12%" bgcolor="#FFCC00">联系人职位</td>
- <td width="41%" ><div align="center"><input type="text" name="profession"></div></td>
- <td width="13%" bgcolor="#FFCC00">联系人办公电话</td>
- <td width="34%" ><div align="center"><input type="text" name="tel"></div></td>
- </tr>
- <tr>
- <td height="22" width="12%" bgcolor="#FFCC00">联系人电子邮件</td>
- <td width="41%" ><div align="center"><input type="text" name="email"></div></td>
- <td width="13%" bgcolor="#FFCC00">联系人手机</td>
- <td width="34%" ><div align="center"><input type="text" name="sj"></div></td>
- </tr>
- <tr>
- <td height="22" width="12%" bgcolor="#FFCC00">登记日期</td>
- <td width="41%" ><div align="center">
- <input type="hidden" name="djrq" value="<%=date.getYear()+1900%>年<%=date.getMonth()+1%>月<%=date.getDate()%>日"><%=date.getYear()+1900%>年<%=date.getMonth()+1%>月<%=date.getDate()%>日
- </div></td>
- <td width="13%" bgcolor="#FFCC00">信息登记人</td>
- <td width="34%" ><div align="center"><input type="hidden" name="manager" value="<%=request.getParameter("manager")%>"><%=request.getParameter("manager")%></div></td>
- </tr>
- <tr>
- <td height="22" width="12%" bgcolor="#FFCC00">是否客户联系人</td>
- <td width="41%" ><div align="center">
- <select name="kh">
- <option></option>
- <option value="是">是</option>
- <option value="否">否</option>
- </select></div></td>
- <td width="13%" bgcolor="#FFCC00">备注</td>
- <td width="34%" ><div align="center"><input type="text" name="bz" value="无"></div></td>
- </tr>
- </table>
- <table width="95%" border="1" cellspacing="0" cellpadding="0">
- <tr>
- <td height="31" bgcolor="#FFCC00">个人简介</td>
- </tr>
- </table>
- <table width="94%" height="91" border="1" cellpadding="0" cellspacing="0">
- <tr>
- <td height="89"><div align="center"><textarea name="grjj" cols="75" rows="12" id="grjj"></textarea></div></td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td> </td>
- </tr>
- </table>
- <p>
- <input type="submit" name="Submit2" value="提交">
-
- <input type="reset" name="Submit" value="重置">
- </p>
- </form> <p> </p></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </body>
- </html>