-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
27 lines (23 loc) · 699 Bytes
/
Copy pathindex.php
File metadata and controls
27 lines (23 loc) · 699 Bytes
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
<?php
//
// Copyright (C) 2016 - Bugzilla @ Twinoid - This program is free software
// distributed under the GNU Affero General Public License, verion 3 or later.
// No warranty. See the files LICENSE and/or README.md for details.
//
include_once('include/session.php');
$page_title = "DinoMap";
include_once('include/header.php');
if (isset($_SESSION['name'])) {
echo localized_msg([
"fr" => "<h2>Bienvenue, " . $_SESSION['name'] . " !</h2>\n",
"en" => "<h2>Welcome, " . $_SESSION['name'] . "!</h2>\n"
]);
} else {
echo localized_msg([
"fr" => "<h2>Bienvenue !</h2>\n",
"en" => "<h2>Welcome!</h2>\n"
]);
}
?>
<p>Test...</p>
<?php include_once('include/footer.php'); ?>