<%@ page language="C#" autoeventwireup="true" inherits="house_demand_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_time" TagPrefix="UC" Src="~/s/include/tip_bar_time.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("sitetitle") %></title>
    <meta name="keywords" content="<%=ZK.config("housekeywords") %>" />
    <meta name="description" content=" <asp:Literal ID="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_house_banner1.html"--></div></div>
        <div class="box">
            <div class="tip_bar mt5">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <div class="path"><strong>您当前的位置：</strong><span><a href="/">网站首页</a></span><span><a href="/house/">房屋租售</a></span><asp:Literal ID="Literal_pathname" runat="server"></asp:Literal></div>
                        </td>
                        <td align="right"><UC:tip_bar_time ID="tip_bar_time1" runat="server" /></td>
                    </tr>
                </table>
            </div>
        </div>
        <form id="form1" runat="server">
        <div class="box">
            <div class="hto mt5">
                <div class="fl flow" style="width: 670px">
                    <div class="c3">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con" style="width: 400px; padding-left: 0">
                                <div class="moveareab1">
                                    <ul>
                                        <li class="on" onmouseover="movearea(this,'moveareav1')"><a href="/house/demand_list.htm?type=qg">求购置顶</a></li>
                                        <li onmouseover="movearea(this,'moveareav1')"><a href="/house/demand_list.htm?type=qz">求租置顶</a></li>
                                    </ul>
                                    <div class="clear"></div>
                                </div>
                            </div>
                            <div class="fr" style="width: 155px; padding-right: 4px">
                                <div class="fast_but" style="margin-left: 3px"><a href="/user/housedemand.aspx" rel="nofollow">管理信息</a></div>
                                <div class="fast_but"><a href="/user/housedemand_do.aspx" rel="nofollow">发布信息</a></div>
                                <div class="clear"></div>
                            </div>
                            <div class="clear"></div>
                        </div>
                        <div class="v">
                            <div class="moveareav1" id="moveareav1">
                                <blockquote class="block">
                                    <%=ZK.getHouseList1(10, "3", 46, "", "order by" + ZK.FieldOrderbyDesc("istop") + "time desc,id desc", true, "", "<div class=\"ce\" style=\"line-height:116px;color:#999\">还没有置顶信息！</div>", "_self")%>
                                    <div class="clear"></div>
                                </blockquote>
                                <blockquote class="none">
                                    <%=ZK.getHouseList1(10, "4", 46, "", "order by" + ZK.FieldOrderbyDesc("istop") + "time desc,id desc", true, "", "<div class=\"ce\" style=\"line-height:116px;color:#999\">还没有置顶信息！</div>", "_self")%>
                                    <div class="clear"></div>
                                </blockquote>
                            </div>
                        </div>
                    </div>
                    <div class="c3 mt5">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con" style="width: 200px; font-size: 12px; font-weight: normal"><strong>信息编号：</strong><asp:Literal ID="Literal_bh" runat="server"></asp:Literal></div>
                            <div class="fr view_b_fr"><a href='javascript:void(0)' onclick="addFav()" rel="sidebar">收藏本信息</a>-<a href="/user/feedback.htm?parentid=6" target="_blank">举报该信息</a>-<a href="javascript:void(0)" onclick="window.close()">关闭本页</a><asp:Literal ID="Literal1" runat="server"></asp:Literal><asp:Literal ID="Literal_editlink" runat="server"></asp:Literal></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v">
                            <div class="view">
                                <div class="abs" style="margin-left: 15px; margin-top: 7px"><asp:Literal ID="Literal_author" runat="server"></asp:Literal></div>
                                <div class="view_title" style="padding-left: 78px; padding-right: 10px"><asp:Literal ID="title" runat="server"></asp:Literal></div>
                                <div class="view_info" style="padding-left: 78px"><div class="abs" id="Literal_endtime_" style="display: none; padding-left: 330px;margin-top: -35px"><img alt="" src="/skin/public/expired.gif" /></div>
                                    <strong>发布时间：</strong><asp:Literal ID="time" runat="server"></asp:Literal>&nbsp;&nbsp;&nbsp;&nbsp;<strong>浏览数：</strong><asp:Literal ID="click" runat="server"></asp:Literal>次&nbsp;&nbsp;&nbsp;&nbsp;<strong>有效期：</strong><asp:Label ID="Literal_endtime" runat="server"></asp:Label>
                                    <script type="text/javascript">if(document.getElementById("Literal_endtime").innerHTML.indexOf("已过期")!=-1)document.getElementById("Literal_endtime_").style.display="";</script>
                                </div>
                                <div class="view_content">
                                    <div class="list_custom_box">
                                        <div class="list_custom">
                                            <div class="list_custom1">信息类型：</div>
                                            <div class="list_custom2"><asp:Literal ID="type" runat="server"></asp:Literal></div>
                                            <div class="list_custom1">联系电话：</div>
                                            <div class="list_custom2"><%--<%=WMcompare.IsEqual(ZK.uid, "", "<span class=\"red\">游客无权查看电话号码，请先登录！</span>", WMread.GetBy("phone", "housedemand", "id", WM.RQ("id")))%>--%><%=WMread.GetBy("phone", "housedemand", "id", WM.RQ("id"))%></div>
                                            <div class="list_custom1">联系人：</div>
                                            <div class="list_custom2"><asp:Literal ID="contact" runat="server"></asp:Literal><a href="javascript:void(0)" onclick="sendmail('<%=WMread.GetBy("uid","housedemand","id",WM.RQ("id")) %>','<%=ZK.uid %>')">(点击发送站内信)</a></div>
                                            <div class="list_custom1">联系QQ：</div>
                                            <div class="list_custom2"><asp:Literal ID="qq" runat="server"></asp:Literal></div>
                                            <div class="clear"></div>
                                        </div>
                                    </div>
                                    <asp:Literal ID="content" runat="server"></asp:Literal>
                                </div><%=ZK.config("houseViewContentClips")%>
                                <div class="pl">
                                    <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 %>','housedemand_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 alt="" 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 %>','housedemand_pl_re',<%#Eval("id") %>,this)" value="发表回复"></div>
                                                                        </div>
                                                                        <%#ZK.get_pl_re("housedemand_pl_re", Eval("id").ToString())%>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </ItemTemplate>
                                                    <FooterTemplate>
                                                        <div class="abs flow" style="height: 1px; background-color: #ffffff; 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="pl_tip"><strong class="str red">免责声明：</strong>本站发布的信息和评论纯属网民个人行为，并不代表本站立场，如发现有违法信息或侵权行为，请直接与本站管理员联系，我们将在收到您的信息后24小时内作出处理！</div>
                                </div>
                                <div class="view_nepr" id="view_nepr">
                                    <div class="con1" id="view_nepr_con1"><asp:Label ID="Literal_prev" runat="server" ToolTip="上一篇"></asp:Label></div>
                                    <div class="con2" id="view_nepr_con2"><asp:Label ID="Literal_next" runat="server" ToolTip="下一篇"></asp:Label></div>
                                </div>
                                <script type="text/javascript">if(document.getElementById("view_nepr").innerHTML.toLowerCase().indexOf("</a>")==-1)document.getElementById("view_nepr").style.display="none";</script>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="fr" style="width: 275px">
                    <div class="c2">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con">发布者</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v">
                            <div class="view_userinfo" style="padding-top: 10px; padding-bottom: 8px"><a href="/space/me.aspx?uid=<%=WMread.GetBy("uid","housedemand","id",WM.RQ("id")) %>" target="_blank"><img alt="" src="<%=ZK.m_face(WMread.GetBy("uid","housedemand","id",WM.RQ("id")),"150")%>" onmouseover="hover(this,0.7)" onmouseout="hover(this,1)" class="block wto" style="width: 150px;height: 150px; padding: 1px; border: solid 1px #ccc" /></a>
                                <div style="padding-top: 6px"><a href="/space/?uid=<%=WMread.GetBy("uid","housedemand","id",WM.RQ("id")) %>" target="_blank"><%=ZK.m_u(WMread.GetBy("uid", "housedemand", "id", WM.RQ("id")))%>&nbsp;<font color="#ff0000">(进入主页)</font></a></div>
                                <div><a href="/space/s_browse.aspx?uid=<%=WMread.GetBy("uid","housedemand","id",WM.RQ("id")) %>&t=housedemand" target="_blank">共发布求租求购信息<%=WM.DoCount("housedemand", "where uid=" + WMread.GetBy("uid", "housedemand", "id", WM.RQ("id"))).ToString()%>条&nbsp;<strong>打开查看</strong></a></div>
                            </div>
                        </div>
                    </div>
                    <div class="c2 mt5">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con">最新回复信息</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v">
                            <div class="s1">
                                <ul>
                                    <%=WMbind.Bind("select top 10 id,title from housedemand where enable="+WM.True+" order by pltime desc,time desc,id desc", "<li><a href=\"/housedemand/<<id>>.htm\"><<title>></a></li>", 1, "time", "yyyy-MM-dd", "title", 48, "..", "$替换符$", "", "", "")%>
                                </ul>
                            </div>
                        </div>
                    </div><%=ZK.config("housePageSideCode")%>
                </div>
                <div class="clear"></div>
            </div>
        </div>
        </form>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
