<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Menu.aspx.cs" MasterPageFile="~/VEtterem.Master"
    Inherits="VEtterem.Menu" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="MenuContent" ContentPlaceHolderID="CPHMain" runat="server">
    <asp:ToolkitScriptManager ID="ScriptManager" runat="server" />
    <br />
    <table class="style3">
        <tr>
            <td>
                <asp:Label ID="EloetelekLabel" runat="server" Style="text-align: left" Text="Előételek"
                    CssClass="style5"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Panel ID="PanelEloetelek" runat="server" CssClass="panel">
                    <asp:ListView ID="EloetelekLV" runat="server" DataSourceID="EloetelekSqlDataSource">
                        <ItemTemplate>
                            <div class="hoverdiv">
                                <table class="style4">
                                    <tr>
                                        <td style="text-align: left">
                                            <asp:HyperLink ID="ReszletekHyperLink" runat="server" NavigateUrl='<%# Eval("EtlapID", "ItemDetails.aspx?EtlapID={0}") %>'
                                                Text='<%# Eval("ENEV") %>'></asp:HyperLink>
                                        </td>
                                        <td style="text-align: right">
                                            <span>
                                                <asp:Label ID="ARLabel" runat="server" Text='<%# Eval("AR") %>'></asp:Label>
                                                Ft </span>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </ItemTemplate>
                        <EmptyDataTemplate>
                            <span class="style6">Nincs megjeleníthető adat.</span>
                        </EmptyDataTemplate>
                        <LayoutTemplate>
                            <div id="itemPlaceholderContainer" runat="server" style="">
                                <span id="itemPlaceholder" runat="server" />
                            </div>
                            <%--<div style="">
                        </div>--%>
                        </LayoutTemplate>
                    </asp:ListView>
                    <asp:SqlDataSource ID="EloetelekSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:VCS %>"
                        ProviderName="<%$ ConnectionStrings:VCS.ProviderName %>" SelectCommand="SELECT e.ENEV, e.AR, e.EtlapID FROM ETLAP e INNER JOIN ETEL_TIPUS et ON e.ETIPUS = et.ETID WHERE (et.ETNEV = 'ELŐÉTEL') order by e.ar">                        
                    </asp:SqlDataSource>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="LevesekLabel" runat="server" Text="Levesek" CssClass="style5"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Panel ID="PanelLevesek" runat="server" CssClass="panel">
                    <asp:ListView ID="LevesekLV" runat="server" DataSourceID="LevesekSqlDataSource">
                        <ItemTemplate>
                            <div class="hoverdiv">
                                <table class="style4">
                                    <tr>
                                        <td style="text-align: left">
                                            <asp:HyperLink ID="ReszletekHyperLink" runat="server" NavigateUrl='<%# Eval("EtlapID", "ItemDetails.aspx?EtlapID={0}") %>'
                                                Text='<%# Eval("ENEV") %>'></asp:HyperLink>
                                        </td>
                                        <td style="text-align: right">
                                            <span>
                                                <asp:Label ID="ARLabel" runat="server" Text='<%# Eval("AR") %>'></asp:Label>
                                                Ft </span>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </ItemTemplate>
                        <EmptyDataTemplate>
                            <span class="style6">Nincs megjeleníthető adat.</span>
                        </EmptyDataTemplate>
                        <LayoutTemplate>
                            <div id="itemPlaceholderContainer" runat="server" style="">
                                <span id="itemPlaceholder" runat="server" />
                            </div>
                            <div style="">
                            </div>
                        </LayoutTemplate>
                    </asp:ListView>
                    <asp:SqlDataSource ID="LevesekSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:VCS %>"
                        ProviderName="<%$ ConnectionStrings:VCS.ProviderName %>" SelectCommand="SELECT e.ENEV, e.AR, e.EtlapID FROM ETLAP e INNER JOIN ETEL_TIPUS et ON e.ETIPUS = et.ETID WHERE (et.ETNEV = 'LEVES') order by e.ar">
                    </asp:SqlDataSource>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="FoetelLabel" runat="server" Text="Főételek" CssClass="style5"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Panel ID="PanelFoetelek" runat="server" CssClass="panel">
                    <asp:ListView ID="FoetelekLV" runat="server" DataSourceID="FoetelekSqlDataSource">
                        <ItemTemplate>
                            <div class="hoverdiv">
                                <table class="style4">
                                    <tr>
                                        <td style="text-align: left">
                                            <asp:HyperLink ID="ReszletekHyperLink" runat="server" NavigateUrl='<%# Eval("EtlapID", "ItemDetails.aspx?EtlapID={0}") %>'
                                                Text='<%# Eval("ENEV") %>'></asp:HyperLink>
                                        </td>
                                        <td style="text-align: right">
                                            <span>
                                                <asp:Label ID="ARLabel" runat="server" Text='<%# Eval("AR") %>'></asp:Label>
                                                Ft </span>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </ItemTemplate>
                        <EmptyDataTemplate>
                            <span class="style6">Nincs megjeleníthető adat.</span>
                        </EmptyDataTemplate>
                        <LayoutTemplate>
                            <div id="itemPlaceholderContainer" runat="server" style="">
                                <span id="itemPlaceholder" runat="server" />
                            </div>
                            <div style="">
                            </div>
                        </LayoutTemplate>
                    </asp:ListView>
                    <asp:SqlDataSource ID="FoetelekSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:VCS %>"
                        ProviderName="<%$ ConnectionStrings:VCS.ProviderName %>" SelectCommand="SELECT e.ENEV, e.AR, e.EtlapID FROM ETLAP e INNER JOIN ETEL_TIPUS et ON e.ETIPUS = et.ETID WHERE (et.ETNEV = 'FŐÉTEL')">
                    </asp:SqlDataSource>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="DesszertekLabel" runat="server" Text="Desszertek" CssClass="style5"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Panel ID="PanelDesszertek" runat="server" CssClass="panel">
                    <asp:ListView ID="DesszertekLV" runat="server" DataSourceID="DesszertekSqlDataSource">
                        <ItemTemplate>
                            <div class="hoverdiv">
                                <table class="style4">
                                    <tr>
                                        <td style="text-align: left">
                                            <asp:HyperLink ID="ReszletekHyperLink" runat="server" NavigateUrl='<%# Eval("EtlapID", "ItemDetails.aspx?EtlapID={0}") %>'
                                                Text='<%# Eval("ENEV") %>'></asp:HyperLink>
                                        </td>
                                        <td style="text-align: right">
                                            <span>
                                                <asp:Label ID="ARLabel" runat="server" Text='<%# Eval("AR") %>'></asp:Label>
                                                Ft </span>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </ItemTemplate>
                        <EmptyDataTemplate>
                            <span class="style6">Nincs megjeleníthető adat.</span>
                        </EmptyDataTemplate>
                        <LayoutTemplate>
                            <div id="itemPlaceholderContainer" runat="server" style="">
                                <span id="itemPlaceholder" runat="server" />
                            </div>
                            <div style="">
                            </div>
                        </LayoutTemplate>
                    </asp:ListView>
                    <asp:SqlDataSource ID="DesszertekSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:VCS %>"
                        ProviderName="<%$ ConnectionStrings:VCS.ProviderName %>" SelectCommand="SELECT e.ENEV, e.AR, e.EtlapID FROM ETLAP e INNER JOIN ETEL_TIPUS et ON e.ETIPUS = et.ETID WHERE (et.ETNEV = 'DESSZERT')">
                    </asp:SqlDataSource>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="ItalokLabel" runat="server" Text="Italok" CssClass="style5"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Panel ID="PanelItalok" runat="server" CssClass="panel">
                    <asp:ListView ID="ItalokLV" runat="server" DataSourceID="ItalokSqlDataSource">
                        <ItemTemplate>
                            <div class="hoverdiv">
                                <table class="style4">
                                    <tr>
                                        <td style="text-align: left">
                                            <asp:HyperLink ID="ReszletekHyperLink" runat="server" NavigateUrl='<%# Eval("EtlapID", "ItemDetails.aspx?EtlapID={0}") %>'
                                                Text='<%# Eval("ENEV") %>'></asp:HyperLink>
                                        </td>
                                        <td style="text-align: right">
                                            <span>
                                                <asp:Label ID="ARLabel" runat="server" Text='<%# Eval("AR") %>'></asp:Label>
                                                Ft </span>
                                        </td>
                                        <td>
                                    </tr>
                                </table>
                            </div>
                        </ItemTemplate>
                        <EmptyDataTemplate>
                            <span class="style6">Nincs megjeleníthető adat.</span>
                        </EmptyDataTemplate>
                        <LayoutTemplate>
                            <div id="itemPlaceholderContainer" runat="server" style="">
                                <span id="itemPlaceholder" runat="server" />
                            </div>
                            <div style="">
                            </div>
                        </LayoutTemplate>
                    </asp:ListView>
                    <asp:SqlDataSource ID="ItalokSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:VCS %>"
                        ProviderName="<%$ ConnectionStrings:VCS.ProviderName %>" SelectCommand="SELECT e.ENEV, e.AR, e.EtlapID FROM ETLAP e INNER JOIN ETEL_TIPUS et ON e.ETIPUS = et.ETID WHERE (et.ETNEV = 'ITAL')">
                    </asp:SqlDataSource>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="EgyebekLabel" runat="server" Text="Egyéb ételek" CssClass="style5"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Panel ID="PanelEgyebek" runat="server" CssClass="panel">
                    <asp:ListView ID="EgyebekLV" runat="server" DataSourceID="EgyebekSqlDataSource">
                        <ItemTemplate>
                            <div class="hoverdiv">
                                <table class="style4">
                                    <tr>
                                        <td style="text-align: left">
                                            <asp:HyperLink ID="ReszletekHyperLink" runat="server" NavigateUrl='<%# Eval("EtlapID", "ItemDetails.aspx?EtlapID={0}") %>'
                                                Text='<%# Eval("ENEV") %>'></asp:HyperLink>
                                        </td>
                                        <td style="text-align: right">
                                            <span>
                                                <asp:Label ID="ARLabel" runat="server" Text='<%# Eval("AR") %>'></asp:Label>
                                                Ft </span>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </ItemTemplate>
                        <EmptyDataTemplate>
                            <span class="style6">Nincs megjeleníthető adat.</span>
                        </EmptyDataTemplate>
                        <LayoutTemplate>
                            <div id="itemPlaceholderContainer" runat="server" style="">
                                <span id="itemPlaceholder" runat="server" />
                            </div>
                            <div style="">
                            </div>
                        </LayoutTemplate>
                    </asp:ListView>
                    <asp:SqlDataSource ID="EgyebekSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:VCS %>"
                        ProviderName="<%$ ConnectionStrings:VCS.ProviderName %>" SelectCommand="SELECT e.ENEV, e.AR, e.EtlapID FROM ETLAP e INNER JOIN ETEL_TIPUS et ON e.ETIPUS = et.ETID WHERE (et.ETNEV = 'EGYÉB')">
                    </asp:SqlDataSource>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="head">
    <style type="text/css">
        .style3
        {
            width: 500px;
        }
        .style4
        {
            width: 100%;
            font-size: medium;
        }
        .style5
        {
            font-weight: bold;
            font-size: large;
        }
    </style>
</asp:Content>
