11 || $thisMonth < 3) { $currentSeason = 4; if ($thisMonth <3) { $thisYear -= 1; // Winter spans the year break, use the year that Winter started in } $currentSeasonTitle = " for Winter"; } //spring else if($thisMonth > 2 && $thisMonth < 6) { $currentSeason = 1; $currentSeasonTitle = " for Spring"; } //summer else if($thisMonth > 5 && $thisMonth < 9) { $currentSeason = 2; $currentSeasonTitle = " for Summer"; } //fall else if($thisMonth > 8 && $thisMonth < 12) { $currentSeason = 3; $currentSeasonTitle = " for Fall"; } //if we fail we display jan else { $currentSeason = 1; $currentSeasonTitle = ""; } //select bounties for the current season and year $sql = "SELECT * FROM oregonBounties WHERE obSeason = '$currentSeason' AND obYear = '$thisYear' AND obActive = '1' ORDER BY obTitle"; $result = dbQuery($sql); ?>
Travel Packages
'; echo '
'; if( file_exists($_SESSION[sitePWD].'/dynamic/images/'.$tmp["obID"].'.'.$tmp["obImgExt"]) ) { echo '
'; } echo $tmp["obText"]; echo '
'; echo ''; } if($rID) sFooter("section", translateRegion($rID, "string")); else sFooter("section", "gen"); ?>