<?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/';
//alert(<!--{$filecategoryid}-->);
</script>
<script type="text/javascript" src="js/Main.js"></script>
<script language="javascript"> 
  function copyToClipboard(txt) {
      if(window.clipboardData) {
              window.clipboardData.clearData();   
              window.clipboardData.setData("Text", txt);   
			  alert(txt+"\n文件地址复制成功");
      } else if(navigator.userAgent.indexOf("Opera") != -1) {
           alert("您所用的浏览器暂不支持JS复制功能\n请直接复制文本框中的内容");   
      } else if (window.netscape) {   
           try {   
                netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");   
           } catch (e) {   
                alert("被浏览器拒绝！\n请直接复制文本框内的内容\n或\n在浏览器地址栏输入'about:config'并回车\n然后将'signed.applets.codebase_principal_support'设置为'true'");   
           }   
           var clip = Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard);   
           if (!clip)   
                return;   
           var trans = Components.classes['@mozilla.org/widget/transferable;1'].createInstance(Components.interfaces.nsITransferable);   
           if (!trans)   
                return;   
           trans.addDataFlavor('text/unicode');   
           var str = new Object();   
           var len = new Object();   
           var str = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);   
           var copytext = txt;   
           str.data = copytext;   
           trans.setTransferData("text/unicode",str,copytext.length*2);   
           var clipid = Components.interfaces.nsIClipboard;   
           if (!clip)   
                return false;   
           clip.setData(trans,null,clipid.kGlobalClipboard);   
           alert("复制成功\n"+txt);
      }
 }
</script>
<script language="JavaScript">
function add(){
	var diag = new Dialog("Diag1");
    
	diag.Width = 450;
	diag.Height = 460;
	diag.Title = "附件上传";
	diag.URL = "<!--{$create}--><!--{$filecategoryid}-->";
	diag.OKEvent = upload;	
	diag.show();
}

function upload(){
	$D.close();
	location.href = location.href;
}

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

	for(var i=0;i<arr.length;i++){
		var c = arr[i];
		if(c.$A("value")>0){
			if($("checkbox["+c.$A("value")+"]").checked){
				eid=c.$A("value");
			}
		}
	}

	if(!eid){
		Dialog.alert( "请先选择要编辑的文件！" ) ;
		return;
	}

	editid(eid);
}

function editid(eid){
	if(!eid){
		Dialog.alert( "请先选择要编辑的文件！" ) ;
		return;
	}

	var diag = new Dialog("Diag1");
	diag.Width = 420;
	diag.Height = 200;
	diag.Title = "编辑附件";
	diag.URL = "<!--{$edit}-->"+eid;
	diag.RequstURL = "<!--{$update}-->";
	diag.OKEvent = function(){
		var dc = $DW.Form.getData("editfile");
		Server.sendRequest(diag.RequstURL,dc,Application.RequstAlert);
	};
	diag.onLoad = function(){
		$DW.$("title").focus();
	};
	diag.show();
}

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(c.$A("url"));
				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.action="<!--{$delete}-->";
					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==$filecategoryid}-->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= \'mfile\' ORDER BY orderid'}-->
		<!--{foreach key=key from='micefun'|FileCategoryLists:$subsql:0:0 item=Category name=counter}-->

		<p <!--{if $Category->getFilecategoryId()==$filecategoryid}-->class="cur"<!--{/if}--> cid="<!--{$Category->getFilecategoryId()}-->" innercode="<!--{$Category->getFilecategoryId()}-->" afterdrag="afterTreeDragEnd" level="<!--{$Category->getDepth()}-->" id="tree1_<!--{$Category->getFilecategoryId()}-->" 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->getFilecategoryId()|cat:' AND type= \'mfile\' ORDER BY orderid'}-->
			<!--{foreach key=key from='micefun'|FileCategoryLists:$subsql2:0:0 item=Category2 name=counter2}-->
			
			<p <!--{if $Category2->getFilecategoryId()==$filecategoryid}-->class="cur"<!--{/if}--> cid="<!--{$Category2->getFilecategoryId()}-->" innercode="<!--{$Category2->getFilecategoryId()}-->" afterdrag="afterTreeDragEnd" level="<!--{$Category2->getDepth()}-->" id="tree1_<!--{$Category2->getFilecategoryId()}-->" 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->getFilecategoryId()|cat:' AND type= \'mfile\' ORDER BY orderid'}-->
				<!--{foreach key=key from='micefun'|FileCategoryLists:$subsql3:0:0 item=Category3 name=counter3}-->
				
				<p <!--{if $Category3->getFilecategoryId()==$filecategoryid}-->class="cur"<!--{/if}--> cid="<!--{$Category3->getFilecategoryId()}-->" innercode="<!--{$Category3->getFilecategoryId()}-->" afterdrag="afterTreeDragEnd" level="<!--{$Category3->getDepth()}-->" id="tree1_<!--{$Category3->getFilecategoryId()}-->" 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->getFilecategoryId()|cat:' AND type= \'mfile\' ORDER BY orderid'}-->
					<!--{foreach key=key from='micefun'|FileCategoryLists:$subsql4:0:0 item=Category4 name=counter4}-->
					
					<p <!--{if $Category4->getFilecategoryId()==$filecategoryid}-->class="cur"<!--{/if}--> cid="<!--{$Category4->getFilecategoryId()}-->" innercode="<!--{$Category4->getFilecategoryId()}-->" afterdrag="afterTreeDragEnd" level="<!--{$Category4->getDepth()}-->" id="tree1_<!--{$Category4->getFilecategoryId()}-->" 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->getFilecategoryId()|cat:' AND type= \'mfile\' ORDER BY orderid'}-->
						<!--{foreach key=key from='micefun'|FileCategoryLists:$subsql5:0:0 item=Category5 name=counter5}-->
						
						<p <!--{if $Category5->getFilecategoryId()==$filecategoryid}-->class="cur"<!--{/if}--> cid="<!--{$Category5->getFilecategoryId()}-->" innercode="<!--{$Category5->getFilecategoryId()}-->" afterdrag="afterTreeDragEnd" level="<!--{$Category5->getDepth()}-->" id="tree1_<!--{$Category5->getFilecategoryId()}-->" 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->getFilecategoryId()|cat:' AND type= \'mfile\' ORDER BY orderid'}-->
							<!--{foreach key=key from='micefun'|FileCategoryLists:$subsql6:0:0 item=Category6 name=counter6}-->
							
							<p <!--{if $Category6->getFilecategoryId()==$filecategoryid}-->class="cur"<!--{/if}--> cid="<!--{$Category6->getFilecategoryId()}-->" innercode="<!--{$Category6->getFilecategoryId()}-->" afterdrag="afterTreeDragEnd" level="<!--{$Category6->getDepth()}-->" id="tree1_<!--{$Category6->getFilecategoryId()}-->" 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/icon003a16.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='filecategoryid' id='filecategoryid' type="hidden" value="<!--{$filecategoryid}-->">
				从:&nbsp;<input name="sdate" id="sdate" type="text" class="input1" size="14" micetype="Date" style="font-family: Arial; font-size: 10px;" value="<!--{$sdate}-->"/>&nbsp;到:&nbsp;
				<input name="edate" id="edate" type="text" class="input1" size="14" micetype="Date" style="font-family: Arial; font-size: 10px;" value="<!--{$edate}-->"/>&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;<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: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="15%"><span style='float:left'><b>标题</b></span></td>
<td width="45%"><span style='float:left'><strong>文件名</strong></span></td>
<td width="16%"><strong>上传时间</strong></td>
<td width="16%"><strong>操作</strong></td>
</tr>

<!--{foreach from=$filers item=rs name=counter}-->
	<tr onmouseover="changeto()" onmouseout="changeback()">
	<td><!--{$smarty.foreach.counter.iteration}--></td>
	<td><input name="checkbox[<!--{$rs->getFileId()}-->]" id="checkbox[<!--{$rs->getFileId()}-->]" type="checkbox" value="<!--{$rs->getFileId()}-->" url="<!--{$smarty.const.MICE_URL}--><!--{$rs->getFilename()}-->"/></td>
	<td style=""><span title="<!--{$rs->getTitle()}-->"><a href="<!--{$smarty.const.MICE_URL}--><!--{$rs->getFilename()}-->"><!--{$rs->getTitle()}--></a></span></td>
	<td><a href="<!--{$smarty.const.MICE_URL}--><!--{$rs->getFilename()}-->"><!--{$rs->getFilename()}--></a></td>
	<td title="<!--{'micefun'|Num2Time:$rs->getCreatedat()}-->"><!--{'micefun'|Num2TimeShort:$rs->getCreatedat()}--></td>
	<td><a href="javascript:void(0);" onClick="editid('<!--{$rs->getFileId()}-->');"><img src='imgs/Icons/icon003a4.gif' alt="编辑" border="0"></a><a href="javascript:void(0);" onClick="JavaScript:window.open('<!--{$smarty.const.MICE_URL}--><!--{$rs->getFilename()}-->')"><img src='imgs/Icons/icon003a16.gif' alt="下载" border="0"></a><a href="javascript:void(0);" onclick="copyToClipboard('<!--{$smarty.const.MICE_URL}--><!--{$rs->getFilename()}-->');"><img src='imgs/Icons/icon003a10.gif' alt="复制URL" border="0"></a><a href="javascript:void(0);" onclick='JavaScript:Dialog.confirm("确认删除选中的文档吗？",function(){window.location.href="<!--{$delete}--><!--{$rs->getFileId()}-->";});'><img src='imgs/Icons/icon003a3.gif' alt="删除" border="0"></a></td>
	
	</tr>
  <!--{/foreach}-->

<tr>


<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/icon003a16.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>