MMCT TEAM
Server IP : 2a02:4780:11:1361:0:bf7:7935:10  /  Your IP : 3.15.8.208
Web Server : LiteSpeed
System : Linux in-mum-web1261.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u200767797 ( 200767797)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : ON
Directory (0755) :  /home/u200767797/domains/shivainternational27.com/public_html/dashboard/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u200767797/domains/shivainternational27.com/public_html/dashboard/manage_flights.php
<?php
session_start();

if(isset($_SESSION['name'])){
    
    $name = $_SESSION['name'];
    $admin_id = $_SESSION['admin_id'];
    

}else{
    header("location: index.php");
}
?>
<!DOCTYPE html>
<html lang="en">


<!-- Mirrored from www.radixtouch.com/templates/admin/atrio/source/lighthr/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 13 Sep 2021 05:57:35 GMT -->
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <title>Manage Flights</title>
    <!-- Favicon-->
    <link rel="icon" href="assets/images/favicon.ico" type="image/x-icon">
    <!-- Plugins Core Css -->
    <link href="assets/css/app.min.css" rel="stylesheet">
    <!-- Custom Css -->
    <link href="assets/css/style.css" rel="stylesheet" />
    <!-- You can choose a theme from css/styles instead of get all themes -->
    <link href="assets/css/styles/all-themes.css" rel="stylesheet" />
</head>

<body class="light">
    <!-- Page Loader -->
    <div class="page-loader-wrapper">
        <div class="loader">
            <div class="m-t-30">
                <img class="loading-img-spin" src="assets/images/loading.png" alt="admin">
            </div>
            <p>Please wait...</p>
        </div>
    </div>
    <!-- #END# Page Loader -->
    <!-- Overlay For Sidebars -->
    <div class="overlay"></div>
    <!-- #END# Overlay For Sidebars -->
    <?php include('navigation.php') ?>
    <section class="content">
        <div class="container-fluid">
            <div class="block-header">
                <div class="row">
                    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                        <ul class="breadcrumb breadcrumb-style ">
                            <li class="breadcrumb-item">
                                <h4 class="page-title">Dashboard</h4>
                            </li>
                            <li class="breadcrumb-item bcrumb-1">
                                <a href="home.php">
                                    <i class="fas fa-home"></i> Home</a>
                            </li>
                            <li class="breadcrumb-item active">Manage Flights</li>
                        </ul>
                    </div>
                </div>
            </div>
            
            
            <div class="row clearfix">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h2>
                                <strong>Flights List</strong></h2>
                            
                        </div>
                        <div class="body">
                            <div class="table-responsive">
                                <table
                                    class="table table-bordered table-striped table-hover js-basic-example dataTable">
                                    <thead>
                                        <tr>
                                            <th>Sr. No</th>
                                            <th>Title</th>
                                            <th>Description</th>
                                            <th>Image</th>
                                            <th>Action</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php
                            
                            include('../connection.php');
                            
                            $cate=mysqli_query($con,"SELECT * FROM `flights` order by id asc");
            
            
            
            
                $a=0;
                
                while($row=mysqli_fetch_array($cate)){
                    $a++;
                    $id=$row['id'];
                    $nm=$row['title'];
                    $desc=$row['description'];
                    $image=$row['image'];
                    $image = $base.$image;
                     ?>
                                        
                                        <tr>
                                            <td><?php echo $a ?></td>
                                            <td><?php echo $nm ?></td>
                                            <td><?php echo $desc ?></td>
                                            <td><img src="<?php echo $image ?>" width=100 height=100></td>
                                            
                                            <td>
                                                
                          <a href="edit_flight.php?id=<?php echo $id; ?>" onclick="return confirm('Are you sure you want to edit the info? ');"><button type="button" class="btn btn-warning"><i class="fa fa-edit"></i></button></a>
                          <a href="delete.php?id=<?php echo $id; ?>&table=flights" onclick="return confirm('Are you sure to Delete this category? ');"><button type="button" class="btn btn-danger"><i class="fa fa-trash"></i></button></a>
                                                
                                            </td>
                                            
                                        </tr>
                                        <?php
                }
                ?>
                                        
                                    </tbody>
                                    <!--<tfoot>-->
                                    <!--    <tr>-->
                                    <!--        <th>Sr. No</th>-->
                                    <!--        <th>Image</th>-->
                                    <!--        <th>Category</th>-->
                                    <!--        <th>Type</th>-->
                                    <!--        <th>Action</th>-->
                                    <!--    </tr>-->
                                    <!--</tfoot>-->
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            
            
            
        </div>
    </section>
    <script src="assets/js/app.min.js"></script>
    <script src="assets/js/chart.min.js"></script>
    <!-- Custom Js -->
    <script src="assets/js/admin.js"></script>
    <script src="assets/js/bundles/echart/echarts.js"></script>
    <script src="assets/js/bundles/apexcharts/apexcharts.min.js"></script>
    <script src="assets/js/pages/index.js"></script>
    <script src="assets/js/pages/todo/todo.js"></script>
    
    
    <script src="assets/js/table.min.js"></script>
    <!-- Custom Js -->
    
    <script src="assets/js/pages/tables/jquery-datatable.js"></script>
</body>


<!-- Mirrored from www.radixtouch.com/templates/admin/atrio/source/lighthr/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 13 Sep 2021 05:58:06 GMT -->
</html>

MMCT - 2023