<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={sys_charset}">
<title>ad list</title>
<link href="{adminStylePath}style/common.css" rel="stylesheet" type="text/css">
<script language="javascript" src="{adminStylePath}js/common.js"></script>

</head>

<body>
<table class="nav_table" cellpadding="0" cellspacing="0">	
	<tr>
		<td class="nav_td">{menu_nav}</td>
	</tr>	
</table>
<table class="toolbar_table" cellpadding="0" cellspacing="0">
	<form name="editForm" method="post" action="">
	<tr>
		<td width="200">
		</td>
		<td class="toolbar_td">{toolbar}</td>
	</tr>
	<input type="hidden" name="selectValue" id="selectValue" value="">
</form>
</table>

<div class="line_space"><img src="{adminStylePath}images/blank.gif"></div>
<table class="search_table" cellpadding="0" cellspacing="0">	
	<form name="searchForm" method="post" action="" onsubmit="javascript:return checkSearch();">
	<tr>
		<td class="search_td">
			<select name="search_field" class="input_select" >
			<option value='title' >广告名称</option>
			</select>
			{list_flag}
			<input type="text" name="layout_id_show" id="layout_id_show" class="input_text" value="{layout_title}" onclick="openSelectWin('../mod_template/template_layout_select.php?type=1')" >
			<input type="hidden" name="layout_id" id="layout_id" value="{layout_id}">
			<input type="text" name="search_keyword" id="search_keyword" class="input_text_search" value=""><input type="submit" name="btn_search" class="btn_search" value="go">
		</td>
	</tr>	
</form>
</table>
<table class="list_tb" cellpadding="0" cellspacing="0">
<tr class="list_title_tr_bg">
<td width="5%" class="list_title_td">编号</td>
<td width="5%" class="list_title_td" title="选择"><input type="checkbox" name="select_all" id="select_all" value="1" class="input_checkbox_all" onclick="selectAll('select_all','selectid')"></td>
<td width="25%" class="list_title_td">广告名称</td>
<td width="14%" class="list_title_td" title="广告位">板块名-广告位</td>
<td width="18%" class="list_title_td">开始时间</td>
<td width="18%" class="list_title_td">结束时间</td>
<td width="10%" class="list_title_td">用户名</td>
<td width="5%" class="list_title_td">状态</td>
</tr>
<!-- BEGIN ListAd -->
<tr class="list_sub_tr_bg" onMouseOver="this.className='list_mouseover_tr_bg'" onMouseOut="this.className='list_sub_tr_bg'" >
<td width="5%">{ListAd.num}</td>
<td width="5%"><input type="checkbox" name="selectid" value="{ListAd.id}" class="input_checkbox" ></td>
<td width="25%">{ListAd.title}</td>
<td width="14%" >{ListAd.layout_title}</td>
<td width="18%">{ListAd.starttime}</td>
<td width="18%">{ListAd.endtime}</td>
<td width="10%" title="{ListAd.addtime}">{ListAd.username}</td>
<td width="5%">{ListAd.flag}</td>
</tr>
<!-- END ListAd -->
</table>               
<div class="pagenext_div">{pagenext}</div>
</body>
</html>