ok

Mini Shell

Direktori : /home2/selectio/www/subamangala/admin/ui-api/
Upload File :
Current File : /home2/selectio/www/subamangala/admin/ui-api/seats-selection.php

<?php 
ob_start();
session_start();
include "../config/config.php";


$bus_id = $_REQUEST['bus_id'];
$conditions="";


if(isset($bus_id) && $bus_id!="" && $bus_id!=""){
    $conditions.=" and b.bus_id=".$bus_id."";
}

$background_style_1 = "#cfd1db";
$background_style_2 = "";

            $statement = $pdo->prepare("SELECT * FROM `tbl_bus_seats` b WHERE b.id!=0 ".$conditions);
        	$statement->execute();
            $Datas = $statement->fetchAll(PDO::FETCH_ASSOC);
            $totalData = $statement->rowCount();
            
            if($totalData>0){   ?>
                <div class="text-center">
                    <h3 style="color: red;"><b>Already Bus Seats UI Creation Completed</b></h3>
                </div>
                
                
                
                
                
                
                
                
                
                <div>
                <?php
                $statement = $pdo->prepare("SELECT * FROM `tbl_bus_seats` WHERE bus_id=".$bus_id."");
                error_log("SELECT * FROM `tbl_bus_seats` WHERE bus_id=".$bus_id."");
                $statement->execute();
                $datas_seat = $statement->fetchAll(PDO::FETCH_ASSOC);
                $totalData = $statement->rowCount();
                $i=1;
                foreach($datas_seat as $data_bus){
                
                if($i==1){
                    $readonly = "readonly";
                }else{
                    $readonly = "";
                }
                 
                if($i%11==1 || $i==1){
                    echo '<div class="row text-center">';
                }
                
                echo '<input type="text" name="seat[]" value="'.$data_bus["seat_no"].'" class="seat" '.$readonly.'>';
                echo '<input type="hidden" name="ids[]" value="'.$data_bus["id"].'" class="">';
                echo '<input type="hidden" name="connect[]" value="'.$data_bus["connect_id"].'" class="seat" '.$readonly.'>';
                
                if($i%11==0){
                    echo '</div>';
                }
                
                ?>
                
                
                <?php $i++; }  ?>
                
                </div>
                
                
                <br><br>
                <div class="form-group" style="text-align:center;">
                    <input type="submit" name="submit" id="submit" value="Update"  class="btn btn-success" />
                </div>
                
                
           <?php }else{ ?>
           
           
           
               <div class="row text-center" style="margin-left: 175px;">
                   <style>
                       td{
                           padding: 8px; border: 1px solid aliceblue;
                       }
                       .select{
                           display: none;
                       }
                   </style>
                <table>
                
                <!-- First Row Starts Here -->
                    <tr>
                        <td style="background: <?=$background_style_1?>; padding: 8px; border: 1px solid aliceblue;"><input type="text" name="seat[]" value="D" class="seat" style="color: red; background: yellow;"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]" style="display: none;">
                                   <option value="0">0</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                    <option value="1">1</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="2">2</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="3">3</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="4">4</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="5">5</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="6">6</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="7">7</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="8">8</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="9">9</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="10">10</option>
                            </select>
                        </td>
                    </tr>
                <!-- First Row Endss Here -->
                
                <!-- Second Row Starts Here -->
                    <tr>
                        <td style="background: <?=$background_style_1?>; padding: 8px; border: 1px solid aliceblue;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="0">0</option>
                                   <option value="101">101</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                    <option value="1">1</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="2">2</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="3">3</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="4">4</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="5">5</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="6">6</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="7">7</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="8">8</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="9">9</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="10">10</option>
                            </select>
                        </td>
                        
                    </tr>
                <!-- Second Row Endsss Here -->
                
                <!-- Third Row Starts Here -->
                    <tr>
                        <td style="background: <?=$background_style_1?>; padding: 8px; border: 1px solid aliceblue;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="0">0</option>
                                   <option value="101">101</option>
                                   <option value="105">105</option>
                                   
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                    <option value="0">0</option>
                                    <option value="1">1</option>
                                    <option value="51">51</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                    <option value="0">0</option>
                                    <option value="2">2</option>
                                   <option value="52">52</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                    <option value="0">0</option>
                                    <option value="3">3</option>
                                   <option value="53">53</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                    <option value="0">0</option>
                                    <option value="4">4</option>
                                   <option value="54">54</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                    <option value="0">0</option>
                                    <option value="5">5</option>
                                   <option value="55">55</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                    <option value="0">0</option>
                                    <option value="6">6</option>
                                   <option value="56">56</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                <option value="0">0</option>
                                <option value="7">7</option>
                                   <option value="57">57</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                <option value="0">0</option>
                                <option value="8">8</option>
                                <option value="58">58</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                    <option value="0">0</option>
                                    <option value="9">9</option>
                                   <option value="59">59</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                    <option value="0">0</option>
                                    <option value="10">10</option>
                                   <option value="60">60</option>
                            </select>
                        </td>
                        
                    </tr>
                <!-- Third Row Endsss Here -->
                
                <!-- Fourth Row Starts Here -->
                    <tr>
                        <td style="background: <?=$background_style_1?>; padding: 8px; border: 1px solid aliceblue;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="0">0</option>
                                   <option value="105">105</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                    <option value="51">51</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="52">52</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="53">53</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="54">54</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="55">55</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="56">56</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="57">57</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="58">58</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="59">59</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="60">60</option>
                            </select>
                        </td>
                        
                    </tr>
                <!-- Fourth Row Endsss Here -->
                
                <!-- Fifth Row Starts Here -->
                    <tr>
                        <td style="background: <?=$background_style_1?>; padding: 8px; border: 1px solid aliceblue;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="0">0</option>
                                   <option value="105">105</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                    <option value="51">51</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="52">52</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="53">53</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="54">54</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="55">55</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="56">56</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="57">57</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="58">58</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="59">59</option>
                            </select>
                        </td>
                        
                        <td style="background: <?=$background_style_1?>; padding: 8px;"><input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0"><br>
                            <select class="form-control select" name="connect[]">
                                   <option value="60">60</option>
                            </select>
                        </td>
                        
                    </tr>
                <!-- Fifth Row Endsss Here -->
                </table>
                
                   
                   
                   
                   
                   
                   <!-- <div class="row text-center">
                           <input type="text" name="seat[]" value="D" class="seat" style="color: red; background: yellow;"><input type="hidden" name="ids[]" value="0">
                           <select class="form-control"><option>1</option></select>
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                    </div>
                    <div class="row text-center">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                    </div>
                    <div class="row text-center">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                    </div>
                    <div class="row text-center">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                    </div>
                    <div class="row text-center">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                           <input type="text" name="seat[]" value="" class="seat"><input type="hidden" name="ids[]" value="0">
                    </div>-->
                    
                    
                </div>
                            
                            
                            <br><br><br><br>
                            
                            <div class="form-group" style="text-align:center;">
                                <input type="submit" name="submit" id="submit" value="Submit"  class="btn btn-success" />
                            </div>
               
               
<?php  }  ?>

Zerion Mini Shell 1.0