<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage"%>
<%@ Import Namespace="Platnosci.Helpers" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
        <%=Html.MainCss("Site.css")%>
        <%=Html.AddCssToPortal()%>
        <%=Html.Favicon()%>          
    </head> 
    <body>
    <table class="page" cellpadding="0" cellspacing="0">
        <tr class="black">
            <%=Html.Logo()%>
            <%string querystring = Request.QueryString.ToString();%>
            <td id="flagi">            
                <%=Html.ImageLink("pl.gif","pl",querystring)%>
                <%=Html.ImageLink("gb.gif","en",querystring)%>
                <%=Html.ImageLink("de.gif","de",querystring)%>
                <%=Html.ImageLink("it.gif","it",querystring)%>
                <%=Html.ImageLink("fr.gif","fr",querystring)%>                                 
            </td>
        </tr>       
        <tr class="black">
            <%if (ConfigurationManager.AppSettings["Css"] != "admoto"){%>
                <td>
                    <div id="title">
                        <h1><asp:Label ID="napis" runat="server" Text="<%$Resources:tlumaczenia,tytul%>"></asp:Label></h1>
                    </div>
                </td>  
            <%}%>        
            <td class="kontrolkaLogowania">                    
                <div id="logindisplay"><br /><br /><% Html.RenderPartial("LogOnUserControl"); %></div>
            </td>            
        </tr>         
        <tr>
            <td colspan="2"  class="pagecontent">
                <div id="main">
                    <asp:ContentPlaceHolder ID="MainContent" runat="server" />
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="2"><div id="Div1">Copyright &copy; 2009, admoto.pl</div></td>
        </tr>
    </table>
       
</body>
</html>
