]]jkjjgdjffksdkdxdsghfghdfghfgdfsdsdfsdfsfdsbcxvxcbccwewqeqwewqskfgj
במ12[cxvbcxvbxcvbcxvcxvbcvxcvbsdfsdfsdfsdfsdfsdfxcvbxcvxbbxqwqewqewv;'
/
home
/
u506006416
/
domains
/
crystalmiracle.co.in
/
public_html
/
admin
/
Upload FileeE
HOME
<?php include("header.php"); $sel_obj= new config(); ?> <?php include("sidebar.php");?> <?php @$post_id=$_GET['post_id']; if(isset($post_id) and !empty($post_id)) { $where = array( 'id' => $_GET["post_id"]); if($sel_obj->delete("tbl_bulk_enquiry", $where)) { $sel_obj->alert('bulk_enquiry.php?a=1'); } } ?> <div class="content-wrapper"> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0 text-dark">Bulk Enquiry</h1> </div> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="#">Home</a></li> <li class="breadcrumb-item active">Bulk Enquiry </li> </ol> </div> </div> </div> </div> <section class="content"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> </div> <!-- /.card-header --> <div class="card-body"> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th>S.No</th> <th>Name</th> <th>Email ID</th> <th>Phone No.</th> <th>State</th> <th>Coumpany Name</th> <th>Product Name</th> <th>Message</th> <th>Added Date</th> <th>Action</th> </tr> </thead> <tbody> <?php $query=$db->select_desc('tbl_bulk_enquiry'); $a=0; if(is_array($query) || !empty($query)) { foreach ($query as $data ) { ?> <tr> <td><?php echo $a+1;?></td> <td><?php echo $data['user_name'];?></td> <td><?php echo $data['user_email'];?></td> <td><?php echo $data['user_phone'];?></td> <td><?php echo $data['state'];?></td> <td><?php echo $data['company_name'];?></td> <td><?php echo $data['product_name'];?></td> <td> <button type="button" class="btn btn-info btn-xs" data-toggle="modal" data-target="#exampleModalLong<?php echo $a;?>"> View Message </button> <!-- Modal --> <div class="modal fade" id="exampleModalLong<?php echo $a;?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle">User's Message</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <?php echo $data['message'];?> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> </div> </div> </div> </div> </td> <td><?php echo $data['created_at'];?></td> <td> <a href="bulk_enquiry.php?delete=1&post_id=<?php echo $data['id']; ?>" class="btn btn-danger btn-xs"><i class="fa fa-trash"></i></a> </td> </tr> <?php $a++; } } ?> </tbody> </table> </div> <!-- /.card-body --> </div> </div> </div> <!-- /.row (main row) --> </div><!-- /.container-fluid --> </section> <!-- /.content --> </div> <!-- /.content-wrapper --> <?php include("footer.php");?> <script type="text/javascript"> $(document).on('click','.delete_coupon',function(){ var post_id = $(this).attr("id"); if(confirm("Are you sure you want to delete ?")) { return true; } else { return false; } }); </script> <script type="text/javascript"> window.setTimeout(function() { $(".alert").fadeTo(1000, 0).slideUp(100, function(){ $(this).remove(); }); }, 1000); </script>