<%@ Page Title="" Language="C#" MasterPageFile="MainMasterPage.master" AutoEventWireup="true" CodeFile="clanok.aspx.cs" Inherits="main_clanok" %>

<asp:Content ID="clanok_obsah" ContentPlaceHolderID="obsah" Runat="Server">
<div>
    <div class="title_class">
        <asp:Literal ID="article_title" runat="server"></asp:Literal>
    </div>
    <div class="content_class">
        <asp:Literal ID="article_text" runat="server"></asp:Literal>
    </div>
    <div>
        <asp:HyperLink ID="pridaj_komentar_link" runat="server">
            <asp:Label ID="pridaj_komentar_label" runat="server" Text="pridaj komentár"></asp:Label>
        </asp:HyperLink>
    </div>
    <div class="comments_class">
        <asp:DataList ID="komenty_list" runat="server" onload="komenty_list_Load">
            <ItemTemplate>
            <div class="comment_class"  ID="comment_class" runat="server" style='<% #Eval("off_set") %>'>
                <div class="comment_title_class">
                    <asp:Label ID="comment_title" runat="server" Text='<% #Eval("title") %>'></asp:Label></div>
                <div class="comment_text_class">
                    <asp:Literal ID="comment_text" runat="server" Text='<% #Eval("text") %>'></asp:Literal></div>
                <div class="comment_reaguj_class">
                    <asp:HyperLink ID="comment_reaguj_link" runat="server" NavigateUrl='<% #Eval("link") %>' >
                        <asp:Label ID="comment_reaguj_label" runat="server" Text="Reaguj na komentár"></asp:Label>
                    </asp:HyperLink>
                </div>
            </div>
            </ItemTemplate>
        </asp:DataList>
    </div>
</div>
</asp:Content>

