<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>{#$title#}</title>
	<meta name="author" content="骑士CMS" />
	<meta name="copyright" content="74cms.com" />
	<link rel="shortcut icon" href="{#$QISHI.site_dir#}favicon.ico" />
	<link rel="stylesheet" href="{#$QISHI.site_template#}css/user_common.css" />
	<link rel="stylesheet" href="{#$QISHI.site_template#}css/user_company.css" />
	<script src="{#$QISHI.site_template#}js/png24fix.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.js"></script>
	<script src="{#$QISHI.site_dir#}data/cache_classify.js" type="text/javascript" charset="utf-8"></script>
	<script src="{#$QISHI.site_template#}js/jquery.user.selectlayer.js" type="text/javascript" charset="utf-8"></script>
	<script src="{#$QISHI.site_template#}js/tc.all.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.dropdown.js"></script>
	<script type="text/javascript" src="{#$QISHI.site_template#}js/jquery.radioui.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.radiorelated.js"></script>
	<script>
		$(document).ready(function() {
			$(":radio").RadioUI();
			// 上传  or 下载
			$("#Form1 .radioui").bind('click',function()
			{
				$("#Form1").submit();
			});
		});
	</script>
</head>
<body>
	<!-- 顶部 -->
	{#include file="member_company/header.htm"#}
	<!-- 顶部结束 -->
	<!-- 二级菜单 -->
	<div class="secondary_menu clearfix">
		<ul>
			<li><a href="?act=search_engine_junior" class="sec_menu_li {#if $act=='search_engine_junior'#}hashover{#/if#}">初级人才搜索</a></li>
			<li><a href="?act=search_engine_senior" class="sec_menu_li {#if $act=='search_engine_senior'#}hashover{#/if#}">高级人才搜索</a></li>
			<li><a href="?act=search_list" class="sec_menu_li {#if $act=='manage_self_list'#}hashover{#/if#}">List通讯录</a></li>
		</ul>
	</div><!-- 二级菜单结束 -->
	
	<div class="container">
		<div class="list_radio_box clearfix">
			<form method="get" id="Form1">
				<input type="hidden" name="act" value="manage_self_list"/>
				<div class="list_radio_check">分类查看：
					<label><input type="radio" name="type" value="2" {#if $smarty.get.type==2 || $smarty.get.type==0#}checked{#/if#}/> 我下载的</label>
					<label><input type="radio" name="type" value="1" {#if $smarty.get.type==1#}checked{#/if#} /> 我上传的</label>
				</div>
			</form>
			<div class="add_contact_list"><a href="?act=upload_list">新增List</a></div>
		</div>
		<div class="data-list">
		<table class="table table-text-center table-hover table-striped contact_list_list">
			<input type="hidden" name="y_id" id="y_id" value="">
			<thead>
			{#if $type==1#}
		        	<!-- 上传的List通讯录 -->
		        	<tr>
			            <th width="180" style="text-align:left;">通讯录标题</th>
			            <th width="145" style="text-align:left;">所属行业</th>
			            <th width="40">手机</th>
			            <th width="40">邮箱</th>
			            <th width="30">人数</th>
			            <th width="30">年份</th>
			            <th width="40">大小</th>
			            <th width="85">上传日期</th>
			            <th width="40">人气</th>
			            <th width="40">下载数</th>
			            <th width="50">价格</th>
			            <th width="65">操作</th>
		        	</tr>
		        	{#else#}
		        	<!-- 下载的List通讯录 -->
		        	<tr>
			            <th width="180" style="text-align:left;">通讯录标题</th>
			            <th width="145" style="text-align:left;">所属行业</th>
			            <th width="50">手机</th>
			            <th width="50">邮箱</th>
			            <th width="30">人数</th>
			            <th width="50">年份</th>
			            <th width="40">大小</th>
			            <th width="85">下载日期</th>
			            <th width="40">人气</th>
			            <th width="50">价格</th>
			            <th width="65">操作</th>
		        	</tr>
		        	{#/if#}
		    	</thead>
		    	<tbody>
		    		{#if $list#}
		    		{#foreach from=$list item=li#}
		    			{#if $li.file#}
			    		<tr>
					            	<td style="text-align:left;" title="{#$li.title_#}"><a href="{#$li.url#}" target="_black">{#$li.title#}</td>
					            	<td style="text-align:left;" title="{#$li.trade_cn_#}">{#$li.trade_cn#}</td>
					            	<td>{#$li.mobile_cn#}</td>
					            	<td>{#$li.email_cn#}</td>
					            	<td>{#$li.number#}</td>
					              <td>{#$li.list_time#}</td>
					              <td>{#$li.file_size#}</td>
					     	     	<td>{#$li.time#}</td>
					              <td>{#$li.click#}</td>
					              {#if $type==1#}
					              <td>{#$li.down_num#}</td>
					              {#/if#}
					              <td><span class="list_price">{#$li.price#}RMB</span></td>
					              {#if $type==1#}
					              <td class="link_blue"><a href="?act=update_list&list_id={#$li.id#}">修改</a>&nbsp;&nbsp;<a href="?act=del_list&list_id={#$li.id#}&del_type=1">删除</a></td>
					              {#else#}
					              <td class="link_blue"><a href="{#$QISHI.site_domain#}{#$QISHI.site_dir#}data/list/{#$li.file#}">下载</a>&nbsp;&nbsp;<a href="?act=del_list&list_id={#$li.id#}&del_type=2">删除</a></td>
					              {#/if#}
				       	</tr>
				       	{#else#}
				       	<tr>
				       		<td style="text-align:left;" colspan="{#if $type==1#}11{#else#}10{#/if#}">编号为：{#$li.list_id#} 的通讯录可能已经从网站中移除，你可以删掉本条记录。</td>
				       		<td class="link_blue"><a href="?act=del_list&list_id={#$li.id#}&del_type=2">删除</a></td>
				       	</tr>
				       	{#/if#}
			        	{#/foreach#}
			        	{#else#}
				<tr>
					<td class="text-left table-actions" colspan="{#if $type==1#}12{#else#}11{#/if#}">
				            		没有您要找的信息！
			            		</td>
				</tr>
				{#/if#}
		    	</tbody>
		    	<tfoot>
		    		<tr style="border:none;">
		    			<td class="text-left table-actions" colspan="3">
				            <a href="{#$QISHI.site_domain#}{#$QISHI.site_dir#}explain/explain-show.php?id=10" target="_black" class="list_list_link">点此查看list通讯录上传规则</a>
			            </td>
			            <td class="pagerbar-actions-inline" colspan="{#if $type==1#}9{#else#}8{#/if#}">
	      				<!-- 分页 -->
					<div class="page h_page clearfix">
						{#$page#}
					</div>
					<!-- 分页结束 -->
	      			</td>
		    		</tr>
		    	</tfoot>
		</table>
	</div>
	</div>
	<!-- 底部 -->
	{#include file="./footer.htm"#}
</body>
</html>