=0){ $_AccountShowName = strtoupper($_AccountShowName); define('SSR','cny' ); } if($name_length==3||$name_length==4){ $userdatafile = tools::includeUserData(strtoupper($_AccountShowName),'apt'); if ($ret = @include_once $userdatafile){ $_AccountShowName = strtoupper($_AccountShowName); define('SSR','apt' ); } } } define('SSR','' ); $_insUidCk = new V8UidCk(false); list($avatarUrl,) = tools::getStorage('avatars'); $defaultAvatar_2 = $avatarUrl . 'default_2.jpg'; $defaultAvatar_3 = $avatarUrl . 'default_3.jpg'; try{ $_insUidCk->initCK(); if ($_insUidCk->CKinSession()) { $sesUserID = $_insUidCk->getUserID(); $sesUserName = $_insUidCk->getValueCK('UserName'); //there is no name in the query string, but the user is in session. //if(empty($_AccountShowName)|| strlen($_AccountShowName)==0) if(empty($_AccountShowName)) $_AccountShowName=$sesUserName; if($_AccountShowName==$sesUserName){ $_AccountShowID = $sesUserID; $login_and_visit_home = true; } $alreadyLogin=true; } //no user ref found. go out or go to index page. if(empty($_AccountShowName)|| strlen($_AccountShowName)==0) throw new V9Exception('703'); //now get show user data $userdatafile = tools::includeUserData($_AccountShowName,SSR); if ($ret = @include $userdatafile){ $_AccountShowData = $_userdata_["$lang"]? $_userdata_["$lang"]:$_userdata_; $_AccountShowFollowData = $_FollowData_; $_AccountShowbeFollowData = $_beFollowData_; if(empty($_AccountShowID)) $_AccountShowID = key($_AccountShowData); //reset name, overwrite one in query string. in the case of country or airport , this is different from the one in the query string. //$_AccountShowName= $_AccountShowData["$_AccountShowID"]['name']; }else throw new V9Exception('702'); if($login_and_visit_home){ $SessAccData = $_AccountShowData; $SessAccFollowData = $_AccountShowFollowData; }elseif($alreadyLogin){ //get login user's data unset($_userdata_); unset($_FollowData_); $userdatafile = tools::includeUserData($sesUserName); if ($ret = @include $userdatafile){ $SessAccData = $_userdata_; $SessAccFollowData = $_FollowData_; }else throw new V9Exception('702'); } }catch (V9Exception $e){ $e->handleError(); }catch (Exception $e){ print $e->getMessage(); print "\n
\n"; exit; } $_AccShortShow = $_AccountShowData["$_AccountShowID"]['short']; $_AccavatarShow = $avatarUrl . $_AccountShowID.'_2.jpg'; $_AccScreenName = empty($refMappingRe["$_AccountShowName"])?$_AccountShowName:$refMappingRe["$_AccountShowName"]; $formhash = tools::formhash(); ?> <?php print $_AccountShowName .$language_std['txt_lable_title_follower'] ?>

handleError();} $rqtCurrentPage = tools::getParameter('page',1); $tpl = 'followdetail'; include 'pageparts.inc'; ?>