예제 #1
0
?>
</td>
                                                                <td width="14%" align="center">Name<?php 
echo sort_arrows('tbl_admin.name');
?>
</td>
                                                                <td width="8%" align="center">Size<?php 
echo sort_arrows('tbl_admin.email');
?>
</td>
                                                                <td width="12%" align="center">Last Accessed<?php 
echo sort_arrows('tbl_admin.user_id');
?>
</td>
                                                                 <td width="12%" align="center">Last Modified<?php 
echo sort_arrows('tbl_admin.user_id');
?>
</td>
                                                                 <td width="12%" align="center">File Group</td>
                                                                <td width="11%" align="center">Permission</td>
                                                                <td width="4%" align="center">Action</td>
                                                                <td width="3%" align="center"><input name="check_all" type="checkbox" id="check_all" value="check_all" onclick="checkall(this.form)" /></td>
                                                            </tr>
                                                   <?php 
$i = 1;
$dir = "tests/";
if ($_REQUEST['folder']) {
    $dir = "tests/" . urldecode($_REQUEST['folder']) . "/";
}
// echo dirname($dir);
//echo $_SERVER[DOCUMENT_ROOT];
예제 #2
0
    echo sort_arrows("tbl_products.image");
    ?>
</td><td width="14%" align="center">Price<?php 
    echo sort_arrows("tbl_products.price");
    ?>
</td><td width="14%" align="center">Added By<?php 
    echo sort_arrows("tbl_products.added_by");
    ?>
</td><td width="14%" align="center">Added Date<?php 
    echo sort_arrows("tbl_products.added_date");
    ?>
</td><td width="14%" align="center">Datetime<?php 
    echo sort_arrows("tbl_products.datetime");
    ?>
</td><td width="14%" align="center">Status<?php 
    echo sort_arrows("tbl_products.status");
    ?>
</td> <td width="9%" align="center">Action</td>
                                                                <td width="4%" align="center"><input name="check_all" type="checkbox" id="check_all" value="check_all" onclick="checkall(this.form)" /></td>
                                                            </tr>
                                                        <?php 
    $i = 0;
    while ($line = $sql->fetch_array()) {
        $className = $className == "evenRow" ? "oddRow" : "evenRow";
        $i++;
        ?>
                                                                <tr class="<?php 
        print $className;
        ?>
">
                                                                    <td align="center" class="txt" ><?php 
예제 #3
0
    ?>
</td>
                                                                <td width="19%" align="center">Email<?php 
    echo sort_arrows('tbl_admin.email');
    ?>
</td>
                                                                <td width="12%" align="center">Username<?php 
    echo sort_arrows('tbl_admin.user_id');
    ?>
</td>
                                                                <td width="13%" align="center">Contact No.<?php 
    echo sort_arrows('tbl_admin.phone');
    ?>
</td>
                                                                <td width="12%" align="center">User Type<?php 
    echo sort_arrows('tbl_admin.type');
    ?>
</td>
                                                                <td width="11%" align="center">Status</td>
                                                                <td width="9%" align="center">Action</td>
                                                                <td width="4%" align="center"><input name="check_all" type="checkbox" id="check_all" value="check_all" onclick="checkall(this.form)" /></td>
                                                            </tr>
                                                        <?php 
    $i = 0;
    while ($line = $sql->fetch_array()) {
        $className = $className == "evenRow" ? "oddRow" : "evenRow";
        $i++;
        ?>
                                                                <tr class="<?php 
        print $className;
        ?>