D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
home
/
shubmkcj
/
designpitara.com
/
admin
/
Filename :
contactus-inquiry.php
back
Copy
<?php include("include/config.php"); include("include/sessionhandle.php"); include("include/header.php"); ?> <style> #contactusead_inquiry { background-color: #eb6a4e; color: #fff; } #contactusead_inquiry a { color: #fff !important; } #contactusead_inquiry a:hover { background-color: #eb6a4e !important; } </style> <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>Inquiry</span> </li> </ol> </div> <h2 class="font-light m-b-xs"> View All Contact us Page Inquiry </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 All Contact us Page Inquiry </div> <div class="panel-body"> <div class="table-responsive"> <table id="all_lead_inquiryz" class="table table-striped table-bordered table-hover"> <thead> <tr> <th>#</th> <th>Name</th> <th>Phone</th> <th>Email</th> <th>Message</th> <th>Query</th> <th>Action</th> </tr> </thead> <tbody> <?php $srno = 0; $sqlAssign1 = "SELECT * FROM `contactUsPageEnquiry` ORDER BY `contactUsPageEnquiry`.`id` DESC"; $resultAssign1 = mysqli_query($conn, $sqlAssign1); if (mysqli_num_rows($resultAssign1) > 0) { while($rows = mysqli_fetch_assoc($resultAssign1)) { $id = $rows['id']; $fname = $rows['fname']; $lname = $rows['lname']; $s_phone = $rows['phone']; $s_email = $rows['email']; $smessage = $rows['messages']; $query = $rows['query']; $s_status = $rows['status']; ?> <tr> <th scope="row"><?php echo $srno += 1;?></th> <td><?php echo $fname . ' ' .$lname ;?></td> <td><?php echo $s_phone;?></td> <td><?php echo $s_email;?></td> <td> <a type="button" course-details='<?php echo $smessage;?>' data-toggle="modal" data-target="#srkproperty_details" class="btn btn-info show_property_details" style="cursor: pointer;">View</a> </td> <td> <?php if(!empty($query)){?> <p><?php echo $query?></p> <?php }?> </td> <td> <div class="action_btns"> <!-- <form method="post" action="update-services.php?id=<?php echo $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 $id;?>"> <button type="submit" name="delete_conatctUsPage_inquiry" 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($s_status == 'active'){?> <form method="post" action="execute.php?id=<?php echo $id;?>"> <button type="submit" name="status_deactive_conatctUsPage_inquiry" 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 $id;?>"> <button type="submit" name="status_active_conatctUsPage_inquiry" 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'); ?>