continue;
        }
        $ordir = $ordir[0]["name"];
    } else {
        $ordir = "主目錄";
    }
    ?>
    <tr>
        <td>
            <?php 
    echo $d["name"];
    ?>
        </td>
        <td>
            <?php 
    echo fileformat($d["type"], $d['name']);
    ?>
        </td>
        <td>
            <?php 
    echo $ordir;
    ?>
        </td>
        <td>
            <div class="btn-group">
                <a href="#" data-id="<?php 
    echo $d[" id "];
    ?>
" data-type="file" class="btn btn-default recycle_back">還原</a>
                <a href="#" data-id="<?php 
    echo $d[" id "];
示例#2
0
                                        </tr>
                                        <?php 
        }
    }
    if ($filecheck[0]["id"] != null) {
        foreach ($filecheck as $d) {
            ?>
                                            <tr>
                                                <td>
                                                    <?php 
            echo $d['name'];
            ?>
                                                </td>
                                                <td>
                                                    <?php 
            fileformat($d['type'], $d['name']);
            ?>
                                                </td>
                                                <td><a href="downfile.php?id=<?php 
            echo $d['id'];
            ?>
" target="_blank" class="btn btn-default">下載</a></td>
                                            </tr>
                                            <?php 
        }
    }
}
?>
                                </tbody>
                            </table>
                            <p class="text-center text-info">Proudly Powered by <a href="http://ad.allenchou.cc/">Allen Disk</a></p>