mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
173 lines
4.4 KiB
PHP
173 lines
4.4 KiB
PHP
<?php
|
|
/*
|
|
+---------------------------------------------------------------+
|
|
| e107 website system
|
|
|
|
|
| ©Steve Dunstan 2001-2005
|
|
| http://e107.org
|
|
| jalist@e107.org
|
|
|
|
|
| Released under the terms and conditions of the
|
|
| GNU General Public License (http://gnu.org).
|
|
|
|
|
| $Source: /cvs_backup/e107_0.8/e107_themes/lamb/theme.php,v $
|
|
| $Revision: 1.4 $
|
|
| $Date: 2009-01-20 20:33:01 $
|
|
| $Author: e107steved $
|
|
+---------------------------------------------------------------+
|
|
*/
|
|
|
|
if (!defined('e107_INIT')) { exit; }
|
|
|
|
// [multilanguage]
|
|
@include_once(e_THEME."lamb/languages/".e_LANGUAGE.".php");
|
|
@include_once(e_THEME."lamb/languages/English.php");
|
|
|
|
// [theme]
|
|
$themename = "lamb";
|
|
$themeversion = "1.0";
|
|
$themeauthor = "Steve Dunstan [jalist]";
|
|
$themeemail = "jalist@e107.org";
|
|
$themewebsite = "http://e107.org";
|
|
$themedate = "29/01/2005";
|
|
$themeinfo = "";
|
|
define("STANDARDS_MODE", TRUE);
|
|
$xhtmlcompliant = TRUE;
|
|
$csscompliant = TRUE;
|
|
define("IMODE", "lite");
|
|
define("THEME_DISCLAIMER", "<br /><i>".LAN_THEME_1."</i>");
|
|
|
|
// [layout]
|
|
|
|
$layout = "_default";
|
|
|
|
$HEADER = "<div id='header'>
|
|
<img src='".THEME_ABS."images/logo.png' style='width: 168px; height: 80px; display: block' alt='' />
|
|
</div>
|
|
<div id='banner'>
|
|
{BANNER}
|
|
</div>
|
|
<table style='width: 100%;' cellpadding='0' cellspacing='0'>
|
|
<tr>
|
|
<td id='leftcontent'>
|
|
<div class='menuwrapper'>
|
|
<div class='columnwrap'>
|
|
{SITELINKS}
|
|
{MENU=1}
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td id='centercontent'>
|
|
<div class='columnwrap'>
|
|
";
|
|
|
|
$FOOTER = "
|
|
</div>
|
|
</td>
|
|
<td id='rightcontent'>
|
|
<div class='menuwrapper'>
|
|
<div class='columnwrap'>
|
|
{MENU=2}
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div id='footer'>
|
|
<div class='columnwrap'>
|
|
<div style='text-align: center;' class='smalltext'>
|
|
{SITEDISCLAIMER}<br />{THEME_DISCLAIMER}
|
|
<br />
|
|
<img src='".e_IMAGE_ABS."generic/php-small-trans-light.gif' alt='' /> <img src='".e_IMAGE_ABS."button.png' alt='' />
|
|
<img src='".e_IMAGE_ABS."generic/poweredbymysql-88.png' alt='' />
|
|
<a href='http://validator.w3.org/check?uri=referer' rel='external'><img src='".e_IMAGE_ABS."generic/valid-xhtml11.png' alt='' style='border: 0;' /></a>
|
|
<a href='http://jigsaw.w3.org/css-validator/check/referer' rel='external'><img src='".e_IMAGE_ABS."generic/vcss.png' alt='' style='border: 0;' /></a>
|
|
<br />
|
|
<a href='http://www.spreadfirefox.com/?q=affiliates&id=0&t=86'><img alt='e107 recommends Mozilla Firefox' title='e107 recommends Mozilla Firefox' src='http://sfx-images.mozilla.org/affiliates/Buttons/125x50/takebacktheweb_125x50.png' style='border: 0;' /></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
";
|
|
|
|
$NEWSSTYLE = "
|
|
<h3>
|
|
{STICKY_ICON}
|
|
{NEWSICON}
|
|
{NEWSTITLE}
|
|
</h3>
|
|
<div class='bodytable' style='text-align:left'>
|
|
{NEWSBODY}
|
|
{EXTENDED}
|
|
</div>
|
|
<div style='text-align:right' class='smalltext'>
|
|
{NEWSAUTHOR}
|
|
".LAN_THEME_6."
|
|
{NEWSDATE}
|
|
<br />
|
|
<img src='".e_IMAGE_ABS."admin_images/userclass_16.png' alt='' style='vertical-align: middle;' />
|
|
{NEWSCOMMENTS}{TRACKBACK}
|
|
</div>
|
|
<br />";
|
|
define("ICONSTYLE", "float: left; border:0");
|
|
define("COMMENTLINK", LAN_THEME_3);
|
|
define("COMMENTOFFSTRING", LAN_THEME_2);
|
|
define("PRE_EXTENDEDSTRING", "<br /><br />[ ");
|
|
define("EXTENDEDSTRING", LAN_THEME_4);
|
|
define("POST_EXTENDEDSTRING", " ]<br />");
|
|
define("TRACKBACKSTRING", LAN_THEME_5);
|
|
define("TRACKBACKBEFORESTRING", " | ");
|
|
|
|
|
|
// [linkstyle]
|
|
|
|
define('PRELINK', "");
|
|
define('POSTLINK', "");
|
|
define('LINKSTART', "<img src='".THEME_ABS."images/bullet2.gif' alt='' /> ");
|
|
define("LINKSTART_HILITE", "<img src='".THEME_ABS."images/bluearrow_greybg.png' alt='' /> ");
|
|
define('LINKEND', "<br />");
|
|
define('LINKDISPLAY', 2);
|
|
define('LINKALIGN', "left");
|
|
|
|
|
|
// [tablestyle]
|
|
|
|
function tablestyle($caption, $text, $mode)
|
|
{
|
|
echo "<h4><img src='".THEME_ABS."images/bluearrow_greybg.png' alt='' width='6' height='9' /> {$caption}</h4>\n<br />
|
|
{$text}
|
|
<br /><br />\n";
|
|
}
|
|
|
|
$COMMENTSTYLE = "
|
|
<table style='width: 100%;'>
|
|
<tr>
|
|
<td style='width: 30%; text-align: right;'>{USERNAME} @ <span class='smalltext'>{TIMEDATE}</span><br />{AVATAR}<span class='smalltext'>{REPLY}</span></td>
|
|
<td style='width: 70%;'>
|
|
<div id='lbqtop'>
|
|
<div id='pgFrontUserInner'>
|
|
<div id='lbqbottom'>
|
|
<div id='bglefright'>
|
|
<div id='bqcontent'>
|
|
<div id='bqtext'>
|
|
{COMMENT} {COMMENTEDIT}
|
|
<div style='text-align: right;' class='smallext'>{IPADDRESS}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
";
|
|
|
|
$CHATBOXSTYLE = "
|
|
<img src='".e_IMAGE_ABS."admin_images/chatbox_16.png' alt='' style='vertical-align: middle;' />
|
|
<b>{USERNAME}</b>
|
|
<div class='smalltext'>
|
|
{MESSAGE}
|
|
</div>
|
|
<br />";
|
|
|
|
?>
|