chdir('../Forum');require_once('global.php');$arr = $vbulletin->userinfo;$usergroup = $arr['displaygroupid']; if ($usergroup=="") $usergroup = $arr['usergroupid'];//change dir backchdir('../backtomydir');