<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="calendar.aspx.vb" Inherits="calendar.calendar" ResponseEncoding="UTF-8" %>

<%@ Register TagPrefix="ev" TagName="Footer" Src="footer.ascx" %>
<%@ Register TagPrefix="ev" TagName="Global" Src="global.ascx" %>
<%@ Register TagPrefix="ev" TagName="MainNav" Src="main-navigation.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Calendar – EdVenture Children&#8217;s Museum in Columbia, South Carolina</title>
<link rel="shortcut icon" href="favicon.ico" />
<link href="style/Event_prn.css" rel="stylesheet" type="text/css" media="print" />
<link href="style/reset-fonts.css" media="all" rel="stylesheet" type="text/css" />
<link href="style/layout.css" media="all" rel="stylesheet" type="text/css" />
<link href="style/calendar.css" media="all" rel="stylesheet" type="text/css" />
</head>
<body id="calendar">
<ev:Global ID="Global1" runat="server" />
<div id="headerContainer">
    <div id="header">
     	<ev:MainNav ID="MainNav1" Section="calendar" runat="server" />
        <div id="pageHeader"><img src="images/h-calendar.gif" alt="Calendar" width="233" height="50" border="0"  /></div>
    </div>
</div> 
<form id="Calendars" runat="server"> 
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
<div id="contentContainer">
    <div id="content">
      <div id="Main">
            <h1 id="cal-current-day"><asp:ImageButton ID="btnPrevDay" runat="server" ImageUrl="~/images/left-blue-arrow.gif" Height="19" Width="12" OnClick="btnPrevDay_Click" />&nbsp;
      	    <asp:Label ID="lblCurrentDate" runat="server" style="display:inline"></asp:Label>&nbsp;<asp:ImageButton ID="btnNextDay" runat="server" ImageUrl="~/images/right-blue-arrow.gif" Height="19" Width="12" OnClick="btnNextDay_Click"/></h1>
              <div class="calendarList">
                <div class="text">
                <asp:Label ID="lblHolidayMsg" runat="server" EnableViewState="false"></asp:Label>

                    <asp:Repeater ID="rptrDefaultView" runat="server" EnableViewState="false">
                     <ItemTemplate>
                     <h3> <%#Container.DataItem("category_text")%></h3>
                     <p>&nbsp;</p>
                     <asp:Repeater ID="rptrDefaultViewChld" DataSource='<%# Container.Dataitem.Row.GetChildRows("Category_Details")%>' runat="server">
                     <ItemTemplate>
                      <h2><a id="EventTitle" href="detail.aspx?EventID=<%#Container.DataItem("event_id")%>"><%#Container.DataItem("event_title")%></a></h2>
                        <p><%#Container.DataItem("short_description")%><br />
                        <strong><%#Container.DataItem("event_dt")%></strong></p>
                        <p>&nbsp;</p>
                        </ItemTemplate>
                        </asp:Repeater>
                         </ItemTemplate>
                        <FooterTemplate>
                    <p>&nbsp;</p> 
                    <p>&nbsp;</p>
                    </FooterTemplate>
                    </asp:Repeater>
                                 
                    
                    
                        <%--<asp:Repeater ID="rptrActiveEvents" runat="server" EnableViewState="false">
                        <ItemTemplate>
                           <h3>  <%#Container.DataItem("category_text")%></h3>
                            <p>&nbsp;</p>
                            <asp:Repeater ID="rptrActiveEventChld" DataSource='<%# Container.Dataitem.Row.GetChildRows("Category_Details")%>' runat="server">
                            <ItemTemplate>
                            <h2><a id="EventTitle" href="detail.aspx?EventID=<%#Container.DataItem("event_id")%>"><%#Container.DataItem("event_title")%></a></h2>
                            <p><%#Container.DataItem("short_description")%><br />
                          <strong><%#Container.DataItem("event_dt")%> </strong></p>
                            <p>&nbsp;</p>
                            </ItemTemplate>
                            </asp:Repeater>
                            </ItemTemplate>
                         <FooterTemplate>
                            <p>&nbsp;</p> 
                            <p>&nbsp;</p>
                         </FooterTemplate>
                        </asp:Repeater> --%>
                    
                   
                </div>
        </div>
        <asp:Panel ID="Upcoming" runat=server  >
        	<h2 id="cal-current-day-small"></h2>
            <h1>Upcoming&nbsp;(After&nbsp; <asp:Label ID="lblToday" runat="server" style="display:inline"></asp:Label>)</h1>
           
            <div class="comingsoon " >
                <div class="text">
       
                    <asp:Repeater ID="rptrComingsoon" runat="server" EnableViewState="false">
                    <HeaderTemplate>
                        </HeaderTemplate>
                            <ItemTemplate>
                            <h3>  <%#Container.DataItem("StartMonth")%></h3>
                            <p>&nbsp;</p>
                            <asp:Repeater ID="rptrComingSoonChld" runat="server" DataSource='<%# Container.Dataitem.Row.GetChildRows("Months_Details")%>'>
                            <ItemTemplate>
                            <h2><a id="EventTitle" href="detail.aspx?EventID=<%#Container.DataItem("event_id")%>"><%#Container.DataItem("event_title")%></a></h2>
                            <p><%#Container.DataItem("short_description")%><br />
                           <strong><%#Container.DataItem("event_dt")%></strong></p>
                            <p>&nbsp;</p>
                            </ItemTemplate>
                            </asp:Repeater>
                            </ItemTemplate>
                         <FooterTemplate>
                         <p>&nbsp;</p>
                         </FooterTemplate>
                    </asp:Repeater> 
                    
                </div>
            </div>
            </asp:Panel>
      </div>
        <div id="Sidebar">
       	<h2 id="H2_1" runat="server" class="cal-current-mth">
        	<asp:ImageButton ID="LeftArrow" runat="server" ImageUrl="~/images/left-blue-arrow.gif" Height="19" Width="12" />
        	<asp:Label ID="LblCurrMnth" runat="server" EnableViewState="true" style="display:inline"></asp:Label><asp:ImageButton ID="RightArrow" runat="server" ImageUrl="~/images/right-blue-arrow.gif" Height="19" Width="12"/></h2>
              <table  runat="server" border="0" cellspacing="0" cellpadding="0" id="calendarTable">
                <thead>
                    <tr><td colspan="7" style="height: 14px"><img src="images/calendar-week.gif" alt="" width="224" height="14" border="0" /></td></tr>
                </thead>
                <tbody>
                <tr>
                        <td id="TD11" runat="server">
                        <asp:LinkButton ID="s11" runat="server" ></asp:LinkButton></td>
                        <td id="TD12" runat="server"   >
                        <asp:LinkButton ID="m12" runat="server"></asp:LinkButton></td>
                        <td id="TD13" runat="server"  >
                        <asp:LinkButton ID="t13" runat="server"></asp:LinkButton></td>
                        <td id="TD14" runat="server">
                        <asp:LinkButton ID="w14" runat="server"></asp:LinkButton></td>
                        <td id= "TD15" runat="server" >
                        <asp:LinkButton ID="th15" runat="server"></asp:LinkButton></td>
                        <td id="TD16" runat="server"  >
                        <asp:LinkButton ID="f16" runat="server"></asp:LinkButton></td>
                        <td id="TD17" runat="server" >
                        <asp:LinkButton ID="sa17" runat="server"></asp:LinkButton></td>
                    </tr>
                    <tr>
                        <td id="TD21" runat="server" >
                        <asp:LinkButton ID="s21" runat="server"></asp:LinkButton></td>
                        <td id="TD22" runat="server">
                        <asp:LinkButton ID="m22" runat="server"></asp:LinkButton></td>
                        <td id="TD23" runat="server">
                        <asp:LinkButton ID="t23" runat="server"></asp:LinkButton></td>
                        <td id="TD24" runat="server">
                        <asp:LinkButton ID="w24" runat="server"></asp:LinkButton></td>
                        <td id="TD25" runat="server" >
                        <asp:LinkButton ID="th25" runat="server"></asp:LinkButton></td>
                        <td id="TD26" runat="server" >
                        <asp:LinkButton ID="f26" runat="server"></asp:LinkButton></td>
                        <td id= "TD27" runat="server" >
                        <asp:LinkButton ID="sa27" runat="server"></asp:LinkButton></td>
                    </tr>
                    <tr>
                        <td id= "TD31" runat="server">
                        <asp:LinkButton ID="s31" runat="server"></asp:LinkButton></td>
                        <td id="TD32" runat="server" >
                        <asp:LinkButton ID="m32" runat="server"></asp:LinkButton></td>
                        <td id="TD33" runat="server" >
                        <asp:LinkButton ID="t33" runat="server"></asp:LinkButton></td>
                        <td id="TD34" runat="server">
                        <asp:LinkButton ID="w34" runat="server"></asp:LinkButton></td>
                        <td id= "TD35" runat="server">
                        <asp:LinkButton ID="th35" runat="server"></asp:LinkButton></td>
                        <td id="TD36" runat="server">
                        <asp:LinkButton ID="f36" runat="server"></asp:LinkButton></td>
                        <td id="TD37" runat="server" >
                        <asp:LinkButton ID="sa37" runat="server"></asp:LinkButton></td>
                    </tr>
                    <tr>
                        <td id="TD41" runat="server" >
                        <asp:LinkButton ID="s41" runat="server" ></asp:LinkButton></td>
                        <td id="TD42" runat="server" >
                        <asp:LinkButton ID="m42" runat="server" ></asp:LinkButton></td>
                        <td id="TD43" runat="server">
                        <asp:LinkButton ID="t43" runat="server" ></asp:LinkButton></td>
                        <td id="TD44" runat="server"  >
                        <asp:LinkButton ID="w44" runat="server" ></asp:LinkButton></td>
                        <td id="TD45" runat="server">
                        <asp:LinkButton ID="th45" runat="server" ></asp:LinkButton></td>
                        <td id="TD46" runat="server" >
                        <asp:LinkButton ID="f46" runat="server"></asp:LinkButton></td>
                        <td id="TD47" runat="server">
                        <asp:LinkButton ID="sa47" runat="server" ></asp:LinkButton></td>
                    </tr>
                    <tr>
                        <td id="TD51" runat="server" >
                        <asp:LinkButton ID="s51" runat="server" ></asp:LinkButton></td>
                        <td id="TD52" runat="server">
                        <asp:LinkButton ID="m52" runat="server" ></asp:LinkButton></td>
                        <td id="TD53" runat="server" >
                        <asp:LinkButton ID="t53" runat="server"></asp:LinkButton></td>
                        <td id= "TD54" runat="server" >
                        <asp:LinkButton ID="w54" runat="server"></asp:LinkButton></td>
                        <td id="TD55" runat="server" >
                        <asp:LinkButton ID="th55" runat="server"></asp:LinkButton></td>
                        <td id="TD56" runat="server">
                        <asp:LinkButton ID="f56" runat="server"></asp:LinkButton></td>
                        <td id="TD57" runat="server" >
                        <asp:LinkButton ID="sa57" runat="server"></asp:LinkButton></td>
                    </tr>
                    <tr>
                        <td id="TD61" runat="server" visible="false" >
                        <asp:LinkButton ID="s61" runat="server" Visible="false"></asp:LinkButton></td>
                        <td id="TD62" runat="server" visible="false">
                        <asp:LinkButton ID="m62" runat="server" Visible="false"></asp:LinkButton></td>
                        <td id="TD63" runat="server" visible="false">
                        <asp:LinkButton ID="t63" runat="server" Visible="false"></asp:LinkButton></td>
                        <td id= "TD64" runat="server" visible="false">
                        <asp:LinkButton ID="w64" runat="server" Visible="false"></asp:LinkButton></td>
                        <td id="TD65" runat="server" visible="false">
                        <asp:LinkButton ID="th65" runat="server" Visible="false"></asp:LinkButton></td>
                        <td id="TD66" runat="server" visible="false">
                        <asp:LinkButton ID="f66" runat="server" Visible="false"></asp:LinkButton></td>
                        <td id="TD67" runat="server" visible="false">
                        <asp:LinkButton ID="sa67" runat="server" Visible="false"></asp:LinkButton></td>
                    </tr>
                </tbody>
            </table>
            <asp:Label id="lblChooseDtError" runat="server" Font-Size="X-Small" Text='You cannot choose a date that is already past.' ForeColor="Red" Visible="False"></asp:Label>
            <div id="dateDropDown">
                <h2>Choose a Date</h2>
                <div style="margin-left:9px;">
               
                    <asp:DropDownList id="DDMonth" runat="server" Width="89px" >
                        <asp:ListItem Value="1" Text="January" />
                        <asp:ListItem Value="2" Text="February" />
                        <asp:ListItem Value="3" Text="March" />
                        <asp:ListItem Value="4" Text="April" />
                        <asp:ListItem Value="5" Text="May" />
                        <asp:ListItem Value="6" Text="June" />
                        <asp:ListItem Value="7" Text="July" />
                        <asp:ListItem Value="8" Text="August" />
                        <asp:ListItem Value="9" Text="September" />
                        <asp:ListItem Value="10" Text="October" />
                        <asp:ListItem Value="11" Text="November" />
                        <asp:ListItem Value="12" Text="December" />
                    </asp:DropDownList>
                    <asp:DropDownList id="DDDay" runat="server" Width="42px">
                        <asp:ListItem Value="1" Text="1" /> 
                        <asp:ListItem Value="2" Text="2" />
                        <asp:ListItem Value="3" Text="3" />
                        <asp:ListItem Value="4" Text="4" />
                        <asp:ListItem Value="5" Text="5" />
                        <asp:ListItem Value="6" Text="6" />
                        <asp:ListItem Value="7" Text="7" />
                        <asp:ListItem Value="8" Text="8" />
                        <asp:ListItem Value="9" Text="9" />
                        <asp:ListItem Value="10" Text="10" />
                        <asp:ListItem Value="11" Text="11" />
                        <asp:ListItem Value="12" Text="12" />
                        <asp:ListItem Value="13" Text="13" />
                        <asp:ListItem Value="14" Text="14" />
                        <asp:ListItem Value="15" Text="15" />
                        <asp:ListItem Value="16" Text="16" />
                        <asp:ListItem Value="17" Text="17" />
                        <asp:ListItem Value="18" Text="18" />
                        <asp:ListItem Value="19" Text="19" />
                        <asp:ListItem Value="20" Text="20" />
                        <asp:ListItem Value="21" Text="21" />
                        <asp:ListItem Value="22" Text="22" />
                        <asp:ListItem Value="23" Text="23" />
                        <asp:ListItem Value="24" Text="24" />
                        <asp:ListItem Value="25" Text="25" />
                        <asp:ListItem Value="26" Text="26" />
                        <asp:ListItem Value="27" Text="27" />
                        <asp:ListItem Value="28" Text="28" />
                        <asp:ListItem Value="29" Text="29" />
                        <asp:ListItem Value="30" Text="30" />
                        <asp:ListItem Value="31" Text="31" />
                    </asp:DropDownList>
                    <asp:DropDownList id="DDYear" runat="server" Width="59px">
                    <asp:ListItem Value="2008" Text="2008" />
                    <asp:ListItem Value="2009" Text="2009" />
                    <asp:ListItem Value="2010" Text="2010" />
                    <asp:ListItem Value="2011" Text="2011" />
                    <asp:ListItem Value="2012" Text="2012" />
                    <asp:ListItem Value="2013" Text="2013" />
                    <asp:ListItem Value="2014" Text="2014" />
                    <asp:ListItem Value="2015" Text="2015" />                    
                    <asp:ListItem Value="2016" Text="2016" />
                    <asp:ListItem Value="2017" Text="2017" />
                    <asp:ListItem Value="2018" Text="2018" />
                    </asp:DropDownList>
          			<br/>
                   <asp:ImageButton id="DDButton" AlternateText="go" ImageUrl="images/btn-go.gif" CssClass="DDImage" runat="server" />
                   
          </div>
            </div> 
            <div id="callOutContainer">
                 <h1>Everyday at EdVenture</h1>
                <div class="callOut">
                             
                    <div class="text">
                      <asp:Repeater ID="rptrDaily" runat="server" EnableViewState="false">
                             <HeaderTemplate>
                                </HeaderTemplate>
                                    <ItemTemplate>
                                    <h3><a id="EveryDayTitle" href="detail.aspx?EventID=<%#Container.DataItem("event_id")%>"><%#Container.DataItem("event_title")%></a></h3>
                                    <p><%#Container.DataItem("short_description")%></p>
                                    <p>&nbsp;</p>
                                    <p>&nbsp;</p>
                            </ItemTemplate>
                         <FooterTemplate>
                         </FooterTemplate>
                         </asp:Repeater>
                    </div>
                </div>
            </div>
      
        </div>
        <div class="clear"></div>
    </div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</form>
<ev:Footer ID="Footer1" runat="server" />
</body>
</html>
