<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="cm" uri="/commons-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的通讯信息</title>
<link href="../resources/style/base.css" rel="stylesheet" type="text/css"/>
<s:include value="../common/head.jsp" />
</head>

<body style="margin:0; padding:0; ">
<div class="body_form" style="width:98%; padding-top:5px;">
  <s:include value="../common/body.jsp" />
  <s:form action="emplContactMine" namespace="/employe" enctype="multipart/form-data" onsubmit="return checkForm(this)">
    <table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr class="form_tr">
        <td width="19%" align="right" valign="middle">工号：</td>
        <td width="30%" valign="middle"><s:property value="emplInfo.emplNo"/>
          <s:hidden name="emplInfo.id" /></td>
        <td colspan="2" rowspan="7" align="center" valign="middle" style="overflow:hidden;"><iframe id="emplInfoFrame" style="width:284px; height:184px;" src="../common/image.jsp?width=280&height=180&id=<s:property value='emplInfo.photoFile.id'/>" frameborder="0" scrolling="no"></iframe></td>
      </tr>
      <tr class="form_tr ">
        <td align="right" valign="middle">姓名：</td>
        <td valign="middle"><s:property value="emplInfo.name"/></td>
      </tr>
      <tr class="form_tr">
        <td align="right" valign="middle">座机：</td>
        <td valign="middle"><s:textfield name="emplInfo.phone" cssStyle="width:180px;"/></td>
      </tr>
      <tr class="form_tr ">
        <td align="right" valign="middle">手机：</td>
        <td valign="middle"><s:textfield name="emplInfo.mobile" cssStyle="width:180px;"/></td>
      </tr>
      <tr class="form_tr">
        <td align="right" valign="middle" class="form_tr ">电子邮箱：</td>
        <td valign="middle" class="form_tr "><s:textfield name="emplInfo.email" cssStyle="width:180px;"/></td>
      </tr>
      <tr class="form_tr ">
        <td align="right" valign="middle" class="form_tr">即时通讯类型：</td>
        <td valign="middle" class="form_tr"><s:select cssStyle="width:180px;" name="emplInfo.imType.id"  list='#request.SysCodeFinder.find("EMPL_IM_TYPE")'  headerKey="" headerValue="" listKey="id" listValue="codeName"/></td>
      </tr>
      <tr class="form_tr">
        <td align="right" valign="middle" class="form_tr ">即时通讯号码：</td>
        <td valign="middle" class="form_tr "><s:textfield name="emplInfo.imNo" cssStyle="width:180px;"/></td>
      </tr>
      <tr class="form_tr">
        <td align="right" valign="middle">紧急联系人：</td>
        <td valign="middle"><s:textfield name="emplInfo.exigLinkman" cssStyle="width:180px;"/></td>
        <td align="right" valign="middle">上传照片：</td>
        <td width="32%" valign="middle"><s:file name="photoFile" title="照片 必须为图片文件" cssStyle="width:180px;" />
          <s:hidden name="emplInfo.photoFile.id" /></td>
      </tr>
      <tr class="form_tr">
        <td align="right" valign="middle" class="form_tr ">紧急联系人电话：</td>
        <td valign="middle" class="form_tr "><s:textfield name="emplInfo.exigLinktype" cssStyle="width:180px;"/></td>
        <td align="right" valign="middle" class="form_tr ">家庭电话：</td>
        <td valign="middle" class="form_tr "><s:textfield name="emplInfo.homePhone" cssStyle="width:180px;"/></td>
      </tr>
      <tr class="form_tr">
        <td align="right" valign="middle" class="form_tr ">当前住址：</td>
        <td valign="middle" class="form_tr "><s:textfield name="emplInfo.currentAddr" cssStyle="width:180px;"/></td>
        <td align="right" valign="middle">家庭地址：</td>
        <td width="32%" valign="middle"><s:textfield name="emplInfo.homeAddr" cssStyle="width:180px;"/></td>
      </tr>
      <tr class="form_tr">
        <td align="right" valign="middle">当前邮编：</td>
        <td valign="middle"><s:textfield name="emplInfo.currentZip" cssStyle="width:180px;"/></td>
        <td width="19%" align="right" valign="top" class="form_tr ">家庭邮编：</td>
        <td valign="top" class="form_tr "><s:textfield name="emplInfo.homeZip" cssStyle="width:180px;"/></td>
      </tr>
      <tr class="form_tr">
        <td height="40" colspan="4" align="center" valign="middle" class="form_tr "><input type="submit" name="button" id="button" value="修 改" />
          <input name="edit" type="hidden" value="true" /></td>
      </tr>
    </table>
  </s:form>
</div>
</body>
</html>