lead.jsp
上传用户:huijianzhu
上传日期:2009-11-25
资源大小:9825k
文件大小:8k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ page language="java" pageEncoding="GB2312" contentType="text/html;charset=GB2312" %>
  2. <%@ include file="/common/taglibs.jsp"%>
  3. <SCRIPT LANGUAGE="JavaScript" src='<c:url value="/scripts/_js.js"/>'></SCRIPT>
  4. <script language="javascript">
  5. <!--
  6. function checkForm(form){
  7. name_returnStr = XN_CheckNull(form.name.value)  ;
  8. if (name_returnStr != Validationstr){  //不能为空
  9. XN_alert(er+"姓名"+name_returnStr);
  10. form.name.focus();
  11. return false;
  12. }
  13. email_returnStr = XN_CheckEmail(form.email.value)  ;
  14. if (email_returnStr != Validationstr){  //不能为空
  15. XN_alert(er+"邮箱"+email_returnStr);
  16. form.email.focus();
  17. return false;
  18. }
  19. title_returnStr = XN_CheckNull(form.title.value);
  20. if (title_returnStr != Validationstr){   //最大长度
  21. XN_alert(er+"标题" + title_returnStr);
  22. form.title.focus();
  23. return false ;
  24. }
  25. content_returnStr = XN_CheckNull(form.content.value);
  26. if (content_returnStr != Validationstr){   //最大长度
  27. XN_alert(er+"内容" + content_returnStr);
  28. form.content.focus();
  29. return false ;
  30. }
  31. }
  32. -->
  33. </script>
  34. <table width="680" border="0" align="center" cellpadding="00" cellspacing="0" bgcolor="#FFFFFF">
  35.   <tr>
  36.     <td>&nbsp;</td>
  37.   </tr>
  38.   <tr>
  39.     <td style="padding-left:15px">您的位置: 首页--领导信箱</td>
  40.   </tr>
  41.   <tr>
  42.     <td>&nbsp;</td>
  43.   </tr>
  44. </table>
  45. <table width="680" border="0" align="center" cellpadding="00" cellspacing="0" bgcolor="#FFFFFF">
  46.   <tr> 
  47.     <td width="280" height="270" valign="middle"> 
  48.       <table width="280" border="0" align="left" cellpadding="00" cellspacing="0" bgcolor="#FFFFFF">
  49.         <tr>
  50.           <td width="280" height="200" align="right" valign="middle" bgcolor="#FFFFFF" style="padding-right:15px"> 
  51.             <table width="109" height="141" border="0" cellpadding="00" cellspacing="0" background="images/blue-tt.gif">
  52.               <tr> 
  53.                 <td width="3" height="3"></td>
  54.                 <td height="3"></td>
  55.                 <td width="3" height="3"></td>
  56.               </tr>
  57.               <tr> 
  58.                 <td width="3"></td>
  59.                 <td width="103" height="140" align="center" valign="middle" bgcolor="#FFFFFF"><c:if test="${lead.havefile == 1}"><img src='<c:url value="${lead.photo}" />' onLoad="if (this.width>101 || this.height>138){if(this.width*138<this.height*101){this.height=138;}else{this.width=101}}" alt='<c:out value="${lead.duty}" /> <c:out value="${lead.name}" />'></c:if><c:if test="${lead.havefile != 1}" ><img src='<c:url value="/images/photo.jpg" />' /></c:if></td>
  60.                 <td width="3"></td>
  61.               </tr>
  62.               <tr> 
  63.                 <td width="3" height="3"></td>
  64.                 <td height="3"></td>
  65.                 <td width="3" height="3"></td>
  66.               </tr>
  67.             </table>
  68. <span class="greycuti" ><c:out value="${lead.duty}" /> <c:out value="${lead.name}" /></span>
  69.           </td>
  70.         </tr>
  71.         <tr>
  72.           <td height="77" align="right" valign="top" > 
  73.            
  74.             <table width="280" border="0" cellpadding="00" cellspacing="0">
  75.               <tr> 
  76.                 <td height="1" class="dfgk-tmline"></td>
  77.               </tr>
  78.               <tr> 
  79.                 <td valign="top"> <table width="280" border="0" cellpadding="00" cellspacing="0" bgcolor="#FFFFFF">
  80.                     <tr> 
  81.                       <td><table width="280" height="25" border="0" cellpadding="00" cellspacing="0">
  82.                           <tr> 
  83.                             <td align="right" class="bluecuti">我的简介</td>
  84.                             <td width="13"><img src="images/dfgk_jtou.gif" width="13" height="12"></td>
  85.                             <td width="15">&nbsp;</td>
  86.                           </tr>
  87.                         </table></td>
  88.                     </tr>
  89.                     <tr> 
  90.                       <td align="right" style="padding-right:18px"><c:out value="${lead.resume}" escapeXml="flase"/></td>
  91.                     </tr>
  92.                   </table>
  93.                 </td>
  94.               </tr>
  95.               <tr> 
  96.                 <td height="1" class="dfgk-tmline"></td>
  97.               </tr>
  98.               <tr> 
  99.                 <td valign="top" bgcolor="#FFFFFF"><table width="280" border="0" cellpadding="00" cellspacing="0" bgcolor="#FFFFFF">
  100.                     <tr> 
  101.                       <td><table width="280" height="25" border="0" cellpadding="00" cellspacing="0">
  102.                           <tr> 
  103.                             <td align="right" class="bluecuti">我的分工</td>
  104.                             <td width="13"><img src="images/dfgk_jtou.gif" width="13" height="12"></td>
  105.                             <td width="15">&nbsp;</td>
  106.                           </tr>
  107.                         </table></td>
  108.                     </tr>
  109.                     <tr> 
  110.                       <td height="20" align="right" style="padding-right:18px"><c:out value="${lead.job}" escapeXml="flase"/></td>
  111.                     </tr>
  112.                   </table> </td>
  113.               </tr>
  114.             </table> </td>
  115.         </tr>
  116.       </table> </td>
  117.     <td width="1" background="images/shuxian.jpg"></td>
  118.     <td width="399" valign="middle" bgcolor="#FFFFFF"><table width="399" border="0" align="center" cellpadding="00" cellspacing="0">
  119. <html:form action="/leadSend.html" enctype="multipart/form-data"  onsubmit="return checkForm(this);">
  120. <input type="hidden" name="method" value="send" />
  121. <input type="hidden" name="toemail" value='<c:out value="${lead.email}" />' />
  122. <input type="hidden" name="leadid" value='<c:out value="${lead.id}"/>' />
  123.         <tr> 
  124.           <td width="120" align="right">* 收信人姓名:</td>
  125.           <td><input name="leadname" type="text" value='<c:out value="${lead.name}" />' readonly/></td>
  126.         </tr>
  127.         <tr> 
  128.           <td width="120" align="right">* 发信人姓名:</td>
  129.           <td><input type="text" name="name"></td>
  130.         </tr>
  131.         <tr> 
  132.           <td width="120" align="right">* E-Mail:</td>
  133.           <td><input type="text" name="email"></td>
  134.         </tr>
  135.         <tr> 
  136.           <td width="120" align="right">电 话:</td>
  137.           <td><input type="text" name="photo"></td>
  138.         </tr>
  139.         <tr> 
  140.           <td width="120" align="right">联系地址:</td>
  141.           <td><input type="text" name="address"></td>
  142.         </tr>
  143.         <tr> 
  144.           <td width="120" align="right">邮政编码:</td>
  145.           <td><input type="text" name="post"></td>
  146.         </tr>
  147.         <tr> 
  148.           <td width="120" align="right">* 标 题:</td>
  149.           <td><input type="text" name="title"></td>
  150.         </tr>
  151.         <tr> 
  152.           <td width="120" align="right" valign="top">* 正 文:</td>
  153.           <td><textarea name="content" cols="40" rows="8"></textarea></td>
  154.         </tr>
  155.         <tr> 
  156.           <td width="120" align="right"></td>
  157.           <td><input type="submit" name="Submit" value="重置"> <input type="submit" name="Submit2" value="提交"></td>
  158.         </tr>
  159. </html:form>
  160.       </table> </td>
  161.   </tr>
  162. </table>
  163. <table width="680" border="0" align="center" cellpadding="00" cellspacing="0" bgcolor="#FFFFFF">
  164.   <tr> 
  165.     <td width="579" height="1" align="center" class="dfgk-tmline"></td>
  166.     <td width="1" align="center" class="dfgk-tmline"></td>
  167.     <td width="100" align="center" class="dfgk-tmline"></td>
  168.   </tr>
  169.   <tr> 
  170.     <td width="579" height="35"  class="fontbold"> <table width="579" border="0" cellspacing="0" cellpadding="00">
  171.         <tr> 
  172.           <td width="20">&nbsp;</td>
  173.           <td width="80"><span class="greycuti">我的同事</span>:</td>
  174.           <td><c:forEach var="xn" items="${leadList}"><c:if test="${xn.id != lead.id}"><a href='<c:url value="/lead.html" ><c:param name="id" value="${xn.id}" /></c:url>' class="fontBold"><c:out value="${xn.name}" /></a> </c:if></c:forEach></td>
  175.         </tr>
  176.       </table> </td>
  177.     <td width="1" background="images/shuxian.jpg"></td>
  178.     <td width="100" align="right" class="fontbold" style="padding-right:18px"><c:forEach var="xn" items="${leadsortList}" ><c:if test="${lead.parentid != xn.id}" ><a href='<c:url value="/lead.html" ><c:param name="parentid" value="${xn.id}" /></c:url>' class="fontBold"><c:out value="${xn.leadappellation}" /></a> </c:if></c:forEach></td>
  179.   </tr>
  180. </table>