1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
|
function get() {
global $lang, $session, $SID_ARG_1ST, $SID_ARG_2ND, $SID_ARG_2ND_UN;
$this->counter++;
if (isset($this->useronlinecache[$this->counter])) {
if (!$this->useronlinecache[$this->counter]['invisible'] || $this->can_view_ghosts == 1) {
switch ($this->useronlinecache[$this->counter]['script']) {
case "lexicon/lexikon_index.html":
$location = $lang->get("LANG_WIW_FILE_LEXICON/LEXIKON_INDEX", array('$SID_ARG_1ST' => $SID_ARG_1ST));
break;
case "index.php":
$location = $lang->get("LANG_WIW_FILE_INDEX", array('$SID_ARG_1ST' => $SID_ARG_1ST));
break;
case "wiw.php":
$location = $lang->get("LANG_WIW_FILE_WIW", array('$SID_ARG_1ST' => $SID_ARG_1ST));
break;
case "register.php":
case "regimage.php":
$location = $lang->get("LANG_WIW_FILE_REGISTER", array('$SID_ARG_1ST' => $SID_ARG_1ST));
break;
case "usercp.php":
$location = $lang->get("LANG_WIW_FILE_USERCP", array('$SID_ARG_1ST' => $SID_ARG_1ST));
break;
case "login.php":
$location = $lang->get("LANG_WIW_FILE_LOGIN");
break;
case "profile.php":
if (isset($this->useronlinecache[$this->counter]['profile_userid']) && isset($this->usercache[$this->useronlinecache[$this->counter]['profile_userid']])) {
$userid = $this->useronlinecache[$this->counter]['profile_userid'];
$username = $this->usercache[$userid];
$location = $lang->get("LANG_WIW_FILE_PROFILE", array('$userid' => $userid, '$SID_ARG_2ND' => $SID_ARG_2ND, '$username' => $username)); |