Пример #1
0
        <th>删</th>
        <th>ID</th>
        <th>文件名</th>
        <th>内容ID</th>
        <th>文件大小</th>
        <th>上传时间</th>
        <th>管理</th>
      </tr>
    </thead>
    <?php 
for ($i = 0; $i < $_count; $i++) {
    $filename = $rs[$i]['filename'] . '.' . $rs[$i]['ext'];
    $path = $rs[$i]['path'] . '/' . $filename;
    $rs[$i]['time'] = get_date($rs[$i]['time'], 'Y-m-d H:i');
    $rs[$i]['size'] = FS::sizeUnit($rs[$i]['size']);
    $rs[$i]['icon'] = FS::icon($filename);
    $rs[$i]['path'] = uploadpath($path);
    ?>
    <tr id="fid<?php 
    echo $rs[$i]['id'];
    ?>
">
      <td><input type="checkbox" class="checkbox" name="delete[]" value="<?php 
    echo $rs[$i]['id'];
    ?>
" /></td>
      <td><?php 
    echo $total - ($i + $this->firstcount);
    ?>
</td>
      <td><a href="<?php 
Пример #2
0
    </tr>
    <tr>
      <td>原文件名:<?php 
echo $rs->ofilename;
?>
</td>
    </tr>
    <tr>
      <td>文件路径:<?php 
echo $rs->path;
?>
</td>
    </tr>
    <tr>
      <td>文件类型:<?php 
echo FS::icon($rs->filename . '.' . $rs->ext);
?>
 .<?php 
echo $rs->ext;
?>
</td>
    </tr>
    <tr>
      <td>保存方式:<?php 
echo $rs->type ? "远程" : "本地上传";
?>
</td>
    </tr>
    <tr>
      <td>保存时间:<?php 
echo get_date($rs->time, 'Y-m-d H:i:s');