<?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(){
	if(<!--{$categoryid}-->>0){
		window.location.href="<!--{$create}-->"+<!--{$categoryid}-->;
		window.event.returnValue = false;
	}else{
		Dialog.alert("请先选择文档的一个分类！<br><br>选择方法：单击左边的分类名称。");
		return;
	}
}

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("aid");
				window.event.returnValue = false;
				flag = false;
				return;
			}
		}
	}

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

	return ;
}
 
function preview(){
	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.open("<!--{$preview}-->"+c.$A("cid")+"/"+c.$A("value"));
				flag = false;
			}
		}
	}

	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){
				Dialog.confirm("确认删除选中的文档吗？",function(){
					document.form1.submit();
				});
				flag = false;
				return;
			}
		}
	}

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

	return ;
}

</script>

<script language="JavaScript">
function onTreeClick(ele)
{
	//
	//document.alform.submit();
	//window.navigate("<!--{$category}-->"+cid);
	var cid=ele.getAttribute("cid");
	window.location.href="<!--{$category}-->"+cid;
	//window.open("<!--{$category}-->"+cid,"_MainArea");
	//window.event.returnValue = false;
	//alert("<!--{$category}-->"+cid);
}
</script>
</head>
<body>
<input type="hidden" id="CatalogID">
<input type="hidden" id="ListType" value='${ListType}'>
<table width="100%" border="0" cellspacing="6" cellpadding="0"
	style="border-collapse: separate; border-spacing: 6px;">
	<tr valign="top">
		<td width="180">
		<table width="180" border="0" cellspacing="0" cellpadding="6"
			class="blockTable">
			<tr>
				<td style="padding:6px;" class="blockTd">
<div id='tree1_container' class='treeContainer' style='-moz-user-select:none;height:490px;width:160px;'>
	<div micetype='_Tree' onselectstart='stopEvent(event);' id='tree1' class='treeItem'>
		<table>
			<tr>
				<td>

<p <!--{if 0==$categoryid}-->class="cur"<!--{/if}--> cid="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" afterdrag="afterTreeDragEnd" level="0" id="tree1__TreeRoot" parentid="" lazy="0" resizeable="0" ondblclick="Tree.onItemDblClick(event,this);"><img src='imgs/Icons/articles.gif'>文档库</p>
	<div>
		<!--{assign var=subsql value='WHERE parentid=0 AND type LIKE \'article%\' ORDER BY orderid'}-->
		<!--{foreach key=key from='micefun'|CategoryLists:$subsql:0:0 item=Category name=counter}-->

		<p <!--{if $Category->getCategoryId()==$categoryid}-->class="cur"<!--{/if}--> cid="<!--{$Category->getCategoryId()}-->" innercode="<!--{$Category->getCategoryId()}-->" afterdrag="afterTreeDragEnd" level="<!--{$Category->getDepth()}-->" id="tree1_<!--{$Category->getCategoryId()}-->" parentid="<!--{$Category->getParentid()}-->" lazy="0" resizeable="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" ondblclick="Tree.onItemDblClick(event,this);" dragend="Tree.dragEnd" onmouseup="DragManager.onMouseUp(event,this)" onmouseover="DragManager.onMouseOver(event,this)" dragover="Tree.dragOver" onmouseout="DragManager.onMouseOut(event,this)" dragout="Tree.dragOut" <!--{if $smarty.foreach.counter.iteration==$childcount}-->expand="4"<!--{else}-->expand="2"<!--{/if}-->><!--{if $Category->getChildcount()>0}--><!--{if $smarty.foreach.counter.iteration==$childcount}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon05.gif'><!--{else}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon02.gif'><!--{/if}--><!--{else}--><!--{if $smarty.foreach.counter.iteration==$childcount}--><img src='imgs/Icons/treeicon07.gif'><!--{else}--><img src='imgs/Icons/treeicon06.gif'><!--{/if}--><!--{/if}--><img src='imgs/Icons/<!--{$Category->getType()}-->.gif' alt='类别：<!--{assign var=typeid value=$Category->getType()}--><!--{$categorytype[$typeid].name}-->'><!--{$Category->getTitle()}--></p>
		
		<!--第2层开始-->
		<!--{if $Category->getChildcount()>0}-->
			<div>
			<!--{assign var=subsql2 value='WHERE parentid='|cat:$Category->getCategoryId()|cat:' AND type LIKE \'article%\' ORDER BY orderid'}-->
			<!--{foreach key=key from='micefun'|CategoryLists:$subsql2:0:0 item=Category2 name=counter2}-->
			
			<p <!--{if $Category2->getCategoryId()==$categoryid}-->class="cur"<!--{/if}--> cid="<!--{$Category2->getCategoryId()}-->" innercode="<!--{$Category2->getCategoryId()}-->" afterdrag="afterTreeDragEnd" level="<!--{$Category2->getDepth()}-->" id="tree1_<!--{$Category2->getCategoryId()}-->" parentid="<!--{$Category2->getParentid()}-->" lazy="0" resizeable="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" ondblclick="Tree.onItemDblClick(event,this);" dragend="Tree.dragEnd" onmouseup="DragManager.onMouseUp(event,this)" onmouseover="DragManager.onMouseOver(event,this)" dragover="Tree.dragOver" onmouseout="DragManager.onMouseOut(event,this)" dragout="Tree.dragOut" <!--{if $smarty.foreach.counter2.iteration==$Category->getChildcount()}-->expand="4"<!--{else}-->expand="2"<!--{/if}-->><!--{if $smarty.foreach.counter.iteration==$childcount}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $Category2->getChildcount()>0}--><!--{if $smarty.foreach.counter2.iteration==$Category->getChildcount()}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon05.gif'><!--{else}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon02.gif'><!--{/if}--><!--{else}--><!--{if $smarty.foreach.counter2.iteration==$Category->getChildcount()}--><img src='imgs/Icons/treeicon07.gif'><!--{else}--><img src='imgs/Icons/treeicon06.gif'><!--{/if}--><!--{/if}--><img src='imgs/Icons/<!--{$Category2->getType()}-->.gif' alt='类别：<!--{assign var=typeid value=$Category2->getType()}--><!--{$categorytype[$typeid].name}-->'><!--{$Category2->getTitle()}--></p>
			
			<!--第3层开始-->
			<!--{if $Category2->getChildcount()>0}-->
				<div>
				<!--{assign var=subsql3 value='WHERE parentid='|cat:$Category2->getCategoryId()|cat:' AND type LIKE \'article%\' ORDER BY orderid'}-->
				<!--{foreach key=key from='micefun'|CategoryLists:$subsql3:0:0 item=Category3 name=counter3}-->
				
				<p <!--{if $Category3->getCategoryId()==$categoryid}-->class="cur"<!--{/if}--> cid="<!--{$Category3->getCategoryId()}-->" innercode="<!--{$Category3->getCategoryId()}-->" afterdrag="afterTreeDragEnd" level="<!--{$Category3->getDepth()}-->" id="tree1_<!--{$Category3->getCategoryId()}-->" parentid="<!--{$Category3->getParentid()}-->" lazy="0" resizeable="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" ondblclick="Tree.onItemDblClick(event,this);" dragend="Tree.dragEnd" onmouseup="DragManager.onMouseUp(event,this)" onmouseover="DragManager.onMouseOver(event,this)" dragover="Tree.dragOver" onmouseout="DragManager.onMouseOut(event,this)" dragout="Tree.dragOut" <!--{if $smarty.foreach.counter3.iteration==$Category2->getChildcount()}-->expand="4"<!--{else}-->expand="2"<!--{/if}-->><!--{if $smarty.foreach.counter.iteration==$childcount}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter2.iteration==$Category->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $Category3->getChildcount()>0}--><!--{if $smarty.foreach.counter3.iteration==$Category2->getChildcount()}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon05.gif'><!--{else}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon02.gif'><!--{/if}--><!--{else}--><!--{if $smarty.foreach.counter3.iteration==$Category2->getChildcount()}--><img src='imgs/Icons/treeicon07.gif'><!--{else}--><img src='imgs/Icons/treeicon06.gif'><!--{/if}--><!--{/if}--><img src='imgs/Icons/<!--{$Category3->getType()}-->.gif' alt='类别：<!--{assign var=typeid value=$Category3->getType()}--><!--{$categorytype[$typeid].name}-->'><!--{$Category3->getTitle()}--></p>

				<!--第4层开始-->
				<!--{if $Category3->getChildcount()>0}-->
					<div>
					<!--{assign var=subsql4 value='WHERE parentid='|cat:$Category3->getCategoryId()|cat:' AND type LIKE \'article%\' ORDER BY orderid'}-->
					<!--{foreach key=key from='micefun'|CategoryLists:$subsql4:0:0 item=Category4 name=counter4}-->
					
					<p <!--{if $Category4->getCategoryId()==$categoryid}-->class="cur"<!--{/if}--> cid="<!--{$Category4->getCategoryId()}-->" innercode="<!--{$Category4->getCategoryId()}-->" afterdrag="afterTreeDragEnd" level="<!--{$Category4->getDepth()}-->" id="tree1_<!--{$Category4->getCategoryId()}-->" parentid="<!--{$Category4->getParentid()}-->" lazy="0" resizeable="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" ondblclick="Tree.onItemDblClick(event,this);" dragend="Tree.dragEnd" onmouseup="DragManager.onMouseUp(event,this)" onmouseover="DragManager.onMouseOver(event,this)" dragover="Tree.dragOver" onmouseout="DragManager.onMouseOut(event,this)" dragout="Tree.dragOut" <!--{if $smarty.foreach.counter4.iteration==$Category3->getChildcount()}-->expand="4"<!--{else}-->expand="2"<!--{/if}-->><!--{if $smarty.foreach.counter.iteration==$childcount}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter2.iteration==$Category->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter3.iteration==$Category2->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $Category4->getChildcount()>0}--><!--{if $smarty.foreach.counter4.iteration==$Category3->getChildcount()}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon05.gif'><!--{else}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon02.gif'><!--{/if}--><!--{else}--><!--{if $smarty.foreach.counter4.iteration==$Category3->getChildcount()}--><img src='imgs/Icons/treeicon07.gif'><!--{else}--><img src='imgs/Icons/treeicon06.gif'><!--{/if}--><!--{/if}--><img src='imgs/Icons/<!--{$Category4->getType()}-->.gif' alt='类别：<!--{assign var=typeid value=$Category4->getType()}--><!--{$categorytype[$typeid].name}-->'><!--{$Category4->getTitle()}--></p>

					<!--第5层开始-->
					<!--{if $Category4->getChildcount()>0}-->
						<div>
						<!--{assign var=subsql5 value='WHERE parentid='|cat:$Category4->getCategoryId()|cat:' AND type LIKE \'article%\' ORDER BY orderid'}-->
						<!--{foreach key=key from='micefun'|CategoryLists:$subsql5:0:0 item=Category5 name=counter5}-->
						
						<p <!--{if $Category5->getCategoryId()==$categoryid}-->class="cur"<!--{/if}--> cid="<!--{$Category5->getCategoryId()}-->" innercode="<!--{$Category5->getCategoryId()}-->" afterdrag="afterTreeDragEnd" level="<!--{$Category5->getDepth()}-->" id="tree1_<!--{$Category5->getCategoryId()}-->" parentid="<!--{$Category5->getParentid()}-->" lazy="0" resizeable="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" ondblclick="Tree.onItemDblClick(event,this);" dragend="Tree.dragEnd" onmouseup="DragManager.onMouseUp(event,this)" onmouseover="DragManager.onMouseOver(event,this)" dragover="Tree.dragOver" onmouseout="DragManager.onMouseOut(event,this)" dragout="Tree.dragOut" <!--{if $smarty.foreach.counter5.iteration==$Category4->getChildcount()}-->expand="4"<!--{else}-->expand="2"<!--{/if}-->><!--{if $smarty.foreach.counter.iteration==$childcount}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter2.iteration==$Category->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter3.iteration==$Category2->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter4.iteration==$Category3->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $Category5->getChildcount()>0}--><!--{if $smarty.foreach.counter5.iteration==$Category4->getChildcount()}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon05.gif'><!--{else}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon02.gif'><!--{/if}--><!--{else}--><!--{if $smarty.foreach.counter5.iteration==$Category4->getChildcount()}--><img src='imgs/Icons/treeicon07.gif'><!--{else}--><img src='imgs/Icons/treeicon06.gif'><!--{/if}--><!--{/if}--><img src='imgs/Icons/<!--{$Category5->getType()}-->.gif' alt='类别：<!--{assign var=typeid value=$Category5->getType()}--><!--{$categorytype[$typeid].name}-->'><!--{$Category5->getTitle()}--></p>

						<!--第6层开始-->
						<!--{if $Category5->getChildcount()>0}-->
							<div>
							<!--{assign var=subsql6 value='WHERE parentid='|cat:$Category5->getCategoryId()|cat:' AND type LIKE \'article%\' ORDER BY orderid'}-->
							<!--{foreach key=key from='micefun'|CategoryLists:$subsql6:0:0 item=Category6 name=counter6}-->
							
							<p <!--{if $Category6->getCategoryId()==$categoryid}-->class="cur"<!--{/if}--> cid="<!--{$Category6->getCategoryId()}-->" innercode="<!--{$Category6->getCategoryId()}-->" afterdrag="afterTreeDragEnd" level="<!--{$Category6->getDepth()}-->" id="tree1_<!--{$Category6->getCategoryId()}-->" parentid="<!--{$Category6->getParentid()}-->" lazy="0" resizeable="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" ondblclick="Tree.onItemDblClick(event,this);" dragend="Tree.dragEnd" onmouseup="DragManager.onMouseUp(event,this)" onmouseover="DragManager.onMouseOver(event,this)" dragover="Tree.dragOver" onmouseout="DragManager.onMouseOut(event,this)" dragout="Tree.dragOut" <!--{if $smarty.foreach.counter6.iteration==$Category5->getChildcount()}-->expand="4"<!--{else}-->expand="2"<!--{/if}-->><!--{if $smarty.foreach.counter.iteration==$childcount}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter2.iteration==$Category->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter3.iteration==$Category2->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter4.iteration==$Category3->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter5.iteration==$Category4->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $Category6->getChildcount()>0}--><!--{if $smarty.foreach.counter6.iteration==$Category5->getChildcount()}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon05.gif'><!--{else}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon02.gif'><!--{/if}--><!--{else}--><!--{if $smarty.foreach.counter6.iteration==$Category5->getChildcount()}--><img src='imgs/Icons/treeicon07.gif'><!--{else}--><img src='imgs/Icons/treeicon06.gif'><!--{/if}--><!--{/if}--><img src='imgs/Icons/<!--{$Category6->getType()}-->.gif' alt='类别：<!--{assign var=typeid value=$Category6->getType()}--><!--{$categorytype[$typeid].name}-->'><!--{$Category6->getTitle()}--></p>

							<!--{/foreach}-->
							</div>
						<!--{/if}-->

						<!--第6层结束-->

						<!--{/foreach}-->
						</div>
					<!--{/if}-->

					<!--第5层结束-->

					<!--{/foreach}-->
					</div>
				<!--{/if}-->

				<!--第4层结束-->

				<!--{/foreach}-->
				</div>
			<!--{/if}-->

			<!--第2层结束-->

			<!--{/foreach}-->
			</div>
		<!--{/if}-->

		<!--第2层结束-->

		<!--{/foreach}-->

</div>
</td>
</tr>
</table>
</div>
</div>
<!--树框右下角拖动功能-->
<script>$('tree1').TagBody = "&lt;p&nbsp;cid='$\{ID}'&nbsp;innercode='$\{InnerCode}'&nbsp;onClick=&quot;onTreeClick(this);&quot;&nbsp;afterdrag='afterTreeDragEnd'&nbsp;oncontextmenu=&quot;showMenu(event,this);stopEvent(event);&quot;&gt;$\{Name}&lt;/p&gt;";Tree.init('tree1',true);</script>
</td>
			</tr>
		</table>
		</td>
		<td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="blockTable">
			<tr>
				<td width="65%" style="padding:6px 10px;" class="blockTd">
				 <div style="float: left;"><img src="imgs/Icons/icon018a1.gif" />文档列表</div><div style="float: right; white-space: nowrap;vertical-align:middle;">
				<a href='javascript:void(0);' class='micePushBtn' tabindex='-1' id='BtnAdd' onClick="add();"><img src="imgs/Icons/icon003a2.gif" width="20" height="20" /><b>新建&nbsp;</b></a> 
				<a href='javascript:void(0);' class='micePushBtn' tabindex='-1' id='BtnEdit' onClick="edit();return false;"><img src="imgs/Icons/icon003a4.gif" width="20" height="20" /><b>编辑&nbsp;</b></a> 
				<a href='javascript:void(0);' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false' id='BtnPreview' onClick="preview();return false;" priv="article_browse" ><img src="imgs/Icons/icon003a15.gif" width="20" height="20" /><b>预览&nbsp;</b></a> 
				<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;<input name='categoryid' id='categoryid' type="hidden" value="<!--{$categoryid}-->">
				作者&nbsp;<select name='userid' id='userid'>
								<option value='0'>全部</option>
								<!--{foreach from=$userrs item=urs}-->
									<option value='<!--{$urs->getUserId()}-->' <!--{if $urs->getUserId()==$userid}-->selected<!--{/if}-->><!--{$urs->getLoginname()}--></option>
								<!--{/foreach}-->
							  </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='15' <!--{if 15==$pages}-->selected<!--{/if}-->>15</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>		
									<option value='bd' <!--{if $orders eq "bd"}-->selected<!--{/if}-->>点击量降序</option>
									<option value='ba' <!--{if $orders eq "ba"}-->selected<!--{/if}-->>点击量升序</option>
							  </select>&nbsp;&nbsp;<input type="submit" value="查 找">				
				</td>				
			</tr>
			</form>
			<tr>
				<td style="padding-top:2px;padding-left:6px;padding-right:6px;padding-bottom:2px;">
<table width="100%" cellpadding="2" cellspacing="0" class="dataTable" bgcolor="#BEBEBE" id="contentlist">
<form action="<!--{$delete}-->" method="post" id="form1" name="form1">
<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="45%"><span style='float:left'><b>标题</b></span></td>
<td width="8%"><strong>创建者</strong></td>
<td width="15%"><span style='float:left'><strong>发布时间</strong></span></td>
<td width="5%"><strong>状态</strong></td>
<td width="7%"><strong>浏览量</strong></td>
<td width="12%"><strong>操作</strong></td>
</tr>



<!--{foreach from=$articlers item=rs name=counter}-->
	<tr onmouseover="changeto()" onmouseout="changeback()">
	<td><!--{$smarty.foreach.counter.iteration}--></td>
	<td><input name="checkbox[<!--{$rs->getArticleId()}-->]" id="checkbox[<!--{$rs->getArticleId()}-->]" type="checkbox" value="<!--{$rs->getArticleId()}-->" cid="<!--{'micefun'|CategoryId:$rs->getCategoryId()}-->" aid="/edit<!--{assign var=typeid value=$rs->getType()}--><!--{$categorytype[$typeid].type}-->/article_id/<!--{$rs->getArticleId()}-->" /></td>
	<td style=""><span title="编辑  <!--{$rs->getTitle()}-->"><a href="<!--{$edit}-->/edit<!--{assign var=typeid value=$rs->getType()}--><!--{$categorytype[$typeid].type}-->/article_id/<!--{$rs->getArticleId()}-->"><!--{$rs->getTitle()}--></a></span></td>
	<td><!--{assign var=uid value=$rs->getUserId()}--><!--{$username[$uid]}--></td>
	<td title="<!--{'micefun'|Num2Time:$rs->getCreatedat()}-->"><!--{'micefun'|Num2TimeShort:$rs->getCreatedat()}--></td>
	<td><!--{if 0 eq $rs->getIsvisible()}--><img src='imgs/Icons/icon403a12.gif' alt="显示"><!--{else}--><img src='imgs/Icons/icon403a11.gif' alt="隐藏"><!--{/if}--></td>
	<td><!--{$rs->getBrowses()}--></td>
	<td><a href="<!--{$edit}-->/edit<!--{assign var=typeid value=$rs->getType()}--><!--{$categorytype[$typeid].type}-->/article_id/<!--{$rs->getArticleId()}-->"><img src='imgs/Icons/icon003a4.gif' alt="编辑" border="0"></a><a href="<!--{$preview}--><!--{'micefun'|CategoryId:$rs->getCategoryId()}-->/<!--{$rs->getArticleId()}-->" target="_blank"><img src='imgs/Icons/icon003a15.gif' alt="预览" border="0"></a><a href="javascript:void(0);" onclick='JavaScript:Dialog.confirm("确认删除选中的文档吗？",function(){window.location.href="<!--{$delete}--><!--{$rs->getArticleId()}-->";});'><img src='imgs/Icons/icon003a3.gif' alt="删除" border="0"></a></td>
	
	</tr>
  <!--{/foreach}-->

<tr>
<td colspan="8" align="left" id="_PageBar_list"><div style='float:right;font-family:Tahoma'><!--{$pager}--></div></td>
</tr>
</table>
<table width="100%" 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);' class='micePushBtn' tabindex='-1' id='BtnAdd' onClick="add();"><img src="imgs/Icons/icon003a2.gif" width="20" height="20" /><b>新建&nbsp;</b></a> 
				<a href='javascript:void(0);' class='micePushBtn' tabindex='-1' id='BtnEdit' onClick="edit();return false;"><img src="imgs/Icons/icon003a4.gif" width="20" height="20" /><b>编辑&nbsp;</b></a> 
				<a href='javascript:void(0);' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false' id='BtnPreview' onClick="preview();return false;" priv="article_browse" ><img src="imgs/Icons/icon003a15.gif" width="20" height="20" /><b>预览&nbsp;</b></a> 
				<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>