<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Error.aspx.cs" Inherits="Error" %>

<!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">
    <title>Error</title>
    <link href="CSS/style1.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="everything">
        <div id="header">
            <div class="title">
                <h1>
                    Error!
                    <br />
                </h1>
            </div>
            <div id="login" style="width: 250px; float: right">
                <br />
                <asp:LoginView ID="LoginView1" runat="server">
                    <AnonymousTemplate>
                        <asp:Login ID="Login1" runat="server" CreateUserText="Register" CreateUserUrl="~/Registration.aspx"
                            PasswordRecoveryText="Forgotten password?" PasswordRecoveryUrl="~/RecoverPassword.aspx"
                            OnLoggedIn="Login1_LoggedIn">
                            <TextBoxStyle Width="150px" />
                        </asp:Login>
                    </AnonymousTemplate>
                    <LoggedInTemplate>
                        <br />
                        Logged in as:&nbsp;
                        <asp:LoginName ID="LoginName1" runat="server" />
                        <asp:LoginStatus ID="LoginStatus1" runat="server" ForeColor="White" />
                        <br />
                        <asp:HyperLink ID="hlEditProfile" runat="server" EnableViewState="false">Edit profile</asp:HyperLink>
                    </LoggedInTemplate>
                </asp:LoginView>
            </div>
        </div>
        <div id="middle">
            <div id="left_column">
                <br />
                <br />
                <div id="navigation">
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Main.aspx" EnableViewState="false">Main page</asp:HyperLink>
                    <asp:Panel ID="pnlAdministartion" runat="server" Visible="false" EnableViewState="false">
                        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Admin/UserManagement.aspx">Manage users</asp:HyperLink>
                        <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/Admin/AddNewsItem.aspx">Post new article</asp:HyperLink>
                    </asp:Panel>
                    <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/About.aspx" EnableViewState="false">What is this place?</asp:HyperLink>
                    <asp:HyperLink ID="hlEnglish" runat="server" EnableViewState="false">Articles in English</asp:HyperLink>
                    <asp:HyperLink ID="hlBulgarian" runat="server" EnableViewState="false">Статии на български</asp:HyperLink>
                </div>
            </div>
            <div id="middle_column" class="two_column">
                <br />
                <br />
                <asp:Label ID="lbErrorMessage" runat="server" ForeColor="Red" EnableViewState="false"></asp:Label>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
