<%@ page language="java" pageEncoding="GB2312" contentType="text/html;charset=GB2312" %>
<%@ include file="/common/taglibs.jsp"%>
<SCRIPT LANGUAGE="JavaScript" src='<c:url value="/scripts/_js.js"/>'></SCRIPT>
<script language="javascript">
<!--
function checkForm(form){
	name_returnStr = XN_CheckNull(form.name.value)  ;
	if (name_returnStr != Validationstr){  //不能为空
		XN_alert(er+"姓名"+name_returnStr);
		form.name.focus();
		return false;
	}
	email_returnStr = XN_CheckEmail(form.email.value)  ;
	if (email_returnStr != Validationstr){  //不能为空
		XN_alert(er+"邮箱"+email_returnStr);
		form.email.focus();
		return false;
	}	
	title_returnStr = XN_CheckNull(form.title.value);
	if (title_returnStr != Validationstr){   //最大长度
		XN_alert(er+"标题" + title_returnStr);
		form.title.focus();
		return false ;
	}	
	content_returnStr = XN_CheckNull(form.content.value);
	if (content_returnStr != Validationstr){   //最大长度
		XN_alert(er+"内容" + content_returnStr);
		form.content.focus();
		return false ;
	}	
}
-->
</script>
<table width="680" border="0" align="center" cellpadding="00" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td style="padding-left:15px">您的位置: 首页--领导信箱</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="680" border="0" align="center" cellpadding="00" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td width="280" height="270" valign="middle"> 
      <table width="280" border="0" align="left" cellpadding="00" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td width="280" height="200" align="right" valign="middle" bgcolor="#FFFFFF" style="padding-right:15px"> 
            <table width="109" height="141" border="0" cellpadding="00" cellspacing="0" background="images/blue-tt.gif">
              <tr> 
                <td width="3" height="3"></td>
                <td height="3"></td>
                <td width="3" height="3"></td>
              </tr>
              <tr> 
                <td width="3"></td>
                <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>
                <td width="3"></td>
              </tr>
              <tr> 
                <td width="3" height="3"></td>
                <td height="3"></td>
                <td width="3" height="3"></td>
              </tr>
            </table>
			<span class="greycuti" ><c:out value="${lead.duty}" /> <c:out value="${lead.name}" /></span>
          </td>
        </tr>
        <tr>
          <td height="77" align="right" valign="top" > 
           
            <table width="280" border="0" cellpadding="00" cellspacing="0">
              <tr> 
                <td height="1" class="dfgk-tmline"></td>
              </tr>
              <tr> 
                <td valign="top"> <table width="280" border="0" cellpadding="00" cellspacing="0" bgcolor="#FFFFFF">
                    <tr> 
                      <td><table width="280" height="25" border="0" cellpadding="00" cellspacing="0">
                          <tr> 
                            <td align="right" class="bluecuti">我的简介</td>
                            <td width="13"><img src="images/dfgk_jtou.gif" width="13" height="12"></td>
                            <td width="15">&nbsp;</td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td align="right" style="padding-right:18px"><c:out value="${lead.resume}" escapeXml="flase"/></td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr> 
                <td height="1" class="dfgk-tmline"></td>
              </tr>
              <tr> 
                <td valign="top" bgcolor="#FFFFFF"><table width="280" border="0" cellpadding="00" cellspacing="0" bgcolor="#FFFFFF">
                    <tr> 
                      <td><table width="280" height="25" border="0" cellpadding="00" cellspacing="0">
                          <tr> 
                            <td align="right" class="bluecuti">我的分工</td>
                            <td width="13"><img src="images/dfgk_jtou.gif" width="13" height="12"></td>
                            <td width="15">&nbsp;</td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td height="20" align="right" style="padding-right:18px"><c:out value="${lead.job}" escapeXml="flase"/></td>
                    </tr>
                  </table> </td>
              </tr>
            </table> </td>
        </tr>
      </table> </td>
    <td width="1" background="images/shuxian.jpg"></td>
    <td width="399" valign="middle" bgcolor="#FFFFFF"><table width="399" border="0" align="center" cellpadding="00" cellspacing="0">
	<html:form action="/leadSend.html" enctype="multipart/form-data"  onsubmit="return checkForm(this);">
	<input type="hidden" name="method" value="send" />
	<input type="hidden" name="toemail" value='<c:out value="${lead.email}" />' />
	<input type="hidden" name="leadid" value='<c:out value="${lead.id}"/>' />
        <tr> 
          <td width="120" align="right">* 收信人姓名：</td>
          <td><input name="leadname" type="text" value='<c:out value="${lead.name}" />' readonly/></td>
        </tr>
        <tr> 
          <td width="120" align="right">* 发信人姓名：</td>
          <td><input type="text" name="name"></td>
        </tr>
        <tr> 
          <td width="120" align="right">* E-Mail：</td>
          <td><input type="text" name="email"></td>
        </tr>
        <tr> 
          <td width="120" align="right">电 话：</td>
          <td><input type="text" name="photo"></td>
        </tr>
        <tr> 
          <td width="120" align="right">联系地址：</td>
          <td><input type="text" name="address"></td>
        </tr>
        <tr> 
          <td width="120" align="right">邮政编码：</td>
          <td><input type="text" name="post"></td>
        </tr>
        <tr> 
          <td width="120" align="right">* 标 题：</td>
          <td><input type="text" name="title"></td>
        </tr>
        <tr> 
          <td width="120" align="right" valign="top">* 正 文：</td>
          <td><textarea name="content" cols="40" rows="8"></textarea></td>
        </tr>
        <tr> 
          <td width="120" align="right"></td>
          <td><input type="submit" name="Submit" value="重置"> <input type="submit" name="Submit2" value="提交"></td>
        </tr>
	</html:form>
      </table> </td>
  </tr>
</table>
<table width="680" border="0" align="center" cellpadding="00" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td width="579" height="1" align="center" class="dfgk-tmline"></td>
    <td width="1" align="center" class="dfgk-tmline"></td>
    <td width="100" align="center" class="dfgk-tmline"></td>
  </tr>
  <tr> 
    <td width="579" height="35"  class="fontbold"> <table width="579" border="0" cellspacing="0" cellpadding="00">
        <tr> 
          <td width="20">&nbsp;</td>
          <td width="80"><span class="greycuti">我的同事</span>：</td>
          <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>
        </tr>
      </table> </td>
    <td width="1" background="images/shuxian.jpg"></td>
    <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>
  </tr>
</table>