<?
//error_reporting(7);
//ini_set("display_errors",true);

if($_COOKIE['esfuserid']>0){
        if($_COOKIE['esf'.GB_CITY.'mesnum']){
        $str='<strong class="alreadyNum"><a href="'.USER_CENTER.'user/mymessage"><span class="numIn">'.$_COOKIE['esf'.GB_CITY.'mesnum'].'</span></a></strong>';
        }else{
		$str='';
		}
		

      $ss= '<dd class="item i_relative" id="jsAlreadyB"><div class="already" id="jsAlready"><span class="name">您好，<a href="'.USER_CENTER.'user">'.$_COOKIE['esfshowname'].'</a></span>'.$str.'</div><div class="i_list i_list2 hide" id="jsAlreadyList"><dl class="i_list_dl"><dd class="i_item"><a target="_blank" href="'.USER_CENTER.'user/selllist" class="link"><span class="tex">我的关注</span></a></dd><dd class="i_item"><a href="'.USER_CENTER.'user/myhousesell" class="link" target="_blank"><span class="tex">房源管理</span></a></dd><dd class="i_item"><a href="'.USER_CENTER.'want/buylist" class="link" target="_blank"><span class="tex">求租求购</span>'.$str1.'</a></dd><dd class="i_item"><a href="'.USER_CENTER.'user/mymessage" class="link" target="_blank"><span class="tex">我的消息</span></a></dd><dd class="i_item i_item2"><a href="'.USER_CENTER.'user/logout" class="link">退出</a></dd></dl></div></dd>';	  
	  


}else{

	$ss='<a href="'.USER_CENTER.'login" target="_blank" rel="nofollow">用户登录</a><a href="'.USER_CENTER.'register" target="_blank" rel="nofollow">注册</a>';

}

header("Content-Type: text/javascript");
echo "document.write('$ss');";

?>