-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcharacters.php
36 lines (31 loc) · 1 KB
/
characters.php
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
<?php
define("INCLUDED", true); //This is for returning a die message if INCLUDED is not defined on any of the template
$AJAX_PAGE = false;
//################ Required Resources ################
$REQUIRED_RESOURCES = array(
'WoW' => true,
'Realm' => true,
);
//################ Required Files ################
require_once("init.php");
//################ PAGE ACCESS ################
$cms->BannedAccess(false);
eval($cms->SetPageAccess(ACCESS_REGISTERED));
//################ General Variables ################
$page_name[] = array("My Characters"=>"characters.php");
WoW::getZonesArray();
foreach($REALM as $rid => $rdata)
{
$rclass[$rid] = new Realm($rid);
}
//################ Page Functions ################
foreach($REALM as $rid => $rdata)
{
$cdata[$rid] = $rclass[$rid]->FetchCharactersByAccountID("", $USER['id']);
}
$CHARACTERLIST_SHOW_TOOLS = true;
$CHARACTERLIST_MUSTBEONLINE = false;
$CHARACTERLIST_MUSTBEOFFLINE = false;
$CHARACTERLIST_SELECTION = false;
eval($templates->Output('characters_list'));
?>