<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="CalendarAdmin.WebForm1" %>

<!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 id="Head1" runat="server">
    <title>Calendar Administration (Events...)</title>
     <link href="style/Login.css"rel="stylesheet" type="text/css">
</head>
<body>
    <form id="EventDetail" runat="server">
<div id="Border" class="container">
        <div id="Header" class="header" >
            <asp:Image ID="imgLogo" runat="server" ImageUrl="~/images/edventure_logo.jpg" /></div>
        <div id="ProjectTitle" class="projectitle">
         <h2> Calendar Administration </h2>
         </div>
       
            <div id="NavButton" class="NavButton">
            <asp:Button ID="btnEvent" runat="server" Text="Events" BorderStyle="None" ForeColor="White" BackColor="#666666" Height="30px" Width="140px" Font-Names="Arial" Font-Bold="True" />
            <asp:Button ID="btnCategories" runat="server" Text="Categories" BorderStyle="None" ForeColor="#666666" BackColor="#E7E7E9" Height="30px" Width="140px" Font-Names="Arial" Font-Bold="True" />
            <asp:Button ID="btnClosedDates" runat="server" Text="Closed Dates" BorderStyle="None" ForeColor="White" BackColor="#666666" Height="30px" Width="140px" Font-Names="Arial" Font-Bold="True" />
            <asp:Button ID="btnUsers" runat="server" Text="Users" BorderStyle="None" ForeColor="White" BackColor="#666666" Height="30px" Width="140px" Font-Names="Arial" Font-Bold="True" />
            </div>
            <div id="FormTitle" class="formtitle">
         <h1>
             <span style="text-decoration: underline">Event List</span> &gt; Event Detail</h1>
         
         </div> 
         <div id="AddNew" class="AddNew" style="text-align: left" >
                            <asp:Label ID="lbl_alert_message" runat="server" Font-Bold="True" Font-Names="Arial" Font-Size="Small"
                                ForeColor="#C00000" Width="660px"></asp:Label>&nbsp;</div>
                            <br />
            
                            <div style="width: 756px; height: auto; font-size: 12pt; font-family: Arial; text-align: justify; margin-left:7px;background-color: #f3f3f3; ">
                              
                                    <div style="width: 350px; height: auto; float:right; margin-right:14">
                                            <div style="width: 350px; height: auto">
                                                &nbsp;<asp:CheckBox ID="chkActive" runat="server" Text="Active" Width="110px" Font-Bold="True" Font-Names="Arial" Font-Size="10pt" />
                                                &nbsp; &nbsp;<asp:CheckBox ID="chkComingSoon" runat="server" Text="Coming Soon List" Font-Bold="True" Font-Names="Arial" Font-Size="10pt" /></div>
                                            <div style="width: 350px; height: auto; text-align: right;">
                                                <asp:CheckBox ID="chkEveryDayAt" runat="server"
                                                    Text="Everyday @ EdVenture List" Font-Bold="True" Font-Names="Arial" Font-Size="10pt" />
                                                &nbsp;</div>
                                            <br />
                                            <div style="width: 350px; height: auto">
                                                &nbsp;<strong><span style="font-size: 14pt; color: #ff6666">*</span>Date Range<br />
                                                </strong>
                                                <span style="font-size: 10pt">RANGE1:<br />
                                                    Start Date:<br />
                                                </span><asp:DropDownList ID="cboStartMonth" runat="server">
                                                    <asp:ListItem>Month</asp:ListItem>
                                                    <asp:ListItem Text="January" Value="1"></asp:ListItem>
                                                    <asp:ListItem Text="February" Value="2"></asp:ListItem>
                                                    <asp:ListItem Text="March" Value="3"></asp:ListItem>
                                                    <asp:ListItem Text="April" Value="4"></asp:ListItem>
                                                    <asp:ListItem Text="May" Value="5"></asp:ListItem>
                                                    <asp:ListItem Text="June" Value="6"></asp:ListItem>
                                                    <asp:ListItem Text="July" Value="7"></asp:ListItem>
                                                    <asp:ListItem Text="August" Value="8"></asp:ListItem>
                                                    <asp:ListItem Text="September" Value="9"></asp:ListItem>
                                                    <asp:ListItem Text="October" Value="10"></asp:ListItem>
                                                    <asp:ListItem Text="November" Value="11"></asp:ListItem>
                                                    <asp:ListItem Text="December" Value="12"></asp:ListItem>
                                                </asp:DropDownList>&nbsp;<asp:DropDownList ID="cboStartDay" runat="server" Height="16px">
                                                    <asp:ListItem>Day</asp:ListItem>
                                                    <asp:ListItem>1</asp:ListItem>
                                                    <asp:ListItem>2</asp:ListItem>
                                                    <asp:ListItem>3</asp:ListItem>
                                                    <asp:ListItem>4</asp:ListItem>
                                                    <asp:ListItem>5</asp:ListItem>
                                                    <asp:ListItem>6</asp:ListItem>
                                                    <asp:ListItem>7</asp:ListItem>
                                                    <asp:ListItem>8</asp:ListItem>
                                                    <asp:ListItem>9</asp:ListItem>
                                                    <asp:ListItem>10</asp:ListItem>
                                                    <asp:ListItem>11</asp:ListItem>
                                                    <asp:ListItem>12</asp:ListItem>
                                                    <asp:ListItem>13</asp:ListItem>
                                                    <asp:ListItem>14</asp:ListItem>
                                                    <asp:ListItem>15</asp:ListItem>
                                                    <asp:ListItem>16</asp:ListItem>
                                                    <asp:ListItem>17</asp:ListItem>
                                                    <asp:ListItem>18</asp:ListItem>
                                                    <asp:ListItem>19</asp:ListItem>
                                                    <asp:ListItem>20</asp:ListItem>
                                                    <asp:ListItem>21</asp:ListItem>
                                                    <asp:ListItem>22</asp:ListItem>
                                                    <asp:ListItem>23</asp:ListItem>
                                                    <asp:ListItem>24</asp:ListItem>
                                                    <asp:ListItem>25</asp:ListItem>
                                                    <asp:ListItem>26</asp:ListItem>
                                                    <asp:ListItem>27</asp:ListItem>
                                                    <asp:ListItem>28</asp:ListItem>
                                                    <asp:ListItem>29</asp:ListItem>
                                                    <asp:ListItem>30</asp:ListItem>
                                                    <asp:ListItem>31</asp:ListItem>
                                                </asp:DropDownList>&nbsp;<asp:DropDownList ID="cboStartYear" runat="server" Height="16px">
                                                    <asp:ListItem>Year</asp:ListItem>
                                                    <asp:ListItem>2008</asp:ListItem>
                                                    <asp:ListItem>2009</asp:ListItem>
                                                    <asp:ListItem>2010</asp:ListItem>
                                                    <asp:ListItem>2011</asp:ListItem>
                                                    <asp:ListItem>2012</asp:ListItem>
                                                    <asp:ListItem>2013</asp:ListItem>
                                                    <asp:ListItem>2014</asp:ListItem>
                                                    <asp:ListItem>2015</asp:ListItem>
                                                    <asp:ListItem>2016</asp:ListItem>
                                                    <asp:ListItem>2017</asp:ListItem>
                                                    <asp:ListItem>2018</asp:ListItem>
                                                </asp:DropDownList><br />
                                                <br />
                                                <span style="font-size: 10pt">
                                                End Date:</span>&nbsp;<br />
                                                <asp:DropDownList ID="cboEndMonth" runat="server">
                                                    <asp:ListItem>Month</asp:ListItem>
                                                    <asp:ListItem Text="January" Value="1"></asp:ListItem>
                                                    <asp:ListItem Text="February" Value="2"></asp:ListItem>
                                                    <asp:ListItem Text="March" Value="3"></asp:ListItem>
                                                    <asp:ListItem Text="April" Value="4"></asp:ListItem>
                                                    <asp:ListItem Text="May" Value="5"></asp:ListItem>
                                                    <asp:ListItem Text="June" Value="6"></asp:ListItem>
                                                    <asp:ListItem Text="July" Value="7"></asp:ListItem>
                                                    <asp:ListItem Text="August" Value="8"></asp:ListItem>
                                                    <asp:ListItem Text="September" Value="9"></asp:ListItem>
                                                    <asp:ListItem Text="October" Value="10"></asp:ListItem>
                                                    <asp:ListItem Text="November" Value="11"></asp:ListItem>
                                                    <asp:ListItem Text="December" Value="12"></asp:ListItem>
                                                </asp:DropDownList>&nbsp;<asp:DropDownList ID="cboEndDay" runat="server" Height="16px">
                                                    <asp:ListItem>Day</asp:ListItem>
                                                    <asp:ListItem>1</asp:ListItem>
                                                    <asp:ListItem>2</asp:ListItem>
                                                    <asp:ListItem>3</asp:ListItem>
                                                    <asp:ListItem>4</asp:ListItem>
                                                    <asp:ListItem>5</asp:ListItem>
                                                    <asp:ListItem>6</asp:ListItem>
                                                    <asp:ListItem>7</asp:ListItem>
                                                    <asp:ListItem>8</asp:ListItem>
                                                    <asp:ListItem>9</asp:ListItem>
                                                    <asp:ListItem>10</asp:ListItem>
                                                    <asp:ListItem>11</asp:ListItem>
                                                    <asp:ListItem>12</asp:ListItem>
                                                    <asp:ListItem>13</asp:ListItem>
                                                    <asp:ListItem>14</asp:ListItem>
                                                    <asp:ListItem>15</asp:ListItem>
                                                    <asp:ListItem>16</asp:ListItem>
                                                    <asp:ListItem>17</asp:ListItem>
                                                    <asp:ListItem>18</asp:ListItem>
                                                    <asp:ListItem>19</asp:ListItem>
                                                    <asp:ListItem>20</asp:ListItem>
                                                    <asp:ListItem>21</asp:ListItem>
                                                    <asp:ListItem>22</asp:ListItem>
                                                    <asp:ListItem>23</asp:ListItem>
                                                    <asp:ListItem>24</asp:ListItem>
                                                    <asp:ListItem>25</asp:ListItem>
                                                    <asp:ListItem>26</asp:ListItem>
                                                    <asp:ListItem>27</asp:ListItem>
                                                    <asp:ListItem>28</asp:ListItem>
                                                    <asp:ListItem>29</asp:ListItem>
                                                    <asp:ListItem>30</asp:ListItem>
                                                    <asp:ListItem>31</asp:ListItem>
                                                </asp:DropDownList>&nbsp;<asp:DropDownList ID="cboEndYear" runat="server" Height="16px">
                                                    <asp:ListItem>Year</asp:ListItem>
                                                    <asp:ListItem>2008</asp:ListItem>
                                                    <asp:ListItem>2009</asp:ListItem>
                                                    <asp:ListItem>2010</asp:ListItem>
                                                    <asp:ListItem>2011</asp:ListItem>
                                                    <asp:ListItem>2012</asp:ListItem>
                                                    <asp:ListItem>2013</asp:ListItem>
                                                    <asp:ListItem>2014</asp:ListItem>
                                                    <asp:ListItem>2015</asp:ListItem>
                                                    <asp:ListItem>2016</asp:ListItem>
                                                    <asp:ListItem>2017</asp:ListItem>
                                                    <asp:ListItem>2018</asp:ListItem>
                                                </asp:DropDownList><br />
                                                <br />
                                                <asp:Button ID="Button6" runat="server" BackColor="#333333" BorderStyle="None" Font-Bold="True"
                                                Font-Names="Arial" ForeColor="White" Height="30px" Text="Add Another Date Range >" Width="179px" /></div>
                                            <br />
                                            <div style="width: 350px; height: auto">
                                                Days of the Week &nbsp; &nbsp;&nbsp; <span style="font-size: 8pt">(Event takes place
                                                    on the follow days)<br />
                                                </span>
                                                <br />
                                                <div style="width: 350px; height: auto">
                                                    &nbsp;<asp:CheckBox ID="chkSunday" runat="server" Font-Names="Arial" Font-Size="8pt"
                                                        Text="Sundays " /><span style="font-size: 8pt"></span>&nbsp; &nbsp; &nbsp;<asp:CheckBox
                                                            ID="chkMonday" runat="server" Font-Names="Arial" Font-Size="8pt" Text="Mondays" />
                                                    <asp:CheckBox ID="chkTuesday" runat="server" Font-Names="Arial" Font-Size="8pt" Text="Tuesdays" />
                                                    <asp:CheckBox ID="chkWednesday" runat="server" Font-Names="Arial" Font-Size="8pt"
                                                        Text="Wednesdays" /><span style="font-size: 8pt"> &nbsp;&nbsp; &nbsp;</span>
                                                    <span style="font-size: 8pt"></span> &nbsp;&nbsp;&nbsp;
                                                    <span style="font-size: 8pt"></span></div>
                                                <br />
                                                <div style="width: 350px; height: auto">
                                                    &nbsp;<asp:CheckBox ID="chkThursdays" runat="server" Font-Names="Arial" Font-Size="8pt"
                                                        Text="Thursdays" /><span style="font-size: 8pt"></span> &nbsp;&nbsp;&nbsp;<asp:CheckBox
                                                            ID="chkFridays" runat="server" Font-Names="Arial" Font-Size="8pt" Text="Fridays" />
                                                    <span style="font-size: 9pt"> </span>&nbsp;
                                                    <asp:CheckBox ID="chkSatardays" runat="server" Font-Names="Arial" Font-Size="8pt"
                                                        Text="Saturdays" />&nbsp;<span style="font-size: 8pt"></span></div>
                                            </div>
                                            <br />
                                            Time of Day&nbsp; <span style="font-size: 8pt">(E.g., 1pm - 3pm)<br />
                                                <asp:TextBox ID="txtTimeofDay" runat="server" Height="15px" Width="350px"></asp:TextBox><br />
                                                <br />
                                                <span style="font-size: 12pt"><strong>Sponsors<br />
                                                </strong>
                                                </span><span style="font-size: 10pt">Upload Logo<br />
                                                    <br />
                                                    <div style="width: 350px; height: auto; text-align: center">
                                                        <asp:FileUpload ID="fuSponsorsLogo" runat="server" /></div>
                                                </span>
                                            </span>
                                        <asp:GridView ID="grdUploadSponsorLogo" runat="server" AutoGenerateColumns="False">
                                            <Columns>
                                                <asp:TemplateField>
                                                    <FooterTemplate>
                                                        <asp:FileUpload ID="footorFuSponsorsLogo" runat="server" />
                                                    </FooterTemplate>
                                                    <ItemTemplate>
                                                        <asp:FileUpload ID="fuSponsorsLogo" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                        <asp:GridView ID="grdDispSponsorLogo" runat="server" AutoGenerateColumns="False"
                                            Width="115px">
                                            <Columns>
                                                <asp:TemplateField>
                                                    <FooterTemplate>
                                                        &nbsp;
                                                    </FooterTemplate>
                                                    <ItemTemplate>
                                                        &nbsp;<asp:Image ID="imgSponsorLogo" runat="server" ImageUrl='<%# "showSponsorLogo.ashx?id=" & Eval("sponsors_id") %>' />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                        <br />
                                        <br />
                                    </div>
                                                  <div style="width: 350px; height: auto;float:left; margin-left:14">
                                        <div style="width: 350px; height: auto; ">
                                            <span><strong><span style="font-size: 14pt; color: #ff6666">*</span>Event Title<br />
                                            </strong></span>
                                            <asp:TextBox ID="txtEventTitle" runat="server" Height="15px" Width="350px" Font-Size="Small"></asp:TextBox><br /><br />
                                            <span><strong><span style="font-size: 14pt; color: #ff6666">*</span>Category<br />
                                            </strong></span>
                                            <asp:DropDownList ID="cboCategory" runat="server"  Width="350px">
                                            </asp:DropDownList><br /><br />
                                            <span><strong><span style="font-size: 14pt; color: #ff6666">*</span>Short Description</strong></span>
                                            <span style="font-size: 8pt">(One brief sentence describing the event)<br />
                                                <asp:TextBox ID="txtShortDescription" runat="server" Height="77px" Width="350px" TextMode="MultiLine"></asp:TextBox>
                                                </span>
                                             <br /><br />
                                            <strong>Long Description</strong> <span style="font-size: 8pt">(Offer specific event details here)<br />
                                                <asp:TextBox ID="txtLongDescription" runat="server" Height="207px" Width="350px" TextMode="MultiLine"></asp:TextBox>&nbsp;</span><br />
                                            <strong>
                                            Contact<br />
                                            </strong>
                                            <asp:GridView ID="grdContact" runat="server" AutoGenerateColumns="False" Height="0px"
                                                ShowFooter="True">
                                                <Columns>
                                                    <asp:TemplateField>
                                                        <FooterTemplate>
                                                            <span style="font-size: 9pt"></span>
                                                        </FooterTemplate>
                                                        <ItemTemplate>
                                                            <span style="font-size: 9pt"><strong><span style="font-size: 8pt">CONTACT&nbsp;
                                                                <asp:Label ID="lblContactNo" runat="server" Font-Names="Arial" Font-Size="8pt" Height="10px"></asp:Label>
                                                                <asp:Label ID="lblContactId" runat="server" Text='<%# Eval("contact_id") %>' Visible="False"></asp:Label><br />
                                                            </span></strong>Name:<br />
                                                            </span>
                                                            <asp:TextBox ID="txtCntName" runat="server" Height="15px" Text='<%# Bind("contact_name") %>'
                                                                Width="350px"></asp:TextBox><br />
                                                            <span style="font-size: 9pt">Email<br />
                                                            </span>
                                                            <asp:TextBox ID="txtContEmail" runat="server" Height="15px" Text='<%# bind("contact_emailid") %>'
                                                                Width="350px"></asp:TextBox><br />
                                                            <span style="font-size: 9pt">Phone Number</span><br />
                                                            <asp:TextBox ID="txtContPhone" runat="server" Height="15px" Text='<%# bind("contact_phoneno") %>'
                                                                Width="350px"></asp:TextBox>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <HeaderStyle BorderStyle="None" />
                                            </asp:GridView>
                                            
                                                <div style="width: 350px; height: auto; font-size: 12pt;">
                                                    <span style="font-size: 8pt">
                                                    <span><strong>CONTACT 
                                                        <asp:Label ID="lblContNo" runat="server"></asp:Label><br />
                                                    </strong>
                                                    </span><span style="font-size: 9pt">Name:</span><br />
                                                    </span>
                                                    <asp:TextBox ID="txtContactName" runat="server" Height="15px" Width="350px"></asp:TextBox><br />
                                                    <span style="font-size: 8pt"><span style="font-size: 9pt">Email:</span><br />
                                                        <asp:TextBox ID="txtContactEmail" runat="server" Height="15px" Width="350px"></asp:TextBox><br />
                                                        <span style="font-size: 9pt">Phone Number</span><br />
                                                        <asp:TextBox ID="txtContactPhoneNo" runat="server" Height="15px" Width="350px"></asp:TextBox><br /></span></div>
                                            <asp:Button ID="btnAddAnotherContact" runat="server" BackColor="#333333" BorderStyle="None" Font-Bold="True"
                                                Font-Names="Arial" ForeColor="White" Height="30px" Text="Add Another Contact >" Width="179px" /><br />
                                            <br />
                                            <div style="width: 350px; height: auto; ">
                                                <strong>
                                                Event Logo/Graphic<br />
                                                </strong>
                                                <span>
                                                Upload Graphic<br />
                                                    <asp:TextBox ID="txtUploadEventLogo" runat="server" Height="15px" Width="350px"></asp:TextBox></span></div>
                                            <asp:Button ID="btnSave" runat="server" BackColor="#333333" BorderStyle="None" Font-Bold="True"
                                                Font-Names="Arial" ForeColor="White" Height="24px" Text="Browse" Width="81px" /></div>
                                        </div>
                                <br />
                                <asp:HiddenField ID="hdnUpdateEventId" runat="server" />
                                &nbsp;&nbsp;
                                <asp:HiddenField ID="hdnSubSave" runat="server" />
                                <br />
                                <br />
                                </div>
                                <div style="width: 728px; height: auto;margin-left:14px"> <hr />
                                    <br />
                                    <asp:Button ID="btnSaveEventDetail" runat="server" BackColor="#333333" BorderStyle="None" Font-Bold="True"
                                                Font-Names="Arial" ForeColor="White" Height="29px" Text="Save >" Width="81px" CommandName="Save" /></div>
                                <div style="width: 728px; height: 11px;margin-left:14px">
                                    &nbsp;
                                &nbsp;</div>
        

    
    </div>
    </form>
</body>
</html>

