{#include file="sys/admin_header.htm"#}
<script type="text/javascript" src="js/jquery.userinfotip-min.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
	$("#ButAudit").QSdialog({
	DialogTitle:"请选择",
	DialogContent:"#AuditSet",
	DialogContentType:"id",
	DialogAddObj:"#OpAudit",	
	DialogAddType:"html"	
	});
	//点击批量删除	
	$("#ButDlete").click(function(){
		if (confirm('你确定要删除吗？'))
		{
			$("form[name=form1]").attr("action",$("form[name=form1]").attr("action")+"&delete=true");
			$("form[name=form1]").submit()
		}
	});
});
</script>
<div class="admin_main_nr_dbox">
<div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
  <div class="clear"></div>
</div>
<div class="toptip">
	<h2>提示：</h2>
	<p>
list下载：根据上传人设置的list价格下载人要支付一部分费用，且平台会收取一定比例的服务费。<br />
</p>
</div>
<div class="seltpye_x">
		<div class="left">审核状态</div>	
		<div class="right">
			<a href="{#"audit:"|qishi_parse_url#}" {#if $smarty.get.audit==""#} class="select"{#/if#}>不限</a>
			<a href="{#"audit:1"|qishi_parse_url#}" {#if $smarty.get.audit=="1"#}class="select"{#/if#}>审核通过</a>
			<a href="{#"audit:2"|qishi_parse_url#}" {#if $smarty.get.audit=="2"#}class="select"{#/if#}>等待审核</a>
			<a href="{#"audit:3"|qishi_parse_url#}" {#if $smarty.get.audit=="3"#}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="{#"mobile:"|qishi_parse_url#}" {#if $smarty.get.mobile==""#}class="select"{#/if#}>不限</a>
		<a href="{#"mobile:1"|qishi_parse_url#}" {#if $smarty.get.mobile=="1"#}class="select"{#/if#}>全部有</a>
		<a href="{#"mobile:2"|qishi_parse_url#}" {#if $smarty.get.mobile=="2"#}class="select"{#/if#}>多数有</a>
		<a href="{#"mobile:3"|qishi_parse_url#}" {#if $smarty.get.mobile=="3"#}class="select"{#/if#}>少数有</a>
		<a href="{#"mobile:4"|qishi_parse_url#}" {#if $smarty.get.mobile=="4"#}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="{#"email:"|qishi_parse_url#}" {#if $smarty.get.email==""#}class="select"{#/if#}>不限</a>
		<a href="{#"email:1"|qishi_parse_url#}" {#if $smarty.get.email=="1"#}class="select"{#/if#}>全部有</a>
		<a href="{#"email:2"|qishi_parse_url#}" {#if $smarty.get.email=="2"#}class="select"{#/if#}>多数有</a>
		<a href="{#"email:3"|qishi_parse_url#}" {#if $smarty.get.email=="3"#}class="select"{#/if#}>少数有</a>
		<a href="{#"email:4"|qishi_parse_url#}" {#if $smarty.get.email=="4"#}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="{#"utype:"|qishi_parse_url#}" {#if $smarty.get.utype==""#}class="select"{#/if#}>不限</a>
		<a href="{#"utype:1"|qishi_parse_url#}" {#if $smarty.get.utype=="1"#}class="select"{#/if#}>企业</a>
		<a href="{#"utype:3"|qishi_parse_url#}" {#if $smarty.get.utype=="3"#}class="select"{#/if#}>猎头</a>
		<div class="clear"></div>
		</div>
		<div class="clear"></div>
</div>
  <form id="form1" name="form1" method="post" action="?act=list_perform">
  {#$inputtoken#}
  <table width="100%" border="0" cellpadding="0" cellspacing="0"  id="list" 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    width="15%" class="admin_list_tit">所属行业</td> 
	  <td  width="12%" class="admin_list_tit">上传人</td>  
      <td width="5%" align="center" class="admin_list_tit">手机</td>
      <td width="5%" align="center" class="admin_list_tit">邮箱</td>
      <td width="5%" align="center" class="admin_list_tit">年份</td>
      <td width="5%" align="center" class="admin_list_tit">下载数</td>
      <td width="5%" align="center" class="admin_list_tit">价格</td>
      <td width="5%" align="center" class="admin_list_tit">list文件</td>
      <td width="7%" align="center" class="admin_list_tit">审核状态</td>
      <td width="7%" align="center" class="admin_list_tit">添加时间</td>
      <td width="7%" align="center" class="admin_list_tit">操作</td>
    </tr>
	{#foreach from=$list item=li#}
      <tr >
      <td class="admin_list admin_list_first" title="{#$li.title_#}">
        <input name="y_id[]" type="checkbox" id="y_id" value="{#$li.id#}" />
		<a href="{#$li.list_url#}" target="_blank" >{#$li.title#}</a>
		</td>
		
		<td  class="admin_list" title="{#$li.trade_cn_#}">
		{#$li.trade_cn#}
		</td>
        <td class="admin_list" title="{#$li.belong_people_#}">
		{#$li.belong_people#}
		</td>
		<td class="admin_list" align="center">
		{#$li.mobile_cn#}
		</td>
		<td class="admin_list" align="center">
		{#$li.email_cn#}
		</td>
		<td class="admin_list" align="center">
		{#$li.list_time|date_format:"%Y"#}
		</td>
		<td class="admin_list" align="center">
		{#$li.click#}
		</td>
		<td class="admin_list" align="center">
		{#$li.price#}RMB
		</td>
		<td class="admin_list" align="center">
		<a href="{#$QISHI.site_domain#}{#$QISHI.site_dir#}data/list/{#$li.file#}">下载</a>
		</td>
		<td class="admin_list" align="center">
		{#if $li.audit == "1"#}
		<span style="color: #009900">审核通过</span>	
		{#elseif $li.audit == "2"#}
		<span style="color:#FF0000">等待审核</span>
		{#elseif $li.audit == "3"#}
		审核未通过
		{#/if#}
		</td>
        <td align="center" class="admin_list">
		{#$li.addtime|date_format:"%Y-%m-%d"#}
		</td>
		           
        <td width="8%" align="center" class="admin_list">
		<a href="?act=edit_list&id={#$li.id#}">修改</a>
		&nbsp;
		<a href="?act=management&id={#$li.uid#}"  target="_blank"  class="userinfo"  id="{#$li.uid#}">管理</a>
		</td>
      </tr>
      {#/foreach#}
    </table>        
<span id="OpAudit"></span>
  </form>
	{#if !$list#}
	<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="" value="审核" class="admin_submit"  id="ButAudit" />
	<input type="button" name="" value="删除" class="admin_submit"   id="ButDlete"/>
	</td>
      </tr>
  </table>
<div class="page link_bk">{#$page#}</div>
</div>
<!-- 审核弹出框-->
<div style="display:none" id="AuditSet">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="6">
    <tr>
      <td width="20" height="30">&nbsp;</td>
      <td height="30"><strong  style="color:#0066CC; font-size:14px;">将所选list设置为：</strong></td>
    </tr>
	      <tr>
      <td width="27" height="25">&nbsp;</td>
      <td>
                      <label><input name="audit" type="radio" value="1" checked="checked"  />
                      审核通过</label></td>
    </tr>
    <tr>
      <td width="27" height="25">&nbsp;</td>
      <td>
                      <label><input type="radio" name="audit" value="3"  />
                       审核未通过</label></td>
    </tr>
    <tr>
      <td height="25">&nbsp;</td>
      <td>
	  <input type="submit" name="set_audit" value="确定" class="admin_submit"/>
 </td>
    </tr>
  </table>
  </div>
<!-- -->
{#include file="sys/admin_footer.htm"#}
</body>
</html>