You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.2 KiB
68 lines
2.2 KiB
<?php
|
|
if(!defined('InEmpireCMS'))
|
|
{
|
|
exit();
|
|
}
|
|
?>
|
|
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
|
|
<tr>
|
|
<td height="25">FLASH</td>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
|
|
<tr class="header">
|
|
<td width="4%"><div align="center"></div></td>
|
|
<td width="8%"><div align="center">ID</div></td>
|
|
<td width="42%"><div align="center">文件名</div></td>
|
|
<td width="15%"><div align="center">大小</div></td>
|
|
<td width="21%"><div align="center">上传时间</div></td>
|
|
<td width="10%"><div align="center">选择</div></td>
|
|
</tr>
|
|
<?
|
|
while($r=$empire->fetch($sql))
|
|
{
|
|
$filesize=ChTheFilesize($r[filesize]);
|
|
$filetype=substr(GetFiletype($r[filename]),1);//取得文件类型
|
|
//文件
|
|
$fspath=ReturnFileSavePath($r[classid],$r[fpath]);
|
|
$filepath=$r[path]?$r[path].'/':$r[path];
|
|
$file=$fspath['fileurl'].$filepath.$r[filename];
|
|
$buttonr=ToReturnDoFileButton($doing,$tranfrom,$field,$file,$r[filename],$r[fileid],$filesize,$filetype,$r[no],$type);
|
|
$button=$buttonr['button'];
|
|
$buttonurl=$buttonr['bturl'];
|
|
?>
|
|
<tr>
|
|
<td bgcolor="#FFFFFF"><div align="center">
|
|
<input type=checkbox name=fileid[] value="<?=$r[fileid]?>">
|
|
</div></td>
|
|
<td bgcolor="#FFFFFF"> <div align="center">
|
|
<?=$r[fileid]?>
|
|
</div></td>
|
|
<td bgcolor="#FFFFFF" style='line-height:20px'>
|
|
<?=$r[no]?>
|
|
<br> <a href='<?=$file?>' target=_blank>
|
|
<?=$r[filename]?>
|
|
</a> </td>
|
|
<td bgcolor="#FFFFFF"> <div align="right">
|
|
<?=$filesize?>
|
|
</div></td>
|
|
<td bgcolor="#FFFFFF"> <div align="center">
|
|
<?=date('Y-m-d H:i:s',$r[filetime])?>
|
|
</div></td>
|
|
<td bgcolor="#FFFFFF"> <div align="center">
|
|
<?=$button?>
|
|
</div></td>
|
|
</tr>
|
|
<?
|
|
}
|
|
?>
|
|
<tr>
|
|
<td bgcolor="#FFFFFF"> <div align="center">
|
|
<input type="checkbox" name="chkall" value="on" onclick="CheckAll(this.form)">
|
|
</div></td>
|
|
<td colspan="5" bgcolor="#FFFFFF">
|
|
<?=$returnpage?>
|
|
<input type="submit" name="Submit32" value="删除选中" onclick="document.dofile.enews.value='TDelFile_all';">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|