Path : /home/jpenter/conceptacademicclasses.com/admin/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /home/jpenter/conceptacademicclasses.com/admin/contact.php |
<?php session_start(); if(!isset($_SERVER['HTTP_REFERER'])){ // redirect them to your desired location header('location:../admin/index.php'); exit; } include_once 'dbconfig.php'; $sql_query="SELECT * FROM contact"; $result_set=mysqli_query($con,$sql_query); $fetched_row=mysqli_fetch_array($result_set,MYSQLI_ASSOC); ?> <?php include('header.php'); ?> <!-- ============================================================== --> <!-- End Left Sidebar - style you can find in sidebar.scss --> <!-- ============================================================== --> <!-- ============================================================== --> <!-- Page wrapper --> <!-- ============================================================== --> <div class="page-wrapper"> <!-- ============================================================== --> <!-- Bread crumb and right sidebar toggle --> <!-- ============================================================== --> <div class="page-breadcrumb"> <div class="row"> <div class="col-12 d-flex no-block align-items-center"> <h4 class="page-title">Contact US</h4> <div class="ml-auto text-right"> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="#">Home</a></li> <li class="breadcrumb-item active" aria-current="page">Library</li> </ol> </nav> </div> </div> </div> </div> <!-- ============================================================== --> <!-- End Bread crumb and right sidebar toggle --> <!-- ============================================================== --> <!-- ============================================================== --> <!-- Container fluid --> <!-- ============================================================== --> <div class="container-fluid"> <!-- ============================================================== --> <!-- Start Page Content --> <!-- ============================================================== --> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body"> <h5 class="card-title m-b-0">Contact Details</h5> <button type="button" class="btn btn-success btn-sm" style="float:right;" onclick="location.href='edit_contact.php'">Update</button> </div> <table class="table"> <tbody> <tr> <td>Address</td> <td>Mobile No.</td> <td>Mobile No. 2</td> <td>Email</td> <td>Whatsapp No.</td> </tr> <tr> <td><?php echo $fetched_row['address'] ?></td> <td><?php echo $fetched_row['mobile'] ?></td> <td><?php echo $fetched_row['mobile2'] ?></td> <td><?php echo $fetched_row['email'] ?></td> <td><?php echo $fetched_row['whatsapp'] ?></td> </tr> </tbody> </table> </div> </div> <!-- ============================================================== --> <!-- End PAge Content --> <!-- ============================================================== --> <!-- ============================================================== --> <!-- Right sidebar --> <!-- ============================================================== --> <!-- .right-sidebar --> <!-- ============================================================== --> <!-- End Right sidebar --> <!-- ============================================================== --> </div> <!-- ============================================================== --> <!-- End Container fluid --> <!-- ============================================================== --> <!-- ============================================================== --> <?php include('footer.php'); ?>