Jump to content

How to show booking system in frontpage


MohammedALYousfi

Recommended Posts

Hi , i am trying to desgin new skins and would like to 

show new form to search flight by use RealScheduleLite template

here an example how i want to do in frontpage

https://w3layouts.com/wp-content/uploads/2016/09/flight_ticket_booking.jpg

but when i search or write name or code of the airport it dose not show anything 

 

i am using  look like form code in airport_search.tpl but in new form in frontpage

 

NOTHING IS HAPPEN , NO AIRPORT SHOW 

once i click SEARCH i need to forward to flights available template 

 

Quote

 <tr>
            <td>Select Departure Airport</td><td>

                <select class="search" name="depicao">
                    <option value="">All Departure Airports</option>
                    <?php
                        foreach ($airports as $airport)
                            {echo '<option value="'.$airport->icao.'">'.$airport->icao.' - '.$airport->name.'</option>';}
                    ?>
                </select>
            </td>
        </tr>
        <tr>
            <td>Select Arrival Airport</td><td>

                <select class="search" name="arricao">
                    <option value="">All Arrival Airports</option>
                    <?php
                        foreach ($airports as $airport)
                            {echo '<option value="'.$airport->icao.'">'.$airport->icao.' - '.$airport->name.'</option>';}
                    ?>
                </select>
            </td>
        </tr>
        <tr>
            <td colspan="2"> <center>
                <input type="hidden" name="action" value="findflight" />
                <input type="submit" name="submit" class="btnblue" value="Search Flight" /></center>
            </td>
        </tr>
 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...