<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>图片管理 -  Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="{#$base_weburl#}/templates/adminsys/css/list.css" />
<style type="text/css">
#imgdlg{display: none;position: absolute;top: 26%;left: 40%;width: 280px;border: 1px solid #D6E9F1;background-color:#FFFFFF;z-index:1002;overflow:hidden;scrolling:no;}
#imgdcs{float:left;clear:both;width: 270px;height:12px;text-align:right;margin:0 0 0px 0;padding: 8px;background-color:#4096EA;font-weight:bolder;}
#imgdtt {float:left;width:250px; text-align:center; color:#FFFFFF;}

#imgoverall{ display: none;position: absolute;top: 0%;left: 0%;width: 100%;height: 100%;background-color:#f5f5f5;z-index:1001;-moz-opacity: 0.8;opacity:.80;filter: alpha(opacity=80);}

</style>
<script language="javascript" src="{#$base_weburl#}/js/common.js"></script>
<script language="javascript">
//显示图片层
var CKEditorFuncNum = 2;	//CKEditorFuncNum和fileUrl想法从后台绑定
var imgroot_url = '{#$img_url#}{#$base_weburl#}/uploads/';
function SetUrl( fileUrl , filetype )
{
   
   if(filetype=='img')
   {
   		window.opener.CKEDITOR.tools.callFunction(2, imgroot_url+fileUrl);
	    window.opener = null;
	    window.open('','_top');
	    window.top.close(); 
   }else{
   		alert('提示：\n\n非图片文件不能添加到文本编辑中！');
   }
}
	/*
	function imgshow(val)
	{
		document.getElementById('imgshow').src = val;
	 }
	 
	function loginhide()
	{
		 var light=document.getElementById('dlg');
		 var fade=document.getElementById('overall');
		 light.style.display='none';
		 fade.style.display='none';
	}
	//onMouseOver="imgshow('{#$item.dir_url#}{#$item.fileName#}')" 
	*/
</script>
</head>
<body>
<div id="imgdlg"><img id="imgshow" src=""  width="200" height="200"/>
</div>
<table  cellpadding="0" cellspacing="0" style="width:100%; ">
<tr><td><table cellpadding="0" cellspacing="0" height="22" style="width:100%; color:#000000; font-weight:normal; background-color:#67D9FF;"  >
  <tr>
    <td>&nbsp;<img src="{#$base_weburl#}/uploads/sys/h.gif"  width="15" border="0"><a href="{#$base_weburl#}/adminsys/?load=filelist&act=infolist">图片管理</a></td>
    <td>&nbsp;</td>
    <td align="right"><a href="http://help.gv32.com/type_filelist.html" target="_blank" title="点击-在线帮助"><img src="{#$base_weburl#}/images/sys/adminhelp.png"  width="21" border="0" alt="点击-在线帮助"></a>&nbsp;&nbsp;</td>
  </tr>
</table>
</td></tr>

<tr><td>
<div class="list">
<table cellpadding="0" cellspacing="1"   style="width:100%" class="tableborder">
<tr>
<th>名称</th>
<th>大小</th>
<th>尺寸</th>
<th>类型</th>
<th>修改时间</th>
<th>删除</th>
</tr>
{#foreach item=item from=$fileList#}
			<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';">
			<td class="tdleft" >{#if $item.is_dir eq 1#}<a href="{#$base_weburl#}/adminsys/?load=filelist&act=infolist&dir={#$item.fileName_url#}"><img src="{#$base_weburl#}/images/16/dir.gif" border="0" />{#$item.fileName#}</a>{#else#}<a href='#' onclick="SetUrl('{#$item.dir_url#}{#$item.fileName#}','{#$item.imgFile#}')"><img src="{#$base_weburl#}/images/16/{#$item.imgFile#}.gif" border="0" />{#$item.fileName#}</a>{#/if#} </td>
			<td  class="tdleft">{#$item.fileSize#}</td>
			<td  class="tdcenter">{#$item.fileXYWH#} </td>
			<td  class="tdcenter">{#$item.fileType#}</td>
			<td  class="tdcenter">&nbsp;&nbsp;{#$item.filemTime#}</td>
			<td class="tdcenter"> {#if $item.is_dir eq 1#}<a href="{#$base_weburl#}/adminsys/?load=filelist&act=del&dir={#$item.dir_url#}&name={#$item.fileName_url#}&deltype=delDir"  onclick="if(confirm('你确认要删除操作！')){ return  true; }else{ return  false; }"  title="删除" >删除</a>{#else#}<a href="{#$base_weburl#}/adminsys/?load=filelist&act=del&dir={#$item.dir_url#}&name={#$item.fileName_url#}&deltype=delFile"  onclick="if(confirm('你确认要删除操作！')){ return  true; }else{ return  false; }"  title="删除" >删除</a>{#/if#}</td>
			</tr>
{#/foreach#}
<tr>
<td colspan="6" >{#$PageStr#}</td>
</tr>

</table>
</div>

</td></tr>
<tr><td></td></tr>
</table>

</body>
</html>