<!DOCTYPE html>
<!--[if IE 6 ]> <html class="ie6 lte_ie6 lte_ie7 lte_ie8 lte_ie9"> <![endif]--> 
<!--[if lte IE 6 ]> <html class="lte_ie6 lte_ie7 lte_ie8 lte_ie9"> <![endif]--> 
<!--[if lte IE 7 ]> <html class="lte_ie7 lte_ie8 lte_ie9"> <![endif]--> 
<!--[if lte IE 8 ]> <html class="lte_ie8 lte_ie9"> <![endif]--> 
<!--[if lte IE 9 ]> <html class="lte_ie9"> <![endif]--> 
<!--[if (gte IE 10)|!(IE)]><!--><html><!--<![endif]-->
 <head>
    <title><?php echo $_CONFIG->config_data('name')?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?php echo style2015;?>content/css/bootstrapadd.min.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo style2015;?>content/css/bootstrap-modal.css" />
		        <link rel="stylesheet" type="text/css" href="<?php echo style2015;?>content/css/bootstrap.css"> 
				<link rel="stylesheet" type="text/css" href="<?php echo style2015;?>bootstrap/css/bootstrap-datetimepicker.css"> 
        <link rel="stylesheet" type="text/css" href="<?php echo style2015;?>content/css/base.css">
		<link rel="stylesheet" type="text/css" href="<?php echo style2015;?>content/css/style2015.css">
		<script type="text/javascript" src="<?php echo style2015;?>content/js/jquery.min.js"></script>
		<script type="text/javascript" src="<?php echo style2015;?>content/js/bootstrap.min.js"></script>
		<script type="text/javascript" src="<?php echo style2015;?>content/js/bootstrap-modal.js"></script>
		<script type="text/javascript" src="<?php echo style2015;?>content/js/bootstrap-modalmanager.js"></script>
		<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<link rel="stylesheet" type="text/css" href="template/default/content/css/style2016.css">

</head>
<body class="body-wrap">
<script Language="JavaScript"> 
function CheckForm()
{
   if(document.save.name.value=="")
   { alert("姓名不能为空！");
     document.save.name.focus();
     return (false);
   }
   if(document.save.phone.value=="")
   { alert("手机不能为空！");
     document.save.phone.focus();
     return (false);
   }
   if(document.save.birthdate.value=="")
   { alert("出生日期不能为空！");
     document.save.birthdate.focus();
     return (false);
   }
   return true;
}
function sendForm()
{
   if(CheckForm())
      document.save.submit();
}
 
</script>
<div class="tabbable work-nav">
				<ul id="myTab" class="nav nav-tabs">
					<li class="active"><a href="admin.php?ac=user&fileurl=member">我的信息</a></li>
					<li><a href="admin.php?ac=password&fileurl=member">密码修改</a></li>
					<li><a href="admin.php?ac=user&fileurl=member&do=home_txt">门户设置</a></li>
				</ul>
</div>

<form name="save" method="post" action="?ac=<?php echo $ac?>&fileurl=<?php echo $fileurl?>&do=save">
<input type="hidden" name="savetype" value="edit" />
	<input type="hidden" name="uid" value="<?php echo $result['uid']?>" />
<div class="search_area">
        <div class="form-search form-search-top" style="text-align:right;padding-left:10px;">
                  
           <button type="button" onClick="sendForm();" style="margin-right:60px;" class="btn btn-danger"> 保存 </button>
		  
        </div>
</div>


<div style="position:absolute; left:0px;overflow:auto;height:82%;width:100%;padding-top:10px;">
<div  id='form' class="table-responsive" style="width: 1000px;margin: 10px auto;">
<table class="TableBlock" border="0" width="90%" align="center">
  	<tr>
  		<td nowrap class="TableContent" width="90">用户名：</td>
  	  <td class="TableData">
  	  	<?php echo $result['username']?>  	  </td>  	  	
  		<td nowrap class="TableContent" width="90">姓名：<? get_helps()?></td>
  	    <td class="TableData"><?php echo $result['name']?></td>
  	</tr>
	
	
	
	<tr>
  		<td nowrap class="TableContent" width="90">所属部门：</td>
  	  <td class="TableData">
  	  	<?php echo get_realdepaname($result['departmentid'])?>  	  </td>  	  	
  		<td nowrap class="TableContent" width="90">所属岗位：</td>
  	  <td class="TableData"><?php echo get_postname($result['positionid'])?></td>  	  	
  	</tr>
	
	<tr>
  		<td nowrap class="TableContent" width="90">出生日期：</td>
  	  <td class="TableData">
  	  	<input type="text" class="BigInput" name="birthdate" style="width:180px;" value="<?php echo $result['birthdate']?>" size=30 readonly="readonly"  onClick="WdatePicker();">  	  </td>  	  	
  		<td nowrap class="TableContent" width="90">性别：</td>
  	  <td class="TableData"><input type="radio" name="sex" id="sex" value="男" <? if ($result['sex']=="男"){?>checked="checked" <? } ?>class="checkbox" />男 <input type="radio" name="sex" id="sex" value="女" <? if ($result['sex']=="女"){?>checked="checked" <? } ?> class="checkbox" />女</td>  	  	
  	</tr>
	
	
    <tr>
  		<td nowrap class="TableContent">手机：<? get_helps()?></td>
  	  <td class="TableData">
		<input type="text" class="BigInput" name="phone" value="<?php echo $result['phone']?>" size=30 onKeyUp="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">  	  </td>
  		<td nowrap class="TableContent">联系电话：</td>
  	  <td class="TableData"> 
  	   <input type="text" class="BigInput" name="tel" value="<?php echo $result['tel']?>" size=30>      </td>
  	</tr>
  	
  	 <tr>
  		<td nowrap class="TableContent">传真：</td>
  	  <td class="TableData">
		<input type="text" class="BigInput" name="fax" value="<?php echo $result['fax']?>" size=30>  	  </td>
  		<td nowrap class="TableContent">电子邮件：</td>
  	  <td class="TableData"> 
  	   <input type="text" class="BigInput" name="email" value="<?php echo $result['email']?>" size=30>      </td>
  	</tr>
  	
	<tr>
  		<td nowrap class="TableContent">qq/msn：</td>
  	  <td class="TableData">
		<input type="text" class="BigInput" name="qq" value="<?php echo $result['qq']?>" size=30>  	  </td>
  		<td nowrap class="TableContent">联系地址：</td>
  	  <td class="TableData"> 
  	   <input type="text" class="BigInput" name="address" value="<?php echo $result['address']?>" size=40>      </td>
  	</tr>
	
	<tr>
  		<td nowrap class="TableContent" width="90">头像：</td>
  	  <td class="TableData">
	  <?php
	  echo public_upload('pic',$result['pic']);
	  ?></td>  	  	
  		<td nowrap class="TableContent" width="90"></td>
  	  <td class="TableData"></td>  	  	
  	</tr>
	
    <tr>
  		<td nowrap class="TableContent">个人说明：</td>
  	  <td class="TableData" colspan="3">
<textarea name="contact" rows="5" cols="50" style="width:400px;"><?php echo $result['contact']?></textarea>  	  </td>
  	</tr>
    
   
 </table>
</div>



</div>




</form>

</body>
</html>
