The Golf Dome - Winnipeg's Premiere Indoor Golf Centre - Winnipeg, MB Canada
The Golf Dome
Login | My Account | Shopping Cart | Checkout 
Instagram

"; echo "
"; // Function for year change. // $last_month = $month - 1; $next_month = $month + 1; $last_year = $year - 1; $next_year = $year + 1; if($month == 12): $change_year = $year; $change_month = $last_month; elseif($month == 1): $change_year = $last_year; $change_month = '12'; else: $change_year = $year; $change_month = $last_month; endif; if($month == 1): $change_year_next = $year; $change_month_next = $next_month; elseif($month == 12): $change_year_next = $next_year; $change_month_next = '1'; else: $change_year_next = $year; $change_month_next = $next_month; endif; echo "
"; echo ""; echo ""; echo "

" . date('F', mktime(0,0,0,$month,1)) . " " . $year . "

"; echo "
"; /* Previous Month */ $first_day = date('N', mktime(0,0,0,$month,1,$year)); if ( ($first_day_of_week=='Monday' && $first_day != 1) || ($first_day_of_week=='Sunday' && $first_day != 7) ) : $last_month_day_count = cal_days_in_month($type, $change_month, $change_year); if ($first_day_of_week=='Monday') : if ( 'Monday' == date('l', mktime(0,0,0,$change_month,$last_month_day_count,$change_year)) ) : $final_day = date('j', mktime(0,0,0,$change_month,$last_month_day_count,$change_year)); else : $final_day = date('j', strtotime('last Monday', mktime(0,0,0,$change_month,$last_month_day_count,$change_year) ) ); endif; else : if ( 'Sunday' == date('l', mktime(0,0,0,$change_month,$last_month_day_count,$change_year)) ) : $final_day = date('j', mktime(0,0,0,$change_month,$last_month_day_count,$change_year)); else : $final_day = date('j', strtotime('last Sunday', mktime(0,0,0,$change_month,$last_month_day_count,$change_year) ) ); endif; endif; // Not a monday so fill the gap for($i=$final_day; $i<=$last_month_day_count; $i++): $date = $change_year.'/'.$change_month.'/'.$i; $get_name = date('l', strtotime($date)); $month_name = date('F', strtotime($date)); $day_name = substr($get_name, 0, 3); // Trim day name to 3 chars $count = count_events($i,$change_month,$change_year); echo ""; echo "
"; // Calendar Day echo "
" . $day_name . "
"; if($count >= 1) echo "
" . $count . "
"; if($today == $date): echo "
" . $i . "
"; else: echo "
" . $i . "
"; endif; echo "
"; echo "
"; endfor; endif; /* Current Month */ for($i=1; $i<= $day_count; $i++): // Start of for $i $date = $year.'/'.$month.'/'.$i; $get_name = date('l', strtotime($date)); $month_name = date('F', strtotime($date)); $day_name = substr($get_name, 0, 3); // Trim day name to 3 chars $count = count_events($i,$month,$year); echo ""; echo "
"; // Calendar Day echo "
" . $day_name . "
"; if($count >= 1) echo "
" . $count . "
"; if($today == $date): echo "
" . $i . "
"; else: echo "
" . $i . "
"; endif; echo "
"; echo "
"; endfor; // EOF for $i /* Next Month */ $last_day = date('N', mktime(0,0,0,$month,$day_count,$year)); if ( ($first_day_of_week=='Monday' && $last_day != 7) || ($first_day_of_week=='Sunday' && $last_day != 1) ) : if ($first_day_of_week=='Monday') : if ( 'Sunday' == date('l', mktime(0,0,0,$change_month_next,1,$change_year_next)) ) : $first_day = date('j', mktime(0,0,0,$change_month_next,1,$change_year_next)); else : $first_day = date('j', strtotime('first Sunday', mktime(0,0,0,$change_month_next,1,$change_year_next) ) ); endif; else : if ( 'Saturday' == date('l', mktime(0,0,0,$change_month_next,1,$change_year_next)) ) : $first_day = date('j', mktime(0,0,0,$change_month_next,1,$change_year_next)); else : $first_day = date('j', strtotime('first Saturday', mktime(0,0,0,$change_month_next,1,$change_year_next) ) ); endif; endif; // Not a monday so fill the gap for($i=1; $i<=$first_day; $i++): $date = $change_year_next.'/'.$change_month_next.'/'.$i; $get_name = date('l', strtotime($date)); $month_name = date('F', strtotime($date)); $day_name = substr($get_name, 0, 3); // Trim day name to 3 chars $count = count_events($i,$change_month_next,$change_year_next); echo ""; echo "
"; // Calendar Day echo "
" . $day_name . "
"; if($count >= 1) echo "
" . $count . "
"; if($today == $date): echo "
" . $i . "
"; else: echo "
" . $i . "
"; endif; echo "
"; echo "
"; endfor; endif; echo "
"; ?>

The Golf Dome
1205 Wilkes Avenue
Winnipeg, MB R3P 1B9

Phone: (204) 489-7776
Fax: (204) 488-3185
Email: customerservice@golfdome.ca

The Golf Dome offers gift cards in any denomination over $10.00.

Click Here for more info.
Click on the link to view our Hours of Operation


Copyright 2003-2020 The Golf Dome
Privacy Policy | Terms & Conditions


Winnipeg Web Design
By Agatep Designs