Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as text by Davlin ( 17 years ago )
<?php
/*
+---------------------------------------------------------------+
| e107 website system
|
| ©William Moffett 2001-2005
| http://e107.net
| [email protected]
|
| Released under the terms and conditions of the
| GNU General Public License (http://gnu.org).
+---------------------------------------------------------------+
*/
if(!defined("e_THEME")){ exit; }
// [multilanguage]
@include_once(e_THEME."WarRock/languages/English.php");
// [theme]
$themename = "WarRock";
$themeversion = "1.0";
$themeauthor = "Supertech";
$themeemail = "[email protected]";
$themewebsite = "ducommundesigns.com";
$themedate = "Feb 2009";
$themeinfo = "<br /><i>WarRock</i> theme by Supertech.";
define("STANDARDS_MODE", TRUE);
$xhtmlcompliant = TRUE;
$csscompliant = TRUE;
define("IMODE", "dark");
define("CBWIDTH", "80%");
define("DREAMDISCLAIMER", "<i>WarRock</i> copyright DucommunDesigns.com 2008 ");
// [page defines used for css controll on per page basis]
define("e_PAGE", substr(strrchr($_SERVER['PHP_SELF'], "/"), 1));
define("e_PAGECLASS", ereg_replace(substr(strrchr(e_PAGE, "."), 0), "", e_PAGE));
defined("PAGE_NAME") ? PAGE_NAME : define("PAGE_NAME", e_PAGECLASS);
// [navigation]
$register_sc[] = 'UL';
// [layout]
$layout = "_default";
$HEADER = "
<table class='alientable' cellpadding='0' cellspacing='0'>
<tr>
<td class='header_left'> </td>
<td class='header_center'>
<div class='header'>
<div class='headcenter_left'>
<div class='headcenter_right'>
<h1 id='sitename'>
{SITENAME}
</h1>
<h2 id='sitetag'>
</h2>
<div id='logo'>
{SITETAG}
<span>
{LOGO}
</span>
</div>
{UL}
</div>
</div>
</td>
<td class='header_right'> </td>
</tr>
<tr>
<td class='content_left'><img src='".THEME."images/content_left.jpg' width='44' height='246' alt='' /> </td>
<td class='content_center'>
<table width='100%' cellspacing='4' cellpadding='4'>
<tr>
<td class='left_menu'>
{MENU=1}
</td>
<td>";
$FOOTER = "<div style='text-align:center;padding:2px;'></div></td>
<td class='right_menu'>
{MENU=2}
</td>
</tr>
</table>
</td>
<td class='content_right'><img src='".THEME."images/content_right.jpg' width='44' height='246' alt='' /> </td>
</tr>
<tr>
<td class='footer_left'> </td>
<td class='footer_center'>
<table style='width:100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='fc_left'> </td>
<td class='fc_center'>
<div id='fc_center' class='smallbottom'>
{SITEDISCLAIMER}
</div>
</td>
<td class='fc_right'>
<span class='smalltext'>
".DREAMDISCLAIMER."
</span>
</div>
</td>
</tr>
</table>
</td>
<td class='footer_right'> </td>
</tr>
{CUSTOM=login}
</table>";
$CUSTOMHEADER[forum_layout] = "
<table class='alientable' cellpadding='0' cellspacing='0'>
<tr>
<td class='header_left'> </td>
<td class='header_center'>
<div class='header'>
<div class='headcenter_left'>
<div class='headcenter_right'>
<h1 id='sitename'>
{SITENAME}
</h1>
<h2 id='sitetag'>
</h2>
<div id='logo'>
{SITETAG}
<span>
{LOGO}
</span>
</div>
{UL}
</div>
</div>
</td>
<td class='header_right'> </td>
</tr>
<tr>
<td class='content_left'><img src='".THEME."images/content_left.jpg' width='44' height='246' alt='' /> </td>
<td class='content_center'>
<table width='100%' cellspacing='4' cellpadding='4'>";
$CUSTOMFOOTER[forum_layout] = "
<div style='text-align:center; padding:2px;'></div></td>
<tr>
<td class='footer_left'> </td>
<td class='footer_center'>
<table style='width:100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='fc_left'> </td>
<td class='fc_center'>
<div id='fc_center' class='smallbottom'>
{SITEDISCLAIMER}
</div>
</td>
<td class='fc_right'>
<span class='smalltext'>
".DREAMDISCLAIMER."
</span>
</div>
</td>
</tr>
</table>
</td>
<td class='footer_right'> </td>
</tr>
{CUSTOM=login}
</table>";
$CUSTOMPAGES[forum_layout] = "download.php plugins/survey/survey.php plugins/lgsl_menu/ plugins/autogallery/autogallery.php plugins/clan_info_menu/singel_roster.php page.php?2 user.php page.php contact.php upload.php forum.php forum_viewforum.php forum_viewtopic.php forum_post.php forum_stats.php plugins/";
// [newsstyle]
$NEWSSTYLE = "<h3>
{NEWSTITLE}
</h3>
<div class='newsimage'>
{NEWSIMAGE}
</div>
<div class='bodytable' style='text-align:left'>
{NEWSBODY}
{EXTENDED}
</div>
<div style='text-align:right' class='smalltext'>
{NEWSAUTHOR}
on
{NEWSDATE}
<br />
<img src='".e_IMAGE."admin_images/userclass_16.png' alt='' style='vertical-align: middle;' />
{NEWSCOMMENTS} {TRACKBACK}
<br />
</div>
<br />
";
define("ICONSTYLE", "float: left; border:0");
define("COMMENTOFFSTRING", Comments ) ;
define("COMMENTLINK", Comments ) ;
define("PRE_EXTENDEDSTRING", "<br /><br />[ ");
define("EXTENDEDSTRING", More);
define("POST_EXTENDEDSTRING", " ]<br />");
define("TRACKBACKSTRING", TrackBacks ) ;
define("TRACKBACKBEFORESTRING", " | ");
// [linkstyle]
define("LINKDISPLAY","");
define("PRELINK", "");
define("POSTLINK", "");
define("LINKCLASS", "");
define("LINKCLASS_HILITE", "");
define("LINKSTART", "");
define("LINKSTART_HILITE", "");
define("LINKEND", "");
define("LINKALIGN", "");
// [tablestyle]
if ($style == 'post_it') {
echo "<div class='post_it_container'><div class='post_it_back'><div class='post_it_top'><div class='post_it_bottom'>
<div class='post_it_caption'>".$caption."</div>".$text."</div></div></div></div>";
}
if ($text != "" && $style != 'post_it') {
echo "<table class='cont'><tr><td class='menu_content ".$menu."'>".$text.$bodybreak."</td></tr></table>";
}
function tablestyle($caption, $text, $mode){
global $style;
echo "<h3>{$caption}</h3><div class='bodytable'>{$text}</div>";
}
// [commentstyle]
/*
$COMMENTSTYLE = "{USERNAME} @ <span class='smalltext'>{TIMEDATE}</span><br />
{AVATAR}<span class='smalltext'>{REPLY}</span><br />
{COMMENT}
<div style='text-align: right;' class='smallext'>{IPADDRESS}</div>";
*/
// [chatboxstyle]
$CHATBOXSTYLE = "
<div class='spacer'>
<div class='indentchat'>
<img src='".THEME."images/bullet.gif' alt='bullet' />
<b>{USERNAME}</b><div style='text-align:left; padding:0px;'><span class='small' >{TIMEDATE}</span></div>
<span class='smalltext'><br />{MESSAGE}
</span><br><br />
</div>
</div>";
?>
Revise this Paste