<%@ Page Language="C#" %>

<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Text" %>

<script runat="server">
    protected string _temp1 = "";
    string red(string pra1, string color)
    {
        if (WMreplace.ConvertBit(pra1) == "1")
        {
            if (color.Length == 0) return "</font>";
            else return "<font color=\"" + color + "\">";
        }
        return "";
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (ZK.ifLogin)
            {
                Literal1.Text = "<li style=\"width:auto;\"><a href=\"/user/control.aspx?notip\">" + ZK.m_u(ZK.uid) + "，您好！</a></li>";
            }
        }
    }
    /// <summary>
    /// 头条新闻
    /// </summary>
    /// <returns></returns>
    string TopNews()
    {
        string result = string.Empty;
        IDataReader rdr = (IDataReader)WMshow.Show("select top 1 [title],[id],[url] from info where enable=" + WM.True + " order by" + ZK.FieldOrderbyDesc("istop") + "time desc,id desc");
        while (rdr.Read())
        {
            _temp1 = rdr["id"].ToString();
            string url = rdr["url"].ToString(); if (url.Length == 0) url = "/news/" + rdr["id"].ToString() + ".htm";
            result = "<a title=\"" + rdr["title"].ToString().Trim() + "\" href=\"" + url + "\" target=\"_blank\">" + WM.cut(rdr["title"].ToString().Trim(), 30, "..") + "</a>";
        }
        rdr.Close(); rdr.Dispose();
        return result;
    }
    /// <summary>
    /// 新闻
    /// </summary>
    /// <returns></returns>
    string News()
    {
        StringBuilder sb = new StringBuilder();
        string where1 = "and classid<>1 and classid<>2 and classid<>13 and classid<>14";//不显示这几个新闻栏目的信息
        IDataReader rdr = (IDataReader)WMshow.Show("select top 11 [title],[id],[url],[isred],[time] from info where enable=" + WM.True + " and id<>" + _temp1 + " " + where1 + " order by time desc,id desc");
        while (rdr.Read())
        {
            string url = rdr["url"].ToString(); if (url.Length == 0) url = "/news/" + rdr["id"].ToString() + ".htm";
            sb.Append("<tr><td><div><a title=\"" + rdr["title"].ToString() + "\" href=\"" + url + "\" target=\"_blank\">" + red(rdr["isred"].ToString(), "#ff0000") + WM.cut(rdr["title"].ToString().Trim(), 38, "..") + red(rdr["isred"].ToString(), "") + "</a></div></td><td class=\"time\">" + WMtime.FormatDateTime(rdr["time"].ToString(), "MM-dd") + "</td></tr>");
        }
        rdr.Close(); rdr.Dispose();
        return sb.ToString();
    }
    /// <summary>
    /// 最新推荐信息
    /// </summary>
    /// <returns></returns>
    string TJ()
    {
        StringBuilder sb = new StringBuilder();
        IDataReader rdr = (IDataReader)WMshow.Show("select top 6 * from life where enable=" + WM.True + " order by" + ZK.FieldOrderbyDesc("istop") + "time desc,id desc");
        while (rdr.Read())
        {
            sb.Append("<li><a href=\"/life/" + rdr["id"].ToString() + ".htm\" title=\"" + rdr["title"].ToString() + "\" target=\"_blank\">" + red(rdr["isred"].ToString(), "#ff0000") + WM.cut(rdr["title"].ToString().Trim(), 30, "..") + red(rdr["isred"].ToString(), "") + "</a><img alt=\"\" src=\"/T/1/skin/tj.gif\" /></li>");
        }
        rdr = (IDataReader)WMshow.Show("select top 2 * from housesell where enable=" + WM.True + " order by" + ZK.FieldOrderbyDesc("istop") + "time desc,id desc");
        while (rdr.Read())
        {
            sb.Append("<li><a href=\"/housesell/" + rdr["id"].ToString() + ".htm\" title=\"" + rdr["title"].ToString() + "\" target=\"_blank\">" + red(rdr["isred"].ToString(), "#ff0000") + WM.cut(rdr["title"].ToString().Trim(), 30, "..") + red(rdr["isred"].ToString(), "") + "</a><img alt=\"\" src=\"/T/1/skin/tj.gif\" /></li>");
        }
        rdr = (IDataReader)WMshow.Show("select top 2 * from job where enable=" + WM.True + " order by" + ZK.FieldOrderbyDesc("istop") + "time desc,id desc");
        while (rdr.Read())
        {
            sb.Append("<li><a href=\"/job/" + rdr["id"].ToString() + ".htm\" title=\"" + rdr["title"].ToString() + "\" target=\"_blank\">" + red(rdr["isred"].ToString(), "#ff0000") + WM.cut(rdr["title"].ToString().Trim(), 30, "..") + red(rdr["isred"].ToString(), "") + "</a><img alt=\"\" src=\"/T/1/skin/tj.gif\" /></li>");
        }
        rdr.Close(); rdr.Dispose();
        return sb.ToString();
    }
    /// <summary>
    /// 最新推荐黄页
    /// </summary>
    /// <returns></returns>
    string company()
    {
        StringBuilder sb = new StringBuilder();
        IDataReader rdr = (IDataReader)WMshow.Show("select top 9 id,companyname,thumbnail,address,phone from m_company where enable=" + WM.True + " and companyname<>'' and thumbnail<>'' order by" + ZK.FieldOrderbyDesc("tj") + "updatetime desc,time desc,id desc");
        while (rdr.Read())
        {
            sb.Append("<li><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td class=\"td1\"><div><a href=\"/company/" + rdr["id"].ToString() + ".htm\" target=\"_blank\"><img alt=\"" + Server.HtmlEncode(rdr["companyname"].ToString()) + "\" src=\"" + ZK.getProportionImage(rdr["thumbnail"].ToString(), "", 68, "", 68) + "\" /></a></div></td><td class=\"td2\"><div class=\"str\"><a href=\"/company/" + rdr["id"].ToString() + ".htm\" target=\"_blank\">" + WM.cut(rdr["companyname"].ToString().Trim(), 22, "..") + "</a></div><div>地址:" + rdr["address"].ToString() + "</div><div>电话:" + rdr["phone"].ToString() + "</div></td></tr></table></li>");
        }
        rdr.Close(); rdr.Dispose();
        return sb.ToString();
    }
    /// <summary>
    /// 最新推荐店铺
    /// </summary>
    /// <returns></returns>
    string shop()
    {
        StringBuilder sb = new StringBuilder();
        IDataReader rdr = (IDataReader)WMshow.Show("select top 8 * from shop where enable=" + WM.True + " and sjname<>'' order by" + ZK.FieldOrderbyDesc("tj") + "updatetime desc,time desc,id desc");
        while (rdr.Read())
        {
            sb.Append("<li><a href=\"/shop/" + rdr["id"].ToString() + ".htm\" target=\"_blank\"><img alt=\"" + Server.HtmlEncode(rdr["sjname"].ToString()) + "\" src=\"" + ZK.getProportionImage(rdr["thumbnail"].ToString(), "", 140, "", 60) + "\" /></a><b><a href=\"/shop/" + rdr["id"].ToString() + ".htm\" target=\"_blank\">" + rdr["sjname"].ToString() + "</a></b></li>");
        }
        rdr.Close(); rdr.Dispose();
        return sb.ToString();
    }
    //——————————————————————————————————————
    string job_class(string par1)
    {
        StringBuilder sb = new StringBuilder();
        IDataReader rdr = (IDataReader)WMshow.Show("select * from job_class where parentid=" + par1 + " order by sorting desc,id asc");
        while (rdr.Read())
        {
            sb.Append("<li><a href=\"/job/list.htm?classid=" + rdr["id"].ToString() + "\" target=\"_blank\">" + rdr["n"].ToString() + "</a></li>");
        }
        rdr.Close(); rdr.Dispose();
        return sb.ToString();
    }
    string shop_class()
    {
        StringBuilder sb = new StringBuilder();
        IDataReader rdr = (IDataReader)WMshow.Show("select * from shop_class where parentid=0 order by sorting desc,id asc");
        while (rdr.Read())
        {
            sb.Append("<li><a href=\"/shop/?classid=" + rdr["id"].ToString() + "\" target=\"_blank\">" + rdr["n"].ToString() + "</a></li>");
        }
        rdr.Close(); rdr.Dispose();
        return sb.ToString();
    }
    string mall_class()
    {
        StringBuilder sb = new StringBuilder();
        IDataReader rdr = (IDataReader)WMshow.Show("select * from mall_class where parentid=0 order by sorting desc,id asc");
        while (rdr.Read())
        {
            sb.Append("<li><a href=\"/mall/list.htm?classid=" + rdr["id"].ToString() + "\" target=\"_blank\">" + rdr["n"].ToString() + "</a></li>");
        }
        rdr.Close(); rdr.Dispose();
        return sb.ToString();
    }
    string life_class()
    {
        StringBuilder sb = new StringBuilder();
        IDataReader rdr = (IDataReader)WMshow.Show("select * from life_class where parentid=0 order by sorting desc,id asc");
        while (rdr.Read())
        {
            sb.Append("<li><a href=\"/life/list.htm?classid=" + rdr["id"].ToString() + "\" target=\"_blank\">" + rdr["n"].ToString() + "</a><ul>" + sub_life_class(rdr["id"].ToString()) + "</ul></li>");
        }
        rdr.Close(); rdr.Dispose();
        return sb.ToString();
    }
    string sub_life_class(string par1)
    {
        StringBuilder sb = new StringBuilder();
        IDataReader rdr = (IDataReader)WMshow.Show("select * from life_class where parentid=" + par1 + " order by sorting desc,id asc");
        while (rdr.Read())
        {
            sb.Append("<li><a href=\"/life/list.htm?classid=" + rdr["id"].ToString() + "\" target=\"_blank\">" + rdr["n"].ToString() + "</a></li>");
        }
        rdr.Close(); rdr.Dispose();
        return sb.ToString();
    }
</script>

<!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>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>主页</title>

    <script type="text/javascript" src="/s/skin/base.js"></script>

    <meta name="keywords" content="请修改这里的关键字" />
    <meta name="description" content="请修改这里的页面描述" />

    <script type="text/javascript" src="/T/1/skin/slide.js"></script>

    <script type="text/javascript" src="/T/1/skin/jquery-1.8.1.min.js"></script>

    <script type="text/javascript" src="/T/1/skin/home.js"></script>

    <link type="text/css" rel="stylesheet" href="/T/1/skin/style.css" />
</head>
<body>
    <div id="topbarbox">
        <div id="topbar">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td class="td1">
                        <strong>上海</strong><a href="/user/control.aspx?notip" rel="nofollow">[会员中心]</a>
                    </td>
                    <td class="td2">
                        <ul id="topbarmenu">
                            <li><a href="/plugin/sitemap/">网站导航</a> </li>
                            <li><a href="/user/control.aspx?notip" rel="nofollow">我的信息</a>
                                <ul>
                                    <li><a href="/user/control.aspx" rel="nofollow" rel="nofollow">会员中心</a></li>
                                    <li><a href="/user/my.aspx" rel="nofollow">修改资料</a></li>
                                    <li><a href="/user/chongzhi.aspx" rel="nofollow">在线充值</a></li>
                                    <li><a href="/user/vip.aspx" rel="nofollow">升级VIP</a></li>
                                    <li><a href="/user/mail.aspx" rel="nofollow">消息通知</a></li>
                                </ul>
                            </li>
                            <asp:Literal ID="Literal1" runat="server"><li><a href="/user/reg.htm" target="_blank">免费注册</a></li><li><a href="/user/login.htm" target="_blank">会员登录</a></li></asp:Literal>
                        </ul>
                        <div class="clear"></div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div id="headbox">
        <div id="head">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td class="td1">
                        <div class="logo"><a href="/"><img alt="LOGO" src="/skin/public/none.gif" /></a></div>
                    </td>
                    <td class="td2">
                        <div class="con1">
                            <div id="HeadSearch">
                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td class="sontd1">
                                            <div><input type="text" id="HeadSearchWordKey" maxlength="100" autocomplete="off" /></div>
                                        </td>
                                        <td class="sontd2">
                                            <div><img id="HeadSearchImgBtn" src="/skin/public/none.gif" alt="快速搜索" /></div>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </td>
                    <td class="td3">
                        <div class="con2">
                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td class="sontd1">
                                        <div><a href="/plugin/addmod/do.htm" rel="nofollow">免费发布信息</a></div>
                                    </td>
                                    <td class="sontd2">
                                        <div>&nbsp;</div>
                                    </td>
                                    <td class="sontd3">
                                        <div><a href="/plugin/addmod/gl.htm" rel="nofollow">修改删除信息</a></div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div id="navbox">
        <div id="nav">
            <ul>
                <li><a href="/">首页</a></li>
                <li><a href="/sh/">生活</a></li>
                <li><a href="/house/sell_lists.htm">房屋</a></li>
                <li><a href="/job/list.htm?classid=1">招聘</a></li>
                <li><a href="/job/list.htm?classid=2">求职</a></li>
                <li><a href="/company/">黄页</a></li>
                <li><a href="/life/list.htm?classid=2">二手</a></li>
                <li><a href="/space/photo_more.htm">相册</a></li>
                <li><a href="/user/member.htm?type=1">会员</a></li>
                <li><a href="/bbs/">帖吧</a></li>
                <li><a href="/coupons/">优惠券</a></li>
                <li><a href="/tuan/">团购</a></li>
                <li><a href="/news/">资讯</a></li>
                <li><a href="/mall/">商品</a></li>
                <li><a href="/shop/">店铺</a></li>
                <li><a href="/jz/">建站</a></li>
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    <div class="box pt5">
        <div style="border: solid 1px #999; background-color: #fff; height: 90px; line-height: 90px; text-align: center; color: #999;">黄金广告位960X90</div>
    </div>
    <div class="box pt5">
        <div class="x1">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td class="td1">
                        <div><a href="/plugin/sitemap/">分类指南</a></div>
                    </td>
                    <td class="td2">
                        <div>欢迎光临本站，请自由编辑此内容，本站网址是<a href="http://www.baidu.com">WWW.BAIDU.COM</a>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #ff0;">立即加入本站ＱＱ群123456</span></div>
                    </td>
                </tr>
            </table>
        </div>
        <div class="hto">
            <div class="fl" style="width: 160px;">
                <div class="x2">
                    <ul id="navbarmenu"><li><a href="/house/">房屋租售</a><ul><li><a href="/house/rent_list.htm">出租房</a></li><li><a href="/house/sell_list.htm">二手房出售</a></li><li><a href="/house/demand_list.htm?type=qg">房屋求购</a></li><li><a href="/house/demand_list.htm?type=qz">房屋求租</a></li></ul></li><li><a href="/job/list.htm?classid=1">人才招聘</a><ul><%=job_class("1")%></ul></li><li><a href="/job/list.htm?classid=2">求职信息</a><ul><%=job_class("2")%></ul></li><li><a href="/shop/">商家店铺</a><ul><%=shop_class()%></ul></li><li><a href="/mall/">商城网购</a><ul><%=mall_class()%></ul></li><%=life_class()%></ul>
                    <div class="more"><a href="/plugin/sitemap/" target="_blank">全部信息分类&raquo;</a></div>
                </div>
                <div class="c1 mt5">
                    <div class="b1">网站公告</div>
                    <div class="v1">
                        <div class="v1_a">
                            <div id="announcement">
                                <ul>
                                    <%=ZK.getInfoList1(4, "2", 24, "", "order by time desc,id desc", false, false, "", "", "_blank",true)%>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="fr" style="width: 795px; padding-top: 1px;">
                <div class="hto">
                    <div class="fl" style="width: 477px;">
                        <div class="slide_box" id="mainslideBox">
                            <ul class="slide_pic" id="mainslidePic">
                                <li><a href="http://www.baidu.com" target="_blank"><img alt="" src="/T/1/skin/477x194_1.jpg" /></a></li>
                                <li><a href="http://www.baidu.com" target="_blank"><img alt="" src="/T/1/skin/477x194_2.jpg" /></a></li>
                                <li><a href="http://www.baidu.com" target="_blank"><img alt="" src="/T/1/skin/477x194_3.jpg" /></a></li>
                            </ul>
                            <ul class="slide_num" id="mainslideNum">
                            </ul>
                        </div>
                        <div class="x4">
                            <ul>
                                <%=TJ()%>
                            </ul>
                            <div class="clear"></div>
                        </div>
                    </div>
                    <div class="fr" style="width: 313px;">
                        <div class="x3">
                            <div class="con1">
                                <h1>
                                    <%=TopNews()%>
                                </h1>
                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                    <%=News()%>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="x5">
                    <div class="con1">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td class="td1">
                                    <div>优秀商家展示</div>
                                </td>
                                <td class="td2">
                                    <div>本站共有生活信息<strong><%=WM.DoCount("life","")%></strong>条&nbsp;｜&nbsp;网友会员<strong><%=WM.DoCount("m","")%></strong>个&nbsp;｜&nbsp;商家店铺<strong><%=WM.DoCount("shop","")%></strong>个&nbsp;｜&nbsp;本地新闻资讯<strong><%=WM.DoCount("info","")%></strong>条</div>
                                </td>
                                <td class="td3">
                                    <div><a href="/user/shop.aspx" rel="nofollow"><img alt="商家入驻申请" src="/skin/public/none.gif" /></a></div>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="con2">
                        <div id="HY_SJ"><span>
                                 <blockquote class="shopTJ2">
                                <ul>
                                    <%=shop()%></ul>
                                <div class="clear"></div>
                            </blockquote>
                             <blockquote class="shopTJ1">
                                <ul>
                                    <%=company()%></ul>
                                <div class="clear"></div>
                            </blockquote>
                       
                        </span></div>
                    </div>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
    <div class="box pt5">
        <div style="border: solid 1px #ddd; background-color: #fff; height: 90px; line-height: 90px; text-align: center; color: #999;">黄金广告位960X90</div>
    </div>
    <div class="box pt5">
        <div class="hto">
            <div class="fl" style="width: 160px;">
                <div>
                    <embed type="application/x-shockwave-flash" src="/T/1/skin/flvplayer.swf" width="160" height="130" id="single" name="single" quality="high" allowfullscreen="true" flashvars="file=http://demo3.zkems.com/Assist/skin/test.flv&autostart=true&overstretch=true&logo=/skin/public/none.gif&image=/skin/public/none.gif&width=160&height=130&shownavigation=true"></embed></div>
                <div class="c1 mt5">
                    <div class="b1">分类广告</div>
                    <div class="v1">
                        <div class="v1_b">
                            <ul><li><a href="#" target="_blank">广字连接广告</a></li><li><a href="#" target="_blank">学电脑找清华</a></li><li><a href="#" target="_blank">广字连接广告</a></li><li><a href="#" target="_blank">学车半价优惠中</a></li><li><a href="#" target="_blank">广字连接广告</a></li><li><a href="#" target="_blank">体育场演唱会门票</a></li><li><a href="#" target="_blank">广字连接广告</a></li><li><a href="#" target="_blank">此处500元一周</a></li></ul></div>
                    </div>
                </div>
                <div class="pt5">
                    <div style="border: solid 1px #ddd; background-color: #fff; height: 48px; line-height: 48px; text-align: center; color: #999;">黄金广告位160X50</div>
                </div>
                <div class="pt5">
                    <div style="border: solid 1px #ddd; background-color: #fff; height: 48px; line-height: 48px; text-align: center; color: #999;">黄金广告位160X50</div>
                </div>
                <div class="pt5">
                    <div style="border: solid 1px #ddd; background-color: #fff; height: 48px; line-height: 48px; text-align: center; color: #999;">黄金广告位160X50</div>
                </div>
                <div class="c1 mt5">
                    <div class="b1">便民服务</div>
                    <div class="v1">
                        <div class="v1_c">
                            <ul><li><a target="_blank" href="http://site.baidu.com/list/wannianli.htm">万 年 历</a></li><li><a target="_blank" href="http://www.hao123.com/haoserver/showjicc.htm">手机归属</a></li><li><a target="_blank" href="http://www.ip138.com">IP 查 询</a></li><li><a target="_blank" href="http://www.hao123.com/haoserver/kuaidi.htm">快递查询</a></li><li><a target="_blank" href="http://www.hao123.com/ss/fy.htm">在线翻译</a></li><li><a target="_blank" href="http://www.8684.cn">公交查询</a></li><li><a target="_blank" href="http://www.hao123.com/ss/lccx.htm">列车时刻</a></li><li><a target="_blank" href="http://www.feeyo.com/flightsearch.htm">飞机航班</a></li><li><a target="_blank" href="http://memo.cnair.com/post_code/">邮编区号</a></li><li><a target="_blank" href="http://app.baidu.com/ip138_id/index.asp">查身份证</a></li><li><a target="_blank" href="http://www.hao123.com/menu">菜谱大全</a></li><li><a target="_blank" href="http://www.hao123.com/harcksafe">在线杀毒</a></li><li><a target="_blank" href="http://life.baifubao.com">话费充值</a></li><li><a target="_blank" href="http://www.hao123.com/haoserver/jiaotongcx.htm">交通违章</a></li><li><a target="_blank" href="http://quote.eastmoney.com">股票查询</a></li><li><a target="_blank" href="http://www.lecai.com/lottery/draw/">彩票查询</a></li><li><a target="_blank" href="http://www.nmc.gov.cn">天气预报</a></li><li><a target="_blank" href="http://astro.sina.com.cn/">星座运程</a></li><li><a target="_blank" href="http://life.hao123.com/soft.html">软件下载</a></li><li><a target="_blank" href="http://www.tvsou.com/">电视节目</a></li><li><a target="_blank" href="http://www.51jiemeng.com/">周公解梦</a></li><li><a target="_blank" href="http://jbk.39.net/">疾病查询</a></li><li><a target="_blank" href="http://www.hao123.com/menu_dfwz">地方网站</a></li><li><a target="_blank" href="http://www.baidu.com">自定义文字</a></li></ul><div class="clear"></div></div>
                    </div>
                </div>
            </div>
            <div class="fr" style="width: 795px;">
                <div class="x6">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td width="261">
                                <div class="c1">
                                    <div class="b1">
                                        <div class="fl">房屋出售</div>
                                        <div class="fr"><a href="/house/sell_list.htm">更多&raquo;</a></div>
                                        <div class="clear"></div>
                                    </div>
                                    <div class="v1">
                                        <div class="v1_d">
                                            <ul>
                                                <%=ZK.BindEasy("select top 8 * from housesell where enable=" + WM.True + " order by time desc,id desc", "<li class=\"isred{{isred}}\"><span>{{time}}</span><a title=\"{{#title}}\" href=\"/housesell/{{ID}}.htm\" target=\"_blank\">{{title}}</a></li>", "title", 30, "..", "time", "MM\\/dd")%></ul>
                                        </div>
                                    </div>
                                </div>
                            </td>
                            <td class="td0">
                                <div>&nbsp;</div>
                            </td>
                            <td width="262">
                                <div class="c1">
                                    <div class="b1">
                                        <div class="fl">房屋出租</div>
                                        <div class="fr"><a href="/house/rent_list.htm">更多&raquo;</a></div>
                                        <div class="clear"></div>
                                    </div>
                                    <div class="v1">
                                        <div class="v1_d">
                                            <ul>
                                                <%=ZK.BindEasy("select top 8 * from houserent where enable=" + WM.True + " order by time desc,id desc", "<li class=\"isred{{isred}}\"><span>{{time}}</span><a title=\"{{#title}}\" href=\"/houserent/{{ID}}.htm\" target=\"_blank\">{{title}}</a></li>", "title", 30, "..", "time", "MM\\/dd")%></ul>
                                        </div>
                                    </div>
                                </div>
                            </td>
                            <td class="td0">
                                <div>&nbsp;</div>
                            </td>
                            <td width="261">
                                <div class="c1">
                                    <div class="b1">
                                        <div class="fl">求购求租</div>
                                        <div class="fr"><a href="/house/">更多&raquo;</a></div>
                                        <div class="clear"></div>
                                    </div>
                                    <div class="v1">
                                        <div class="v1_d">
                                            <ul>
                                                <%=ZK.BindEasy("select top 8 * from housedemand where enable=" + WM.True + " order by time desc,id desc", "<li class=\"isred{{isred}}\"><span>{{time}}</span><a title=\"{{#title}}\" href=\"/housedemand/{{ID}}.htm\" target=\"_blank\">{{title}}</a></li>", "title", 30, "..", "time", "MM\\/dd")%></ul>
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="pt5">
                    <div style="border: solid 1px #ddd; background-color: #fff; height: 88px; line-height: 88px; text-align: center; color: #999;">黄金广告位795X90</div>
                </div>
                <div class="x6 pt5">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td width="261">
                                <div class="c1">
                                    <div class="b1">
                                        <div class="fl">招聘信息</div>
                                        <div class="fr"><a href="/job/list.htm?classid=1">更多&raquo;</a></div>
                                        <div class="clear"></div>
                                    </div>
                                    <div class="v1">
                                        <div class="v1_d">
                                            <ul>
                                                <%=ZK.BindEasy("select top 8 * from job where enable=" + WM.True + " " + ZK.getClassForSqlWhere("job_class", "1") + " order by time desc,id desc", "<li class=\"isred{{isred}}\"><span>{{time}}</span><a title=\"{{#title}}\" href=\"/job/{{ID}}.htm\" target=\"_blank\">{{title}}</a></li>", "title", 30, "..", "time", "MM\\/dd")%></ul>
                                        </div>
                                    </div>
                                </div>
                            </td>
                            <td class="td0">
                                <div>&nbsp;</div>
                            </td>
                            <td width="262">
                                <div class="c1">
                                    <div class="b1">
                                        <div class="fl">求职信息</div>
                                        <div class="fr"><a href="/job/list.htm?classid=2">更多&raquo;</a></div>
                                        <div class="clear"></div>
                                    </div>
                                    <div class="v1">
                                        <div class="v1_d">
                                            <ul>
                                                <%=ZK.BindEasy("select top 8 * from job where enable=" + WM.True + " " + ZK.getClassForSqlWhere("job_class", "2") + " order by time desc,id desc", "<li class=\"isred{{isred}}\"><span>{{time}}</span><a title=\"{{#title}}\" href=\"/job/{{ID}}.htm\" target=\"_blank\">{{title}}</a></li>", "title", 30, "..", "time", "MM\\/dd")%></ul>
                                        </div>
                                    </div>
                                </div>
                            </td>
                            <td class="td0">
                                <div>&nbsp;</div>
                            </td>
                            <td width="261">
                                <div class="c1">
                                    <div class="b1">
                                        <div class="fl">生活信息</div>
                                        <div class="fr"><a href="/life/list.htm?classid=1">更多&raquo;</a></div>
                                        <div class="clear"></div>
                                    </div>
                                    <div class="v1">
                                        <div class="v1_d">
                                            <ul>
                                                <%=ZK.BindEasy("select top 8 * from life where enable=" + WM.True + " " + ZK.getClassForSqlWhere("life_class", "1") + " order by time desc,id desc", "<li class=\"isred{{isred}}\"><span>{{time}}</span><a title=\"{{#title}}\" href=\"/life/{{ID}}.htm\" target=\"_blank\">{{title}}</a></li>", "title", 30, "..", "time", "MM\\/dd")%></ul>
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="pt5">
                    <div style="border: solid 1px #ddd; background-color: #fff; height: 88px; line-height: 88px; text-align: center; color: #999;">黄金广告位795X90</div>
                </div>
                <div class="x6 pt5">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td width="261">
                                <div class="c1">
                                    <div class="b1">
                                        <div class="fl">跳蚤市场</div>
                                        <div class="fr"><a href="/life/list.htm?classid=2">更多&raquo;</a></div>
                                        <div class="clear"></div>
                                    </div>
                                    <div class="v1">
                                        <div class="v1_d">
                                            <ul>
                                                <%=ZK.BindEasy("select top 8 * from life where enable=" + WM.True + " " + ZK.getClassForSqlWhere("life_class", "2") + " order by time desc,id desc", "<li class=\"isred{{isred}}\"><span>{{time}}</span><a title=\"{{#title}}\" href=\"/life/{{ID}}.htm\" target=\"_blank\">{{title}}</a></li>", "title", 30, "..", "time", "MM\\/dd")%></ul>
                                        </div>
                                    </div>
                                </div>
                            </td>
                            <td class="td0">
                                <div>&nbsp;</div>
                            </td>
                            <td width="262">
                                <div class="c1">
                                    <div class="b1">
                                        <div class="fl">商务服务</div>
                                        <div class="fr"><a href="/life/list.htm?classid=3">更多&raquo;</a></div>
                                        <div class="clear"></div>
                                    </div>
                                    <div class="v1">
                                        <div class="v1_d">
                                            <ul>
                                                <%=ZK.BindEasy("select top 8 * from life where enable=" + WM.True + " " + ZK.getClassForSqlWhere("life_class", "3") + " order by time desc,id desc", "<li class=\"isred{{isred}}\"><span>{{time}}</span><a title=\"{{#title}}\" href=\"/life/{{ID}}.htm\" target=\"_blank\">{{title}}</a></li>", "title", 30, "..", "time", "MM\\/dd")%></ul>
                                        </div>
                                    </div>
                                </div>
                            </td>
                            <td class="td0">
                                <div>&nbsp;</div>
                            </td>
                            <td width="261">
                                <div class="c1">
                                    <div class="b1">
                                        <div class="fl">同城活动</div>
                                        <div class="fr"><a href="/life/list.htm?classid=4">更多&raquo;</a></div>
                                        <div class="clear"></div>
                                    </div>
                                    <div class="v1">
                                        <div class="v1_d">
                                            <ul>
                                                <%=ZK.BindEasy("select top 8 * from life where enable=" + WM.True + " " + ZK.getClassForSqlWhere("life_class", "4") + " order by time desc,id desc", "<li class=\"isred{{isred}}\"><span>{{time}}</span><a title=\"{{#title}}\" href=\"/life/{{ID}}.htm\" target=\"_blank\">{{title}}</a></li>", "title", 30, "..", "time", "MM\\/dd")%></ul>
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
    <div class="box pt5">
        <div style="border: solid 1px #ddd; background-color: #fff; height: 90px; line-height: 90px; text-align: center; color: #999;">黄金广告位960X90</div>
    </div>
    <div class="box pt5">
        <div class="c1">
            <div class="b1">
                <div class="fl">友情链接</div>
                <div class="fr"><a href="/user/feedback.aspx?parentid=5">申请链接&raquo;</a></div>
                <div class="clear"></div>
            </div>
            <div class="v1">
                <div class="v1_e"><%=ZK.BindLinksFriend(1) %></div>
            </div>
        </div>
    </div>
    <div id="foot">
        <div id="botmenu"><!--#include file="~/s/include/public_botmenu.html" -->
        </div>
        <div id="copyright"><%=ZK.config("copyright")%>
        </div>
    </div>
</body>
</html>
