{#include file="sys/admin_header.htm"#}
<link href="css/date_input.css" rel="stylesheet" type="text/css" />
<script src="js/jquery.date_input.js" type='text/javascript' language="javascript"></script>
<script type="text/javascript">
$(document).ready(function()
{
//日期
	$(function() { 
	$(".date_input").date_input(); 
	}); 
	$(".no_money").click(function(){
		$(".log_amount").hide();
	});
	$(".yes_money").click(function(){
		$(".log_amount").show();
	});
	$(".no_money1").click(function(){
		$(".log_amount1").hide();
	});
	$(".yes_money1").click(function(){
		$(".log_amount1").show();
	});
	$(".no_money3").click(function(){
		$(".log_amount3").hide();
	});
	$(".yes_money3").click(function(){
		$(".log_amount3").show();
	});
}); 
</script>
<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">({#$hunter_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" >{#$hunter_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" >{#$hunter_user.last_login_time|date_format:"%Y-%m-%d %H:%M"#}</td>
    </tr>
    <tr>
      <td height="30" align="right"   >注册IP：</td>
      <td   >{#if $hunter_user.reg_ip#}{#$hunter_user.reg_ip#}{#else#}- - - -{#/if#}</td>
      <td align="right"  >最后登陆IP：</td>
      <td   >{#if $hunter_user.last_login_ip#}{#$hunter_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="{#$hunter_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="{#$hunter_user.email#}"  >
		  
		  &nbsp;&nbsp;&nbsp;
		  <label>
          <input name="email_audit" type="checkbox" value="1" {#if $hunter_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="{#$hunter_user.mobile#}"  >
		  
		  &nbsp;&nbsp;&nbsp;
		  <label>
          <input type="checkbox" name="mobile_audit" value="1"  {#if $hunter_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 $hunter_user.qq_openid#}
		 已绑定QQ账号 
		  &nbsp;&nbsp;&nbsp; 
		 <label>
          <input type="checkbox" name="qq_openid" value="1"  />
          取消绑定</label>
		 {#else#}
		 未绑定QQ帐号
		 {#/if#}
		 	
		</td>
       </tr>
      <tr>
        <td height="30" align="right"  >&nbsp;</td>
        <td height="50"  >
		<input type="hidden" name="hunter_uid"  value="{#$hunter_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="{#$hunter_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 $hunter_user.status=="1"#}checked="checked"{#/if#}/>
	    正常</label> 
		<label>&nbsp;&nbsp;&nbsp;&nbsp;
	    <input type="radio" name="status" value="2"  {#if $hunter_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="{#$hunter_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 $QISHI.operation_hunter_mode=='1'#}  
 <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 align="right" style=" border-bottom:1px #CCCCCC dashed"><span style="color:#FF0000">是否已收费：</span></td>
			<td style=" border-bottom:1px #CCCCCC dashed">
			<label>
			 <input name="is_money" type="radio" value="1" checked="checked" class="yes_money3"/>
			是</label> &nbsp;&nbsp;&nbsp;<label>
			<input name="is_money" type="radio" value="0"  class="no_money3"/>
			否</label>		
			</td>
      </tr>
	   <tr class="log_amount3">
        <td align="right"  style=" border-bottom:1px #CCCCCC dashed;"><span style="color:#FF0000">收费金额：</span></td>
        <td style=" border-bottom:1px #CCCCCC dashed"><input name="log_amount" type="text" class="input_text_200"  value="{#$setmeal.log_amount#}" maxlength="5"/> 元
         <span class="admin_note">(请填写收费金额)</span> </td>
      </tr>
    <tr>
      <td height="30" align="right"  >&nbsp;</td>
      <td height="35"   ><span style="font-size:14px;">
        <input type="hidden" name="hunter_uid"  value="{#$hunter_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#}
{#if $QISHI.operation_hunter_mode=='2'#}  
  
  
	{#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="setendtime" type="text" class="input_text_200 date_input" id="setendtime" maxlength="10" value="{#if $setmeal.endtime=="0"#}{#else#}{#$setmeal.endtime|date_format:"%Y-%m-%d"#}{#/if#}"  >
		<span class="admin_note">设置到期时间，格式 yyyy-mm-dd，留空为不限制</span>
          </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;">
          天 <span class="admin_note">(默认为空表示不做修改，填0为不限制,如填写：3，则延长3天，-3 则减少3天)</span></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_add" type="text" class="input_text_200" id="jobs_add" maxlength="50" value="{#$setmeal.jobs_add#}"  >
          条</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_talent" type="text" class="input_text_200" id="download_resume_talent" maxlength="50" value="{#$setmeal.download_resume_talent#}"  >
          份</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_manager" type="text" class="input_text_200" id="interview_manager" maxlength="50" value="{#$setmeal.interview_manager#}"  >
          条</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 align="right" style=" border-bottom:1px #CCCCCC dashed"><span style="color:#FF0000">是否已收费：</span></td>
			<td style=" border-bottom:1px #CCCCCC dashed">
			<label>
			 <input name="is_money" type="radio" value="1" checked="checked" class="yes_money"/>
			是</label> &nbsp;&nbsp;&nbsp;<label>
			<input name="is_money" type="radio" value="0"  class="no_money"/>
			否</label>		
			</td>
      </tr>
	   <tr class="log_amount">
        <td align="right"  style=" border-bottom:1px #CCCCCC dashed;"><span style="color:#FF0000">收费金额：</span></td>
        <td style=" border-bottom:1px #CCCCCC dashed"><input name="log_amount" type="text" class="input_text_200"  value="{#$setmeal.log_amount#}" maxlength="5"/> 元
         <span class="admin_note">(请填写收费金额)</span> </td>
      </tr>
	  <tr>
      <td width="120" height="30" align="right"   >&nbsp;</td>
      <td height="35"   > 
        <input type="hidden" name="hunter_uid"  value="{#$hunter_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 align="right" style=" border-bottom:1px #CCCCCC dashed"><span style="color:#FF0000">是否已收费：</span></td>
			<td style=" border-bottom:1px #CCCCCC dashed">
			<label>
			 <input name="is_money" type="radio" value="1" checked="checked" class="yes_money1"/>
			是</label> &nbsp;&nbsp;&nbsp;<label>
			<input name="is_money" type="radio" value="0"  class="no_money1"/>
			否</label>		
			</td>
      </tr>
	   <tr class="log_amount1">
        <td align="right"  style=" border-bottom:1px #CCCCCC dashed;"><span style="color:#FF0000">收费金额：</span></td>
        <td style=" border-bottom:1px #CCCCCC dashed"><input name="log_amount" type="text" class="input_text_200"  value="{#$setmeal.log_amount#}" maxlength="5"/> 元
         <span class="admin_note">(请填写收费金额)</span> </td>
      </tr>
      <tr>
        <td height="30" align="right"  >&nbsp;</td>
        <td height="35"  >
		<input type="hidden" name="hunter_uid"  value="{#$hunter_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>	
	
	
	
	{#/if#}
</div>
{#include file="sys/admin_footer.htm"#}
</body>
</html>