{#include file="sys/admin_header.htm"#}
		
<script type="text/javascript">
$(document).ready(function()
{	
	//套餐模式下，推广职位控制天数的显示，隐藏
	//初始化天数样式
	$(".monitor").keyup(function(){
			var num=$(this).val();
			var id=$(this).attr("id")+"_days";
			var he=$(this).attr("id")+"_he";
			if(num>0){
				$("#"+he).addClass("set_meal");
				$("#"+id).show();
			}else{
				$("#"+he).removeClass("set_meal");
				$("#"+id).hide();
			}
	});
	$(".monitor").each(function(){
			var num=$(this).val();
			var id=$(this).attr("id")+"_days";
			var he=$(this).attr("id")+"_he";
			if(num>0){
				$("#"+he).addClass("set_meal");
				$("#"+id).show();
			}else{
				$("#"+he).removeClass("set_meal");
				$("#"+id).hide();
			}
	});
	//
});
</script>
<div class="admin_main_nr_dbox">
 <div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
	{#include file="set_com/admin_set_com_nav.htm"#}
  <div class="clear"></div>
</div>
<div class="toptip">
	<h2>提示：</h2>
	<p>
服务套餐模式是指会员可以购买不同等级服务，如普通会员，VIP会员等，每个等级都有不同的使用权限
</p>
</div>
<div class="toptit">设置服务套餐</div>

	  <form id="form1" name="form1" method="post" action="?act=set_meal_edit_save">
	   {#$inputtoken#}
	   <input name="id" type="hidden" value="{#$show.id#}" />
    <table width="90%" border="0" cellspacing="3" cellpadding="3">
      <tr>
        <td width="200" align="right">套餐名称：</td>
        <td><input name="setmeal_name" type="text" class="input_text_200" id="setmeal_name" value="{#$show.setmeal_name#}"/></td>
      </tr>
      <tr>
        <td align="right">有效时间：</td>
        <td><input name="days" type="text" class="input_text_200" id="days" value="{#$show.days#}" maxlength="10"/>
        天 <span class="admin_note">(0表示不限制)</span> </td>
      </tr>
      <tr>
        <td align="right">原价：</td>
        <td><input name="original_price" type="text" class="input_text_200" id="original_price" value="{#$show.original_price#}" maxlength="10"/>
        元 <span class="admin_note">(0表示免费)</span> </td>
      </tr>
      <tr>
        <td align="right">折扣价：</td>
        <td><input name="expense" type="text" class="input_text_200" id="expense" value="{#$show.expense#}" maxlength="10"/>
        元 <span class="admin_note">(0表示免费)</span> </td>
      </tr>
		<tr>
        <td align="right">发布普通职位：</td>
        <td><input name="jobs_ordinary" type="text" class="input_text_200" id="jobs_ordinary" value="{#$show.jobs_ordinary#}"  maxlength="10"/>
        条   <span class="admin_note">(0为不允许)</span></td>
      </tr>
      <tr>
        <td align="right">刷新普通职位时间间隔：</td>
        <td><input name="refresh_jobs_space" type="text" class="input_text_200" id="refresh_jobs_space" value="{#$show.refresh_jobs_space#}"  maxlength="10"/>
        分钟   <span class="admin_note">(0表示不限制)</span></td>
      </tr>
      <tr>
        <td align="right">每天刷新普通职位次数限制：</td>
        <td><input name="refresh_jobs_time" type="text" class="input_text_200" id="refresh_jobs_time" value="{#$show.refresh_jobs_time#}"  maxlength="10"/>
        次   <span class="admin_note">(0表示不限制)</span></td>
      </tr>
      
	  
	  <tr>
        <td align="right">下载普通人才简历：</td>
        <td><input name="download_resume_ordinary" type="text" class="input_text_200" id="download_resume_ordinary" value="{#$show.download_resume_ordinary#}" maxlength="10"/>
        份 <span class="admin_note">(0为不允许)</span></td>
      </tr>
	    <tr>
        <td align="right">下载高级人才简历：</td>
        <td><input name="download_resume_senior" type="text" class="input_text_200" id="download_resume_senior" value="{#$show.download_resume_senior#}" maxlength="10"/>
        份  <span class="admin_note">(0为不允许)</span></td>
      </tr>
	    <tr>
        <td align="right">邀请普通人才面试数：</td>
        <td><input name="interview_ordinary" type="text" class="input_text_200" id="interview_ordinary" value="{#$show.interview_ordinary#}" maxlength="10"/>
        次   <span class="admin_note">(0为不允许)</span></td>
      </tr>
	    <tr>
        <td align="right">邀请高级人才面试数：</td>
        <td><input name="interview_senior" type="text" class="input_text_200" id="interview_senior" value="{#$show.interview_senior#}" maxlength="10"/>
        次   <span class="admin_note">(0为不允许)</span></td>
      </tr>

	   <tr>
        <td align="right">人才库容量：</td>
        <td><input name="talent_pool" type="text" class="input_text_200" id="talent_pool" value="{#$show.talent_pool#}" maxlength="10"/>
        条 <span class="admin_note">(0为不允许使用人才库)</span> </td>
      </tr>
		
	   <tr>
        <td align="right">允许推荐职位：<span style="position:relative;"><div class="set_meal" id="recommend_he"></div></span></td>
        <td><input name="recommend_num" type="text" class="input_text_200 monitor" id="recommend" value="{#$show.recommend_num#}" maxlength="5"/>
        条 <span class="admin_note">(0为不允许使用推荐职位)</span> </td>
      </tr>
	   <tr style="display:none" id="recommend_days" >
        <td align="right" >推荐天数设定：</td>
        <td><input name="recommend_days" type="text" class="input_text_200"  value="{#$show.recommend_days#}"  maxlength="5"/>
        天 <span class="admin_note">(请设定天数)</span> </td>
      </tr>
	   <tr>
        <td align="right">允许置顶职位：<span style="position:relative;"><div class="set_meal" id="stick_he"></div></span></td>
        <td><input name="stick_num" type="text" class="input_text_200 monitor" id="stick" value="{#$show.stick_num#}" maxlength="5"/>
        条 <span class="admin_note">(0为不允许使用置顶职位)</span> </td>
      </tr >
	   <tr style="display:none" id="stick_days" >
        <td align="right" >置顶天数设定：</td>
        <td><input name="stick_days" type="text" class="input_text_200" value="{#$show.stick_days#}" maxlength="5"/>
        天 <span class="admin_note">(请设定天数)</span> </td>
      </tr>
	   <tr>
        <td align="right">允许紧急职位：<span style="position:relative;"><div class="set_meal" id="emergency_he"></div></span></td>
        <td><input name="emergency_num" type="text" class="input_text_200 monitor" id="emergency" value="{#$show.emergency_num#}" maxlength="5"/>
        条 <span class="admin_note">(0为不允许使用紧急职位)</span> </td>
      </tr>
	   <tr style="display:none" id="emergency_days">
        <td align="right"  >紧急天数设定：</td>
        <td><input name="emergency_days" type="text" class="input_text_200"  value="{#$show.emergency_days#}" maxlength="5"/>
        天 <span class="admin_note">(请设定天数)</span> </td>
      </tr>
	   <tr>
        <td align="right">允许职位套色：<span style="position:relative;"><div class="set_meal" id="highlight_he"></div></span></td>
        <td><input name="highlight_num" type="text" class="input_text_200 monitor" id="highlight" value="{#$show.highlight_num#}" maxlength="5"/>
        条 <span class="admin_note">(0为不允许使用职位套色)</span> </td>
      </tr>
	   <tr style="display:none" id="highlight_days">
        <td align="right"  >套色天数设定：</td>
        <td><input name="highlight_days" type="text" class="input_text_200"  value="{#$show.highlight_days#}" maxlength="5"/>
        天 <span class="admin_note">(请设定天数)</span> </td>
      </tr>
      <tr>
        <td align="right">显示顺序：</td>
        <td><input name="show_order" type="text" class="input_text_200" id="show_order" onkeyup="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');" value="{#$show.show_order#}" maxlength="3"onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/>
          数字越大越靠前</td>
      </tr>
	
	  <tr>
        <td align="right">允许会员切换模板：</td>
        <td><label>
          <input name="change_templates" type="radio" value="1"  {#if $show.change_templates=="1"#}checked="checked"{#/if#}/>
        允许</label> &nbsp;&nbsp;&nbsp;<label>
        <input type="radio" name="change_templates" value="0"  {#if $show.change_templates=="0"#}checked="checked"{#/if#}/>
        不允许</label></td>
      </tr>
    <tr>
        <td align="right">开通企业电子地图：</td>
        <td>
		<label>
          <input name="map_open" type="radio" value="1" {#if $show.map_open=="1"#}checked="checked"{#/if#}/>
        是</label> &nbsp;&nbsp;&nbsp;<label>
        <input name="map_open" type="radio" value="0"  {#if $show.map_open=="0"#}checked="checked"{#/if#}/>
        否</label>		</td>
      </tr>
	  <tr>
        <td align="right">显示状态：</td>
        <td><label>
          <input name="display" type="radio" value="1"  {#if $show.display=="1"#}checked="checked"{#/if#}/>
        正常</label> &nbsp;&nbsp;&nbsp;<label>
        <input type="radio" name="display" value="0"  {#if $show.display=="0"#}checked="checked"{#/if#}/>
        屏蔽</label></td>
      </tr>
 <tr>
        <td align="right">允许会员申请此服务：</td>
        <td><label>
          <input name="apply" type="radio" value="1"  {#if $show.apply=="1"#}checked="checked"{#/if#}/>
        是</label> &nbsp;&nbsp;&nbsp;<label>
        <input type="radio" name="apply" value="0" {#if $show.apply=="0"#}checked="checked"{#/if#}/>
        否</label></td>
      </tr>
	  
      <tr>
        <td align="right" valign="top">其他说明：</td>
        <td><textarea name="added" id="added" style="width:300px; height:50px; font-size:12px; line-height:180%" >{#$show.added#}</textarea>
            <br />
          (可填写：赠送广告位或者其他特殊推荐等) </td>
      </tr>
      <tr>
        <td align="center">&nbsp;</td>
        <td height="50" align="left"><input type="submit" name="Submit3" value="提交" class="admin_submit"   />
		 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <input name="submit22" 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>