= '$year' ORDER BY event_time"; $query_result = mysql_query($query); while ($info = mysql_fetch_array($query_result)) { $day = $info['event_day']; $event_id = $info['event_id']; $events[$day][] = $info['event_id']; $event_info[$event_id]['0'] = substr($info['event_title'], 0, 8);; $event_info[$event_id]['1'] = $info['event_time']; } $todays_date = date("j"); $todays_month = date("n"); $days_in_month = date ("t", mktime(0,0,0,$_GET['month'],0,$_GET['year'])); $first_day_of_month = date ("w", mktime(0,0,0,$_GET['month']-1,1,$_GET['year'])); $first_day_of_month = $first_day_of_month + 1; $count_boxes = 0; $days_so_far = 0; IF($_GET['month'] == 13){ $next_month = 2; $next_year = $_GET['year'] + 1; } ELSE { $next_month = $_GET['month'] + 1; $next_year = $_GET['year']; } IF($_GET['month'] == 2){ $prev_month = 13; $prev_year = $_GET['year'] - 1; } ELSE { $prev_month = $_GET['month'] - 1; $prev_year = $_GET['year']; } ?> Southern Maryland Community Calendar
Southern Maryland Real Estate:
Are you wondering what to do in Southern Maryland? Check out our
local community calendar. Also, if you have an activity that you want to add to the calendar, use this form.

Southern Maryland Home Search Brought to You by Michele Rockhill of Long and Foster Real Estate

 

Maryland home search home page
Search for homes in the local MLS for southern Maryland
View all of my listings that are on the market for sale
About Mieke Rockhill, real estate professional in Calvert County
Links to some informative websites offering information on southern MarylandTips on things to do around your homeSee whats making headlines in real estate news
Get your free competative market analysis
Tips every person who is thinking about buying a home should read
Tips every home owner should read before listing their home for sale
Information on Local Mortgages & Loans
Real Estate Mortgage Calculator
Directory of links to various websitesRequest a link to my website, reciprocal linkingGot questions? Contact me, Mieke Rockhill
Looking for a particular page? Check out the site map. It lists all of the pages in my site by page title.

Community Calendar Events for


Previous"; ?>
Next"; ?>

\n"; } for ($i = 1; $i <= $days_in_month; $i++) { $days_so_far = $days_so_far + 1; $count_boxes = $count_boxes + 1; IF($_GET['month'] == $todays_month+1){ IF($i == $todays_date){ $class = "highlighteddayboxes"; } ELSE { $class = "dayboxes"; } } ELSE { IF($i == 1){ $class = "highlighteddayboxes"; } ELSE { $class = "dayboxes"; } } echo "\n"; IF(($count_boxes == 7) AND ($days_so_far != (($first_day_of_month-1) + $days_in_month))){ $count_boxes = 0; echo "\n"; } } $extra_boxes = 7 - $count_boxes; for ($i = 1; $i <= $extra_boxes; $i++) { echo "\n"; } $time_end = getmicrotime(); $time = round($time_end - $time_start, 3); ?>
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
\n"; $link_month = $_GET['month'] - 1; echo "
\n$i
\n"; IF(isset($events[$i])){ echo "
\n"; while (list($key, $value) = each ($events[$i])) { echo " " . $event_info[$value]['1'] . " " . $event_info[$value]['0'] . "\n
\n"; } echo "
\n"; } echo "


Trying to get in touch, here's my contact info

Maryland Real Estate Home Search
Michele Rockhill
Long and Foster Real Estate
100 Harrow Lane
Prince Frederick, MD 20678
michele@homesearch-md.com
webmaster@homesearch-md.com
 

Disclaimer

Valid CSS!