<%@ page language="C#" autoeventwireup="true" inherits="include_head_, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<div class="box" id="PageHeadBox">
    <div class="head">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tb1">
            <tr>
                <td width="336"><div class="logo"></div></td>
                <td><div class="gg" id="page_head_gg"><!--#include file="~/s/gg/AD_top.html"--></div></td>
                <td width="280">
                    <div class="login">
                        <div class="abs" id="qqloginbox_" style="margin:6px 0 0 -130px;display:none"><a href="/user/logintoqq.aspx" target="_blank" <%--onclick='toQzoneLogin_()'--%>><img alt="QQ登录" src="/skin/public/Connect_logo_3.png" /></a></div>                    
                        <table id="head_login_box" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td><strong>用户帐号：</strong></td>
                                <td><input type="text" class="inp1" id="city_user" maxlength="200" value="用户名/手机号/邮箱" onfocus="if(this.value=='用户名/手机号/邮箱')this.value=''" onblur="if(this.value=='')this.value='用户名/手机号/邮箱'" tabindex="1" onkeyup="logininputonkeyup(event)" /><script type="text/javascript">if(GetCookie("CK_city_user")!=null&&GetCookie("CK_city_user")!="null"&&GetCookie("CK_city_user")!="")document.getElementById("city_user").value=GetCookie("CK_city_user");</script></td>
                                <td><input type="button" id="head_login_btn" class="but1" value="登录" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" onclick="SetCookie('CK_city_user',document.getElementById('city_user').value,365);return check_login()" tabindex="3" /></td>
                            </tr>
                            <tr>
                                <td><strong>用户密码：</strong></td>
                                <td><input type="password" class="inp1" id="city_pwd" maxlength="20" tabindex="2" onkeyup="logininputonkeyup(event)" /></td>
                                <td><input type="button" value="注册" class="but2" onclick="window.location='/user/reg.htm?ReturnUrl='+base64en(location.href)" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" tabindex="4" /></td>
                            </tr>
                        </table>
                        <div id="logined_box" style="display: none">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr valign="top">
                                    <td width="66"><a href="/user/control.aspx?head"><img alt="会员头像" src="<%=ZK.m_face(ZK.uid,"50")%>" class="user_img" onmouseover="hover(this,0.7)" onmouseout="hover(this,1)" /></a></td>
                                    <td>
                                        <ul>
                                            <li><span class="str"><a title="进入我的空间" href="/space/?uid=<%=ZK.uid %>"><%=WM.cut(ZK.m_u(ZK.uid),14,"..")%></a></span>，您好！</li>
                                            <li><a href="/user/control.aspx">进入我的会员中心</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/user/mail.aspx">消息(<%=ZK.getMailCount %>)条</a></li>
                                            <li><span id="logined_head_flexible"><a href="/user/control.aspx" target="_blank">我要发布信息</a></span>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#" onclick="logout()">安全退出</a></li>
                                        </ul>
                                        <script type="text/javascript">
                                             if(location.href.toLowerCase().indexOf("/life/")!=-1)document.getElementById("logined_head_flexible").innerHTML="<a href=\"/user/life_do.aspx\">发布生活信息</a>";
                                             else if(location.href.toLowerCase().indexOf("/house/")!=-1&&location.href.toLowerCase().indexOf("demand")!=-1)document.getElementById("logined_head_flexible").innerHTML="<a href=\"/user/housedemand_do.aspx\">发布求租求购信息</a>";
                                             else if(location.href.toLowerCase().indexOf("/house/")!=-1&&location.href.toLowerCase().indexOf("sell")!=-1)document.getElementById("logined_head_flexible").innerHTML="<a href=\"/user/housesell_do.aspx\">发布房屋出售信息</a>";
                                             else if(location.href.toLowerCase().indexOf("/house/")!=-1&&location.href.toLowerCase().indexOf("rent")!=-1)document.getElementById("logined_head_flexible").innerHTML="<a href=\"/user/houserent_do.aspx\">发布房屋出租信息</a>";
                                        </script>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <asp:Literal ID="LiteralLogined" runat="server"></asp:Literal>
                        <script type="text/javascript">
                            if(document.getElementById("head_login_box").style.display!="none"&&<%=ZK.config("qqloginswitch") %>=="1"){document.getElementById("qqloginbox_").style.display="";document.getElementById("page_head_gg").innerHTML="&nbsp;";}
                            function toQzoneLogin_(){var A=window.open("/user/logintoqq.aspx","TencentLogin","width=450,height=320,menubar=0,scrollbars=1,resizable=1,status=1,titlebar=0,toolbar=0,location=1"); } 
                            /*Pure static front page to delete this annotation/*
                            if(location.href.toLowerCase().indexOf("/index.html")!=-1||location.href==location.protocol+'//'+location.host+"/"){document.getElementById("head_login_box").style.display="";document.getElementById("logined_box").style.display="none";}
                            //*/
                        </script>
                    </div>
                    <div class="switch_style" <%=WMcompare.IsEqual(ZK.config("cssskswitch"), "0", "style=\"display:none\"", "")%>>
                        <div class="switchstyletip" id="switchstyletip" style="display:none"><div title="点击关闭，不再提示！" onclick="SetCookie('switchstyletip','close',7);document.getElementById('switchstyletip').style.display='none'"><span>点击这里切换网站皮肤</span></div></div>
                        <script type="text/javascript">if(GetCookie("switchstyletip")!="close")document.getElementById("switchstyletip").style.display="";</script>
                        <img alt="切换网站风格" src="/skin/public/switch_style.gif" onclick="switch_style()" onmouseover="hover(this,0.6)" onmouseout="hover(this,1)" />
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <script type="text/javascript" src="/s/skin/base64.js"></script>
    <script type="text/javascript" src="/s/skin/input.js"></script>
    <script type="text/javascript" src="/s/skin/AC_RunActiveContent.js"></script>
    <script type="text/javascript" src="/s/skin/dropmenu.js"></script>
    <script type="text/javascript" src="/s/skin/image.js"></script>
    <script type="text/javascript" src="/s/skin/tinybox.js"></script>
    <script type="text/javascript" src="/skin/public/slide.js"></script>
    <div class="nav">
        <ul><!--#include file="~/s/include/public_nav.html" --></ul>
        <div class="clear"></div>
    </div>
    <div class="subnav"><!--#include file="~/s/include/public_subnav.html" --></div>
    <div class="search_bar mt5">
        <table border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td>
                    <div class="drop_arr"><img alt="" src="/skin/public/none.gif" width="26" height="26" style="cursor: pointer" onclick="show_search_type()" /></div>
                    <div class="search_type" id="search_type" style="display: none">
                        <ul>
                            <li><a href="javascript:void(0)" onclick="set_search_type('',this.innerHTML)">不限</a></li>
                            <li onmouseover="search_count('life')"><a href="javascript:void(0)" onclick="set_search_type('life',this.innerHTML)">生活信息<span id="search_count_life"></span></a></li>
                            <li onmouseover="search_count('rent')"><a href="javascript:void(0)" onclick="set_search_type('rent',this.innerHTML)">房屋出租<span id="search_count_rent"></span></a></li>
                            <li onmouseover="search_count('sell')"><a href="javascript:void(0)" onclick="set_search_type('sell',this.innerHTML)">房屋出售<span id="search_count_sell"></span></a></li>
                            <li onmouseover="search_count('job')"><a href="javascript:void(0)" onclick="set_search_type('job',this.innerHTML)">招聘求职<span id="search_count_job"></span></a></li>
                            <li onmouseover="search_count('company')"><a href="javascript:void(0)" onclick="set_search_type('company',this.innerHTML)">企业商家<span id="search_count_company"></span></a></li>
                            <li onmouseover="search_count('news')"><a href="javascript:void(0)" onclick="set_search_type('news',this.innerHTML)">新闻资讯<span id="search_count_news"></span></a></li>
                            <li onmouseover="search_count('bbs')"><a href="javascript:void(0)" onclick="set_search_type('bbs',this.innerHTML)">论坛帖子<span id="search_count_bbs"></span></a></li>
                        </ul>
                    </div>
                    <input type="text" class="inp3" id="search_type_text" maxlength="30" value="搜索所有类型" onclick="show_search_type()" /><input id="search_type_value" type="hidden" value="" />
                </td>
                <td><input type="text" class="inp2" id="k" maxlength="30" value="请输入关键字" onfocus="if(this.value=='请输入关键字')this.value=''" onblur="if(this.value=='')this.value='请输入关键字';replaceCharLegal(this,this.value)" onkeyup="searchinputonkeyup(event)" /></td>
                <td><input type="button" id="search_btn" class="but3" value="搜索" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" onclick="dosearch(document.getElementById('search_type_value').value,document.getElementById('k').value)" /></td>
                <td><strong>热门搜索：</strong></td>
                <td class="hot_search_key"><div class="flow" style="width: 310px; line-height: 32px; height: 32px; padding: 0 10px 0 6px;"><asp:Literal ID="Literal_hotkey" runat="server"></asp:Literal></div></td>
                <td class="more_search_key"><asp:HyperLink ID="HyperLink_hotkey_more" runat="server" NavigateUrl="/user/wordkey.htm" Target="_blank">更多</asp:HyperLink></td>
            </tr>
        </table>
    </div>
</div>
<%--<noscript><style type="text/css">body,.wrap{background-color:#fff;background-image:none;}.box{display:none;}</style><div class="noscript">您的浏览器不支持Javascript，请升级你的浏览器或者打开Javascript支持！</div></noscript>--%>
