All pastes #118930 Raw Edit

Anonymous

public php v1 · immutable
·published 2006-08-06 15:55 UTC
rendered paste body
<?php/*+---------------------------------------------------------------+|	e107 website system|	/e107.v4 theme file ||	&#65533;Steve Dunstan 2001-2002|	http://e107.org|	jalist@e107.org|	|	Theme Name: Physio Snow v1.0|	&#65533; Arun S Sekher PT|	http://physioblasts.org|	arunshekher@yahoo.com||	Released under the terms and conditions of the|	GNU General Public License (http://gnu.org).+---------------------------------------------------------------+*/// [theme]$themename = "Physio Snow";$themeversion = "1.0";$themeauthor = "Arun S. Sekher";$themedate = "21/11/2004";$themeinfo = "";define("THEME_DISCLAIMER", "<br /><b>Theme: Physio Snow v1.0</b><br /><i>'Physio Snow' theme made by <a href='mailto:arunshekher@yahoo.com';> Arun </a>of <a href='http://e107themes.net/';>e107Themes.Net</a></i>");// [layout]$layout = "_default";$logo = THEME."images/bullet3.gif";define("STANDARDS_MODE", TRUE); // [welcome message] if(USER == TRUE){     $msg = "Bemvindo ".USERNAME.".";   }else{    $msg = "<a href='".e_BASE."signup.php'>Registar</a>";   } // [login|logout] if(USER == TRUE){     $login = "<a href='".e_BASE."?logout'>Sair</a>";   }else{    $login = "<a href='".e_BASE."login.php'>Login</a>";   }$HEADER = "<table style='width:95%; background-color:'#FFFFFF' cellspacing='0' class='topborder' align='center' ><tr><td colspan='2' style='text-align:left'><img src='".THEME."images/logo.png' alt='Logo' /></td><td style='text-align:right'>{BANNER=campaign_two}</td></tr></table><table style='width:95%' class='searchbar' cellspacing='5'><tr><td class='sitetag'>{SITETAG}</td><td class='statusnmessage'></td><td style='text-align:right'>{CUSTOM=search}</td></tr></table><table style='width:95%; border-left: #E6E6E6 1px solid; border-right: #E6E6E6 1px solid;' cellspacing='3' align='center'><tr><td style='width:20%; vertical-align: top;'>{SITELINKS=menu}{MENU=1}</td><td style='width:60%; vertical-align: top;'>";$FOOTER = "</td><td style='width:20%; vertical-align:top'>{MENU=2}</td></tr></table><div align='center'><table align='center' style='width:95%; border-left: #E6E6E6 1px solid; border-right: #E6E6E6 1px solid;' ><tr><td style='width:100%; vertical-align:top; text-align:center;' >{BANNER=campaign_one}</td></tr></table><table align='center' style='width:95%; border-left: #E6E6E6 1px solid; border-right: #E6E6E6 1px solid; border-bottom: #E6E6E6 1px solid;'><tr><td style='width:100%; vertical-align:bottom' text-align:center;' class='disclaimertext' >{SITEDISCLAIMER}<br>".$login." | ".$msg."</td></tr></table></div>";function rand_tag(){	$tags = file(e_FILE."taglines.txt");	return stripslashes(htmlspecialchars($tags[rand(0, count($tags))]));}//	[newsstyle]$NEWSSTYLE = "<div class='spacer'><table cellpadding='0' cellspacing='0'><tr><td class='captiontopleft'><img src='".THEME."images/blank.gif' width='1' height='10' alt='' style='display: block;' /></td><td class='captiontopmiddle'><img src='".THEME."images/blank.gif' width='1' height='10' alt='' style='display: block;' /></td><td class='captiontopright'><img src='".THEME."images/blank.gif' width='1' height='10' alt='' style='display: block;' /></td></tr></table><table cellpadding='0' cellspacing='0'><tr><td class='captionleft'><img src='".THEME."images/blank.gif' width='41' height='20' alt='' style='display: block;' /></td><td class='captionbar' style='white-space:nowrap'>{NEWSTITLE}</td><td class='captionmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display: block;' /></td><td class='captionright'><img src='".THEME."images/blank.gif' width='24' height='20' alt='' style='display: block;' /></td></tr></table><table cellpadding='0' cellspacing='0'><tr><td class='bodyleft'><img src='".THEME."images/blank.gif' width='5' height='1' align='center' alt='' style='display: block;' /></td><td class='bodymain'>{NEWSBODY}{EXTENDED}<div class='alttd' style='text-align:right'>Enviado por {NEWSAUTHOR} | {NEWSCOMMENTS} | {EMAILICON}{PRINTICON}</div></td><td valign='top' style='padding: 10px;' >{NEWSICON}</td><td class='bodyright'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display: block;' /></td></tr></table><table cellpadding='0' cellspacing='0'><tr><td class='bottomleft'><img src='".THEME."images/blank.gif' width='24' height='25' alt='' style='display: block;' /></td><td class='bottommain'><img src='".THEME."images/blank.gif' width='1' height='25' alt='' style='display: block;' /></td><td class='bottomright'><img src='".THEME."images/blank.gif' width='24' height='25' alt='' style='display: block;' /></td></tr></table></div>";define("ICONSTYLE", "float: left; border:0");define("COMMENTLINK", "Ler/Comentar: ");define("COMMENTOFFSTRING", "Comentários desactivados");define("PRE_EXTENDEDSTRING", "<br /><br />[ ");define("EXTENDEDSTRING", "Ler tudo...");define("POST_EXTENDEDSTRING", " ]<br />");// [linkstyle]define(PRELINK, "");define(POSTLINK, "");define(LINKSTART, "<img src='".THEME."images/bullet2.gif' alt='bullet' /> ");define(LINKEND, "<br />");define(LINKDISPLAY, 2);define(LINKALIGN, "left");//	[tablestyle]function tablestyle($caption, $text){	global $style;//	echo "Mode: ".$style;	echo "<div class='spacer'><table cellpadding='0' cellspacing='0'><tr><td class='captiontopleft'><img src='".THEME."images/blank.gif' width='1' height='4' alt='' style='display: block;' /></td><td class='captiontopmiddle'><img src='".THEME."images/blank.gif' width='1' height='4' alt='' style='display: block;' /></td><td class='captiontopright'><img src='".THEME."images/blank.gif' width='1' height='4' alt='' style='display: block;' /></td></tr></table><table cellpadding='0' cellspacing='0'><tr><td class='captionleft'><img src='".THEME."images/blank.gif' width='41' height='20' alt='' style='display: block;' /></td><td class='captionbar' style='white-space:nowrap'>".$caption."</td><td class='captionmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display: block;' /></td><td class='captionright'><img src='".THEME."images/blank.gif' width='24' height='20' alt='' style='display: block;' /></td></tr></table><table cellpadding='0' cellspacing='0'><tr><td class='bodyleft'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display: block;' /></td><td class='bodymain'>".$text."</td><td class='bodyright'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display: block;' /></td></tr></table><table cellpadding='0' cellspacing='0'><tr><td class='bottomleft'><img src='".THEME."images/blank.gif' width='24' height='25' alt='' style='display: block;' /></td><td class='bottommain'><img src='".THEME."images/blank.gif' width='1' height='25' alt='' style='display: block;' /></td><td class='bottomright'><img src='".THEME."images/blank.gif' width='24' height='25' alt='' style='display: block;' /></td></tr></table></div>";}/*$POLLSTYLE = <<< EOT<b>Poll: {QUESTION}</b><br /><br />{OPTIONS=<div class='alttd'>OPTION</div>BAR<br /><span class='smalltext'>PERCENTAGE VOTES</span><br />\n}<div style='text-align:center' class='smalltext'>{VOTE_TOTAL} {COMMENTS}<br />{OLDPOLLS}</div>EOT;*/$CHATBOXSTYLE = "<table class='alttd' style='width:80%'><tr><td class='mediumtext'><img src='".THEME."images/chatbullet.gif' alt=':.' /> <b>{USERNAME}</b></td><td class='smalltext' style='text-align:right'>{TIMEDATE}</td></tr></table>{MESSAGE}";$COMMENTSTYLE = "<div style='text-align:center'><table style='width:100%'><tr><td colspan='2' class='alttd'><img src='".THEME."images/bullet2.gif' alt='bullet' /> <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></td><td style='width:70%; vertical-align:top'>{COMMENT}</td></tr></table></div><br />";?>