Backported wiki.php from parent

This commit is contained in:
Ubergeek 2019-07-03 01:15:44 +00:00
parent 507d5daf07
commit f2b65f5fec
1 changed files with 11 additions and 1 deletions

View File

@ -3,16 +3,26 @@
include('config.php');
$page = $_GET['page'];
$style = $_GET['style'];
if ( $page == "") {
$page = "main";
}
if ( $style == "") {
if ( $site_style == "") {
$site_style="site";
}
}
else {
$site_style=$style;
}
print "<!DOCTYPE html>
<html lang='en'>
<head>
<title>$site_name - $page</title>
<link rel='stylesheet' type='text/css' href='$site_root/includes/site.css'>
<link rel='stylesheet' type='text/css' href='$site_root/includes/$site_style.css'>
</head>
<body>
<!-- Begin Header -->