<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="main.aspx.cs" MasterPageFile="MainMasterPage.master" Inherits="_Default"%>
<asp:Content ID="main_obsah" ContentPlaceHolderID="obsah" runat="server">
    <div>
        <p>Hlavna stranka!</p>
    </div>
    <div class="news_class">
        <asp:DataList ID="news_list" runat="server">
            <ItemTemplate>
            <div class="new_class>
                <div class="title_class">
                    <asp:Label ID="new_title" runat="server" Text='<% #Eval("title") %>'></asp:Label>
                </div>
                <div class="content_class">
                    <asp:Literal ID="new_text" runat="server" Text='<% #Eval("text") %>'></asp:Literal>
                </div>
            </div>
            </ItemTemplate>
        </asp:DataList>
    </div>
</asp:Content>
