<%@ page language="C#" autoeventwireup="true" inherits="house_rent_lists, 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" />
    <style type="text/css">
    .FWmenu
    {
    	padding:12px 0 12px 14px;
    }
    .FWmenu li
    {
    	width:170px;
    	height:26px;
    	line-height:26px;
    	overflow:hidden;    	
    	margin-top:8px;
    	font-size:14px;
    }
    .FWmenu li a
    {
    	display:block;
    	color:#4776b1;
    	padding-left:12px;
    	background:url(/skin/public/FWmenu.gif) repeat-x 0 -26px;
    }
    .FWmenu li a:hover{color:#fff;}
    .FWmenu .on a,.FWmenu li a:hover
    {
    	color:#fff;
    	font-weight:bold;
    	background:url(/skin/public/FWmenu.gif) repeat-x 0 0;
    }
        .list_v #Panel_List
        {
            padding-right: 0;
            padding-left: 0;
            padding-bottom: 0;
        }
        .FWlist th
        {
            background-color: #e9f2fc;
            height: 28px;
            line-height: 28px;
            border-bottom: solid 1px #c5dcf8;
            text-align: left;
            font-weight: bold;
            color: #666;
        }
        .FWlist td
        {
            color: #444;
            background-color: #fff;
            border-bottom: solid 1px #c5dcf8;
        }
        .FWlist .tr1 td
        {
            background-color: #f1f7fe;
        }
        .FWlist td div
        {
            height: 38px;
            line-height: 38px;
            overflow: hidden;
            font-family:Arial;
        }
        .FWlist th .al
        {
            padding-left: 10px;
        }
        .FWlist td .al
        {
            padding-left: 10px;
        }
        .FWlist td .al a
        {
            color: #069;
        }
        .FWlist td .al a:hover
        {
            color: #f60;
        }
    </style>
</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_lists.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: 198px">
                     <div class="c1">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con" style="width: 120px">房屋频道</div>
                            <div class="fr" style="width: 5px"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v">
                            <div class="FWmenu">
                           <ul>
                           <li style="margin-top:0;"><a href="/house/sell_lists.htm">房屋出售信息</a></li><li class="on"><a href="/house/rent_lists.htm">房屋出租信息</a></li><li><a href="/house/demand_lists.htm?type=qg">房屋求购信息</a></li><li><a href="/house/demand_lists.htm?type=qz">房屋求租信息</a></li></ul>
                        </div>
                        </div>
                    </div>
                    <div class="c1 mt5">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con" style="width: 120px">赞助商链接</div>
                            <div class="fr" style="width: 5px"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v"><%=ZK.config("SponsoredLinkHouse")%>
                        </div>
                    </div>
                </div>
                <div class="fr flow" style="width: 747px">
                    <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_lists.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">
                                    <HeaderTemplate>
                                        <div class="FWlist">
                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                <tr>
                                                    <th>
                                                        <div class="al">信息标题</div>
                                                    </th>
                                                    <th width="78">
                                                        地区
                                                    </th>
                                                    <th width="60">
                                                        楼层
                                                    </th>
                                                    <th width="70">
                                                        户型
                                                    </th>
                                                    <th width="68">
                                                        面积
                                                    </th>
                                                    <th width="75">
                                                        租金
                                                    </th>
                                                    <th width="80">
                                                        发布时间
                                                    </th>
                                                </tr>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <div class="al"><%#WMcompare.IsEqual(Eval("intermediary").ToString(), "中介", "<span class=\"red\">[中介]</span>", "")%><a href="/houserent/<%#Eval("id") %>.htm" target="_blank"><%#WM.cut(Eval("title").ToString(),38,"..")%></a></div>
                                            </td>
                                            <td>
                                                <div><%#WMread.GetBy("n", "area", "id", Eval("areaid").ToString())%></div>
                                            </td>
                                            <td>
                                                <div><%#get1(Eval("lc").ToString())%></div>
                                            </td>
                                            <td>
                                                <div><%#get2(Eval("hx").ToString())%></div>
                                            </td>
                                            <td>
                                                <div><%#Eval("mj") %>㎡</div>
                                            </td>
                                            <td>
                                                <div><%#WMcompare.IsEqual(Eval("zj").ToString(), "0", "面议", Eval("zj").ToString() + "元")%></div>
                                            </td>
                                            <td>
                                                <div><%#WMtime.FormatDateTime(Eval("time").ToString(), "yyyy-MM-dd")%></div>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                    <AlternatingItemTemplate>
                                        <tr class="tr1">
                                            <td>
                                                <div class="al"><%#WMcompare.IsEqual(Eval("intermediary").ToString(), "中介", "<span class=\"red\">[中介]</span>", "")%><a href="/houserent/<%#Eval("id") %>.htm" target="_blank"><%#WM.cut(Eval("title").ToString(),38,"..")%></a></div>
                                            </td>
                                            <td>
                                                <div><%#WMread.GetBy("n", "area", "id", Eval("areaid").ToString())%></div>
                                            </td>
                                            <td>
                                                <div><%#get1(Eval("lc").ToString())%></div>
                                            </td>
                                            <td>
                                                <div><%#get2(Eval("hx").ToString())%></div>
                                            </td>
                                            <td>
                                                <div><%#Eval("mj") %>㎡</div>
                                            </td>
                                            <td>
                                                <div><%#WMcompare.IsEqual(Eval("zj").ToString(), "0", "面议", Eval("zj").ToString() + "元")%></div>
                                            </td>
                                            <td>
                                                <div><%#WMtime.FormatDateTime(Eval("time").ToString(), "yyyy-MM-dd")%></div>
                                            </td>
                                        </tr>
                                    </AlternatingItemTemplate>
                                    <FooterTemplate>
                                        </table>
                                        <div class="abs flow" style="height: 1px; background-color: #fff; width: 745px; margin-top: -1px"></div>
                                        </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="25" 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="clear"></div>
            </div>
        </div>
        </form>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
