{#include file="sys/admin_header.htm"#}
<div class="admin_main_nr_dbox">
 <div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
	{#include file="set_hunter/admin_set_hunter_nav.htm"#}
  <div class="clear"></div>
</div>
<div class="toptip">
	<h2>提示：</h2>
	<p>
积分模式是指会员每次发布信息都扣除相应的积分，通过会员充值积分来实现网站盈利，此模式简易灵活，无时间限制。<br />
</p>
</div>
<div class="toptit">基本设置</div>
 
	<form action="?act=set_save" method="post"  name="form1" id="form1">
 {#$inputtoken#}
	
    <table width="100%" border="0" cellspacing="5" cellpadding="1" style=" margin-bottom:3px;">
      <tr>
        <td align="right">充值比例：<strong>1</strong>元等于：</td>
        <td><input name="hunter_payment_rate" type="text"  class="input_text_150" id="hunter_payment_rate" value="{#$config.hunter_payment_rate#}" maxlength="8"    onkeyup="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/>
          点积分 <span style="color:#666666">(充值人民币与积分兑换比例)</span></td>
      </tr>
      <tr>
        <td align="right">充值最低额度：</td>
        <td><input name="hunter_payment_min" type="text"  class="input_text_150" id="hunter_payment_min" value="{#$config.hunter_payment_min#}" maxlength="8"    onkeyup="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/>
          元 <span style="color:#666666">(充值积分单笔金额不能低于)</span></td>
      </tr>
<tr>
        <td align="right">积分充值提醒：</td>
        <td><input name="hunter_points_min_remind" type="text"  class="input_text_150" id="hunter_points_min_remind" value="{#$config.hunter_points_min_remind#}" maxlength="8"    onkeyup="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/>
           <span style="color:#666666">(0为不提醒，如设置为10则积分少于10时会员中心提醒充值)</span></td>
      </tr>
      <tr>
        <td align="right">刷新职位时间间隔：</td>
        <td><input name="hunter_pointsmode_refresh_space" type="text"  class="input_text_150" id="hunter_pointsmode_refresh_space" value="{#$config.hunter_pointsmode_refresh_space#}" maxlength="8"    onkeyup="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/> 分钟
           <span style="color:#666666">(0为不限制)</span></td>
      </tr>
      <tr>
        <td align="right">每天刷新职位次数限制：</td>
        <td><input name="hunter_pointsmode_refresh_time" type="text"  class="input_text_150" id="hunter_pointsmode_refresh_time" value="{#$config.hunter_pointsmode_refresh_time#}" maxlength="8"    onkeyup="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/> 次
           <span style="color:#666666">(0为不限制)</span></td>
      </tr>
      <tr>
        <td align="right" valign="top">&nbsp;</td>
        <td height="55"><span style="font-size:14px;">
          <input name="submit2" type="submit" class="admin_submit"    value="保存修改"/>
        </span></td>
      </tr>
    </table>
	</form>
    <form action="?act=set_points_save" method="post"  name="form1" id="form1">
	 {#$inputtoken#}
	<div class="toptit">积分规则设置</div>
 
    <table width="100%" border="0" cellspacing="5" cellpadding="1">
	  {#foreach from=$points item=points#}
      <tr>
        <td width="200" align="right" >{#$points.title#}：</td>
        <td width="5" >
            <select name="operation[]" style="font-size:12px;">
                <option value="1"  {#if $points.operation=="1"#}selected="selected"{#/if#}>加</option>
                <option value="2"  {#if $points.operation=="2"#}selected="selected"{#/if#}>减</option>
            </select>
        </td>
        <td width="90">
            <input name="id[]" type="hidden" value="{#$points.id#}" />
            <input name="value[]" type="text" class="input_text_50"   value="{#$points.value#}" maxlength="4"/> 积分
        </td>
        <td>
            {#if $points.operation==1 && $points.daymax!=0#}
            ，每日获得积分上限：<input type="text" class="input_text_50" name="daymax[]" value="{#$points.daymax#}" >
            {#else#}
            <input type="hidden" name="daymax[]" value="0">
            {#/if#}
        </td>
      </tr>
	  	{#/foreach#}
      <tr>
        <td align="right"  >&nbsp;</td>
        <td height="50" colspan="2"  ><input name="submit" type="submit" class="admin_submit"    value="保存"/></td>
      </tr>
    </table>    
  </form>
</div>
{#include file="sys/admin_footer.htm"#}
</body>
</html>