-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtest.php
More file actions
28 lines (23 loc) · 767 Bytes
/
test.php
File metadata and controls
28 lines (23 loc) · 767 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
28
<?php
/* Sample Page with WebHtml class */
include 'includes/config.php';
$class = 'Ahp' . $lang;
$ahpOs = new $class();
$_SESSION['lang'] = $lang;
$login = new Login();
$pageTitle ='AHP Sample Test Page';
$title = "AHP Sample Test Page";
$subTitle = "Test page for development purposes";
$version = substr('$LastChangedDate: 2022-03-20 09:27:18 +0800 (So, 20 Mär 2022) $', 18, 10);
$rev = trim('$Rev: 182 $', "$");
/* --- Web Page HTML OUTPUT --- */
$webHtml = new WebHtml($pageTitle);
include 'includes/login/form.login-hl.php';
if (!empty($login->errors)) {
echo $login->getErrors();
}
echo "<h1>$title</h1>";
echo "<h2>$subTitle</h2>";
echo "<p>Output here</p>";
// --- echo phpinfo();
$webHtml->webHtmlFooter($version);