include 'admin/connect.inc';
include 'admin/tour_dates.lib.php';
?>
Tour Dates
$today = Date("Y-m-d");
$query = "select * from tour where UNIX_TIMESTAMP(DATE_FORMAT(date, '%Y-%m-%d')) >= UNIX_TIMESTAMP('$today') order by date asc";
$result = mysql_query($query);
$numrows = mysql_num_rows($result);
if($numrows == 0)
{
echo " There are no available tour dates at this time.";
}
else
{
while($row = mysql_fetch_array($result))
{
if($row['date'] >= $today)
{
?>