hjkhhjhjol;io;ioio;ioiio;ioreererereio;;iooi;i;o;oii;o;ioo;iio;oi;
bnmbnmbnmnbmbio;io;irererereeo;o;oi;;oi;oioi;oi;oio;;oovn
/
home
/
u174022924
/
domains
/
rockonwheelstravels.in
/
public_html
/
admin
/
web-admin
/
Upload FileeE
HOME
<?php include('include/header.php');?> <div class="main_content_iner overly_inner "> <div class="container-fluid p-0 "> <!-- page title --> <div class="row"> <div class="col-12"> <div class="page_title_box flex-wrap align-items-center justify-content-between"> <div class="page_title_left"> <div class="row"> <div class="col-md-11"> <h3 class="mb-0" >One Way</h3> </div> <div class="col-md-1"> <button type="button" class="btn btn-primary add_btn" data-toggle="modal" data-target="#myModal">+</button> </div> </div> </div> </div> </div> </div> <div class="row "> <div class="col-xl-12"> <div class="white_card mb_30"> <div class="white_card_body anlite_table p-0"> <div class="QA_table mb_30"> <!-- table-responsive --> <table class="table lms_table_active3 text-center"> <thead> <tr> <th scope="col">S.NO.</th> <th scope="col">Image</th> <th scope="col">Title</th> <th scope="col">Action</th> </tr> </thead> <tbody> <?php include 'config.php'; $q = "select * from web_one_way"; $query = mysqli_query($conn,$q); $i=1; while($res = mysqli_fetch_array($query)) { ?> <tr> <td><?php echo $i ?></td> <td scope="row"> <a href="#" class="question_content"><img style="width: 100px;" src="<?php echo $res['image'] ?>"></a></td> <td><?php echo $res['title'] ?></td> <td class=""> <a class="btn" href="edit_one_way.php?id=<?php echo $res['id']; ?>" ><i class="text-success fas fa-edit"></i></a> <a class=" btn" href="delete/delete_one_way.php?id=<?php echo $res['id']; ?>"><i class="text-danger fas fa-trash-alt"></i></a></td> </tr> <?php $i++; } ?> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> <!-- The Modal --> <div class="modal" id="myModal"> <div class="modal-dialog"> <div class="modal-content"> <!-- Modal Header --> <div class="modal-header"> <h4 class="modal-title">Add One Way</h4> <button type="button" class="close" data-dismiss="modal">×</button> </div> <!-- Modal body --> <div class="modal-body"> <form class="" action="add/add_one_way.php" method="POST" enctype="multipart/form-data"> <div class="row"> <div class="col-md-6"> <input type="file" name="image" placeholder="Image" class="form-control" > </div> <div class="col-md-6"> <input type="text" name="img_title" placeholder="Title" class="form-control" > </div> <div class="ml-auto mt-3 mr-3"> <input class="btn btn-success slider_add mt-2 px-5" type="submit" name="upload" value="Submit"> </div> </div> </form> </div> </div> </div> </div> <?php include('include/footer.php');?>