Viewing File: /home/quiczmwg/affordablerealtycorporation.com/admin/manage-users.php

<?php
// session_start();
include 'head.php';
include 'header.php';
?>

<body class="skin-default fixed-layout">
<div id="main-wrapper">

    <?php 
    include 'sidebar.php';
    // include_once ("../_db.php");

    $sql = $conn->query("SELECT * FROM user_login ");
    ?>

<div class="page-wrapper">
    <section>
        <div class="">
        <?php
            include 'nav1.php';
        ?>
            <div class="container-fluid">
                <div class="card">
                    <div class="card-header">
                        <?php echo isset($_SESSION['mgs'])?$_SESSION['mgs']:""?>                   
                    </div>
                    <div class="card-body">
                        <div class="table-responsive">
                            <table class="table">
                                <thead>
                                    <th>#</th>
                                    <th>Fullname</th>
                                    <th>Email</th>
                                    <th>Phone</th>
                                   
                                    <th>----</th>
                                </thead><br>

                                <tbody>
                                    <?php 
                                    if($sql->num_rows>0){
                                        $num=1;
                                        while($row = $sql->fetch_assoc()){                               
                                    ?>
                                    <tr>
                                        <td><?php echo $num++; ?></td>
                                        <td><?php echo $row['full_name']; ?></td>
                                        <td><?php echo $row['email']; ?></td>
                                        <td><?php echo $row['username']; ?></td>
                                        
                                        <td>
                                        

                                        <a href="info.php" class="btn btn-info btn-sm">Details</a>
                                    </td>
                                    </tr>
                                            <?php } }?>
                                </tbody>
                                        </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </section>
</div>
</div>
<?php include 'footer.php'; ?>
</body>
</html>
Back to Directory File Manager
<