<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="Blogwz.aspx.cs"
    Inherits="Oykx.Blogwz" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <%=titles() %>
        - 日志欣赏 -
        <%=Resources.zhouxiang.index %></title>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
</head>
<body>
    <form id="form1" runat="server">
    <input type="hidden" id="IP" runat="server" />
    <input type="hidden" id="IPdz" runat="server" />
    <div id="HD" runat="server">
    </div>

    <script>
        function IP() {
            document.getElementById("IP").value = returnCitySN["cip"];
            document.getElementById("IPdz").value = returnCitySN["cname"];
            IPPD();
        }
        IP();
    </script>

    <div id="content" style="height: auto;">
        <div style="margin: 2px;" class="bian">
            <div style="margin-top: 20px">
                <asp:Label ID="lbltitle" Style="font-weight: 700; font-size: 18px;" runat="server"
                    Text=""></asp:Label>
                <div style="text-align: right">
                    发表时间:<asp:Label ID="lbltime" runat="server" Text="Label"></asp:Label>
                    &nbsp;原文:<asp:Label ID="lblurl" runat="server" Text="Label"></asp:Label>
                    &nbsp;作者:<asp:Label ID="lblzuozhe" runat="server" Text="Label"></asp:Label>&nbsp;
                </div>
            </div>
            <div style="margin-top: 20px; margin-bottom: 20px; text-align: left" runat="server"
                id="html">
            </div>
            <div style="margin-bottom: 10px">
                <asp:LinkButton ID="linkBtnding" Style="font-weight: 700; font-size: 22px;" CssClass="graylink"
                    runat="server" OnClick="linkBtnding_Click" CausesValidation="false">我顶(0)</asp:LinkButton>
                &nbsp;
                <asp:LinkButton ID="LinkBtncai" Style="font-weight: 700; font-size: 22px;" CssClass="graylink"
                    runat="server" OnClick="LinkBtncai_Click" CausesValidation="false">我踩(0)</asp:LinkButton>
            </div>
        </div>
    </div>
    <div class="bian" style="width: 976px; margin-bottom: 2px;">
        <div class="titleBT" style="line-height: 30px; font-weight: 700;">
            &nbsp;评论内容</div>
        <div runat="server" id="plnr" style="margin: 20px; text-align: left">
            
        </div>
    </div>
    <div class="bian" style="width: 976px">
        <div class="titleBT" style="line-height: 30px; font-weight: 700;">
            &nbsp;我要评论</div>
        <table cellpadding="0" cellspacing="0" width="400px" style="margin: 20px; height: 140px">
            <colgroup>
                <col align="right" width="30%">
                <col align="left">
            </colgroup>
            <tr>
                <td>
                    姓名:
                </td>
                <td>
                    <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
                        ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top;">
                    回复内容:
                </td>
                <td style="vertical-align: top;">
                    <asp:TextBox ID="txtContent"  onclick="JavaScript:this.value=''" runat="server" TextMode="MultiLine" ToolTip="回复框支持HTML"
                        Width="200px" Height="80px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtContent"
                        ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:Button ID="btnR" runat="server" CssClass="bian" Text="提交" OnClick="btnR_Click" />
                    &nbsp;<input id="btncz" type="reset" class="bian" value="重置" />
                </td>
            </tr>
        </table>
    </div>
    <div id="DB" runat="server">
    </div>
    </form>
</body>
</html>
