mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
added default template
git-svn-id: file:///svn/phpbb/trunk@10 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
848ab21f8c
commit
89c18cc4f7
5 changed files with 148 additions and 0 deletions
35
phpBB/templates/Default/index_body.tpl
Normal file
35
phpBB/templates/Default/index_body.tpl
Normal file
|
@ -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%"> </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>
|
11
phpBB/templates/Default/index_footer.tpl
Normal file
11
phpBB/templates/Default/index_footer.tpl
Normal file
|
@ -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>
|
19
phpBB/templates/Default/index_header.tpl
Normal file
19
phpBB/templates/Default/index_header.tpl
Normal file
|
@ -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>
|
13
phpBB/templates/Default/overall_footer.tpl
Normal file
13
phpBB/templates/Default/overall_footer.tpl
Normal file
|
@ -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 © 2001 <a href="http://www.phpbb.com/credits.php">The phpBB Group</a></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
70
phpBB/templates/Default/overall_header.tpl
Normal file
70
phpBB/templates/Default/overall_header.tpl
Normal file
|
@ -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>]
|
||||
[<a href="profile.php?mode=editprofile">Edit Profile</a>]
|
||||
[<a href="search.php">Search</a>]
|
||||
[<a href="priv_msg.php?mode=read">Private Messages</a>]
|
||||
[<a href="memberlist.php">Memberslist</a>]
|
||||
[<a href="faq.php">FAQ</a>]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
Loading…
Add table
Reference in a new issue