-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathnew_player.php
More file actions
executable file
·48 lines (41 loc) · 2 KB
/
new_player.php
File metadata and controls
executable file
·48 lines (41 loc) · 2 KB
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
40
41
42
43
44
45
46
47
48
<?php
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2 of the License, or (at your
// option) any later version.
//
// File: new.php
include ("config/config.php");
include ("languages/$langdir/lang_new.inc");
include ("languages/$langdir/lang_profile.inc");
$title = $l_new_title;
// Skinning stuff
if($playerinfo['template'] == '' or !isset($playerinfo['template'])){
$templatename = $default_template;
}else{
$templatename = $playerinfo['template'];
}
include ("header.php");
$template_object->assign("templatename", $templatename);
$template_object->assign("title", $title);
$template_object->assign("l_new_closed_message", $l_new_closed_message);
$template_object->assign("account_creation_closed", $account_creation_closed);
$template_object->assign("l_login_email", $l_login_email);
$template_object->assign("l_new_shipname", $l_new_shipname);
$template_object->assign("l_new_pname", $l_new_pname);
$template_object->assign("l_submit", $l_submit);
$template_object->assign("l_reset", $l_reset);
$template_object->assign("l_new_info", $l_new_info);
$template_object->assign("tournament_setup_access", $tournament_setup_access);
$template_object->assign("tournament_mode", $tournament_mode);
$template_object->assign("profile_only_server", $profile_only_server);
$template_object->assign("enable_profilesupport", $enable_profilesupport);
$template_object->assign("l_profile_description", $l_profile_description);
$template_object->assign("l_profile_name", $l_profile_name);
$template_object->assign("l_profile_password", $l_profile_password);
$template_object->assign("url", rawurlencode($_SERVER['HTTP_HOST'] . $gamepath));
$template_object->assign("game", rawurlencode($game_name));
$template_object->assign("game_number", $game_number);
$template_object->display($default_template."new.tpl");
include ("footer.php");
?>