'; } else { echo ""; } ?> \n"; } if ($desc !== '') echo " "; foreach ($scripts as $s) echo ""; ?> "; echo "
"; echo " "; echo "
"; echo "
"; echo "
"; ?>
Copyright © 2011-2013 pathery.com
Facebook Reddit Twitter Google Plus
"; echo "
"; //Empty first-div contains sound manager stuff echo '
'; echo '

Sign in

Do you have an account here?

Sign in with Google Sign in with Yahoo Sign in with Twitter Learn more about OpenID Learn more about OAuth X
'; echo '
'; foreach ($headerLinks as $key => $value) { if ($request == $key) { $selected = " selected"; } else { $selected = ""; } echo "$value"; } echo "
"; if ($accepted) { echo "
"; echo " Logged in as $_SESSION[displayName]
"; if ($_SESSION['displayName'] == 'noname') echo " Update your name | "; echo " Logout"; echo "
"; echo "
"; } else { ?> Sign in "; echo "
"; //div id='user' } function userDataToJS() { global $wallColor, $wallEmblem, $wallOrientation, $accepted; if (!$accepted) { $r = 'var userObj = {"wallColor":false,"wallEmblem":false,"wallOrientation":false,'; $r .= '"ID":"-1","accepted":false,"hasInsaneSpeed":false};'; } else { $userID = $_SESSION['userID']; $hasInsaneSpeed = hasExtrasUnlock($userID, UNLOCK_EXTRAS, MISC_UNLOCK_INSANE_SPEED); $r = 'hasInsaneSpeed":'.$hasInsaneSpeed.'};'."\n"; $json = array('ID' => 'fat'); $json['ID'] = $userID; $json['wallColor'] = $wallColor; $json['wallEmblem'] = $wallEmblem; $json['wallOrientation'] = $wallOrientation; $json['hasInsaneSpeed'] = $hasInsaneSpeed; $json['accepted'] = 'true'; $encoded = json_encode($json); $r = 'var userObj = decryptJSON(\''.json_encode($json).'\');'."\n"; } return $r; } ?>