示例#1
0
<div class='panel'>
    <h2>Folder Permissions</h2>
    
    <a href='create.php' class='btn'>New folder permission</a>
    
    <table class='table' width='100%' cellpadding='5' cellspacing='0'>
        <tr>
            <th>ID</th>
            <th>Group</th>
            <th>Password</th>
            <th>Set up By</th>
            <th>Created</th>
            <th>&nbsp;</th>
        </tr>
        <?php 
$passwords = dbClass::fetchAllPasswords();
foreach ($passwords as $password) {
    $adminName = dbClass::getUserById($password['admin_id'])['username'];
    ?>
        <tr>
            <td><?php 
    echo $password['id'];
    ?>
</td>
            <td><?php 
    echo $password['name'];
    ?>
</td>
            <td><?php 
    echo $password['password'];
    ?>