<?php die;?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<title><!--{$smarty.const.MICE_TITLE}--></title>
<base href="<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/" />
<link href="css/Default.css" rel="stylesheet" type="text/css" />
<script language="JavaScript">
var baseurl = '<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/';
</script>
<script type="text/javascript" src="js/Main.js"></script>
<script language="JavaScript">
function add(){
	window.location.href="<!--{$create}-->";
	window.event.returnValue = false;
}

function edit(){
	var arr = $("contentlist").$T("input");
	var flag = true;

	for(var i=0;i<arr.length;i++){
		var c = arr[i];
		if(c.$A("value")>0){
			if($("checkbox["+c.$A("value")+"]").checked){
				window.location.href="<!--{$edit}-->"+c.$A("value");
				window.event.returnValue = false;
				flag = false;
				return;
			}
		}
	}

	if(flag){
		Dialog.alert( "请先选择要编辑的分类！" ) ;
	}

	return ;
}

function del(){
	var arr = $("contentlist").$T("input");
	var flag = true;

	for(var i=0;i<arr.length;i++){
		var c = arr[i];
		if(c.$A("value")>0){
			if($("checkbox["+c.$A("value")+"]").checked){
				document.form1.submit();
				flag = false;
				return;
			}
		}
	}

	if(flag){
		Dialog.alert( "请先选择要删除的分类！" ) ;
	}

	return ;
}

function link(URL,name){
	var diag = new Dialog("DiagLinkEdit");
	diag.Width = 850;
	diag.Height = 450;
	diag.Title = "应聘信息 "+name;
	diag.URL = URL;
	diag.show();
	diag.OKButton.hide();
	diag.CancelButton.value="关闭";
}
</script>
</head>

<body>
<table width="100%" border="0" cellspacing="6" cellpadding="0" style="border-collapse: separate; border-spacing: 6px;">
      <tr valign="top">
        <td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="blockTable">
			<tr>
			  <td width="100%" style="padding:6px 10px;" class="blockTd">
			  <div style="float: left;"><img src="imgs/Icons/icon021a1.gif" />会员列表</div>
			  <div style="float: right; white-space: nowrap;vertical-align:middle;"><a href='javascript:void(0);' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false' id='BtnDel' onClick="del();return false;" priv="article_modify" ><img src="imgs/Icons/icon003a3.gif" width="20" height="20" /><b>删除&nbsp;</b></a></div>
			 </td>
            </tr>
			<form action="<!--{$index}-->" method="post" id="form2" name="form2">
			<tr>
				<td style="padding:2px 10px;">&nbsp;&nbsp;<select name='view' id='view'>
									<option value='2' <!--{if $view==2}-->selected<!--{/if}-->>全部</option>
									<option value='1' <!--{if $view==1}-->selected<!--{/if}-->>已查看</option>		
									<option value='0' <!--{if $view==0}-->selected<!--{/if}-->>未查看</option>		
							  </select>&nbsp;关键字&nbsp;<input name='keywords' id='keywords' type="text" size="25" value="<!--{$keywords}-->" onblur="if(this.value=='') this.value='标题或正文中的部分文字';" onfocus="if(this.value=='标题或正文中的部分文字') this.value='';">&nbsp;每页显示条数&nbsp;<select name='pages' id='pages'>
								<option value='10' <!--{if 10==$pages}-->selected<!--{/if}-->>10</option>
								<option value='20' <!--{if 20==$pages or 0>=$pages}-->selected<!--{/if}-->>20</option>
								<option value='30' <!--{if 30==$pages}-->selected<!--{/if}-->>30</option>
								<option value='50' <!--{if 50==$pages}-->selected<!--{/if}-->>50</option>
								<option value='100' <!--{if 100==$pages}-->selected<!--{/if}-->>100</option>	
							  </select>&nbsp;<select name='orders' id='orders'>
									<option value='cd' <!--{if $orders eq "cd"}-->selected<!--{/if}-->>撰写时间降序</option>		
									<option value='ca' <!--{if $orders eq "ca"}-->selected<!--{/if}-->>撰写时间升序</option>		
							  </select>&nbsp;&nbsp;<input type="submit" value="查 找">
				</td>				
			</tr>
			</form>
            <tr>
              <td style="padding-top:0px;padding-left:6px;padding-right:6px;padding-bottom:8px;">

<!--内容开始-->
<table width="100%" border='0' align="center" cellpadding='0' cellspacing='0'>

<tr>
<td style="padding:0px 5px;">
<form action="<!--{$delete}-->" method="post" id="form1" name="form1">
<table width="99%" cellpadding="2" cellspacing="0" class="dataTable" bgcolor="#BEBEBE" id="contentlist">
<tr class="dataTableHead">
<td width="4%" height="30"></td>
<td width="4%" height="30"><input name='chkAll' type='checkbox' id='chkAll' onclick='CheckAll(this.form)' value='checkbox'></td>
<td width="50%"><span style='float:left'><b>标题</b></span></td>
<td width="7%"><strong>状态</strong></td>
<td width="12%"><strong>应聘人</strong></td>
<td width="15%"><strong>撰写时间</strong></td>
<td width="8%"><strong>操作</strong></td>
</tr>

<!--{foreach from=$results item=rs name=counter}-->
<tr onmouseover="changeto()" onmouseout="changeback()">
<td><!--{$smarty.foreach.counter.iteration}--></td>
<td><input name="checkbox[<!--{$rs->getFormId()}-->]" id="checkbox[<!--{$rs->getFormId()}-->]" type="checkbox" value="<!--{$rs->getFormId()}-->" /></td>
<td><span title="<!--{$rs->getTitle()}-->"><a href="javascript:void(0)" onClick="link('<!--{$edit}--><!--{$rs->getFormId()}-->','<!--{$rs->getTitle()}-->');"><!--{$rs->getTitle()}--></a></span></td>
<td><!--{if 0==$rs->getIsview()}-->未查看<!--{else}-->已查看<!--{/if}--></td>
<td><!--{$rs->getName()}--></td>
<td><!--{'micefun'|Num2Time:$rs->getCreatedat()}--></td>
<td><a href="javascript:void(0)" onClick="link('<!--{$edit}--><!--{$rs->getFormId()}-->','<!--{$rs->getTitle()}-->');"><img src='imgs/Icons/icon003a15.gif' alt="详细内容" border="0"></a><a href="<!--{$delete}--><!--{$rs->getFormId()}-->" onclick="JavaScript:return confirm('确定删除吗?')"><img src='imgs/Icons/icon003a3.gif' alt="删除" border="0"></a></td>
</tr>
<!--{/foreach}-->
 <tr>
	<td colspan="11" align="left" id="_PageBar_list"><div style='float:right;font-family:Tahoma'><!--{$pager}--></div></td>
 </tr>
</table></td>
 </tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr > 
		<td height="30" valign='middle'>
			<div id='_PageBar_buttom' class="pageBarWrap" style="padding-top:6px;clear:both;bottom:0px; height:30px; line-height:30px;"><div class="pageBar" style='float:right;font-family:Tahoma'></div><div style='float:left;font-family:Tahoma'><a href='javascript:void(0);' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false' id='BtnDel' onClick="del();return false;" priv="article_modify" ><img src="imgs/Icons/icon003a3.gif" width="20" height="20" /><b>删除&nbsp;</b></a></div></div>
		</td>
	</tr>
</table>

<!--内容结束-->
		</td>
		</tr>
	</table></td>
  </tr>
  </form>
</table>
</body>
</html>