
<!DOCTYPE HTML>
<html>

<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
    <title>Tollgate Booking</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="Car Hub Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
    <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
    <link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet">
    <link href="http://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900" rel="stylesheet">
    <link href="<?php echo base_url()?>css/bootstrap.min.css" rel="stylesheet" type="text/css" media="all" />
    <link href="<?php echo base_url()?>css/font-awesome.min.css" rel="stylesheet" type="text/css" media="all" />
    <link href="<?php echo base_url()?>css/service.css" rel="stylesheet" type="text/css" media="all" />
    <link href="<?php echo base_url()?>css/style.css" rel="stylesheet" type="text/css" media="all" />

</head>
<style>
    table, th, td {
        border: 3px solid;
        color: #000;
        padding: 10px;
        font-weight: bolder;
    }
</style>
<body>
<section class="contact-w3l" id="contact">
    <div class="container"><br><br><br><br><br>
        <h3 class="text-center">PAYMENTS</h3>

            <div class="col-lg-4 col-md-4 col-sm-4">
                <div class="control-group form-group">
                    <div class="controls">
                        <table style="color: mediumvioletred;">
                            <tr style="color: #fff;background-color: yellow">
                                <th>ID</th>
                                <th>Number of gate</th>

                                <th>Amount</th>
                            </tr>





                            <?php
                            foreach ($quan as $quans) {
                                ?>
                                <tr style="background-color: #fff">
                                    <td><?php echo $quans['id']?></td>
                                    <td><?php echo $quans['gateid']?></td>
                                    <td><?php echo $quans['amount']?></td>

                                </tr>
                                <?php
                                $_SESSION['amount']=$quans['amount'];
                                 $_SESSION['source']=$quans['source'];
                                 $_SESSION['destination']=$quans['destination'];

                            }
                            ?>
                        </table>

                        <p class="help-block"></p>
                    </div>
                </div>
            </div>

            <div class="col-lg-12">
                <a href="<?php echo base_url()?>card"> <button type="button" class="btn btn-primary">PAYMENTS</button></a>
            </div><br><br><br><br><br>
            <div class="clearfix"></div>
        </form>
    </div>
</section>
<div class="footer">
    <p class="text-center">© 2022 All Rights Reserved</p>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
