aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorNathan Lasseter <nathan@4574.co.uk>2013-01-13 21:42:20 +0000
committerNathan Lasseter <nathan@4574.co.uk>2013-01-13 21:42:20 +0000
commit784d39145f3c395c0cf6f742b8414f1c215736ec (patch)
tree2c0b71675052a99ff7d358a2f30d361f3aa8da4c /index.php
parentd1d90fe7532e615912e4bce9c623a9d74e215cd5 (diff)
Removed inflexible top.php
Diffstat (limited to 'index.php')
-rw-r--r--index.php20
1 files changed, 19 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9541b14..1eac730 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,24 @@
<?php
- require("top.php");
+ require("settings.php");
+?>
+<!DOCTYPE html>
+<html>
+
+<head>
+ <title><?php echo $blogTitle; ?></title>
+ <link rel="stylesheet" type="text/css" href="<?php echo $blogRoot; ?>styles.css" />
+</head>
+
+<body>
+<div id="title">
+<h1><?php echo $blogHead; ?></h1>
+<a class="toplink" href="<?php echo $blogRoot; ?>">Home</a>
+<a class="toplink" href="<?php echo $blogRoot; ?>archives.php">Archives</a>
+<a class="toplink" href="<?php echo $blogRoot; ?>post.php">Post</a>
+</div>
+
+<?php
$start = 0;
$show = 5;
if(isset($_GET['start'])) $start = $_GET['start'];