<%@ page language="C#" autoeventwireup="true" inherits="house_rent_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>房屋出租_<%=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">
        <asp:Literal ID="JS1" runat="server"></asp:Literal>
        <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><a href="/house/rent_list.htm">房屋出租列表</a></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="c2">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con">条件筛选</div>
                            <div class="fr" style="width: 76px; padding-right: 4px"><div class="fast_but"><a href="/user/houserent_do.aspx" target="_blank" rel="nofollow">发布信息</a></div></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v">
                            <link type="text/css" rel="stylesheet" href="/skin/public/condition_screening.css" />
                            <div class="condition_screening" id="condition_screening">
                                <div class="item">
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr valign="top">
                                            <td class="td1"><strong>房屋类型：</strong></td>
                                            <td class="td2"><a href="" class="on"><span>全部</span></a><a href=""><span>不限</span></a><a href=""><span>住宅</span></a><a href=""><span>写字楼</span></a><a href=""><span>商铺</span></a><a href=""><span>厂房</span></a><a href=""><span>别墅</span></a><a href=""><span>公寓</span></a><a href=""><span>商住房</span></a><a href=""><span>其它</span></a></td>
                                        </tr>
                                    </table>
                                    <div class="clear"></div>
                                </div>
                                <div class="item">
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr valign="top">
                                            <td class="td1"><strong>房屋装修：</strong></td>
                                            <td class="td2"><a href="" class="on"><span>全部</span></a><a href=""><span>不限</span></a><a href=""><span>简单装修</span></a><a href=""><span>中等装修</span></a><a href=""><span>豪华装修</span></a></td>
                                        </tr>
                                    </table>
                                    <div class="clear"></div>
                                </div>
                                <div class="item">
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr valign="top">
                                            <td class="td1"><strong>付租方式：</strong></td>
                                            <td class="td2"><a href="" class="on"><span>全部</span></a><a href=""><span>付三押一</span></a><a href=""><span>付三押二</span></a><a href=""><span>半年付</span></a><a href=""><span>年付</span></a><a href=""><span>单月付</span></a><a href=""><span>面议</span></a></td>
                                        </tr>
                                    </table>
                                    <div class="clear"></div>
                                </div>
                                <div class="item">
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr valign="top">
                                            <td class="td1"><strong>房屋配置：</strong></td>
                                            <td class="td2"><a href="" class="on"><span>全部</span></a><a href=""><span>电视机</span></a><a href=""><span>冰箱</span></a><a href=""><span>空调</span></a><a href=""><span>洗衣机</span></a><a href=""><span>微波炉</span></a><a href=""><span>热水器</span></a><a href=""><span>电话</span></a><a href=""><span>床</span></a><a href=""><span>桌椅</span></a><a href=""><span>沙发</span></a></td>
                                        </tr>
                                    </table>
                                    <div class="clear"></div>
                                </div>                                
                                <div class="item">
                                     <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                         <tr valign="top">
                                             <td class="td1"><strong>房屋面积：</strong></td>
                                             <td class="td2"><a href="" class="on"><span>全部</span></a><a href=""><span>小于20㎡</span></a><a href=""><span>20-40㎡</span></a><a href=""><span>40-60㎡</span></a><a href=""><span>60-100㎡</span></a><a href=""><span>100-150㎡</span></a><a href=""><span>大于150㎡</span></a></td>
                                         </tr>
                                     </table>
                                     <div class="clear"></div>
                                </div>
                                <div class="item">
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr valign="top">
                                            <td class="td1"><strong>每月租金：</strong></td>
                                            <td class="td2"><a href="" class="on"><span>全部</span></a><a href=""><span>小于200元</span></a><a href=""><span>200-400元</span></a><a href=""><span>400-700元</span></a><a href=""><span>700-1000元</span></a><a href=""><span>1000-1500元</span></a><a href=""><span>更高</span></a></td>
                                        </tr>
                                    </table>
                                    <div class="clear"></div>
                                </div>
                            </div>
                        <script type="text/javascript">
                        function fun_condition_screening(tablename,SerialNum){                              
                            function fun1(tableobj){
                            var arr1=tableobj.getElementsByTagName("a") 
                            for(var i=0;i<arr1.length;i++){
                                var txt=arr1[i].childNodes[0].innerHTML;
                                var url=location.href;if(url.indexOf("#")!=-1)url=url.substring(0,url.indexOf("#"));
                                txt=escape(txt);
                              
                                if(url.indexOf("?")==-1)arr1[i].href=url+"?"+tablename+"="+txt;
                                else {
                                   if(url.indexOf(tablename+"=")!=-1){
                                    var strs = location.search.substr(1).split("&");var par1="";var par2="";for(j=0;j<strs.length;j++){if([strs[j].split("=")[0]].toString()==tablename){par1=strs[j].split("=")[0];par2=strs[j].split("=")[1];}}                                    
                                    url=url.replace(par1+"="+par2,"");
                                    if(par2.toLowerCase()==txt.toLowerCase()||unescape(par2)==unescape(txt)){arr1[0].className="";arr1[i].className="on";}                          
                                    }
                                arr1[i].href=url+"&"+tablename+"="+txt;
                                }
                                arr1[i].href=arr1[i].href.replace("?&","?");arr1[i].href=arr1[i].href.replace("&&","&");
                                }
                            }
                        var arr1=document.getElementById("condition_screening").getElementsByTagName("table")                            
                        for(var i=0;i<arr1.length;i++){if(i==SerialNum)fun1(arr1[i]);}
                        }                        
                        function init_condition_screening(tablenames){var arr1=tablenames.split(",");for(var i=0;i<arr1.length;i++)fun_condition_screening(arr1[i],i);}
                        init_condition_screening("lx,zx,fzfs,fwpz,mj,zj");
                        </script>                         
                        </div>
                    </div>
                    <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="rent_list.htm" title="点击返回，查看所有信息"><asp:Literal ID="list_tab_txt1" runat="server">信息列表</asp:Literal></a></li><li id="list_tab2"><a href="#" id="list_tab2_son" onclick="list_3day()">近三天信息</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">
                            <div class="list_where">
                                <table border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td>地区筛选：</td>
                                        <td><asp:DropDownList ID="areaid" runat="server" Width="130" OnSelectedIndexChanged="DropDownList_area_SelectedIndexChanged" AutoPostBack="true" Style="color: #666"></asp:DropDownList></td>
                                        <td style="padding-left: 10px">标题包含：</td>
                                        <td><input type="text" id="k_title" class="inp" value="根据信息标题搜索" onfocus="if(this.value=='根据信息标题搜索')this.value=''" autocomplete="off" /></td>
                                        <td style="padding-left: 10px">内容包含：</td>
                                        <td><input type="text" id="k_content" class="inp" value="根据信息内容搜索" onfocus="if(this.value=='根据信息内容搜索')this.value=''" autocomplete="off" /></td>
                                        <td style="padding-left: 10px"><input type="button" class="but" value="确定" onclick="life_search(document.getElementById('k_title').value,document.getElementById('k_content').value)" /></td>
                                    </tr>
                                </table>
                                <asp:Literal ID="JS2" runat="server"></asp:Literal><asp:Literal ID="JS3" runat="server"></asp:Literal>
                            </div>
                            <%@ 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" src="<%#ZK.m_face(Eval("uid").ToString(),"80")%>" /></a></td>
                                                    <td width="100%">
                                                        <div class="con1">
                                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                <tr>
                                                                    <td>
                                                                        <%#WMcompare.IsEqual(Eval("intermediary").ToString(), "中介", "<b class=\"s14 red\">[中介]</b>", "")%><a href="/houserent/<%#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><%#WMread.GetBy("n","area","id",Eval("areaid").ToString()) %>&nbsp;&nbsp;&nbsp;&nbsp;<strong>发布者：</strong><a href="/space/me.aspx?uid=<%#Eval("uid") %>" target="_blank"><%#ZK.m_u(Eval("uid").ToString())%></a><%#WMcompare.IsEqual(Eval("click").ToString(), "0", "", "&nbsp;&nbsp;&nbsp;&nbsp;<strong>点击数：</strong>" + Eval("click").ToString() + "次")%></div>
                                                        <div class="con3" id="list_item_more_content<%#Eval("id") %>"><%#WM.cut(WMreplace.NoHtml(Eval("content").ToString(),true,true),160,"..").Trim()%><strong><a href="javascript:void(0)" onclick="list_item_more_content('houserent',<%#Eval("id") %>)">详细内容&raquo;</a></strong></div>
                                                    </td>
                                                    <td id="list_item_more_img<%#Eval("id") %>">
                                                        <%#WMcompare.IsEmpty(Eval("thumbnail").ToString(), "", "<a title=\"点击展开\" href=\"javascript:void(0)\" onclick=\"this.parentNode.style.display=\'none\';list_item_more_content(\'houserent\'," + Eval("id").ToString() + ")\"><img alt=\"\" class=\"block\" style=\"margin-left:5px;padding:1px;border:solid 1px #ccc\" src=\"" + ZK.getListThumbnail(Eval("thumbnail").ToString(), "120") + "\" width=\"100\" onload=\"ResizePic(this,120,120)\" /></a>")%>
                                                    </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" src="<%#ZK.m_face(Eval("uid").ToString(),"80")%>" /></a>
                                                    </td>
                                                    <td width="100%">
                                                        <div class="con1">
                                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                <tr>
                                                                    <td>
                                                                         <%#WMcompare.IsEqual(Eval("intermediary").ToString(), "中介", "<b class=\"s14 red\">[中介]</b>", "")%><a href="/houserent/<%#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><%#WMread.GetBy("n","area","id",Eval("areaid").ToString()) %>&nbsp;&nbsp;&nbsp;&nbsp;<strong>发布者：</strong><a href="/space/me.aspx?uid=<%#Eval("uid") %>" target="_blank"><%#ZK.m_u(Eval("uid").ToString())%></a><%#WMcompare.IsEqual(Eval("click").ToString(), "0", "", "&nbsp;&nbsp;&nbsp;&nbsp;<strong>点击数：</strong>" + Eval("click").ToString() + "次")%></div>
                                                        <div class="con3" id="list_item_more_content<%#Eval("id") %>"><%#WM.cut(WMreplace.NoHtml(Eval("content").ToString(),true,true),160,"..").Trim()%><strong><a href="javascript:void(0)" onclick="list_item_more_content('houserent',<%#Eval("id") %>)">详细内容&raquo;</a></strong></div>
                                                    </td>
                                                    <td id="list_item_more_img<%#Eval("id") %>">
                                                        <%#WMcompare.IsEmpty(Eval("thumbnail").ToString(), "", "<a title=\"点击展开\" href=\"javascript:void(0)\" onclick=\"this.parentNode.style.display=\'none\';list_item_more_content(\'houserent\'," + Eval("id").ToString() + ")\"><img alt=\"\" class=\"block\" style=\"margin-left:5px;padding:1px;border:solid 1px #ccc\" src=\"" + ZK.getListThumbnail(Eval("thumbnail").ToString(), "120") + "\" width=\"100\" onload=\"ResizePic(this,120,120)\" /></a>")%>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </AlternatingItemTemplate>
                                    <FooterTemplate>
                                        <div class="abs flow" style="height: 1px; background-color: #ffffff; 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="10" 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">
                        <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">
                                <%=ZK.getHouseList1(10, "2", 48, "", "order by" + ZK.FieldOrderbyDesc("istop") + "time desc,id desc", false, "", "<div class=\"red\">No data!</div>", "_blank")%>
                            </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">
                                <%=ZK.getHouseList1(10, "2", 48, "", "order by pltime desc,time desc,id desc", false, "", "<div class=\"red\">No data!</div>", "_blank")%>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
        </div>
        </form>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
