-
Notifications
You must be signed in to change notification settings - Fork 25
/
install.php
executable file
·550 lines (479 loc) · 21.9 KB
/
install.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
<?php
/*
* Copyright (C) 2013-2020 Luna
* Based on code by FluxBB copyright (C) 2008-2012 FluxBB
* Based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* Licensed under GPLv2 (http://getluna.org/license.php)
*/
define('LUNA_SEARCH_MIN_WORD', 3);
define('LUNA_SEARCH_MAX_WORD', 20);
define('LUNA_ROOT', dirname(__FILE__).'/');
// Send the Content-type header in case the web server is setup to send something else
header('Content-type: text/html; charset=utf-8');
// Load the functions script
require LUNA_ROOT.'include/functions.php';
require LUNA_ROOT.'include/draw_functions.php';
// Load Version class
require LUNA_ROOT.'include/version.php';
// Load Installer class
require LUNA_ROOT.'include/install.php';
// Load UTF-8 functions
require LUNA_ROOT.'include/utf8/utf8.php';
// Strip out "bad" UTF-8 characters
forum_remove_bad_characters();
// It might happen you are redirected to this page from backstage/update.php
$action = isset($_GET['action']) ? $_GET['action'] : null;
// Disable error reporting for uninitialized variables
error_reporting(E_ALL);
// Force POSIX locale (to prevent functions such as strtolower() from messing up UTF-8 strings)
setlocale(LC_CTYPE, 'C');
// Turn off magic_quotes_runtime
if (get_magic_quotes_runtime())
set_magic_quotes_runtime(0);
// Strip slashes from GET/POST/COOKIE (if magic_quotes_gpc is enabled)
if (get_magic_quotes_gpc()) {
function stripslashes_array($array) {
return is_array($array) ? array_map('stripslashes_array', $array) : stripslashes($array);
}
$_GET = stripslashes_array($_GET);
$_POST = stripslashes_array($_POST);
$_COOKIE = stripslashes_array($_COOKIE);
$_REQUEST = stripslashes_array($_REQUEST);
}
// Turn off PHP time limit
@set_time_limit(0);
// If we've been passed a default language, use it
$install_lang = isset($_REQUEST['install_lang']) ? luna_trim($_REQUEST['install_lang']) : Installer::DEFAULT_LANG;
// Make sure we got a valid language string
$install_lang = preg_replace('%[\.\\\/]%', '', $install_lang);
// If such a language pack doesn't exist, or isn't up-to-date enough to translate this page, default to English
if (!file_exists(LUNA_ROOT.'lang/'.$install_lang.'/luna.mo'))
$install_lang = 'English';
// Load l10n
require_once LUNA_ROOT.'include/pomo/MO.php';
require_once LUNA_ROOT.'include/l10n.php';
load_textdomain('luna', LUNA_ROOT.'lang/'.$install_lang.'/luna.mo');
// If a config file is in place
if (file_exists(LUNA_ROOT.'config.php')) {
// Check to see whether Luna is already installed
include LUNA_ROOT.'config.php';
// This fixes incorrect defined PUN, FluxBB 1.4 and 1.5 and ModernBB 1.6
if (defined('PUN'))
define('FORUM', PUN);
// If FORUM is defined, config.php is probably valid and thus the software is installed
if (defined('FORUM'))
draw_wall_error(__('It seems like Luna is already installed.', 'luna'), '<a class="btn btn-default btn-lg" href="index.php">'.__('Continue', 'luna').'</a>', __('We\'re done here', 'luna'));
exit;
}
// Define FORUM because email.php requires it
define('FORUM', 1);
// If the cache directory is not specified, we use the default setting
if (!defined('LUNA_CACHE_DIR'))
define('LUNA_CACHE_DIR', LUNA_ROOT.'cache/');
// Make sure we are running at least Version::MIN_PHP_VERSION
if (!Installer::is_supported_php_version())
exit(sprintf(__('You are running %1$s version %2$s. Luna %3$s requires at least %1$s %4$s to run properly. You must upgrade your %1$s installation before you can continue.', 'luna'), 'PHP', PHP_VERSION, Version::LUNA_VERSION, Version::MIN_PHP_VERSION));
if (isset($_POST['generate_config'])) {
header('Content-Type: text/x-delimtext; name="config.php"');
header('Content-disposition: attachment; filename=config.php');
echo Installer::generate_config_file($_POST['db_type'], $_POST['db_host'], $_POST['db_name'], $_POST['db_username'], $_POST['db_password'], $_POST['db_prefix']);
exit;
}
if (!isset($_POST['form_sent'])) {
// Make an educated guess regarding base_url
$base_url = Installer::guess_base_url();
// Make sure base_url doesn't end with a slash
if (substr($base_url, -1) == '/')
$base_url = substr($base_url, 0, -1);
$db_type = $db_name = $db_username = $db_prefix = $username = $email = '';
$db_host = 'localhost';
$title = Version::LUNA_CODE_NAME;
$slogan = __('You can do anything', 'luna');
$description = NULL;
$default_lang = $install_lang;
$default_style = Installer::DEFAULT_STYLE;
} else {
$db_type = $_POST['req_db_type'];
$db_host = luna_trim($_POST['req_db_host']);
$db_name = luna_trim($_POST['req_db_name']);
$db_username = luna_trim($_POST['db_username']);
$db_password = luna_trim($_POST['db_password']);
$db_prefix = luna_trim($_POST['db_prefix']);
$username = luna_trim($_POST['req_username']);
$email = strtolower(luna_trim($_POST['req_email']));
$password1 = luna_trim($_POST['req_password1']);
$password2 = luna_trim($_POST['req_password2']);
$title = luna_trim($_POST['req_title']);
$slogan = luna_trim($_POST['slogan']);
$description = luna_trim($_POST['description']);
$base_url = luna_trim($_POST['req_base_url']);
$default_lang = luna_trim($_POST['req_default_lang']);
$default_style = luna_trim($_POST['req_default_style']);
// Make sure base_url doesn't end with a slash
if (substr($base_url, -1) == '/')
$base_url = substr($base_url, 0, -1);
$alerts = Installer::validate_config($username, $password1, $password2, $email, $title, $default_lang, $default_style);
}
// Check if the cache directory is writable
if (!forum_is_writable(LUNA_CACHE_DIR))
$alerts[] = sprintf(__('<strong>The cache directory is currently not writable!</strong> In order for Luna to function properly, the directory <em>%s</em> must be writable by PHP. Use chmod to set the appropriate directory permissions. If in doubt, chmod to 0777.', 'luna'), LUNA_CACHE_DIR);
// Check if default avatar directory is writable
if (!forum_is_writable(LUNA_ROOT.'img/avatars/'))
$alerts[] = sprintf(__('<strong>The avatar directory is currently not writable!</strong> If you want users to be able to upload their own avatar images you must see to it that the directory <em>%s</em> is writable by PHP. You can later choose to save avatar images in a different directory (see Backstage > Settings). Use chmod to set the appropriate directory permissions. If in doubt, chmod to 0777.', 'luna'), LUNA_ROOT.'img/avatars/');
if (!isset($_POST['form_sent']) || !empty($alerts)) {
// Determine available database extensions
$db_extensions = Installer::determine_database_extensions();
if (empty($db_extensions))
error(__('PHP needs to have support for either MySQL or SQLite to run Luna to be installed. Non is available, though', 'luna'));
// Fetch a list of installed languages
$languages = forum_list_langs();
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php _e('Luna Installation', 'luna') ?></title>
<link rel="stylesheet" type="text/css" href="vendor/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="vendor/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="backstage/css/style.css" />
<link rel="stylesheet" type="text/css" href="backstage/css/accents/2.css" />
<?php
if (__('Direction of language', 'luna') == 'rtl')
echo '<link rel="stylesheet" type="text/css" href="vendor/css/bidirect.css" />';
?>
<script type="text/javascript">
/* <![CDATA[ */
function process_form(the_form) {
var required_fields = {
"req_db_type": "<?php _e('Type', 'luna') ?>",
"req_db_host": "<?php _e('Server hostname', 'luna') ?>",
"req_db_name": "<?php _e('Name', 'luna') ?>",
"req_username": "<?php _e('Username', 'luna') ?>",
"req_password1": "<?php _e('Administrator password 1', 'luna') ?>",
"req_password2": "<?php _e('Administrator password 2', 'luna') ?>",
"req_email": "<?php _e('Email', 'luna') ?>",
"req_title": "<?php _e('Board title', 'luna') ?>",
"req_base_url": "<?php _e('No trailing slash', 'luna') ?>",
};
if (document.all || document.getElementById) {
for (var i = 0; i < the_form.length; ++i) {
var elem = the_form.elements[i];
if (elem.name && required_fields[elem.name] && !elem.value && elem.type && (/^(?:text(?:area)?|password|file)$/i.test(elem.type))) {
alert('"' + required_fields[elem.name] + '" <?php _e('is a required field in this form.', 'luna') ?>');
elem.focus();
return false;
}
}
}
return true;
}
/* ]]> */
</script>
<style>
.container {
margin: 0 auto 30px;
}
</style>
</head>
<body class="installer" onload="document.getElementById('install').start.disabled=false;" onunload="">
<div class="jumbotron jumbotron-brand text-center">
<h1><?php echo _e('Install<span class="brand">Luna</span>', 'luna') ?></h1>
<h2>You can do anything</h2>
</div>
<div class="container">
<?php if (count($languages) > 1): ?>
<form class="form-horizontal" id="install" method="post" action="install.php">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php _e('Install language', 'luna') ?><span class="pull-right"><button type="submit" class="btn btn-primary" name="start"><i class="fas fa-fw fa-language"></i> <?php _e('Change language', 'luna') ?></button></span></h3>
</div>
<div class="panel-body">
<fieldset>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Language', 'luna') ?><span class="help-block"><?php _e('The language used for the installer, the default language for the board can be set below', 'luna') ?></span></label>
<div class="col-sm-9">
<select class="form-control" name="install_lang">
<?php
foreach ($languages as $temp) {
if ($temp == $install_lang)
echo '<option value="'.$temp.'" selected>'.$temp.'</option>';
else
echo '<option value="'.$temp.'">'.$temp.'</option>';
}
?>
</select>
</div>
</div>
</fieldset>
</div>
</div>
</form>
<?php endif; ?>
<?php if (!empty($alerts)): ?>
<div class="panel panel-warning">
<div class="panel-heading">
<h3 class="panel-title"><?php _e('Errors', 'luna') ?></h3>
</div>
<div class="panel-body">
<div class="forminfo error-info">
<?php
foreach ($alerts as $cur_alert)
echo "\t\t\t\t\t\t".$cur_alert.'<br />'."\n";
?>
</div>
</div>
</div>
<?php endif; ?>
<form class="form-horizontal" id="install" method="post" action="install.php" onsubmit="this.start.disabled=true;if(process_form(this)){return true;}else{this.start.disabled=false;return false;}">
<div><input type="hidden" name="form_sent" value="1" /><input type="hidden" name="install_lang" value="<?php echo luna_htmlspecialchars($install_lang) ?>" /></div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php _e('Database', 'luna') ?></h3>
</div>
<div class="panel-body">
<fieldset>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Type', 'luna') ?><span class="help-block"><?php _e('We\'ve listed everything this server knows', 'luna') ?></span></label>
<div class="col-sm-9">
<select class="form-control" name="req_db_type">
<?php
foreach ($db_extensions as $temp) {
if ($temp[0] == $db_type)
echo "\t\t\t\t\t\t\t".'<option value="'.$temp[0].'" selected>'.$temp[1].'</option>'."\n";
else
echo "\t\t\t\t\t\t\t".'<option value="'.$temp[0].'">'.$temp[1].'</option>'."\n";
}
?>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Server hostname', 'luna') ?></label>
<div class="col-sm-9">
<input type="text" class="form-control" name="req_db_host" value="<?php echo luna_htmlspecialchars($db_host) ?>" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Name', 'luna') ?></label>
<div class="col-sm-9">
<input id="req_db_name" type="text" class="form-control" name="req_db_name" value="<?php echo luna_htmlspecialchars($db_name) ?>" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Username', 'luna') ?></label>
<div class="col-sm-9">
<input type="text" class="form-control" name="db_username" value="<?php echo luna_htmlspecialchars($db_username) ?>" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Password', 'luna') ?></label>
<div class="col-sm-9">
<input type="password" class="form-control" name="db_password" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Table prefix', 'luna') ?><span class="help-block"><?php _e('Set for more Luna installation in this database', 'luna') ?></span></label>
<div class="col-sm-9">
<input id="db_prefix" type="text" class="form-control" name="db_prefix" value="<?php echo luna_htmlspecialchars($db_prefix) ?>" maxlength="30" />
</div>
</div>
</fieldset>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php _e('Administration', 'luna') ?></h3>
</div>
<div class="panel-body">
<fieldset>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Username', 'luna') ?><span class="help-block"><?php _e('2 to 25 characters long', 'luna') ?></span></label>
<div class="col-sm-9">
<input type="text" class="form-control" name="req_username" value="<?php echo luna_htmlspecialchars($username) ?>" maxlength="25" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Password', 'luna') ?><span class="help-block"><?php _e('At least 6 characters long', 'luna') ?></span></label>
<div class="col-sm-9">
<div class="row">
<div class="col-sm-6">
<input id="req_password1" type="password" class="form-control" name="req_password1" />
</div>
<div class="col-sm-6">
<input type="password" class="form-control" name="req_password2" />
</div>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Email', 'luna') ?></label>
<div class="col-sm-9">
<input id="req_email" type="text" class="form-control" name="req_email" value="<?php echo luna_htmlspecialchars($email) ?>" maxlength="80" />
</div>
</div>
</fieldset>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php _e('Board', 'luna') ?></h3>
</div>
<div class="panel-body">
<fieldset>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Title', 'luna') ?></label>
<div class="col-sm-9">
<input id="req_title" type="text" class="form-control" name="req_title" value="<?php echo luna_htmlspecialchars($title) ?>" maxlength="255" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Slogan', 'luna') ?></label>
<div class="col-sm-9">
<input id="slogan" type="text" class="form-control" name="slogan" value="<?php echo luna_htmlspecialchars($slogan) ?>" maxlength="255" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Description', 'luna') ?></label>
<div class="col-sm-9">
<input id="description" type="text" class="form-control" name="description" value="<?php echo luna_htmlspecialchars($description) ?>" maxlength="255" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Board URL', 'luna') ?><span class="help-block"><?php _e('No trailing slash', 'luna') ?></span></label>
<div class="col-sm-9">
<input id="req_base_url" type="text" class="form-control" name="req_base_url" value="<?php echo luna_htmlspecialchars($base_url) ?>" maxlength="100" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Default language', 'luna') ?></label>
<div class="col-sm-9">
<select id="req_default_lang" class="form-control" name="req_default_lang">
<?php
$languages = forum_list_langs();
foreach ($languages as $temp) {
if ($temp == $default_lang)
echo "\t\t\t\t\t\t\t\t\t\t\t".'<option value="'.$temp.'" selected>'.$temp.'</option>'."\n";
else
echo "\t\t\t\t\t\t\t\t\t\t\t".'<option value="'.$temp.'">'.$temp.'</option>'."\n";
}
?>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php _e('Default theme', 'luna') ?></label>
<div class="col-sm-9">
<select id="req_default_style" class="form-control" name="req_default_style">
<?php
$styles = forum_list_styles();
foreach ($styles as $temp) {
if ($temp == $default_style)
echo "\t\t\t\t\t\t\t\t\t".'<option value="'.$temp.'" selected>'.str_replace('_', ' ', $temp).'</option>'."\n";
else
echo "\t\t\t\t\t\t\t\t\t".'<option value="'.$temp.'">'.str_replace('_', ' ', $temp).'</option>'."\n";
}
?>
</select>
</div>
</div>
</fieldset>
</div>
</div>
<button type="submit" class="btn btn-primary btn-lg btn-block" name="start"><i class="fas fa-fw fa-check"></i> <?php _e('Start install', 'luna') ?></button>
</form>
</div>
</body>
</html>
<?php
} else {
// Enable/disable avatars depending on file_uploads setting in PHP configuration
$avatars = in_array(strtolower(@ini_get('file_uploads')), array('on', 'true', '1'));
// Create the tables
$db = Installer::create_database($db_type, $db_host, $db_name, $db_username, $db_password, $db_prefix, $title, $slogan, $description, $default_lang, $default_style, $email, $avatars, $base_url);
// Insert some other default data
Installer::insert_default_groups(); // groups
Installer::insert_default_users($username, $password1, $email, $default_lang); // users
Installer::insert_default_menu(); // menus
Installer::insert_default_data(); // other stuff, like ranks
$alerts = array();
// Check if we disabled uploading avatars because file_uploads was disabled
if (!$avatars)
$alerts[] = __('<strong>File uploads appear to be disallowed on this server!</strong> If you want users to be able to upload their own avatar images you must enable the file_uploads configuration setting in PHP. Once file uploads have been enabled, avatar uploads can be enabled in Backstage > Settings > Features.', 'luna');
// Generate the config.php file data
$config = Installer::generate_config_file($db_type, $db_host, $db_name, $db_username, $db_password, $db_prefix);
// Attempt to write config.php and serve it up for download if writing fails
$written = false;
if (forum_is_writable(LUNA_ROOT)) {
$fh = @fopen(LUNA_ROOT.'config.php', 'wb');
if ($fh) {
fwrite($fh, $config);
fclose($fh);
$written = true;
}
}
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php _e('Luna Installation', 'luna') ?></title>
<link rel="stylesheet" type="text/css" href="vendor/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="vendor/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="backstage/css/style.css" />
<link rel="stylesheet" type="text/css" href="backstage/css/accents/2.css" />
<style>
.container {
margin: 0 auto 30px;
}
</style>
</head>
<body class="installer" onload="document.getElementById('install').start.disabled=false;" onunload="">
<div class="jumbotron jumbotron-brand text-center">
<h1><?php echo _e('Install<span class="brand">Luna</span>', 'luna') ?></h1>
<h2>You can do anything</h2>
</div>
<div class="container">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php _e('Luna Installation', 'luna') ?></h3>
</div>
<div class="panel-body">
<p><?php _e('Luna has been installed. To finalize the installation please follow the instructions below.', 'luna') ?></p>
<?php
if (!$written) {
?>
<form class="form-horizontal" method="post" action="install.php">
<p><?php _e('To finalize the installation, you need to click on the button below to download a file called config.php. You then need to upload this file to the root directory of your Luna installation.', 'luna') ?></p>
<p><?php _e('Once you have uploaded config.php, Luna will be fully installed! At that point, you may <a href="index.php">go to the forum index</a>.', 'luna') ?></p>
<input type="hidden" name="generate_config" value="1" />
<input type="hidden" name="db_type" value="<?php echo $db_type; ?>" />
<input type="hidden" name="db_host" value="<?php echo $db_host; ?>" />
<input type="hidden" name="db_name" value="<?php echo luna_htmlspecialchars($db_name); ?>" />
<input type="hidden" name="db_username" value="<?php echo luna_htmlspecialchars($db_username); ?>" />
<input type="hidden" name="db_password" value="<?php echo luna_htmlspecialchars($db_password); ?>" />
<input type="hidden" name="db_prefix" value="<?php echo luna_htmlspecialchars($db_prefix); ?>" />
<?php if (!empty($alerts)): ?> <div class="alert alert-danger">
<ul>
<?php
foreach ($alerts as $cur_alert)
echo "\t\t\t\t\t".'<li>'.$cur_alert.'</li>'."\n";
?>
</ul>
</div>
<?php endif; ?>
<input type="submit" class="btn btn-primary" value="<?php _e('Download config.php file', 'luna') ?>" />
</form>
<?php
} else {
?>
<p><?php _e('Luna has been fully installed! You may now <a href="index.php">go to the forum index</a>.', 'luna') ?></p>
<?php
}
?>
</div>
</div>
</div>
</body>
</html>
<?php
}