Welcome, guest! Login / Register - Why register?
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 roofdog ( 17 years ago )
<?php
/*
+---------------------------------------------------------------+
| &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; e107 website system
|
| &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&copy;Steve Dunstan 2001-2002
| &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; http://e107.org
| &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; [email protected]
|
| &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; Released under the terms and conditions of the
| &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; GNU General Public License (http://gnu.org).
+---------------------------------------------------------------+
*/
if(!defined("e_THEME")){ exit; }
&Acirc;&nbsp;
// [multilanguage]
&Acirc;&nbsp;
@include_once(e_THEME."Standart/languages/".e_LANGUAGE.".php");
@include_once(e_THEME."Standart/languages/German.php");
&Acirc;&nbsp;
&Acirc;&nbsp;
// [theme]
&Acirc;&nbsp;
$themename = "Standart";
$themeversion = "1.1";
$themeauthor = "Dennis van Houts";
$themeemail = "[email protected]";
$themewebsite = "http://dennisvanhouts.nl.tt";
$themedate = "June 4th 2005";
$themeinfo = "A green Jayya version.";
$xhtmlcompliant = TRUE;
$csscompliant = TRUE;
define("THEME_DISCLAIMER", "Theme by Dennis van Houts");
define("IMODE", "lite");
&Acirc;&nbsp;
&Acirc;&nbsp;
&Acirc;&nbsp;
&Acirc;&nbsp;
&Acirc;&nbsp;
// [dont render core style sheet link]
&Acirc;&nbsp;
$no_core_css = TRUE;
&Acirc;&nbsp;
&Acirc;&nbsp;
// [layout]
&Acirc;&nbsp;
$layout = "_default";
&Acirc;&nbsp;
//config options
$USTYLE_OPT = array();
$USTYLE_OPT['default_css'] = 'style_green.css'; //if empty or not set and there is no user choice - searching for style_default.css
$USTYLE_OPT['theme_header'] = "<link rel='stylesheet' href='".THEME."nav_menu.css' />
";
$USTYLE_OPT['use_alternate'] = 0;
&Acirc;&nbsp;
//shortcode template - you can use 'pre' and 'post' e107 feature here as well
//additional shortcodes available
//STYLE_NAME - unique stylesheet Id string
$USTYLE_CSSLINK = "<a class='{CLASS}' href='{HREF}'{EVENT}>{TITLE}</a>";
$USTYLE_CSSLINK_SEPARATOR = "&nbsp;|&nbsp;";
&Acirc;&nbsp;
//initialize only when installed and enough permissions
if($pref['ustyle_ver'] && check_class($pref['ustyle_permission'])) {
ustyle_theme_init();
}
&Acirc;&nbsp;
&Acirc;&nbsp;
&Acirc;&nbsp;
$HEADER = "
<div id='wrapper'>
<table class='top_section'style='width: 100%; padding-left: 0px; padding-right: 0px' align='center'>
<tr> 
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp;<td><div id='topsection'><a href='?[de]'>
<img src='".THEME."images/de.gif' alt='' style='vertical-align:middle;' /></a><a href='?[en]'>
<img src='".THEME."images/en.gif' alt='' style='vertical-align: middle;' /></a><a href='?[tr]'>
<img src='".THEME."images/tr.gif' alt='' style='vertical-align: middle;' /> </a> &Acirc;&nbsp;
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<img src=/c/forum/images/lite/new_small.png alt='' style='vertical-align: middle;' /> {USTYLE_CSS_LINKS} &emsp;&emsp;&emsp;&emsp;&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &emsp;&emsp;<a href='/signup.php'> ".LAN_THEME_6."</a>
&Acirc;&nbsp;
</div>
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp;<div id='headersection'><p align='right'>
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; {banner} &Acirc;&nbsp; <br>
&Acirc;&nbsp;
<a href=/c/chatbox2_menu/chatpage.php>
<img src='/i/admin_images/chatbox_32.png' alt=Chatbox title=Chatbox style='vertical-align: middle;' /></a>&nbsp; &nbsp;
<a href=/c/ytm_gallery/ytm_top_page.php>
<img src='/i/icons/icon16.png' alt=Top 20 title=Top 20 &Acirc;&nbsp;style='vertical-align: middle;' /> </a>&nbsp; &nbsp;
<a href=/c/kroozearcade_menu/kroozearcade.php>
<img src='/i/admin_images/database_32.png' alt=Spiele title=Spiele style='vertical-align: middle;' /></a>&nbsp; &nbsp;
<a href=/c/forum/forum.php>
<img src='/i/admin_images/forums_32.png' alt=Forum title=Forum style='vertical-align: middle;' /></a>&nbsp; &nbsp;
<a href=c/calendar_menu/calendar.php>
<img src='/i/admin_images/frontpage_32.png' alt=Kalender title=Kalender style='vertical-align: middle;' /></a>
&Acirc;&nbsp;
&Acirc;&nbsp;
</p>
&Acirc;&nbsp;&nbsp; &nbsp;
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; 
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; 
&Acirc;&nbsp;
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp;</div>
</td></tr></table>
&Acirc;&nbsp;
{SITELINKS_ALT=".THEME."images/arrow.png}
<table id='subnav' style='width: 100%; &Acirc;&nbsp;margin: 0px; padding-left: 0px; padding-right: 0px' align='center'>
<tr>
<td style='text-align:left; &Acirc;&nbsp;vertical-align:middle'>
{CUSTOM=clock}</td>
<td style='text-align:right; vertical-align:middle'> </td><td style='text-align:right; vertical-align:top'>{search} </td>
</tr>
</table> &Acirc;&nbsp;
&Acirc;&nbsp;
<table class='main_section'>
<tr style='display: none'>
<td style='width: 70px'></td>
<td style='width: *'></td>
<td style='width: 70px'></td>
</tr>
&Acirc;&nbsp;
&Acirc;&nbsp;
<tr>
<td class='left_menu'>
<table class='menus_container'><tr><td>
{SETSTYLE=leftmenu}
{MENU=1}
</td></tr></table>
</td>
<td class='default_menu'>
{MENU=3}
{SETSTYLE=default}
{WMESSAGE}
&Acirc;&nbsp;
&Acirc;&nbsp;
";
&Acirc;&nbsp;
$CUSTOMHEADER = "<div id='wrapper'><table class='top_section'style='width: 100%; padding-left: 0px; padding-right: 0px'>
<tr> <td><div id='topsection'><a href='?[de]'>
<img src='".THEME."images/de.gif' alt='' style='vertical-align: middle;' /></a><a href='?[en]'>
<img src='".THEME."images/en.gif' alt='' style='vertical-align: middle;' /></a><a href='?[tr]'>
<img src='".THEME."images/tr.gif' alt='' style='vertical-align: middle;' /> </a> &Acirc;&nbsp;
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<img src=/c/forum/images/lite/new_small.png alt='' style='vertical-align: middle;' /> {USTYLE_CSS_LINKS} &emsp;&emsp;&emsp;&emsp;&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &emsp;&emsp;<a href='/signup.php'> Jetzt kostenlos Anmelden </a>
&Acirc;&nbsp;
</div>
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp;<div id='headersection'><p align='right'>
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; {banner} &Acirc;&nbsp; <br>
&Acirc;&nbsp;
<a href=/c/chatbox2_menu/chatpage.php>
<img src='/i/admin_images/chatbox_32.png' alt=Chatbox title=Chatbox style='vertical-align: middle;' /></a>&nbsp; &nbsp;
<a href=/c/ytm_gallery/ytm_top_page.php>
<img src='/i/icons/icon16.png' alt=Top 20 title=Top 20 &Acirc;&nbsp;style='vertical-align: middle;' /> </a>&nbsp; &nbsp;
<a href=/c/kroozearcade_menu/kroozearcade.php>
<img src='/i/admin_images/database_32.png' alt=Spiele title=Spiele style='vertical-align: middle;' /></a>&nbsp; &nbsp;
<a href=/c/forum/forum.php>
<img src='/i/admin_images/forums_32.png' alt=Forum title=Forum style='vertical-align: middle;' /></a>&nbsp; &nbsp;
<a href=c/calendar_menu/calendar.php>
<img src='/i/admin_images/frontpage_32.png' alt=Kalender title=Kalender style='vertical-align: middle;' /></a>&nbsp; &nbsp;
&Acirc;&nbsp;
&Acirc;&nbsp;
</p>
&Acirc;&nbsp;&nbsp; &nbsp; &nbsp;
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; 
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp;&nbsp;
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp;</div>
</td></tr></table>
{SITELINKS_ALT=".THEME."images/arrow.png}
<table id='subnav' style='width: 100%; &Acirc;&nbsp;margin: 0px; padding-left: 0px; padding-right: 0px' align='center'>
<tr>
<td style='text-align:left; &Acirc;&nbsp;vertical-align:middle'>
{CUSTOM=clock}</td>
<td style='text-align:right; vertical-align:middle'> &Acirc;&nbsp;</td><td style='text-align:right; vertical-align:top'>{search} </td>
</tr>
</table> &Acirc;&nbsp;
&Acirc;&nbsp;
&Acirc;&nbsp;
&Acirc;&nbsp;
<table class='main_section'>
<tr style='display: none'>
<td style='width: 70px'></td>
<td style='width: *'></td>
<td style='width: 70px'></td>
</tr>
&Acirc;&nbsp;
&Acirc;&nbsp;
<tr>
<td>
<table class='menus_container'><tr></tr></table>
&Acirc;&nbsp;
</td>
<td class='default_menu'>
{SETSTYLE=default}
{WMESSAGE}
";
&Acirc;&nbsp;
&Acirc;&nbsp;
$FOOTER = "<br />
</td>
&Acirc;&nbsp;
<td class='right_menu'>
<table class='menus_container'><tr><td>
{SETSTYLE=rightmenu}
{MENU=2}
</td></tr></table>
&Acirc;&nbsp;
</table><table><tr><td class='default_menu'>
{MENU=4}
{SETSTYLE=default}
</td><td class='default_menu'>
{MENU=5}
{SETSTYLE=default}</td><td class='default_menu'>
{MENU=6}
{SETSTYLE=default}
</td></tr></table><br /><br /><br /><br />
{SITEDISCLAIMER}
&Acirc;&nbsp;</div>
";
&Acirc;&nbsp;
$CUSTOMFOOTER = "<br />
</td>
&Acirc;&nbsp;
&Acirc;&nbsp;
</table><table><tr><td class='default_menu'>
{MENU=4}
{SETSTYLE=default}
</td><td class='default_menu'>
{MENU=5}
{SETSTYLE=default}</td><td class='default_menu'>
{MENU=6}
{SETSTYLE=default}
</td></tr></table><br /><br /><br /><br /><br />
{SITEDISCLAIMER}
</div>
";
&Acirc;&nbsp;
&Acirc;&nbsp;
// [linkstyle]
&Acirc;&nbsp;
define('PRELINK', '');
define('POSTLINK', '');
define('LINKSTART', '');
define('LINKEND', '');
define('LINKDISPLAY', 1);
define('LINKALIGN', 'left');
&Acirc;&nbsp;
$CUSTOMPAGES = "forum.php forum_post.php forum_viewforum.php forum_viewtopic.php user.php usersettings.php faq.php cwriter.php content.php "; 
&Acirc;&nbsp;
$NEWSSTYLE = "
<a name='TemplateInfo'></a>
<div class='title'>{NEWSTITLE}&emsp; <br />{EMAILICON}&emsp; {NEWSCOMMENTS} </div>
<div class='newstext'> {NEWSIMAGE}{NEWSBODY}{EXTENDED}</div>
";
&Acirc;&nbsp;
&Acirc;&nbsp;
$OTHERNEWS_STYLE = "
<h2>{NEWSTITLE}</h2>
<p>{NEWSBODY}{EXTENDED}</p>
";
&Acirc;&nbsp;
define('ICONMAIL', 'email_16.png');
define('ICONPRINT', 'print_16.png');
define('ICONSTYLE', 'float: left; border:0');
define('COMMENTLINK', LAN_THEME_2);
define('COMMENTOFFSTRING', LAN_THEME_1);
define('PRE_EXTENDEDSTRING', '<br /><br />[ ');
define('EXTENDEDSTRING', LAN_THEME_3);
define('POST_EXTENDEDSTRING', ' ]<br />');
define('TRACKBACKSTRING', LAN_THEME_4);
define('TRACKBACKBEFORESTRING', '&nbsp;|&nbsp;');
&Acirc;&nbsp;
//&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; [tablestyle]
&Acirc;&nbsp;
function tablestyle($caption, $text, $mode){
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; global $style;
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; $caption = $caption ? $caption : '&nbsp;';
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; if ((isset($mode['style']) && $mode['style'] == 'button_menu') || (isset($mode) && ($mode == 'menus_config'))) {
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; $bodytable = 'menu_content_buttons';
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; $bodybreak = '';
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; $but_border = ' button_menu';
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; } else {
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; $bodytable = 'menu_content';
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; $bodybreak = '<br />';
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; $but_border = '';
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; }
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; 
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; echo "<div class='cap_border".$but_border."'>";
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; if ($style == 'leftmenu') {
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; echo "<div class='left_caption'><div class='bevel'>".$caption."</div></div>";
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; } &Acirc;&nbsp;else if ($style == 'rightmenu') {
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; echo "<div class='right_caption'><div class='bevel'>".$caption."</div></div>";
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; } else {
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; echo "<div class='main_caption'><div class='bevel'>".$caption."</div></div>";
&Acirc;&nbsp;
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; }
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; echo "</div>";
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; if ($text != "") {
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; echo "<div class='".$bodytable."'>".$text.$bodybreak."</div>";
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; }
}
&Acirc;&nbsp;
$COMMENTSTYLE = "<div class='spacer' style='text-align:center'><table class='fborder' style='width: 100%'>
<tr>
<td class='fcaption' colspan='2'>{USERNAME} &ensp; am &ensp; &ensp;{TIMEDATE} &ensp; &ensp;
<b> &emsp; {LOCATION}&emsp; &emsp;{COMMENTS}</b></td>
</tr>
{REPLY}{SUBJECT}
<tr>
<td style='width: 20%; vertical-align: top' class='forumheader3'>
<div style='text-align: center'>
&Acirc;&nbsp;
</div>
<span class='smalltext'>{AVATAR} </span>
</td>
<td style='width: 80%; vertical-align: top' class='forumheader3'><br>
{COMMENT}
{RATING}<br><br>{COMMENTEDIT}
</td>
</tr>
</table>
</div>";
&Acirc;&nbsp;
// [chatboxstyle]
&Acirc;&nbsp;
&Acirc;&nbsp;
$CHATBOXSTYLE = "
<img src='".THEME."images/bullet2.gif' vertical-align: bottom' />
<b>{USERNAME}</b>
<div class='smalltext'>
{MESSAGE}
</div>
<br />";
&Acirc;&nbsp;
$POLLSTYLE = "<img src='".THEME."images/polls.png' style='width: 10px; height: 14px; vertical-align: bottom' /> {QUESTION}
&Acirc;&nbsp;
{OPTIONS=<img src='".THEME."images/bullet2.gif' style='width: 10px; height: 10px' /> OPTION<br />BAR<br /><span class='smalltext'>PERCENTAGE VOTES</span><br /><br />}
<div style='text-align:center' class='smalltext'>{AUTHOR}<br />{VOTE_TOTAL} {COMMENTS}
<br />
{OLDPOLLS}
</div>";
&Acirc;&nbsp;
?>
&Acirc;&nbsp;

 

Revise this Paste

Parent: 4722
Your Name: Code Language: