Your IP : 216.73.216.26


Current Path : /home2/wtmwscom/public_html/admin/
Upload File :
Current File : /home2/wtmwscom/public_html/admin/report_admin_login.php

<?php
$title = "Login Details";
include 'header.php';
//include_once('lib/ps_pagination.php');
?>
<?php echo getMessage(); ?>
<div class="container-fluid">

    <div class="row">
        <div class="col-sm-12">
            <div class="page-title-box">
                <h4 class="page-title"><B>Login Details</b></h4>
                <ol class="breadcrumb">
                     <li class="breadcrumb-item"><a href="index.php">Home</a></li>
                    <li class="breadcrumb-item"><a href="#">Admin Setting</a></li>
                    <li class="breadcrumb-item active">Login Details</li>
                </ol>



            </div>
        </div>
        <div class="col-lg-6">
            <div class="card m-b-20">
                <div class="card-body">

                    <h4 class="mt-0 header-title">Bordered table</h4>

                    <table class="table table-bordered mb-0">
                        <thead>
                        <th>S No</th>
                        <th>Date</th>
                        <th>Ip</th>
                        </thead>


                        <tbody>
                            <?php
                            $query = "SELECT uid, datetime, ip FROM admin_login_detail ORDER BY datetime DESC";
                            $result = mysqli_query($connection, $query);
                            $i = 1;
                            if ($result) {
                                while ($row = mysqli_fetch_object($result)) {
                                    ?>
                                    <tr>
                                        <td><?php echo $i++; ?></td>
                                        <td><?php echo date("d M, Y h:i A", strtotime($row->datetime)); ?></td>
                                        <td><?php echo $row->ip; ?></td>
                                    </tr>

                                <?php }
                            }
                            ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div> <!-- end col -->
    </div>
</div>
<?php include 'footer.php'; ?>