aboutsummaryrefslogtreecommitdiffstats
path: root/web/newindex.php
diff options
context:
space:
mode:
authorfloam <floam@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-02 06:05:40 +0000
committerfloam <floam@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-02 06:05:40 +0000
commit44d08ff2ddedc0ac2100ce92dce113d31dee7c14 (patch)
tree4c375bfd4fd8d84eb166157f9dabcf5888f0c559 /web/newindex.php
parentfbd2525b03247e019854c8b52b71030f0014fb81 (diff)
downloadioquake3-aero-44d08ff2ddedc0ac2100ce92dce113d31dee7c14.tar.gz
ioquake3-aero-44d08ff2ddedc0ac2100ce92dce113d31dee7c14.zip
* Starting new version in PHP with multiple sections and rewritten words
[eventually]. Right now it's totally untested and is the base I'm starting from. This shouldn't bother anyone viewing the real site. git-svn-id: svn://svn.icculus.org/quake3/trunk@223 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'web/newindex.php')
-rw-r--r--web/newindex.php41
1 files changed, 41 insertions, 0 deletions
diff --git a/web/newindex.php b/web/newindex.php
new file mode 100644
index 0000000..95d7a0c
--- /dev/null
+++ b/web/newindex.php
@@ -0,0 +1,41 @@
+<?php
+set_include_path("include");
+require("thebrain.php");
+ob_start();
+?>
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+ <meta content="application/xhtml+xml; charset=UTF-8" />
+ <title>icculus.org/quake3 <?php //echo current section ?></title>
+ <link rel="stylesheet" href="ioq3.css" type="text/css" />
+</head>
+<body>
+ <h1>icculus.org/quake3</h1>
+ <div id="navigation">
+ <?php
+ foreach ($navlist as $file => $alias) {
+ echo "<li";
+ if ($file == $_GET['page']) { echo " class=\"current\" "; }
+ echo "><a href=\"/$file\">$alias</a></li>\n";
+ }
+ ?>
+ </div>
+ <div id="content">
+ <?php safe_include($_GET['page']); ?>
+ </div>
+ <div id="footer">
+ <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://icculus.org/quake3/ioq3.css">
+ Valid CSS
+ </a>|
+ <a href="http://validator.w3.org/check?uri=http://icculus.org/quake3">
+ Valid XHTML
+ </a>|
+ <a href="http://icculus.org">icculus.org</a>
+ <br />
+ Website Design by <a href="http://floam.sh.nu" title="floam">Aaron Gyes</a>
+ </div>
+</body>
+</html>
+<?php ob_end_flush(); ?>