<%@ page language="C#" autoeventwireup="true" inherits="house_demand_list, 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="Literal_pagetitle" runat="server"></asp:Literal>_<%=ZK.config("sitetitle") %></title>
    <meta name="keywords" content="<%=ZK.config("housekeywords") %>" />
    <meta name="description" content="<%=ZK.config("housedescription") %>" />
    <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>
        <form id="form1" runat="server">
        <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>
        <div class="box">
            <div class="hto mt5">
                <div class="fl flow" style="width: 670px">
                    <div class="c3 mt5">
                        <div class="list_b">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td>
                                        <ul><li id="list_tab1"><a href="/house/"><asp:Literal ID="Literal_typename" runat="server"></asp:Literal></a></li></ul>
                                        <div class="clear"></div>
                                        <script type="text/javascript" src="/skin/public/list.js"></script>
                                    </td>
                                    <td><div class="con1"><%=Pager1.CurrentPageIndex %>/<%=Pager1.PageCount %></div></td>
                                    <td width="90" align="right"><script type="text/javascript">show_list_turn(<%=Pager1.CurrentPageIndex %>,<%=Pager1.PageCount %>);</script></td>
                                </tr>
                            </table>
                        </div>
                        <div class="list_v">
                            <%@ register assembly="Pager" namespace="Wuqi.Webdiyer" tagprefix="DataPager" %>
                            <asp:Panel ID="Panel_Nodata" runat="server" Visible="false">
                                <div class="tip_nodata" id="tip_nodata" style="background-position: 12px 12px">No data!&nbsp;&nbsp;没有显示信息</div>
                            </asp:Panel>
                            <asp:Panel ID="Panel_List" runat="server">
                                <asp:Repeater ID="Repeater1" runat="server">
                                    <ItemTemplate>
                                        <div class="item">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr valign="top">
                                                    <td><a href="/space/?uid=<%#Eval("uid") %>" target="_blank"><img alt="" class="list_face_img" style="width: 50px; height: 50px" src="<%#ZK.m_face(Eval("uid").ToString(),"50")%>" /></a></td>
                                                    <td width="100%">
                                                        <div class="con1">
                                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                <tr>
                                                                    <td><a href="/housedemand/<%#Eval("id") %>.htm" target="_blank"><%#WM.cut(Eval("title").ToString(),38,"..")%></a><span title="信息发布时间">(<%#WMtime.Diff(Eval("time").ToString(), "yyyy-M-d")%>)</span></td>
                                                                    <td align="right"><%#WMcompare.IsEqual(WMreplace.ConvertBit(Eval("istop").ToString()), "1", "<img alt=\"\" style=\"margin-left:6px\" src=\"/skin/public/jh.gif\" align=\"absmiddle\" />", "")%><%#WMcompare.IsEqual(WMreplace.ConvertBit(Eval("isred").ToString()), "1", "<img alt=\"\" style=\"margin-left:6px\" src=\"/skin/public/flower.gif\" align=\"absmiddle\" />", "")%>&nbsp;</td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                        <div class="con2"><strong>发布者：</strong><a href="/space/me.aspx?uid=<%#Eval("uid") %>" target="_blank"><%#ZK.m_u(Eval("uid").ToString())%></a>&nbsp;&nbsp;&nbsp;&nbsp;<strong>点击数：</strong><%# Eval("click")%></div>
                                                        <div class="con3" id="list_item_more_content<%#Eval("id") %>"><%#WM.cut(WMreplace.NoHtml(Eval("content").ToString(),true,true),170,"..").Trim()%><strong><a href="javascript:void(0)" onclick="list_item_more_content('housedemand',<%#Eval("id") %>)">详细内容&raquo;</a></strong></div>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </ItemTemplate>
                                    <AlternatingItemTemplate>
                                      <div class="item item_a">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr valign="top">
                                                    <td><a href="/space/?uid=<%#Eval("uid") %>" target="_blank"><img alt=\"\" class="list_face_img" style="width: 50px; height: 50px" src="<%#ZK.m_face(Eval("uid").ToString(),"50")%>" /></a></td>
                                                    <td width="100%">
                                                        <div class="con1">
                                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                <tr>
                                                                    <td><a href="/housedemand/<%#Eval("id") %>.htm" target="_blank"><%#WM.cut(Eval("title").ToString(),38,"..")%></a><span title="信息发布时间">(<%#WMtime.Diff(Eval("time").ToString(), "yyyy-M-d")%>)</span></td>
                                                                    <td align="right"><%#WMcompare.IsEqual(WMreplace.ConvertBit(Eval("istop").ToString()), "1", "<img alt=\"\" style=\"margin-left:6px\" src=\"/skin/public/jh.gif\" align=\"absmiddle\" />", "")%><%#WMcompare.IsEqual(WMreplace.ConvertBit(Eval("isred").ToString()), "1", "<img alt=\"\" style=\"margin-left:6px\" src=\"/skin/public/flower.gif\" align=\"absmiddle\" />", "")%>&nbsp;</td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                        <div class="con2"><strong>发布者：</strong><a href="/space/me.aspx?uid=<%#Eval("uid") %>" target="_blank"><%#ZK.m_u(Eval("uid").ToString())%></a>&nbsp;&nbsp;&nbsp;&nbsp;<strong>点击数：</strong><%# Eval("click")%></div>
                                                        <div class="con3" id="list_item_more_content<%#Eval("id") %>"><%#WM.cut(WMreplace.NoHtml(Eval("content").ToString(),true,true),170,"..").Trim()%><strong><a href="javascript:void(0)" onclick="list_item_more_content('housedemand',<%#Eval("id") %>)">详细内容&raquo;</a></strong></div>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </AlternatingItemTemplate>
                                    <FooterTemplate>
                                        <div class="abs flow" style="height: 1px; background-color: #fff; width: 650px;margin-top: -1px"></div>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </asp:Panel>
                            <asp:Panel ID="Panel_Turn" runat="server" Visible="false">
                                <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"
                                                    AlwaysShow="true">
                                                </DataPager:AspNetPager>
                                            </td>
                                        </tr>
                                    </table>
                                    <div class="clear" style="height: 8px"></div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
                <div class="fr" style="width: 275px">
                    <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"><asp:Literal ID="Literal1" runat="server"></asp:Literal></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="s2"><!--#include file="~/s/include/public_activitytxt.html" --></div>
                            <div class="flow mt5" style="width: 255px; height: 114px; margin-left: 9px; padding-bottom: 8px"><!--#include file="~/s/include/public_activityslide.html" --></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 order by pltime desc,time desc,id desc", "<li><a href=\"/housedemand/<<id>>.htm\" target=\"_blank\"><<title>></a></li>", 1, "time", "yyyy-MM-dd", "title", 48, "..", "$替换符$", "", "", "")%>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
        </div>
        </form>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
