aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-02-22 01:08:57 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-02-22 01:08:57 +0000
commit89c18cc4f74a65683ab4982874950475021a49af (patch)
treec2e7684f6366f88ba1d26a6ea7a746a3de3b8bab /phpBB
parent848ab21f8c7618756a7ee309aa000dfcbb64a8f8 (diff)
downloadforums-89c18cc4f74a65683ab4982874950475021a49af.tar
forums-89c18cc4f74a65683ab4982874950475021a49af.tar.gz
forums-89c18cc4f74a65683ab4982874950475021a49af.tar.bz2
forums-89c18cc4f74a65683ab4982874950475021a49af.tar.xz
forums-89c18cc4f74a65683ab4982874950475021a49af.zip
added default template
git-svn-id: file:///svn/phpbb/trunk@10 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/templates/Default/index_body.tpl35
-rw-r--r--phpBB/templates/Default/index_footer.tpl11
-rw-r--r--phpBB/templates/Default/index_header.tpl19
-rw-r--r--phpBB/templates/Default/overall_footer.tpl13
-rw-r--r--phpBB/templates/Default/overall_header.tpl70
5 files changed, 148 insertions, 0 deletions
diff --git a/phpBB/templates/Default/index_body.tpl b/phpBB/templates/Default/index_body.tpl
new file mode 100644
index 0000000000..ac2e952af3
--- /dev/null
+++ b/phpBB/templates/Default/index_body.tpl
@@ -0,0 +1,35 @@
+<tr>
+ <td>
+ <table border="0" align="center" width="100%" bgcolor="#000000" cellpadding="0" cellspacing="1">
+ <tr>
+ <td>
+ <table border="0" width="100%" cellpadding="0" cellspacing="1">
+ <tr class="tableheader">
+ <td width="5%">&nbsp;</td>
+ <td>Forum</td>
+ <td align="center" width="5%">Topics</td>
+ <td align="center" width="5%">Posts</td>
+ <td align="center" width="15%">Last Post</td>
+ <td align="center" width="5%">Moderator</td>
+ </tr>
+ <!-- BEGIN catrow -->
+ <tr class="catheader">
+ <td colspan="6"><a href="{PHP_SELF}?viewcat={CAT_ID}">{CAT_DESC}</a></td>
+ </tr>
+ <!-- BEGIN forumrow -->
+ <tr bgcolor="{ROW_COLOR}" class="tablebody">
+ <td width="5%" align="center" valign="middle">{FOLDER}</td>
+ <td><a href="viewforum.{PHPEX}?forum_id={FORUM_ID}&{POSTS}">{FORUM_NAME}</a><br>{FORUM_DESC}</td>
+ <td width="5%" align="center" valign="middle">{TOPICS}</td>
+ <td width="5%" align="center" valign="middle">{POSTS}</td>
+ <td width="15%" align="center" valign="middle">{LAST_POST}</td>
+ <td width="5%" align="center" valign="middle">{MODERATORS}</td>
+ </tr>
+ <!-- END forumrow -->
+ <!-- END catrow -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
diff --git a/phpBB/templates/Default/index_footer.tpl b/phpBB/templates/Default/index_footer.tpl
new file mode 100644
index 0000000000..7a1dc433de
--- /dev/null
+++ b/phpBB/templates/Default/index_footer.tpl
@@ -0,0 +1,11 @@
+ <tr>
+ <td>
+ <table border="0" align="center" width="100%" bgcolor="#FFFFFF" cellpadding="0" cellspacing="1">
+ <tr align="left">
+ <td style="{font-size: 8pt;}"><img src="images/folder.gif"> = New Posts since your last visit.<br>
+ <img src="images/red_folder.gif"> = No new Posts since your last visit.<br>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
diff --git a/phpBB/templates/Default/index_header.tpl b/phpBB/templates/Default/index_header.tpl
new file mode 100644
index 0000000000..efb4538fd0
--- /dev/null
+++ b/phpBB/templates/Default/index_header.tpl
@@ -0,0 +1,19 @@
+<tr>
+<td>
+ <table border="0" align="right" width="30%" bgcolor="#000000" cellpadding="0" cellspacing="1">
+ <tr>
+ <td>
+ <table border="0" width="100%" bgcolor="#CCCCCC" cellpadding="1" cellspacing="1">
+ <tr>
+ <td align="right" style="{font-size: 8pt;}">Our users have posted a total of -<b>{TOTAL_POSTS}</b>- messages.<br>
+ We have <b>{TOTAL_USERS}</b> total registered users.<br>
+ The newest registered user is <b><a href="profile.php?mode=viewprofile&user_id={NEWEST_UID}">{NEWEST_USER}</a></b><br>
+ There are currently <a href="whosonline.php"><b>{USERS_BROWSING}</b> browsing</a> the forums<br>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
diff --git a/phpBB/templates/Default/overall_footer.tpl b/phpBB/templates/Default/overall_footer.tpl
new file mode 100644
index 0000000000..d1795474a2
--- /dev/null
+++ b/phpBB/templates/Default/overall_footer.tpl
@@ -0,0 +1,13 @@
+ <tr>
+ <td>
+ <div align="center" style="{font-size: 8pt;}">
+ {ADMIN_LINK}<br>
+ Powered by: <a href="http://www.phpbb.com">phpBB</a> Version 1.9<br>
+ Copyright &copy; 2001 <a href="http://www.phpbb.com/credits.php">The phpBB Group</a></div>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
+
+
diff --git a/phpBB/templates/Default/overall_header.tpl b/phpBB/templates/Default/overall_header.tpl
new file mode 100644
index 0000000000..3d82b4d3b2
--- /dev/null
+++ b/phpBB/templates/Default/overall_header.tpl
@@ -0,0 +1,70 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- The variables that are available in this file are:
+ SITENAME - Site name set in admin panel
+ PAGE_TITLE - Specific title of the page, 'Forum Index', 'View Topic' etc etc.
+ USERNAME - The current logged in users username (if the user is logged in)
+ USERID - The current logged in users ID number (if the user is logged in)
+//-->
+ <head>
+ <title>{SITENAME} - {PAGE_TITLE}</title>
+ {META_INFO}
+ <style type="text/css">
+ .mainbody {
+ background: #FFFFFF;
+ color: #000000;
+ font-family: sans-serif;
+ font-size: 8pt;
+ }
+ .tableheader {
+ background: #495FA8;
+ color: #FFFFFF;
+ font-size: 8pt;
+ }
+ .tablebody {
+ font-size: 8pt;
+ }
+ .catheader {
+ font-size: 8pt;
+ background: #CCCCCC;
+ color: #000000;
+ TD {
+ font-size: 8pt;
+ }
+ A {
+ text-decoration: none;
+ }
+ A:Hover {
+ text-decoration: underline;
+ }
+ </style>
+ </head>
+ <body class="mainbody">
+<table border="0" align="center" width="95%" cellspacing="2">
+<tr>
+ <td>
+ <table border="0" align="center" width="100%" bgcolor="#000000" cellpadding="0" cellspacing="1">
+ <tr>
+ <td>
+ <table border="0" width="100%" bgcolor="#CCCCCC" cellpadding="1" cellspacing="1">
+ <tr class="tablebody">
+ <td align="left" valign="top"><img src="images/title.jpg" height="55" width="450"></td>
+ <td align="right" valign="top" width="35%"><form method="POST" action="login.php">Login: <input type="text" name="username" size="10" maxlength="45"> Password: <input type="password" name="password" size="10" maxlength="45"> <input type="submit" value="Submit"></form></td>
+ </tr>
+ <tr class="tablebody">
+ <td align="left" valig="top">Welcome to {SITENAME}</td>
+ <td align="right" valig="top">
+ [<a href="profile.php?mode=register">Register</a>]&nbsp;
+ [<a href="profile.php?mode=editprofile">Edit Profile</a>]&nbsp;
+ [<a href="search.php">Search</a>]&nbsp;
+ [<a href="priv_msg.php?mode=read">Private Messages</a>]&nbsp;
+ [<a href="memberlist.php">Memberslist</a>]&nbsp;
+ [<a href="faq.php">FAQ</a>]&nbsp;
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+</td>
+</tr>