MMCT TEAM
Server IP : 82.112.239.40  /  Your IP : 3.22.77.196
Web Server : LiteSpeed
System : Linux in-mum-web1676.main-hosting.eu 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
User : u641149403 ( 641149403)
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 : OFF
Directory (0755) :  /home/u641149403/domains/cabz4you.com/public_html/admin/web-admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u641149403/domains/cabz4you.com/public_html/admin/web-admin/taxi_services.php
<?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" >Taxi Services</h3>
                            </div>
                            <div class="col-md-1">
                                <a href="add_taxi_services.php" class="btn btn-primary add_btn">+</a>
                            </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">From</th>
                                    <th scope="col">To</th>
                                    <th scope="col">Image</th>
                                    <th scope="col">Status</th>
                                    <th scope="col" style="width:100px;">Action</th>

                                </tr>
                            </thead>
                            <tbody>
                                <?php
                                $q = "select * from web_taxi_services";
                                $query = mysqli_query($conn,$q);
                                $i=1;
                                while($res = mysqli_fetch_array($query)) {

                                    ?>
                                    <tr>
                                        <td><?php echo $i ?></td>
                                        <td><?php echo $res['from_city'] ?></td>
                                        <td><?php echo $res['to_city'] ?></td>
                                        <td scope="row"> <a href="javascript:void[0]" class="question_content"><img style="width: 100px;" src="<?php echo $res['img'] ?>"></a></td>
                                        <td><?php 
                                        if ($res['status']==1) {
                                            echo '<span class="badge badge-success">Active</span>';
                                        }else{
                                            echo '<span class="badge badge-dnager">Disabled</span>';
                                        } 
                                        ?>
                                        
                                    </td>
                                    <td  class="">   
                                        <a class="btn" href="edit_taxi_services.php?id=<?php echo $res['id']; ?>"  ><i class="text-success fas fa-edit"></i></a>
                                        <a class="btn" onclick="return confirm('Are you sure you want to delete this')" href="delete_taxi_services.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>

<?php include('include/footer.php');?>

MMCT - 2023