{#include file="sys/admin_header.htm"#}

<div class="admin_main_nr_dbox">
<div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
  <div class="clear"></div>
</div>
<div class="toptit">编辑会员 <span style="color:#0066CC">({#$company_user.username#})</span> </div>
  <table width="100%" border="0" cellpadding="4" cellspacing="0"   >
    <tr>
      <td width="120" height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">注册时间：</td>
      <td  style=" border-bottom:1px #CCCCCC dashed" >{#$company_user.reg_time|date_format:"%Y-%m-%d   %H:%M"#}&nbsp;</td>
      <td width="120" align="right"  style=" border-bottom:1px #CCCCCC dashed" >最后登陆时间：</td>
      <td  style=" border-bottom:1px #CCCCCC dashed" >{#$company_user.last_login_time|date_format:"%Y-%m-%d %H:%M"#}</td>
    </tr>
    <tr>
      <td height="30" align="right"   >注册IP：</td>
      <td   >{#if $company_user.reg_ip#}{#$company_user.reg_ip#}{#else#}- - - -{#/if#}</td>
      <td align="right"  >最后登陆IP：</td>
      <td   >{#if $company_user.last_login_ip#}{#$company_user.last_login_ip#}{#else#}- - - -{#/if#}</td>
    </tr>
  </table>
  <div class="toptit">基本信息</div>
  <form id="form4" name="form4" method="post" action="?act=set_account_save">
	{#$inputtoken#}
	<table width="700" border="0" cellpadding="4" cellspacing="0"   >
      <tr>
        <td width="120" height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">用户名：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
          <input name="username" type="text" class="input_text_200"   maxlength="50" value="{#$company_user.username#}"  >
          	</td>
      </tr>
	  <tr>
        <td width="120" height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">邮箱：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
          <input name="email" type="text" class="input_text_200"   maxlength="50" value="{#$company_user.email#}"  >
		  
		  &nbsp;&nbsp;&nbsp;
		  <label>
          <input name="email_audit" type="checkbox" value="1" {#if $company_user.email_audit=="1"#}checked="checked"{#/if#} />
          已验证</label>	
		</td>
      </tr>
	  <tr>
        <td width="120" height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">手机：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
          <input name="mobile" type="text" class="input_text_200"   maxlength="50" value="{#$company_user.mobile#}"  >
		  
		  &nbsp;&nbsp;&nbsp;
		  <label>
          <input type="checkbox" name="mobile_audit" value="1"  {#if $company_user.mobile_audit=="1"#}checked="checked"{#/if#} />
          已验证</label>	
		</td>
      </tr>
	   <tr>
        <td width="120" height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">QQ绑定：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
         {#if $company_user.qq_openid#}
		 已绑定QQ账号 
		  &nbsp;&nbsp;&nbsp; 
		 <label>
          <input type="checkbox" name="qq_openid" value="1"  />
          取消绑定</label>
		 {#else#}
		 未绑定QQ帐号
		 {#/if#}
		 	
		</td>
		<tr>
        <td width="120" height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">展示模版：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
          <input name="tpl" type="text" class="input_text_200"   maxlength="50" value="{#$company_user.tpl#}"  >
		</td>
      </tr>
      </tr>
      <tr>
        <td height="30" align="right"  >&nbsp;</td>
        <td height="50"  >
		<input type="hidden" name="company_uid"  value="{#$company_user.uid#}" />
            <input type="hidden" name="url"  value="{#$url#}" />
            <input name="submit32" type="submit" class="admin_submit"    value="确定"/>
          <input name="submit222" type="button" class="admin_submit"    value="返 回" onclick="Javascript:window.history.go(-1)"/>        </td>
      </tr>
    </table>
  </form>
  <div class="toptit">修改密码</div>
	<form id="form6" name="form6" method="post" action="?act=userpass_edit">
	{#$inputtoken#}
	<table width="100%" border="0" cellpadding="4" cellspacing="0"   >		 
	<tr>
      <td width="120" height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">新密码：</td>
      <td  style=" border-bottom:1px #CCCCCC dashed;" >
        <input name="password" type="password" class="input_text_200" id="password" maxlength="50" value=""  />        </td>
    </tr>
	    <tr>
      <td height="30" align="right"   >&nbsp;</td>
      <td height="60"   ><span style="font-size:14px;">
        <input type="hidden" name="username"  value="{#$company_user.username#}" />
		<input type="hidden" name="url"  value="{#$url#}" />
        <input name="submit3" type="submit" class="admin_submit"    value="确定"/>
        <input name="submit22" type="button" class="admin_submit"    value="返 回" onclick="Javascript:window.history.go(-1)"/>
      </span></td>
    </tr>
	</table>
	</form>
	<div class="toptit">用户状态</div>
	 <form id="form9" name="form9" method="post" action="?act=userstatus_edit">
	 {#$inputtoken#}
	<table width="100%" border="0" cellpadding="4" cellspacing="0"   >	
	

		<tr>
      <td width="120" height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">帐号状态：</td>
      <td  style=" border-bottom:1px #CCCCCC dashed;" >
	    <label>
	    <input name="status" type="radio" value="1"  {#if $company_user.status=="1"#}checked="checked"{#/if#}/>
	    正常</label> 
		<label>&nbsp;&nbsp;&nbsp;&nbsp;
	    <input type="radio" name="status" value="2"  {#if $company_user.status=="2"#}checked="checked"{#/if#}/>
	    暂停</label>
		</td>
    </tr>
	    <tr>
      <td height="30" align="right"   >&nbsp;</td>
      <td height="60"   ><span style="font-size:14px;">
        <input type="hidden" name="userstatus_uid"  value="{#$company_user.uid#}" />
		<input type="hidden" name="url"  value="{#$url#}" />
        <input name="submit3" type="submit" class="admin_submit"    value="确定"/>
        <input name="submit22" type="button" class="admin_submit"    value="返 回" onclick="Javascript:window.history.go(-1)"/>
      </span></td>
    </tr>	
  </table>
  </form>
 <div class="toptit">会员积分设置</div>
 <form id="form1" name="form1" method="post" action="?act=userpoints_edit">
 {#$inputtoken#}
  <table width="100%" border="0" cellpadding="4" cellspacing="0"   >
		 
		 <tr>
      <td width="120" height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">会员积分：</td>
      <td  style=" border-bottom:1px #CCCCCC dashed; color: #FF6600; font-size:16px;" >{#$userpoints#}&nbsp;</td>
    </tr>
	<tr>
      <td height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">操作积分：</td>
      <td  style=" border-bottom:1px #CCCCCC dashed;" >
	  <label><input name="points_type" type="radio" value="1" checked="checked" />增加</label>
	  &nbsp;&nbsp;&nbsp;
	  <label><input name="points_type" type="radio" value="2" />减少</label>
	  </td>
    </tr>
			<tr>
      <td height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">增减积分：</td>
      <td  style=" border-bottom:1px #CCCCCC dashed;" >
	   <input name="points" type="text"  id="points" maxlength="5" value="0"  class="input_text_50"  />
	  点        </td>
    </tr>
	<tr>
      <td height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">操作说明：</td>
      <td  style=" border-bottom:1px #CCCCCC dashed;" >
        <input name="points_notes" type="text" class="input_text_200" id="points_notes" maxlength="60" value="" style="width:450px;"/>        </td>
    </tr>
    <tr>
      <td height="30" align="right"  >&nbsp;</td>
      <td height="35"   ><span style="font-size:14px;">
        <input type="hidden" name="company_uid"  value="{#$company_user.uid#}" />
		<input type="hidden" name="url"  value="{#$url#}" />
        <input name="submit3" type="submit" class="admin_submit"    value="确定"/>
        <input name="submit22" type="button" class="admin_submit"    value="返 回" onclick="Javascript:window.history.go(-1)"/>
      </span></td>
    </tr> 
	</table>
  </form>
	{#if $setmeal#}
	<div class="toptit">会员服务套餐- 修改</div>
	<form id="form2" name="form2" method="post" action="?act=edit_setmeal_save">
	{#$inputtoken#}
	<table width="100%" border="0" cellpadding="4" cellspacing="0" >
	  <tr>
        <td width="120" height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">
		服务套餐名称：		</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
{#$setmeal.setmeal_name#}		</td>
      </tr>
      <tr>
        <td   height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">服务时间：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
		开始时间：{#$setmeal.starttime|date_format:"%Y-%m-%d"#}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		结束时间：{#if $setmeal.endtime=="0"#}
		无限制
		{#else#}
		{#$setmeal.endtime|date_format:"%Y-%m-%d"#}
		{#/if#}
		 <input type="hidden" name="oldendtime"  value="{#$setmeal.endtime#}" />		</td>
      </tr>
	      <tr>
        <td height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">延长服务天数：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
          <input name="days" type="text" class="input_text_200" id="days" maxlength="50" value="" style="width:60px;">
          天 (0为不限制)</td>
      </tr>
	  <!-- -->
	  <tr>
        <td  height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">发布普通招聘剩余：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
          <input name="jobs_ordinary" type="text" class="input_text_200" id="jobs_ordinary" maxlength="50" value="{#$setmeal.jobs_ordinary#}"  >
          条</td>
      </tr>
	 
	 	  <!-- -->
	  	  
	   <!-- -->
 
	  	  
	  <!-- -->
	   	  <!-- -->
	  <tr>
        <td   height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">下载普通简历剩余：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
          <input name="download_resume_ordinary" type="text" class="input_text_200" id="download_resume_ordinary" maxlength="50" value="{#$setmeal.download_resume_ordinary#}"  >
          条</td>
      </tr>
	  	 
	  <!-- -->
	  	   	  <!-- -->
	  <tr>
        <td   height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">下载高级简历剩余：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
          <input name="download_resume_senior" type="text" class="input_text_200" id="download_resume_senior" maxlength="50" value="{#$setmeal.download_resume_senior#}"  >
          条</td>
      </tr>
	  	 
	  <!-- -->
	  	   	  <!-- -->
	  <tr>
        <td   height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">邀请普通面试剩余：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
          <input name="interview_ordinary" type="text" class="input_text_200" id="interview_ordinary" maxlength="50" value="{#$setmeal.interview_ordinary#}"  >
          条</td>
      </tr>
	  
	  <!-- -->
	    	   	  <!-- -->
	  <tr>
        <td  height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">邀请高级面试剩余：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
          <input name="interview_senior" type="text" class="input_text_200" id="interview_senior" maxlength="50" value="{#$setmeal.interview_senior#}"  >
          条</td>
      </tr>
	   
	  <!-- -->
	    	   	  <!-- -->
	  <tr>
        <td   height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">人才库容量剩余：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
          <input name="talent_pool" type="text" class="input_text_200" id="talent_pool" maxlength="50" value="{#$setmeal.talent_pool#}"  >
          条</td>
      </tr>
	  <!-- -->
	    	   	  <!-- -->
	  <!-- -->
	  	    	   	  <!-- -->
	  <!-- -->
	  <!-- -->
	  <tr>
        <td   height="30" align="right" valign="top"  style=" border-bottom:1px #CCCCCC dashed">其他说明：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
          <textarea name="added"   id="added" style="width:300px; height:60px;">{#$setmeal.added#}</textarea>        </td>
      </tr>
	  <!-- -->
	  <tr>
      <td width="120" height="30" align="right"   >&nbsp;</td>
      <td height="35"   > 
        <input type="hidden" name="company_uid"  value="{#$company_user.uid#}" />
		<input type="hidden" name="url"  value="{#$url#}" />
        <input name="submit3" type="submit" class="admin_submit"    value="确定"/>
        <input name="submit22" type="button" class="admin_submit"    value="返 回" onclick="Javascript:window.history.go(-1)"/> </td>
    </tr>
    </table>
	</form>
	{#/if#}
	<div class="toptit">重新开通服务套餐</div>
	<form id="form4" name="form4" method="post" action="?act=set_setmeal_save">
	{#$inputtoken#}
	<table width="700" border="0" cellpadding="4" cellspacing="0"   id="edit_setmeal2" >
      <tr>
        <td width="120" height="30" align="right"  style=" border-bottom:1px #CCCCCC dashed">选择套餐：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed;" >
          {#foreach from=$givesetmeal item=list#}		   
		    <label>
          <input type="radio" name="reg_service" value="{#$list.id#}"   {#if $QISHI.reg_service==$list.id#}checked="checked"{#/if#}/>
          {#$list.setmeal_name#}
		  </label>
		  &nbsp;&nbsp;&nbsp;&nbsp;

		   {#/foreach#}
	
		</td>
      </tr>
      <tr>
        <td height="30" align="right"  >&nbsp;</td>
        <td height="35"  >
		<input type="hidden" name="company_uid"  value="{#$company_user.uid#}" />
            <input type="hidden" name="url"  value="{#$url#}" />
            <input name="submit32" type="submit" class="admin_submit"    value="确定"/>
          <input name="submit222" type="button" class="admin_submit"    value="返 回" onclick="Javascript:window.history.go(-1)"/>
        </td>
      </tr>
    </table>
	</form>	
</div>
{#include file="sys/admin_footer.htm"#}
</body>
</html>