<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.Web._AspxCode" %>
<!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>
    <title><%=getNaviName(naviid) %> - <%=_siteT %></title>
    <meta name="keywords" content="<%=getKey(naviid) %>" />
    <meta name="description" content="<%=getDescription(naviid) %>" />
    <meta name="author" content="<%=_siteUrl%>" />
    <meta name="copyright" content="<%=_corpName %>" />
    <meta name="searchtitle" content="<%=_corpInfo %>" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="<%=rootPath %>/Style/Children.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" type="image/x-ico" href="<%=rootPath %>/favicon.ico" />
    <script src="<%=rootPath %>/Script/Jquery.js" type="text/javascript"></script>
    <script src="<%=rootPath %>/Script/Common.js" type="text/javascript"></script>
    <script src="/Plugin/EoyooFormControl/Eoyoo.FormControl.js" type="text/javascript"></script>
    <script src="<%=rootPath %>/Script/MessageList.js" type="text/javascript"></script>
</head>
<body>
<!--#include virtual= "Contain/Header.htm"-->
<!--#include virtual= "Contain/Slide.htm"-->

<!-- main -->
<div class="wrapper">
    <div class="f_left layer_276">
        <!--#include virtual= "Contain/LeftMenu.htm"-->
        <!--#include virtual= "Contain/RecommendArticle.htm"-->
        <!--#include virtual= "Contain/RecommendProduct.htm"-->
        <!--#include virtual= "Contain/Contact.htm"-->
    </div>
    <!-- 右边 -->
    <div class="global_box layer_696 f_right">
        <h2>
        	<span class="cn"><%=getNaviName(naviid) %></span>
            <span class="en"><%=getNaviEn_Name(naviid) %></span>
        </h2>
        <div class="box_gap">
        	<!-- 列表 -->
                <ul class="message_list">
                    <%if(_messageListDat.Rows.Count>0) %>
                    <%{ %>
                        <% foreach (System.Data.DataRow item in _messageListDat.Rows) %>
                        <% { %>
                            <li>
                                <div class="doublebox">
                                    <span class="realname W B Yahei">@<%=item["nickname"] %>：</span>
                                    <div class="G line20"><%=item["content"] %></div>
                                    <div class="S">[ <%=getTime2(item["addtime"].ToString()) %> ] [ <%=getIpCity(item["ip"].ToString()) %> - <span class="Size9"><%=item["ip"].ToString() %></span> ]</div>

                                    <%if(_getMessageReply(0,"messageid="+item["id"].ToString()+"","addtime desc,id desc").Rows.Count>0) %>
                                    <%{ %>
                                        <% foreach (System.Data.DataRow replyitem in _getMessageReply(0,"messageid="+item["id"].ToString()+"","addtime desc,id desc").Rows) %>
                                        <% { %>
                                            <div class="replybox">
                                                <span class="topangle"></span>
                                                <span class="B H">@<%=replyitem["username"] %>:</span> <%=replyitem["content"] %>
                                                <span class="G"> (<%=getTime2(replyitem["addtime"].ToString()) %>)</span>
                                            </div>
                                            <div class="clear-4"></div>
                                        <%} %>
                                    <%} %>
                                </div>
                            </li>
                        <%} %>
                    <%}else{ %>
                        <li><div class="doublebox"><span class="V">暂无留言信息</span></div></li>
                    <%} %>

                </ul>
                <!-- end 列表 -->
                <div class="clear-12"></div>
                <p class="PageBox">
                    <%=getMessagePagesInfo %>
                </p>
                <div class="clear-12"></div>
        </div>
    </div>
<div class="global_box layer_696 f_right">
        <h2>
        	<span class="cn">发表留言</span>
            <span class="en">ADDMESSAGE</span>
        </h2>
        <div class="box_gap">
            <div class="clear-12"></div>
        	<!-- 留言表单 -->
                <form id="FormControl" action="<%=getRewriteUrl %>" method="post" enctype="multipart/form-data">
                <div class="inputbox">
                    <p>
                        <label class="name">称呼昵称:</label>
                        <input value="<%=_memberName %>" id="nickname_text" name="nickname_text" class="isNull isSysKey input200" type="text" />
                        <span class="point ico-remind V">填写您的真实姓名</span>
                    </p>
                    <div class="clear-6"></div>
                    <p>
                        <label class="name">任意联系方式:</label>
                        <input value="" id="contact_text" name="contact_text" class="isNull isSysKey input200" type="text" />
                        <span class="point ico-remind V">填写任意联系方式，例如QQ或联系电话</span>
                    </p>
                    <div class="clear-6"></div>
                    <p>
                        <label class="name">说明内容:</label>
                        <input value="" id="content_text" name="content_text" class="input400 isSysKey isNull" type="text" />
                        <span class="point ico-remind V">填写备注内容</span>
                    </p>
                    <div class="clear-6"></div>
                    <p>
                        <label class="name">&nbsp;</label>
                        <input class="bule_btn B W" type="submit" value="提交留言" />
                        <span></span>
                    </p>
                </div>
                </form>
                <!-- end 留言表单 -->
        </div>
    </div>
    <!-- end 右边 -->
    <div class="clear-0"></div>
</div>
<!-- end main -->
<!--#include virtual= "Contain/Footer.htm"-->

</body>
</html>
