增加了上传时真实文件名的调用,增加了附件类型判断
This commit is contained in:
parent
0ce0b99fb7
commit
6a8d4b34b4
|
@ -43,7 +43,8 @@
|
||||||
if(!empty($this->uuid))
|
if(!empty($this->uuid))
|
||||||
echo '<th width="40">选择</th>';
|
echo '<th width="40">选择</th>';
|
||||||
?>
|
?>
|
||||||
<th width='300'>描述</th>
|
<th width='100'>上传文件名</th>
|
||||||
|
<th width='200'>描述</th>
|
||||||
<th width='80'>类型</th>
|
<th width='80'>类型</th>
|
||||||
<th width='80'>大小</th>
|
<th width='80'>大小</th>
|
||||||
<th width='80'>下载次数</th>
|
<th width='80'>下载次数</th>
|
||||||
|
@ -59,11 +60,13 @@
|
||||||
if(!empty($this->uuid))
|
if(!empty($this->uuid))
|
||||||
echo '<td><input type="checkbox" value="'.$item['id'].'" name="ids[]" /></td>';
|
echo '<td><input type="checkbox" value="'.$item['id'].'" name="ids[]" /></td>';
|
||||||
?>
|
?>
|
||||||
|
<td><?php echo $item['realname'] ;?></td>
|
||||||
<td><?php echo $item['filedesc'] ;?></td>
|
<td><?php echo $item['filedesc'] ;?></td>
|
||||||
<td><?php
|
<td><?php
|
||||||
if($item['filetype']=='image') echo '图片' ;
|
if($item['filetype']=='image') echo '图片' ;
|
||||||
if($item['filetype']=='file') echo '文件' ;
|
if($item['filetype']=='file') echo '文件' ;
|
||||||
if($item['filetype']=='media') echo '多媒体' ;
|
if($item['filetype']=='media') echo '多媒体' ;
|
||||||
|
if($item['filetype']=='reviewatt') echo '评审附件' ;
|
||||||
?></td>
|
?></td>
|
||||||
<td><?php if($item['filesize']<1048576) echo round(($item['filesize']/1024),2).'KB'; else echo round(($item['filesize']/1024/1024),2).'MB'; ?></td>
|
<td><?php if($item['filesize']<1048576) echo round(($item['filesize']/1024),2).'KB'; else echo round(($item['filesize']/1024/1024),2).'MB'; ?></td>
|
||||||
<td><?= $item['downtimes']; ?></td>
|
<td><?= $item['downtimes']; ?></td>
|
||||||
|
|
Loading…
Reference in New Issue