<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Articles.aspx.cs" Inherits="ToolsCRM.user_sites.Articles" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Licencja</title>
     <link rel="stylesheet" href="../js/style.css" type="text/css" media="screen" />
    <style type="text/css">
        .Buttonstyle1out
        {
            width: 127px;
	        background: url('../images/button.png') no-repeat left center;
            margin-top: 5px;
            cursor:default;
        }
        .Buttonstyle1hover
        {
            width: 127px;
	        background: url('../images/button.png') no-repeat left center;
            margin-top: 5px;
            cursor:pointer;
        } 
        </style>
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.1/themes/ui-darkness/jquery-ui.css" />
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
    <script type="text/javascript" src="../js/ajax.js"></script>
</head>
<body>
    <form id="form1" runat="server">
     <div id="header">
            <div id="logo">
                <h1><a href="Index.aspx">ToolsCRM</a></h1>
                <p><a href="http://crm.dynamics.com/pl-pl/home">Microsoft Dynamics CRM</a></p>
            </div>
            <div id="menu">
                <ul>
                    <li class="current_page_item"><a href="#"></a></li>
                    <li><a href="#"></a></li>
                    <li><a href="#"></a></li>
                    <li><a href="#"></a></li>
                    <li>
                        <div class="post">
                            <p class="links">
                                <asp:Button ID="Wyloguj" runat="server" Text="Wyloguj" OnClick="Wyloguj_Click" BorderStyle="None" CssClass="more" Font-Bold="True" ForeColor="White" Width="129px" onMouseOver="this.className='Buttonstyle1hover'" onMouseOut="this.className='Buttonstyle1out'"  /></p>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        <div id="page">
        <div class="post">
                <div id="content">
                    <div class="title">
                        <h2><a href="#">Witaj
                            <asp:Label ID="Label1" runat="server"></asp:Label></a></h2>
                        <p>&nbsp;</p>
                    </div>
                </div>
                    <div id="tabs">
                         <ul>
                            <li><a href="#tabs-1">Artykuły</a></li>
                            <li><a href="#tabs-2">Info</a></li>
                        </ul>
                     <div id="tabs-1">
                         
                         <%ShowNewArticles(); %>
                        <p> 
                            <asp:GridView ID="GridView1" AutoGenerateColumns="False" runat="server"
                                Width="100%" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical">

                                <AlternatingRowStyle BackColor="White" />

                                <Columns>
                                    <asp:BoundField DataField="Name"
                                        HeaderText="Nazwa Firmy" />
                                    <asp:BoundField DataField="miasto"
                                        HeaderText="Miasto" />
                                    <asp:BoundField DataField="kraj"
                                        HeaderText="Miasto" />
                                   
                                    
                                </Columns>

                                <FooterStyle BackColor="#CCCC99" />
                                <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                                <RowStyle BackColor="#F7F7DE" />
                                <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                                <SortedAscendingCellStyle BackColor="#FBFBF2" />
                                <SortedAscendingHeaderStyle BackColor="#848384" />
                                <SortedDescendingCellStyle BackColor="#EAEAD3" />
                                <SortedDescendingHeaderStyle BackColor="#575357" />

                            </asp:GridView>
                            
                        </p>
                     </div>
                    <div id="tabs-2">                      
                        <%InsertHtmlCode();%>
                       <asp:Literal ID="htmlbody" runat="server"></asp:Literal>
                    </div>
                  </div>  
                </div>     
                      
        
        </div>
 
    </form>
</body>
</html>
