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

<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/s/include/head.ascx" %>
<%@ Register TagName="tip_bar" TagPrefix="UC" Src="~/s/include/tip_bar.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/s/include/foot.ascx" %>
<!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">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title><asp:Literal ID="PageTitle" runat="server"></asp:Literal>_<%=ZK.config("citytitle")%><%=ZK.config("sitetitle") %></title>
    <meta name="keywords" content="<%=ZK.config("citykeywords") %>" />    
    <asp:Literal ID="Meta_Literal_Description" runat="server"></asp:Literal>
    <UC:meta ID="meta1" runat="server" />
</head>
<body>
    <div class="wrap">
        <a name="pagetop" id="pagetop"></a>
        <UC:head ID="head1" runat="server" />
        <div class="box"><div class="mt5"><!--#include file="~/s/gg/AD_city_banner1.html"--></div></div>
        <UC:tip_bar ID="tip_bar1" runat="server" />     
        <div class="box">
            <div class="hto mt5">
                <div class="fl" style="width: 188px">
                    <div class="c3">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con" style="width: 75px"><%=WMread.GetBy("n","info_class","id","5")%></div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v">
                            <div class="convenience_nav"><asp:Literal ID="Literal_CitySideMenu" runat="server"></asp:Literal></div>
                        </div>
                    </div>
                    <div class="c3 mt5">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con" style="width: 75px">城市专题</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v"><!--#include file="~/s/gg/AD_city_page_gg1.html"--></div>
                    </div>                    
                </div>
                <div class="fr flow" style="width: 757px">
                    <div class="c3">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con" style="width:670px"><asp:Literal ID="Literal_Title" runat="server"></asp:Literal></div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v">
                            <div class="view">
                                <div class="view_content" style="padding: 10px 15px 10px 18px"><asp:Literal ID="Literal_Content" runat="server"></asp:Literal></div>
                                <asp:Panel ID="plbox" runat="server" CssClass="pl" Style="padding-top: 0">
                                    <div class="pl_c">
                                        <div class="pl_b" style="border-top-width: 0">发表留言</div>
                                        <div class="pl_add">
                                            <table border="0" cellpadding="0" cellspacing="0">
                                                <tr valign="top">
                                                    <td>
                                                        <input type="hidden" id="pl_inp_init" value="请文明留言，遵守互联网法规！" />
                                                        <textarea id="pl_content" class="pl_inp" onfocus="if('<%=ZK.uid %>'==''){setInterval(intervalCheckLogin,1000);show_minilogin(<%=ZK.sDZ %>);}else {if(this.value==document.getElementById('pl_inp_init').value)this.value='';}"></textarea>
                                                        <div class="pl_smiley">
                                                            <script type="text/javascript">  
                                                            document.getElementById("pl_content").value=document.getElementById("pl_inp_init").value;       
                                                            show_pl_smiley("pl_content",document.getElementById("pl_inp_init").value);
                                                            </script>
                                                        </div>
                                                    </td>
                                                    <td>
                                                        <input type="button" id="pl_but" class="pl_but" value="发表留言" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" onclick="save_pl('<%=ZK.uid %>','info_pl','pl_content','pl_but',<%=WM.RQ("id") %>,document.getElementById('pl_inp_init').value,0)">
                                                        <div class="red" style="padding-top: 5px"><%=WMcompare.IsEmpty(ZK.uid, "发表留言请先登录！","")%></div>
                                                        <script type="text/javascript">interval_pl(<%=WM.RQ("id") %>,"pl_but");</script>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                        <asp:Panel ID="Panel_pl_list" runat="server">
                                            <div class="pl_b">网友留言</div>
                                            <div class="pl_list">
                                                <%@ register assembly="Pager" namespace="Wuqi.Webdiyer" tagprefix="DataPager" %>
                                                <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_OnItemDataBound">
                                                    <ItemTemplate>
                                                        <div class="pl_item">
                                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                <tr valign="top">
                                                                    <td class="pl_item_con1"><a href="/space/?uid=<%#Eval("uid") %>" target="_blank"><img src="<%#ZK.m_face(Eval("uid").ToString(),"50")%>" onmouseover="hover(this,0.7)" onmouseout="hover(this,1)" /></a></td>
                                                                    <td class="pl_item_con2">
                                                                        <div class="son1">
                                                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                                <tr>
                                                                                    <td>
                                                                                        <a href="/space/?uid=<%#Eval("uid") %>" target="_blank"><strong><%#ZK.m_u(Eval("uid").ToString())%></strong></a>&nbsp;&nbsp;发表于&nbsp;<%#WMtime.Diff(Eval("time").ToString(), "yyyy-M-d HH:mm")%>&nbsp;&nbsp;&nbsp;&nbsp;<%#WMip.SetIP("(", Eval("ip").ToString(), ")")%>
                                                                                    </td>
                                                                                    <td align="right">
                                                                                        <a href="javascript:void(0)" class="str" onclick="show_pl_re(<%#Eval("id") %>)">回复</a>&nbsp;&nbsp;<asp:Label ID="Label_floor" runat="server"></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                        <div class="son2"><%#Eval("content") %></div>
                                                                        <div class="son3" id="pl_re_<%#Eval("id") %>" style="display: none">
                                                                            <div><textarea id="pl_re_content_<%#Eval("id") %>" class="pl_inp" style="height: 50px"></textarea></div>
                                                                            <script type="text/javascript">show_pl_smiley("pl_re_content_<%#Eval("id") %>","");</script>
                                                                            <div style="padding-top: 5px"><input type="button" id="pl_but" class="but4" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" onclick="save_pl_re('<%=ZK.uid %>','info_pl_re',<%#Eval("id") %>,this)" value="发表回复"></div>
                                                                        </div>
                                                                        <%#ZK.get_pl_re("info_pl_re",Eval("id").ToString()) %>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </ItemTemplate>
                                                    <FooterTemplate>
                                                        <div class="abs flow" style="height: 1px; background-color: #fff; width: 632px;margin-top: -1px"></div>
                                                    </FooterTemplate>
                                                </asp:Repeater>
                                                <asp:Panel ID="Panel_Turn" runat="server" Visible="false" Style="padding-bottom: 5px">
                                                    <div id="DataPager">
                                                        <table border="0" cellspacing="0" cellpadding="0" style="margin: 0 auto">
                                                            <tr>
                                                                <td>
                                                                    <DataPager:AspNetPager ID="Pager1" runat="server" OnPageChanged="Pager1_PageChanged"
                                                                        UrlPagingTarget="_self" PageSize="20" UrlPaging="true" FirstPageText="最前页" PrevPageText="上一页"
                                                                        NextPageText="下一页" LastPageText="最后页" PagingButtonSpacing="0" CssClass="turn"
                                                                        CurrentPageButtonClass="turn_on" SubmitButtonClass="pager_but" PageIndexBoxClass="pager_inp"
                                                                        SubmitButtonText="转到" ShowPageIndexBox="Auto" ShowBoxThreshold="0" ShowDisabledButtons="false"
                                                                        NumericButtonCount="6" FirstLastButtonsClass="turn_flpn" PrevNextButtonsClass="turn_flpn">
                                                                    </DataPager:AspNetPager>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        <div class="clear" style="height: 8px"></div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="flow" style="height: 6px"></div>
                                </asp:Panel>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
        </div>     
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
