<?
//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='';
		}*/

$str='';
      if(GB_CITY=='nj'){
      $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></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"><a href="'.USER_CENTER.'user/myask" class="link" target="_blank"><span class="tex">我的问答</span></a></dd><dd class="i_item"><a href="'.USER_CENTER.'user/logout" class="link"><span class="tex texLast">退出</span></a></dd></dl></div></dd>';
	  }else{
      $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" style="display:none"><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></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"><a href="'.USER_CENTER.'user/logout" class="link"><span class="tex texLast">退出</span></a></dd></dl></div></dd>';	  
	  }


}else{
    
	$ss='<dd class="item"><a href="'.USER_CENTER.'login" target="_blank" rel="nofollow">个人用户登录</a></dd><dd class="item"><a href="'.USER_CENTER.'register" target="_blank" rel="nofollow">注册</a></dd>';
    

}

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

?>