<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="MasterDesign.master.cs"
    Inherits="AUDIOTEKA.MasterDesign" %>

<!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 runat="server">
    <asp:ContentPlaceHolder ID="head" runat="server">
        <title>Audiotéka</title>
    </asp:ContentPlaceHolder>
    <link href="default.css" rel="Stylesheet" type="text/css" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="outer">
        <div id="header">
            <h1>
                <a href="./default.aspx">Audiotéka</a></h1>
            <h2>
                TIA project</h2>
        </div>
        <div id="menu">
            <ul>
                <li class="first"><a href="Default.aspx" accesskey="1">Home</a></li>
                <% if (HttpContext.Current.User.IsInRole("admin"))
                   { %>
                <li><a href="ManageUsers.aspx" accesskey="3">Manage Users</a></li>
                <% } %>
                <% if (HttpContext.Current.User.Identity.IsAuthenticated)
                   { %>
                <li><a href="EditUser.aspx" accesskey="4">Edit Account</a></li>
                <% } %>
                <li>
                    <asp:LoginStatus ID="LoginStatus1" runat="server" />
                </li>
            </ul>
        </div>
        <div id="content">
            <div id="primaryContentContainer">
                <div id="primaryContent">
                    <asp:ContentPlaceHolder ID="MainPlaceHolder" runat="server">
                        <p>
                            <strong>GenericBlue</strong> is a free template from Free CSS Templates released
                            under a <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attribution
                                2.5 License</a>. You're free to use it for both commercial or personal use.
                            I only ask that you link back to my site in some way. Enjoy :)</p>
                        <p>
                            Suspendisse potenti. Donec nulla est, laoreet quis, pellentesque in, congue in,
                            dui. Nunc rhoncus placerat augue. Donec justo odio, eleifend varius, volutpat venenatis,
                            sagittis ut, orci. Donec nulla est, laoreet quis, pellentesque in, congue in, dui.
                            Nunc rhoncus placerat augue. Donec justo odio, eleifend varius, volutpat venenatis,
                            sagittis ut, orci. Nullam et orci in erat viverra ornare. Nunc pellentesque.</p>
                        <p>
                            Sed vestibulum blandit nisl. Quisque elementum convallis purus. Quisque pellentesque
                            semper massa:</p>
                        <h3>
                            Example Unordered List</h3>
                        <ul>
                            <li><a href="http://www.free-css.com/">Suspendisse quis gravida massa felis.</a></li>
                            <li><a href="http://www.free-css.com/">Vivamus sagittis bibendum erat.</a></li>
                            <li><a href="http://www.free-css.com/">Nullam et orci in erat viverra ornare.</a></li>
                            <li><a href="http://www.free-css.com/">Suspendisse quis gravida massa felis.</a></li>
                            <li><a href="http://www.free-css.com/">Curabitur malesuada turpis nec ante.</a></li>
                        </ul>
                        <h3>
                            Example Blockquote</h3>
                        <blockquote>
                            <p>
                                Aliquam gravida massa eu arcu. Fusce mollis tristique sem. Sed eu eros imperdiet
                                eros interdum blandit. Vivamus sagittis bibendum erat. Curabitur malesuada turpis
                                nec ante. Suspendisse quis felis. Suspendisse potenti. Nullam et orci in erat viverra
                                ornare. Nunc pellentesque. Sed vestibulum blandit nisl. Quisque elementum convallis
                                purus.</p>
                        </blockquote>
                        <h3>
                            Example Table</h3>
                        <table>
                            <tr class="rowH">
                                <th>
                                    Date
                                </th>
                                <th>
                                    Title
                                </th>
                                <th>
                                    Description
                                </th>
                            </tr>
                            <tr class="rowA">
                                <td>
                                    December 1, 2006
                                </td>
                                <td>
                                    Sed vestibulum blandit
                                </td>
                                <td>
                                    Vivamus sollicitudin dolor sit amet eros. Vivamus ligula. Sed pretium turpis eu
                                    ipsum. Sed rutrum sapien id arcu.
                                </td>
                            </tr>
                            <tr class="rowB">
                                <td>
                                    November 28, 2006
                                </td>
                                <td>
                                    Augue non nibh
                                </td>
                                <td>
                                    Nam adipiscing urna ac consequat dignissim massa est sodales sem.
                                </td>
                            </tr>
                            <tr class="rowA">
                                <td>
                                    November 23, 2006
                                </td>
                                <td>
                                    Fusce ut diam bibendum
                                </td>
                                <td>
                                    Vestibulum quis urn nulla facilis nam malesuada cursus turpis.
                                </td>
                            </tr>
                            <tr class="rowB">
                                <td>
                                    November 21, 2006
                                </td>
                                <td>
                                    Maecenas et ipsum
                                </td>
                                <td>
                                    Vivamus mi lectus gravida scelerisque, ultrices vitae cursus in neque.
                                </td>
                            </tr>
                        </table>
                    </asp:ContentPlaceHolder>
                </div>
            </div>
            <div id="secondaryContent">
                <h3>
                    Obsah Audiotéky
                </h3>
                <ul>
                    <li><a href="AlbumPage.aspx">Albums</a></li>
                    <li><a href="ArtistsPage.aspx">Artists</a></li>
                    <li><a href="GenresPage.aspx">Genres</a></li>
                </ul>
                <% if (HttpContext.Current.User.IsInRole("user"))
                   { %>
                <h3>
                    Osobná zóna
                </h3>
                <ul>
                    <li><a href="MyAlbumPage.aspx">My Albums</a></li>
                </ul>
                <ul>
                    <li><a href="NewAlbum.aspx">Nový album</a></li>
                    <li><a href="NewArtist.aspx">Nový autor</a></li>
                    <li><a href="NewGenre.aspx">Nový žáner</a></li>
                </ul>
                <ul>
                    <li><a href="EditUser.aspx">Nastavenie účtu</a></li>
                </ul>
                <% } %>
                <% if (HttpContext.Current.User.IsInRole("admin"))
                   { %>
                <h3>
                    Administrátorská zóna
                </h3>
                <ul>
                    <li><a href="ManageAlbums.aspx">Správa albumov</a></li>
                    <li><a href="ManageArtists.aspx">Správa autorov</a></li>
                    <li><a href="ManageGenres.aspx">Správa žánrov</a></li>
                </ul>
                <% } %>
                <asp:ContentPlaceHolder ID="LeftPlaceHolder" runat="server">
                    <h3>
                        Etiam suscipit et</h3>
                    <p>
                        Rhoncus ac, lacinia, nisl. Aliquam gravida massa eu arcu. <a href="http://www.free-css.com/">
                            More&#8230;</a></p>
                    <h3>
                        Fusce dolor tristique</h3>
                    <p>
                        Sed eu eros imperdiet eros interdum blandit. Vivamus sagittis bibendum erat. Curabitur
                        malesuada. <a href="http://www.free-css.com/">More&#8230;</a></p>
                    <h3>
                        Nunc pellentesque</h3>
                    <ul>
                        <li><a href="http://www.free-css.com/">Orci nonummy fringilla</a></li>
                        <li><a href="http://www.free-css.com/">Enim vivamus convallis</a></li>
                        <li><a href="http://www.free-css.com/">Duis congue ultricies</a></li>
                        <li><a href="http://www.free-css.com/">Purus in mollis purus</a></li>
                    </ul>
                    <p>
                        Sed vestibulum blandit nisl. Quisque elementum convallis purus. Suspendisse potenti.
                        Donec nulla est, laoreet quis, pellentesque in. <a href="http://www.free-css.com/">More&#8230;</a></p>
                    <h3>
                        Ipsum Dolorem</h3>
                    <ul>
                        <li><a href="http://www.free-css.com/">Sagittis Bibendum Erat</a></li>
                        <li><a href="http://www.free-css.com/">Malesuada Turpis</a></li>
                        <li><a href="http://www.free-css.com/">Quis Gravida Massa</a></li>
                        <li><a href="http://www.free-css.com/">Homepage</a></li>
                    </ul>
                    <div class="xbg">
                    </div>
                </asp:ContentPlaceHolder>
            </div>
            <div class="clear">
            </div>
        </div>
        <div id="footer">
            <p>
                Copyright &copy;
                <% Response.Write(DateTime.Now.Year.ToString()); %>
                Audiotéka | Designed by <a href="http://www.freecsstemplates.org">Free CSS Templates</a>
            </p>
        </div>
    </div>
    </form>
</body>
</html>
