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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
   <title>Strona Welcome</title>
</head>
<body>
   <form id="form1" runat="server">
   <div>
      <asp:LoginStatus ID="LoginStatus1" runat="server" />
      <asp:LoginView ID="LoginView1" runat="server">
         <LoggedInTemplate>
            Strona Welcome
            <asp:LoginName ID="LoginName1" runat="server" />
            <br />
            <asp:HyperLink
               ID="hlChangePW"
               NavigateUrl="ChangePW.aspx"
               runat="server">Zmiana hasa
            </asp:HyperLink>
            &nbsp;
            <asp:HyperLink
               ID="hlCreateUser"
               NavigateUrl="CreateAccount.aspx"
               runat="server">Utworzenie uytkownika
            </asp:HyperLink>
            <br />
            <asp:HyperLink
               ID="hlManageRoles"
               NavigateUrl="ManageRoles.aspx"
               runat="server">Zarzdzanie rolami
            </asp:HyperLink> <br />
         </LoggedInTemplate>
         <AnonymousTemplate>
            Nie jeste zalogowany.
            Prosz klikn cze login, aby zalogowa si do systemu.
         </AnonymousTemplate>
      </asp:LoginView>
      <asp:HyperLink
         ID="hlProfile"
         NavigateUrl="ProfileInfo.aspx"
         runat="server">Informacje o profilu
      </asp:HyperLink>

      <asp:ListBox  ID="lbBooks" runat="server" />

      <asp:Panel ID="pnlInfo" Runat="server" Visible="False"
            Width="422px" Height="63px">
         <br />
         <table width="100%">
            <tr>
               <td style="height: 21px">
                  <asp:Label ID="lblFullName" Runat="server"
                  Text="Nieznane nazwisko">
                  </asp:Label>
               </td>
            </tr>
            <tr>
               <td>
                  <asp:Label ID="lblPhone" Runat="server"
                     Text="Nieznany numer telefonu">
                  </asp:Label>
               </td>
            </tr>
            <tr>
               <td>
                  <asp:Label ID="lblBirthDate" Runat="server"
                     Text="Nieznana data urodzenia">
                  </asp:Label>
               </td>
            </tr>
         </table>
      </asp:Panel>
   </div>
   </form>
</body>
</html>
