D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
home
/
shubmkcj
/
designpitara.com
/
admin
/
enquiry
/
Filename :
view_contact_enquiry.php
back
Copy
<?php include("../include/header.php"); ?> <style> #EnquiryTab ul li:nth-child(1){ background-color: #eb6a4e; } #EnquiryTab ul li:nth-child(1) a{ color: #fff; } #EnquiryTab ul li:nth-child(1) a:hover{ background-color: #eb6a4e; } td{ text-align: left !important; } #userPermission_dataTable td:nth-child(2){ width: 16% !important; } #userPermission_dataTable td:nth-child(3){ width: 11% !important; } #userPermission_dataTable td:nth-child(4){ width: 150px !important; } #userPermission_dataTable td:nth-child(6){ width: 50px !important; } #userPermission_dataTable td:last-child { width: 10px; } small { float: left !important; color: #eb6a4e !important; padding: 1px 5px !important; border: 0 !important; border-radius: 0 !important; text-transform: capitalize !important; display: block; } </style> <script> window.onload = function() { document.getElementById('EnquiryTab').classList.add("active"); document.getElementById('EnquiryTab1').classList.add("in"); }; </script> <div class="small-header"> <div class="hpanel"> <div class="panel-body"> <div id="hbreadcrumb" class="pull-right"> <ol class="hbreadcrumb breadcrumb"> <li><a href="<?php echo $admin_baseurl . 'dashboard.php';?>">Dashboard</a></li> <li class="active"> <span>Contact Enquiry</span> </li> </ol> </div> <h2 class="font-light m-b-xs"> view Contact Enquiry </h2> </div> </div> </div> <div class="content"> <div class="hpanel"> <div class="panel-heading hbuilt"> <div class="panel-tools"> <a class="showhide"><i class="fa fa-chevron-up"></i></a> <a class="fullscreen"><i class="fa fa-expand"></i></a> </div> View Contact Enquiry Details </div> <div class="panel-body"> <div class="table-responsive"> <table id="userPermission_dataTable" class="table table-striped table-bordered table-hover"> <thead> <tr> <th>#</th> <th>Name</th> <th>Mobile</th> <th>Email</th> <th>Message</th> <!-- <th>Enquiry</th> --> <th>Action</th> </tr> </thead> <tbody> <?php $srno = 0; $sqlAssign7 = "SELECT * FROM `contact_us` ORDER BY `contact_us`.`id` DESC"; $resultAssign7 = mysqli_query($conn, $sqlAssign7); if (mysqli_num_rows($resultAssign7) > 0) { while($rows7 = mysqli_fetch_assoc($resultAssign7)) { $c_id = $rows7['id']; $name = $rows7['name']; $mob = $rows7['phone']; $email = $rows7['email']; $message = $rows7['message']; ?> <tr> <th scope="row"><?php echo $srno += 1;?></th> <td><?php echo $name;?></td> <td><?php echo $mob;?></td> <td><?php echo $email?></td> <td><?php echo $message?></td> <!-- <td> enquiry</td> --> <td> <div class="action_btns"> <!-- <form method="post" action="update-job-details.php?id=<?php echo $c_id;?>"> <button type="submit" class="actionbtn"><i class="fa fa-pencil-square-o text-success" aria-hidden="true"></i></button> </form> --> <form method="post" action="execute.php?id=<?php echo $c_id;?>"> <button type="submit" name="Delete_company_enquiry" class="actionbtn" onclick="return confirm('Do you want to delete this data?')"><i class="fa fa-trash text-danger" aria-hidden="true"></i></button> </form> <!-- <?php if($c_status == 'active'){?> <form method="post" action="execute.php?id=<?php echo $c_id;?>"> <button type="submit" name="status_deactive_company_registration" class="actionbtn"><i class="fa fa-toggle-on text-success" aria-hidden="true"></i></button> </form> <?php }else{?> <form method="post" action="execute.php?id=<?php echo $c_id;?>"> <button type="submit" name="status_active_company_registration" class="actionbtn"><i class="fa fa-toggle-off text-danger" aria-hidden="true"></i></button> </form> <?php }?> --> </div> </td> </tr> <?php }}?> </tbody> </table> </div> </div> </div> </div> <br> <?php include('../include/footer.php'); ?>