For the adult/children, that can be passed to the next page, and you can do some random logic with the price.
For the day of arrival/departure, you have to determine what day of week it is, and search by that, and then arrival/departure.
But thanks for reminding me, I was starting to write a multi-search function, which would search on whatever parameters you pass to it:
<?php
// Returns KJFK flights on sundays
$data = array('arricao'=>'KJFK', 'dayofweek'=>0);
$results = SchedulesData::getMultiSearch($data);
// return VMS flights from KJFK, departing during 18:00-59 hours (% is SQL wildcard)
$data = array('depicao'=>'KJFK', 'code'=>'VMS', 'deptime'=>'18:%');
$results = SchedulesData::getMultiSearch($data);
This would facilitate any custom searches or modules which want to return specific data, and you can pass in any column to search on which is in that table.
I added a ticket for it:
http://bugs.phpvms.net/ticket/110
I will probably write a similar function for PIREPS.