a basic skeleton is coming together...\nadded a header and footer to be used on all the pages
This commit is contained in:
parent
6b313a8ead
commit
fbf666fea9
|
@ -0,0 +1,12 @@
|
|||
# - # - # - # - # - # - # - #
|
||||
# #
|
||||
# ~chan #
|
||||
# - #
|
||||
# by stilbruch #
|
||||
# #
|
||||
# - # - # - # - # - # - # - #
|
||||
|
||||
# this is such a lonely file...
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
# - # - # - # - # - # - # - #
|
||||
# #
|
||||
# ~chan #
|
||||
# - #
|
||||
# by stilbruch #
|
||||
# #
|
||||
# - # - # - # - # - # - # - #
|
||||
|
||||
// Load in display variables
|
||||
$title = $title ?? '~chan';
|
||||
|
||||
?>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="/css/main.css">
|
||||
<title><?php echo $title; ?></title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
body {
|
||||
font-family: monospace;
|
||||
}
|
16
index.php
16
index.php
|
@ -1,3 +1,19 @@
|
|||
<?php
|
||||
# - # - # - # - # - # - # - #
|
||||
# #
|
||||
# ~chan #
|
||||
# - #
|
||||
# by stilbruch #
|
||||
# #
|
||||
# - # - # - # - # - # - # - #
|
||||
|
||||
$path = $_SERVER['DOCUMENT_ROOT'];
|
||||
include($path . '/core/header.php');
|
||||
|
||||
echo "Hello World!1!"
|
||||
?>
|
||||
|
||||
<?php
|
||||
include($path . '/core/footer.php');
|
||||
# the end...
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue