<%@ page language="C#" autoeventwireup="true" inherits="common_Comment, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>
<%@ Register Src="Ubb/Ubb.ascx" TagName="Ubb" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />

    <script type="text/javascript" src="<%=Param.ApplicationRootPath%>/editor/fckeditor.js"></script>
    <asp:Literal ID="LitJs" runat="server"></asp:Literal>

</head>
<body>
    <form id="form1" runat="server">
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tbody id="UserLogin" runat="server">
            <tr>
                <td height="30">
                    请登录后发表评论
                </td>
            </tr>
            <tr>
                <td height="30">
                    <table>
                        <tr>
                            <td>
                                用户名：
                            </td>
                            <td>
                                <input type="text" name="txtCommentUserName" id="txtCommentUserName" class="yzminput"
                                    style="width: 80px" onkeypress="KeyPress()" />
                            </td>
                            <td>
                                密码：
                            </td>
                            <td>
                                <input type="password" class="yzminput" name="txtCommentPassWord" id="txtCommentPassWord"
                                    style="width: 80px" onkeypress="KeyPress()" />
                            </td>
                            <td id="DivCode" runat="server">
                                <table>
                                    <tr>
                                        <td>
                                            验证码：
                                        </td>
                                        <td>
                                            <input type="text" name="txtComment_Code" id="txtComment_Code" class="yzminput" style="width: 40px;"
                                                onkeypress="KeyPress()" />
                                        </td>
                                        <td>
                                            <asp:Image ID="imgVerify" runat="server" onclick="this.src+=Math.random()" Style="cursor:pointer"
                                                ToolTip="<%$ Resources:Lang,Login_Switch%>" align="absmiddle"/>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <input id="Button2" type="button" value=" 登 陆 " onclick="CommentUserLogin()" style="margin-left: 10px" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </tbody>
        <tbody id="AddComment" runat="server">
            <tr style="display: none">
                <td>
                    <asp:TextBox ID="txtModelId" runat="server"></asp:TextBox><asp:TextBox ID="txtColId"
                        runat="server"></asp:TextBox><asp:TextBox ID="txtInfoId" runat="server"></asp:TextBox><asp:TextBox
                            ID="txtEditorType" runat="server"></asp:TextBox><asp:TextBox ID="txtEditor" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td height="30">
                    <table cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td>
                                您的评价：
                            </td>
                            <td>
                                <div id="www_diancms_com" star_width="14">
                                    <ul class="star_rating">
                                        <li style="display: none;">
                                            <input type="text" name="serve" value="" />
                                        </li>
                                        <li class="current_rating">default level</li>
                                        <li><a href="javascript:" title="1 of 5 stars" class="one_star">1</a></li>
                                        <li><a href="javascript:" title="2 of 5 stars" class="two_stars">2</a></li>
                                        <li><a href="javascript:" title="3 of 5 stars" class="three_stars">3</a></li>
                                        <li><a href="javascript:" title="4 of 5 stars" class="four_stars">4</a></li>
                                        <li><a href="javascript:" title="5 of 5 stars" class="five_stars">5</a></li>
                                    </ul>
                                </div>
                                <asp:TextBox ID="txtStar" runat="server" Text="0" Style="display: none"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td height="30">
                    <table cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td>
                                您的立场：
                            </td>
                            <td>
                                <asp:RadioButtonList ID="RadioPosition" RepeatDirection="Horizontal" runat="server">
                                    <asp:ListItem Value="1" Selected="True">我支持</asp:ListItem>
                                    <asp:ListItem Value="2">我中立</asp:ListItem>
                                    <asp:ListItem Value="3">我反对</asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr runat="server" id="Text">
                <td>
                    <asp:TextBox ID="txtContent" runat="server" class="borderinput" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr runat="server" id="Ubb">
                <td>
                    <uc1:Ubb ID="Ubb1" runat="server" />
                </td>
            </tr>
            <tr runat="server" id="Html">
                <td>
                    <asp:TextBox ID="DianCMS_Content" TextMode="MultiLine" runat="server"></asp:TextBox><asp:Literal ID="LitContent"
                        runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td class="borderbk3">
                    <table width="98%" cellpadding="0" cellspacing="0" align="center" border="0">
                        <tr>
                            <td>
                                特别声明：发表内容只代表网友个人观点，与本站立场无关。
                            </td>
                            <td runat="server" id="CommentVer" class="borderline w150">
                                <span style="float: left">验证码：</span><input type="text" id="txtCommentCode" name="txtCommentCode"
                                    class="yzminput" /><asp:Image ID="imgVerify2" runat="server" onclick="this.src+=Math.random()"
                                        Style="cursor: pointer; float: left" align="absmiddle" ToolTip="<%$ Resources:Lang,Login_Switch%>" />
                            </td>
                            <td class="borderline w100">
                                <input id="Button1" type="button" value=" 发表评论 " onclick="SetComment();" class="commentBtn" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>

    <script language="javascript" type="text/javascript" src="<%=Param.ApplicationRootPath%>/js/Comment.js"></script>

    </form>
</body>
</html>
