<%@ Page Language="C#" MasterPageFile="~/AngelShopMasters.Master" AutoEventWireup="true"
    CodeBehind="AddComment.aspx.cs" Inherits="AngelShop.AddComment" Title="Orders" %>

<%@ Register Src="~/usercontrol/Member.ascx" TagName="mem" TagPrefix="URL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script src="JS/jquery-1.10.2.min.js" type="text/javascript"></script>
 <script type="text/javascript">
     $(function () {
         cal();
     });
     function cal() {
         var a = document.getElementById("<%=this.TextBox1.ClientID%>");
         var b = document.getElementById("b");
         var c = document.getElementById("c");
         if (a.value.length > 200) {
             a.value = a.value.slice(0, 200);
             b.value = 200;
             c.value = 0;
         }
         else {
             b.value = a.value.length;
             c.value = 200 - eval(b.value);
         }
     }
     // ]]>
    </script>
    <div class="neiye">
        <div class="neiye_1" style="width: 207px;">
            <URL:mem ID="me" runat="server" />
            <br />
            <%=contents%>
        </div>
        <div class="neiye_2">
            <div class="neiye_24">
                <div class="dd_r_t">
                    <span>Submit Review</span><img src="images/dindan_03.jpg" width="32" height="30" />
                    <div class="clear">
                    </div>
                </div>
                <div class="time">
                  Product Reviews:</div>
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
          <td colspan="3" style="padding-top:10px;text-align:center;">
         <%=productpic%>                  
            </td>
            <td colspan="3">

                <table width="100%" border="0" cellspacing="16" c cellpadding="3">
                <tr>
                        <td>
                            <asp:RadioButton ID="radio1" runat="server" Text="" GroupName="rs" /><img src="style/img/star-on.png" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:RadioButton ID="radio2" runat="server" Text="" GroupName="rs" /><img src="style/img/star-on.png" /><img src="style/img/star-on.png" />
                        </td>
                              </tr>
                    <tr>
                        <td>
                            <asp:RadioButton ID="RadioButton1" runat="server" Text="" GroupName="rs"/><img src="style/img/star-on.png" /><img src="style/img/star-on.png" /><img
                                    src="style/img/star-on.png" />
                        </td>
                              </tr>
                    <tr>
                        <td>
                            <asp:RadioButton ID="RadioButton2" runat="server" Text="" GroupName="rs"/><img src="style/img/star-on.png" /><img src="style/img/star-on.png" /><img
                                    src="style/img/star-on.png" /><img src="style/img/star-on.png" />  
                        </td>
                              </tr>
                    <tr>
                        <td>
                            <asp:RadioButton ID="RadioButton3" runat="server" Text="" GroupName="rs"/><img src="style/img/star-on.png" /><img src="style/img/star-on.png" /><img
                                    src="style/img/star-on.png" /><img src="style/img/star-on.png" /><img src="style/img/star-on.png" />  
                        </td>
                              </tr>
            </table>

            
              </td></tr>   

                <tr>
                <td colspan="6" style="padding-top:16px;padding-left:20px">
                    <asp:TextBox ID="TextBox1" oninput="cal()" onpropertychange="cal()" runat="server" TextMode="MultiLine" Height="56px" 
                        Width="567px"  MaxLength="200"></asp:TextBox>
                        <div class="user_txtbox_line" style="display:none">
                            Existing Word Count:<input id="b" size="5" value="0" disabled><span>Remaining:<input id="c" size="5" value="200" disabled></span>
                        </div>              
                        <asp:HiddenField ID="HiddenField1" runat="server" />
                        <asp:HiddenField ID="HiddenField2" runat="server" />
                        <asp:HiddenField ID="HiddenField3" runat="server" />

                </td>
                </tr>

              <tr>

              <td colspan="6" height="5px"></td></tr>
                   <tr>    <td></td><td colspan="5"><div style="padding:6px;"><asp:Button ID="Button1" style="width:110px;height:30px;line-height:30px;text-align:center" runat="server" Text="Submit Review" 
                           onclick="Button1_Click" /></div></td></tr>


                     </table>           

                </div>
                <div style="clear: both; text-align: center">

                </div>
        </div>
    </div>
</asp:Content>
