{#include file="sys/admin_header.htm"#}
<script type="text/javascript" src="js/jquery.userinfotip-min.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$("#Butdel").click(function(){
			if(confirm("删除套餐变更记录后将不可恢复，您确定要删除么？")){
			$("#form1").submit();
			}
		})
	})
</script>

<div class="admin_main_nr_dbox">
<div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
	{#include file="hunter/admin_hunter_nav.htm"#}
  <div class="clear"></div>
</div>
<div class="toptip">
	<h2>描述说明：</h2>
	<p>
		管理员修改包括：管理员修改会员的积分，修改会员的套餐内各种服务的条数！<br>
		管理员开通包括：管理员后台确认订单收款，重新开通服务，添加会员赠送积分，赠送套餐！<br>
		修改套餐说明：发布普通职位3-10,3表示修改之前的数目，10表示修改后的数目！
	</p>
</div>
  <div class="seltpye_x">
		<div class="left">操作类型</div>	
		<div class="right">
		<div class="clear"></div>
		<a href="{#"log_type:"|qishi_parse_url#}" {#if $smarty.get.log_type==""#}class="select"{#/if#}>不限</a>
		<a href="{#"log_type:1"|qishi_parse_url#}" {#if $smarty.get.log_type=="1"#}class="select"{#/if#}>系统赠送</a>
		<a href="{#"log_type:2"|qishi_parse_url#}" {#if $smarty.get.log_type=="2"#}class="select"{#/if#}>会员购买</a>
		<a href="{#"log_type:3"|qishi_parse_url#}" {#if $smarty.get.log_type=="3"#}class="select"{#/if#}>管理员修改</a>
		<a href="{#"log_type:4"|qishi_parse_url#}" {#if $smarty.get.log_type=="4"#}class="select"{#/if#}>管理员开通</a>
		</div>
		<div class="clear"></div>
  </div>
  <div class="seltpye_x">
		<div class="left">添加时间</div>	
		<div class="right">
		<a href="{#"settr:"|qishi_parse_url#}" {#if $smarty.get.settr==""#}class="select"{#/if#}>不限</a>
		<a href="{#"settr:3"|qishi_parse_url#}" {#if $smarty.get.settr=="3"#}class="select"{#/if#}>三天内</a>
		<a href="{#"settr:7"|qishi_parse_url#}" {#if $smarty.get.settr=="7"#}class="select"{#/if#}>一周内</a>
		<a href="{#"settr:30"|qishi_parse_url#}" {#if $smarty.get.settr=="30"#}class="select"{#/if#}>一月内</a>
		<a href="{#"settr:90"|qishi_parse_url#}" {#if $smarty.get.settr=="90"#}class="select"{#/if#}>三月内</a>
		<div class="clear"></div>
		</div>
		<div class="clear"></div>
  </div>
  <div class="seltpye_x">
		<div class="left">收取费用</div>	
		<div class="right">
		<a href="{#"is_money:"|qishi_parse_url#}" {#if $smarty.get.is_money==""#}class="select"{#/if#}>不限</a>
		<a href="{#"is_money:2"|qishi_parse_url#}" {#if $smarty.get.is_money=="2"#}class="select"{#/if#}>已收取费用</a>
		<a href="{#"is_money:1"|qishi_parse_url#}" {#if $smarty.get.is_money=="1"#}class="select"{#/if#}>未收取费用</a>
		<div class="clear"></div>
		</div>
		<div class="clear"></div>
  </div>
  <form id="form1" name="form1" method="post" action="?act=meallog_del">
  {#$inputtoken#}
   <table width="100%" border="0" cellpadding="0" cellspacing="0"   class="link_lan">
    <tr>
      <td  class="admin_list_tit admin_list_first" >
      <label id="chkAll"><input type="checkbox" name=" " title="全选/反选" id="chk"/>猎头姓名</label></td>
	   <td  class="admin_list_tit">用户名</td>
		{#if $QISHI.operation_hunter_mode=='1'#}  
			  <td width="10%" class="admin_list_tit">目前积分</td>
		{#elseif $QISHI.operation_hunter_mode=='2'#}  
			  <td width="10%"  class="admin_list_tit">目前套餐</td>
		{#/if#}
      <td  class="admin_list_tit">操作类型</td>     
      <td  class="admin_list_tit">付款金额</td>     
      <td   class="admin_list_tit">操作时间</td>
	  <td   class="admin_list_tit">描述</td>
      <td align="center" width="80" class="admin_list_tit">操作</td>
    </tr>
	{#foreach from=$meallog item=list#}
      <tr>
      <td class="admin_list admin_list_first">
		<input name="id[]" type="checkbox"   value="{#$list.log_id#}"/>
		{#if $list.huntername#}
 	        {#$list.huntername#}
		{#else#}
		<span style="color:#FF0000">未完善猎头顾问资料</span>
		{#/if#}
		</td>
       <td class="admin_list">
       {#$list.log_username#}
		<span style="color:#CCCCCC">(uid:{#$list.log_uid#})</span>
		</td>
		 <td class="admin_list">
		{#if $QISHI.operation_hunter_mode=='1'#} 
			<strong>{#$list.points#}</strong> 积分
		{#elseif $QISHI.operation_hunter_mode=='2'#}  
				{#if $list.setmeal_name#}<span style="color: #009900">{#$list.setmeal_name#}</span>{#else#}<span style="color:#FF3300">无套餐</span>{#/if#}
		{#/if#}
		</td>
 		<td class="admin_list">
			{#if $list.log_type =="1"#}
				系统赠送
			{#elseif $list.log_type =="2"#}
				会员购买
			{#elseif $list.log_type =="3"#}
				管理员修改
			{#elseif $list.log_type =="4"#}
				管理员开通
			{#/if#}
		</td>
		 <td class="admin_list">
			￥{#$list.log_amount#}
		</td>
		 <td class="admin_list">
			{#$list.log_addtime|date_format:"%Y-%m-%d %H:%M"#}
		</td>
		<td class="admin_list vtip" title="{#$list.log_value_#}">
		{#$list.log_value#}
		</td>
        <td align="center" class="admin_list">
		<a href="?act=user_edit&tuid={#$list.log_uid#}">修改</a>
		&nbsp;
		<a href="?act=management&id={#$list.log_uid#}"  target="_blank"  class="userinfo"  id="{#$list.log_uid#}">管理</a>
		</td>
      </tr>
      {#/foreach#}
    </table>
  </form>
	{#if !$meallog#}
	<div class="admin_list_no_info">没有任何信息！</div>
	{#/if#}
	<table width="100%" border="0" cellspacing="10" cellpadding="0" class="admin_list_btm">
      <tr>
        <td>
        <input type="button" name="Butdel"  id="Butdel" value="删除记录" class="admin_submit"/>
		</td>
        <td width="305" align="right">
		<form id="formseh" name="formseh" method="get" action="?">	
			<div class="seh">
			    <div class="keybox"><input name="key" type="text"   value="{#$smarty.get.key#}" /></div>
			    <div class="selbox">
					<input name="key_type_cn"  id="key_type_cn" type="text" value="{#$smarty.get.key_type_cn|default:"用户名"#}" readonly="true"/>
		
						<div>
								<input name="key_type" id="key_type" type="hidden" value="{#$smarty.get.key_type|default:"1"#}" />
												<div id="sehmenu" class="seh_menu">
														<ul>
														<li id="1" title="用户名">用户名</li>
														<li id="3" title="猎头名">猎头名</li>
														<li id="2" title="UID">UID</li>
														</ul>
												</div>
						</div>	

				</div>
				<div class="sbtbox">
				<input name="act" type="hidden" value="meal_log" />
				<input type="submit" name="" class="sbt" id="sbt" value="搜索"/>
				</div>
				<div class="clear"></div>
		  </div>
		  </form>
		  <script type="text/javascript">$(document).ready(function(){showmenu("#key_type_cn","#sehmenu","#key_type");});	</script>
	    </td>
      </tr>
  </table>
<div class="page link_bk">{#$page#}</div>
  </div>
{#include file="sys/admin_footer.htm"#}
</body>
</html>