]]jkjjgdjffksdkdfdkfjgsldkfhgjkgjkhjkgjkdascxvxcvxcvjdklfgjslkdfgjlskdfgjdskfgj
במ12[aspddfsdfsdfdrxcvxcvcxvxcvxcvxcvxcvxcvxcvxcvxcvxxvxcvxcvxcv;'
/
home
/
u893294702
/
domains
/
smscbalasore.com
/
public_html
/
admin
/
Upload FileeE
HOME
<?php include('includes/header.php'); include('includes/navbar.php'); include('security.php'); ?> <div class="container-fluid"> <div class="modal fade" id="addadminprofile" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel">Add a New Franchise</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <form action="code.php" method="POST" enctype="multipart/form-data"> <div class="modal-body"> <div class="form-group"> <label>Franchise Name</label> <input type="text" name="name" class="form-control" placeholder="Enter Franchise Name" required> </div> <div class="form-group"> <label>Address</label> <input type="text" name="address" class="form-control checking_email" placeholder="Enter Address" required> <small class="error_email" style="color: red;"></small> </div> <div class="form-group"> <label>Center</label> <input type="text" name="center" class="form-control" placeholder="Enter Center Manager"> </div> <div class="form-group"> <label>Mobile Number</label> <input type="text" name="mob" class="form-control" placeholder="Enter Mobile Number"> </div> </div> <div class="modal-footer"> <button type="submit" name="frsave" class="btn btn-primary">Save</button> </div> </form> </div> </div> </div> <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#addadminprofile"> Add a new Franchise </button> <div class="card shadow mb-4"> <div class="card-header py-3"> <h6 class="m-0 font-weight-bold text-primary">Franchise details</h6> </div> <div class="card-body"> <div class="table-responsive"> <?php $query = "SELECT * FROM franchise"; $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>Name Of The Institute</th> <th>Address</th> <th>Center Manager</th> <th>Phone Number</th> <th>EDIT</th> <th>DELETE</th> </tr> </thead> <tbody> <?php $id = 1; while ($row = mysqli_fetch_assoc($query_run)) { ?> <tr> <td><?php echo $row['name']; ?></td> <td><?php echo $row['address']; ?></td> <td><?php echo $row['center']; ?></td> <td><?php echo $row['mob']; ?></td> <td> <form action="franchise_edit.php" method="post"> <input type="hidden" name="fredit_id" value="<?php echo $row['slno']; ?>"> <button type="submit" name="fredit_btn" value="fredit_btn" class="btn btn-success"> EDIT</button> </form> </td> <td> <form action="code.php" method="post"> <input type="hidden" name="frdelete_id" value="<?php echo $row['slno']; ?>"> <button type="submit" name="frdelete_btn" 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'); ?>