All pastes #247849 Raw Edit

Someone

public php v1 · immutable
#247849 ·published 2006-11-13 22:40 UTC
rendered paste body
<?php/*+---------------------------------------------------------------+|	e107 website system|	/e107.v617 theme file ||	©Steve Dunstan 2001-2002|	http://e107.org|	jalist@e107.org|	|	Theme Name: Graphite|	© Brian Hill|	http://www.designedbybrian.com|	brian@designedbybrian.com||	Released under the terms and conditions of the|	GNU General Public License (http://gnu.org).+---------------------------------------------------------------+*/// [theme]$themename = "Graphite";$themeversion = "1.0";$themeauthor = "Brian Hill (MidgetKiller)";$themeemail = "brian@designedbybrian.com";$themewebsite = "http://www.designedbybrian.com";$themedate = "12/11/06";$themeinfo = "";$xhtmlcompliant = TRUE;$csscompliant = TRUE;define("IMODE", "lite");define("THEME_DISCLAIMER", "<br /><b>Theme: Graphite</b><br /><i>'Graphite' theme made by <a href='mailto:brian@designedbybrian.com'>Brian Hill</a> of <a href='http://www.designedbybrian.com';>DesignedByBrian.com</a></i>");// [layout]$layout = "_default";$logo = THEME."images/logo.png";define("STANDARDS_MODE", TRUE); // [welcome message] if(USER == TRUE){     $msg = "Welcome, ".USERNAME.".";   }else{    $msg = "<a href='".e_BASE."signup.php'>Register</a>";   } // [login|logout] if(USER == TRUE){     $login = "<a href='".e_BASE."?logout'>Logout</a>";   }else{    $login = "<a href='".e_BASE."login.php'>Login</a>";   }// [header]$HEADER ="<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr><td class='header' width='300px' height='120px'><img src='".THEME."images/logo.png'></td><td class='header' height='120px'><div class='sitetag'>{SITETAG}</div></td></tr></table><table width='100%' border='0' cellpadding='0' cellspacing='0'><tr><td class='sitelinks' height='28px'>{SITELINKS}</td><td class='login' height='28px'>{CUSTOM=login}</td></tr></table><table width='100%' border='0' cellpadding='0' cellspacing='0'><tr><td class='sitelinks_1' height='5px' width='180px'></td><td class='sitelinks_2' height='5px'></td><td class='sitelinks_3' height='5px' width='180px'></td></tr><tr><td class='left_column' width='179px'>{SETSTYLE=left_menu}{MENU=1}</td><td class='content_column'>{SETSTYLE=}";// [footer]$FOOTER = "</td><td class='right_column' width='179px'>{SETSTYLE=right_menu}{MENU=2}</td></tr><tr><td class='footer_left' width='180px' height='20px'></td><td class='footer_middle' height='20px'></td><td class='footer_right' width='180px' height='20px'></td></tr></table>";//	[newsstyle]$NEWSSTYLE = "<div class='spacer'><br />	News table code goes here.</div>";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', "");define('LINKSTART_HILITE', "");define('LINKEND', " .:. ");// define('LINK_MID', " .:. ");define('LINKDISPLAY', 1);define('LINKALIGN', "left");define("bullet", "bullet.png");//	[tablestyle]function tablestyle($caption, $text){	global $style;if($style == "left_menu"){echo "<table cellspacing='0' cellpadding='0' width='167px' align='left'>	<tr>	<td class='left_menu_header' width='167px' height='20px'>	".$caption."	</td>	</tr>	<tr>	<td class='left_menu_content' width='167px'>	".$text."	</td>	</tr>	</table>	<br />";}else if($style == "right_menu"){echo "Right menu code goes here.";}else if($style == ""){echo "<table cellspacing='0' cellpadding='0' width='100%'><tr><td>".$caption."</td></tr><tr><td>".$text."</td></tr></table>";}}// [chatbox]$CHATBOXSTYLE = "<table class='alttd' style='width:90%'><tr><br><td class='smallboldtext'>&nbsp;<img src='".THEME."images/bullet5.gif' alt='' /> <b>{USERNAME}</b></td><td class='smalltext' style='text-align:right'>{TIMEDATE}</td></tr></table><table style='width:80%'><tr><td class='smallblacktext' style='text-align:left'>{MESSAGE}</td></tr></table>";// [comments]$COMMENTSTYLE = "<table style='width:100%'><tr><td colspan='2' class='commentinfo'>{SUBJECT}<b>{USERNAME}</b> |{TIMEDATE}</td></tr><tr><td style='width:30%; vertical-align:top'><div class='spacer'>{AVATAR}</div><span class='smalltext'>{COMMENTS}<br />{JOINED}</span><br/>{REPLY}</td><td style='width:70%; vertical-align:top'>{COMMENT}<div style='text-align: right;' class='smallext'>{IPADDRESS}</div></td></tr></table><br />";?>