# Schedule Search (Airline, Aircraft, Arrival, Departure)

**URL:** <https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158>\
**Category:** Simpilot Group Addons\
**Created:** [March 7, 2010, 5:18pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158 "2010-03-07T17:18:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [March 7, 2010, 5:18pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/1 "2010-03-07T17:18:21Z")

</div>

Module creates a schedule search form that includes the ability to choose the airline, aircraft type, arrival field, and departure field. You can choose one or all of the parameters to find what you are looking for in your schedule database.

To install

Download and unzip

Place the files in the proper paths as structured in the download

No new sql tables or anything needed.

Point your browser to mysite/index.php/FrontSchedules and start searching.

Enjoy!

Code hosted on Github - Link In Signature.

---

<div class="post-metadata">

**Author:** ![stuartpb](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/s/ecae2f/32.png) [@stuartpb](https://forum.phpvms.net/u/stuartpb)\
**Post date:** [March 7, 2010, 5:20pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/2 "2010-03-07T17:20:02Z")

</div>

This is exactly what I wanted SimPilot, I would like to thank you again for your work. It’s much appreciated

+1 Rep for your effort!

---

<div class="post-metadata">

**Author:** ![Conor](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/9d8465/32.png) [@Conor](https://forum.phpvms.net/u/Conor)\
**Post date:** [March 7, 2010, 8:15pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/3 "2010-03-07T20:15:53Z")

</div>

Any Demo or anything i want to see what its like first no offence your addons are always quality i just want to see if i would find it helpfull

---

<div class="post-metadata">

**Author:** ![flyalaska](https://forum.phpvms.net/user_avatar/forum.phpvms.net/flyalaska/32/14_2.png) [@flyalaska](https://forum.phpvms.net/u/flyalaska)\
**Post date:** [March 7, 2010, 8:59pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/4 "2010-03-07T20:59:07Z")

</div>

> Any Demo or anything i want to see what its like first no offence your addons are always quality i just want to see if i would find it helpfull

Here is it on my site. I haven’t put it on my index yet.

[Demo](http://www.flyaka.com/index.php/FrontSchedules)

---

<div class="post-metadata">

**Author:** ![stuartpb](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/s/ecae2f/32.png) [@stuartpb](https://forum.phpvms.net/u/stuartpb)\
**Post date:** [March 7, 2010, 9:26pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/5 "2010-03-07T21:26:13Z")

</div>

I have just finished styling the new page, and it’s working great!

Here’s a link:

[http://britair.net/index.php/frontschedules](http://britair.net/index.php/frontschedules)

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [March 7, 2010, 9:31pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/6 "2010-03-07T21:31:42Z")

</div>

Nice work styling the search form guys!

Thanks for the kudos

---

<div class="post-metadata">

**Author:** ![tnick74](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/e95f7d/32.png) [@tnick74](https://forum.phpvms.net/u/tnick74)\
**Post date:** [March 8, 2010, 1:47pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/7 "2010-03-08T13:47:02Z")

</div>

Great form, ty!

---

<div class="post-metadata">

**Author:** ![llju1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/l/ba9def/32.png) [@llju1](https://forum.phpvms.net/u/llju1)\
**Post date:** [March 9, 2010, 12:24am UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/8 "2010-03-09T00:24:04Z")

</div>

Thanks again for a great Module simpilot. It works great and will save my guys a lot of time.

Lloyd

---

<div class="post-metadata">

**Author:** ![Bueno93](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/b/71c47a/32.png) [@Bueno93](https://forum.phpvms.net/u/Bueno93)\
**Post date:** [March 14, 2010, 9:44am UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/9 "2010-03-14T09:44:41Z")

</div>

Hi simpilot,

thank you once again for a very nice add-on ;-).

I’d just like to know, if you can add the value daysofweek. Would be some kind of this, wouldn’t it?

```
<select class="search" name="daysofweek">
                   <option value="">All days</option>
                   <?php
                       foreach ($daysofweek as $days)
                           {echo '<option value="'.$days->name.'">'.$days->name.'</option>';}
                   ?>
               </select>

```

But this doesn’t work for me. Any possibility to get it work? I guess it’s something in here “$days-\>name”.

Regards

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [March 18, 2010, 11:30pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/10 "2010-03-18T23:30:43Z")

</div>

How are you calling it?

$this-\>show(‘template’);

or

MainController::Run(‘FrontSchedules’);

I think it sounds like you are calling it through the template function which would miss all the data coming out of the module call.

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [March 19, 2010, 3:01am UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/11 "2010-03-19T03:01:24Z")

</div>

```
<?php MainController::Run('FrontSchedules', 'index'); ?>

```

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [March 19, 2010, 3:17am UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/12 "2010-03-19T03:17:32Z")

</div>

> Can i pay you to code custom modules. Your a damn smart genius. Your like nabeel. you know everything to coding lol.

Just a hobby, but i always am taking requests for new modules. No gaurentees, but the ones that make sense to me usually get done.

---

<div class="post-metadata">

**Author:** ![airline-alliance](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/f6c823/32.png) [@airline-alliance](https://forum.phpvms.net/u/airline-alliance)\
**Post date:** [May 8, 2010, 4:01pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/13 "2010-05-08T16:01:16Z")

</div>

On my soon to be released VA, I am going to have a lot of different airlines and this would be perfect to use.

Only question is..where can I get the code/template to install it?? I couldnt find the link.

---

<div class="post-metadata">

**Author:** ![Kingfisher\_Virtual](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/cab0a1/32.png) [@Kingfisher\_Virtual](https://forum.phpvms.net/u/Kingfisher_Virtual)\
**Post date:** [May 8, 2010, 8:49pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/14 "2010-05-08T20:49:24Z")

</div>

Could please upload it again or anyone who has it, can they please upload it. Thanks alot.

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [May 9, 2010, 2:35am UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/15 "2010-05-09T02:35:34Z")

</div>

> Could please upload it again or anyone who has it, can they please upload it. Thanks alot.

I re-attached it to the original post in this thread.

---

<div class="post-metadata">

**Author:** ![tnick74](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/e95f7d/32.png) [@tnick74](https://forum.phpvms.net/u/tnick74)\
**Post date:** [May 12, 2010, 2:57pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/16 "2010-05-12T14:57:53Z")

</div>

Dave,

How could we search for a specific flight number or a group of flight numbers? For example to type 12\*\* and see all flights that have number from 1200 and above? Or type S\*\*\* and see all flights starting from S.

---

<div class="post-metadata">

**Author:** ![shiljo](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@shiljo](https://forum.phpvms.net/u/shiljo)\
**Post date:** [October 17, 2010, 11:50am UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/17 "2010-10-17T11:50:26Z")

</div>

Thank you for this great addon but i have faulty on my site, i don have no aircrafts, and it doesnt find me no flights at all…thanks for helping.-..

regards

P.S.

; i got it whats the problem, in your codes there are aircrafts, and in my which is old is equioment so any chance to help me solve and get this right? thanky…

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [October 17, 2010, 7:12pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/18 "2010-10-17T19:12:16Z")

</div>

> Thank you for this great addon but i have faulty on my site, i don have no aircrafts, and it doesnt find me no flights at all…thanks for helping.-..
> 
> regards
> 
> P.S.
> 
> ; i got it whats the problem, in your codes there are aircrafts, and in my which is old is equioment so any chance to help me solve and get this right? thanky…

um… I am not sure what you mean, but if you have no aircraft in the system you can not set up any schedules, and with no schedules, there is nothing to search.

---

<div class="post-metadata">

**Author:** ![Alex](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@Alex](https://forum.phpvms.net/u/Alex)\
**Post date:** [October 18, 2010, 8:05am UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/19 "2010-10-18T08:05:39Z")

</div>

Dave i think he is saying that your search parameters in your module for aircraft are $aircrafts wheras in his i think its the dataclass its defined as $equipment.

I have the same issue (on the obsessblue skins) I think i posted this problem previously.

yes here. i posted the two different templates for comparison.

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [October 18, 2010, 10:55pm UTC](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158/20 "2010-10-18T22:55:40Z")

</div>

Thanks Alex

[Next page](https://forum.phpvms.net/t/schedule-search-airline-aircraft-arrival-departure/2158.md?page=2)
