mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-28 06:53:50 +00:00
This is a template file for adding new pages. Use this to create new content. :)
This commit is contained in:
parent
999b190499
commit
d21f54bfa5
1 changed files with 34 additions and 0 deletions
34
template.php
Normal file
34
template.php
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<?PHP
|
||||||
|
$sitename = "The QuakeForge Project";
|
||||||
|
$pagename = "Page Name";
|
||||||
|
include("parts/library.php"); // Load function library
|
||||||
|
include("parts/head.php"); // Load the HEAD and open BODY
|
||||||
|
include("parts/topstrip.php"); // Display top strip
|
||||||
|
include("parts/titletable.php"); // Display main title w/ logos
|
||||||
|
?>
|
||||||
|
<TABLE width="100%" cellspacing=0 cellpadding=0 border=0>
|
||||||
|
<TR valign="top">
|
||||||
|
<?php
|
||||||
|
include("parts/menu.php"); // Import left-side menus
|
||||||
|
tableSpacer( 1, 9, 1, "black"); // Separate content from menus
|
||||||
|
?>
|
||||||
|
<TD width="100%">
|
||||||
|
<?php
|
||||||
|
$focused = "none"; // name of focused icon
|
||||||
|
include( "parts/topmain.php" ); // Display content top table
|
||||||
|
?>
|
||||||
|
<P>
|
||||||
|
Body Goes Here
|
||||||
|
</TD>
|
||||||
|
<?php
|
||||||
|
tableSpacer( 1, 9, 1, "black");
|
||||||
|
?>
|
||||||
|
</TR>
|
||||||
|
<TR>
|
||||||
|
<TD COLSPAN="4">
|
||||||
|
<?php
|
||||||
|
include("parts/copyright.php");
|
||||||
|
?>
|
||||||
|
</TD>
|
||||||
|
</TR>
|
||||||
|
</TABLE>
|
Loading…
Reference in a new issue