D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
buildteksolution
/
www
/
superadmin
/
Filename :
contact.php
back
Copy
<?php include 'cn.php'; $sno=$_GET['id']; $sql1 = "SELECT * FROM contact where id=$sno"; $result1 = $con->query($sql1); $row1 = $result1->fetch_assoc(); ?> <!DOCTYPE html> <html lang="en"> <head> <title>Admin Panel</title> <!-- Required meta tags --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <link rel="stylesheet" href="https://cdn.datatables.net/1.11.3/css/dataTables.bootstrap4.min.css" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.2/css/bootstrap.css" crossorigin="anonymous"> <link rel="icon" href="../assets/images/logos/favicon.png"> <style> .scrollbar{ overflow:auto ; white-space: nowrap; } </style> </head> <body> <div class="container-scroller"> <?php include 'header.php'; ?> <!-- partial --> <div class="main-panel"> <div class="content-wrapper pb-0"> <div class="col-12 grid-margin stretch-card"> <div class="card"> <div class="container"> <div> <h2 style="text-align:center;margin-top:8px;">All Enquiry</h2> </div> <div class="scrollbar"> <table id="example" class="table table-striped table-bordered" style="width:100%;text-align: center;border:2px solid #000;"> <tr> </tr> <tr> <td colspan='2'> <p>CONTACT ENQUIRY DATA</p> </td> </tr> <tr> <td> <b>Name :</b> </td> <td > <?php echo $row1['name']; ?> </td> </tr> <tr> <td> <b>Email :</b> </td> <td > <?php echo $row1['email']; ?> </td> </tr> <tr> <td> <b>Phone :</b> </td> <td > <?php echo $row1['number']; ?> </td> </tr> <tr> <td> <b>Message :</b> </td> <td > <?php echo $row1['message']; ?> </td> </tr> </table> </div> </div> </div> </div> </div> <!-- content-wrapper ends --> <!-- partial:partials/_footer.html --> <?php include'footer.php'; ?> <!-- partial --> </div> <!-- main-panel ends --> </div> <!-- page-body-wrapper ends --> </div> <!-- container-scroller --> <script src="https://code.jquery.com/jquery-3.5.1.js"></script> <script src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js"></script> <script src="https://cdn.datatables.net/1.11.3/js/dataTables.bootstrap4.min.js"></script> <script> $(document).ready(function() { $('#example').DataTable(); } ); </script> <script> // $(".deleteRecord").click(function(e) { // var e_id = $(this).data("id"); // $.ajax({ // url: "new-action.php", // type: 'post', // data: { 'e_id':e_id }, // success: function(response) { // // console.log(response); // if(response == 1) { // alert(\"Deleted Successfully!.\") // location.href='index.php'; // // $('#mytablerow').remove(); // }else if(response == 0){ // // swal("Great","Item added To your Cart", "success"); // } // } // }); // }); </script> </body> </html>