X7ROOT File Manager
Current Path:
/home/u126090504/domains/bpcaodisha.com/public_html/admin
home
/
u126090504
/
domains
/
bpcaodisha.com
/
public_html
/
admin
/
📁
..
📄
banner.php
(4.13 KB)
📄
code.php
(13.72 KB)
📁
css
📁
database
📁
faculty
📄
fboard.php
(7.32 KB)
📄
fboard_edit.php
(4.04 KB)
📁
files
📄
galleryedit.php
(4.2 KB)
📁
galleryimages
📁
imagedata
📁
img
📁
includes
📄
index.php
(4.08 KB)
📁
js
📄
login.php
(1.97 KB)
📄
logincode.php
(614 B)
📄
logout.php
(81 B)
📄
nboard.php
(4.91 KB)
📄
nboard_edit.php
(1.96 KB)
📄
rcode.php
(1.49 KB)
📄
register.php
(4.08 KB)
📄
register_edit.php
(2.02 KB)
📁
scss
📄
security.php
(168 B)
📁
vendor
📄
viewcontact.php
(2.82 KB)
Editing: viewcontact.php
<?php include('includes/header.php'); include('includes/navbar.php'); include('security.php'); ?> <div class="container-fluid"> <div class="card shadow mb-4"> <div class="card-header py-3"> <h6 class="m-0 font-weight-bold text-primary">Messages</h6> </div> <div class="card-body"> <div class="table-responsive"> <?php $query = "SELECT * FROM contacttab"; $query_run = mysqli_query($connection, $query); if (mysqli_num_rows($query_run) > 0) { ?> <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0"> <thead> <tr> <th>Sl no.</th> <th>Name</th> <th>Phone</th> <th>Email</th> <th>Subject</th> <th>Message</th> <th>Delete</th> </tr> </thead> <tbody> <?php $sl = 1; while ($row = mysqli_fetch_assoc($query_run)) { ?> <tr> <td><?php echo $sl++; ?></td> <td><?php echo $row['coname']; ?></td> <td><?php echo $row['cophone']; ?></td> <td><?php echo $row['coemail']; ?></td> <td><?php echo $row['cosub']; ?></td> <td><?php echo $row['comes']; ?></td> <td> <form action="code.php" method="post"> <input type="hidden" name="delete_co_form" value="<?php echo $row['id']; ?>"> <button type="submit" name="delete_btn_co" class="btn btn-danger"> DELETE</button> </form> </td> </tr> <?php } ?> </tbody> </table> <?php } else { echo "no records found"; } ?> </div> </div> </div> </div> <!-- /.container-fluid --> <?php include('includes/scripts.php'); include('includes/footer.php'); ?>
Upload File
Create Folder