add('CATEGORY',(isset($pageCategory)) ? $pageCategory : 'none'); $template->add('AID',(isset($pageAID)) ? $pageAID : 'none'); $template->add('EXTRATITLE',isset($title) ? ($title . ' - ') : ''); $template->add(strtoupper($pageCategory) . 'ACTIVE', ' class="active"'); $template->add('EXTRASIDEBAR', isset($extraSidebar) ? $extraSidebar : ''); $template->add('REDIRPAGE',rawurlencode($_SERVER['REQUEST_URI'])); $template->add('LOGDATA',echoLogData()); $template->add('LOWERLOGDATA','log' . strtolower(echoLogData())); $template->add('SID',getSessionID()); $template->adds_block('MEMBERS',array('exi' => 1)); if (isAdmin()) { $template->adds_block('ADMIN',array('exi' => 1)); } if (isset($hatNav) && is_array($hatNav)) { $template->adds_block('CREATE_HATNAV', array('exi'=>1)); foreach ($hatNav as $item) { $template->adds_block('HATNAV',array('TITLE' => doAprilFoolsDay($item['title']), 'URL' => $item['url'], 'ICON' => $item['icon'])); } } $template->add('POTW', getPollOfTheWeek()); $gethits = "SELECT * FROM config WHERE name = \"hits\""; $gethits2 = mysql_query($gethits); $gethits3 = mysql_fetch_array($gethits2); $template->add('HITS', $gethits3['value']); $gethits = "SELECT * FROM config WHERE name = \"todayHits\""; $gethits2 = mysql_query($gethits); $gethits3 = mysql_fetch_array($gethits2); $template->add('TODAY', $gethits3['value']); $template->add('DATEFINDER', sd_dateFinder()); if ($usingIE) { $template->add('FLASH', 'It appears you are using Internet Explorer. Four Island is not likely to work properly in IE due to a huge bug in it. There are better browsers out there, why not try one?'); } $getaffs = "SELECT * FROM links WHERE type = \"affiliates\" ORDER BY id ASC"; $getaffs2 = mysql_query($getaffs); $i=0; while ($getaffs3 = mysql_fetch_array($getaffs2)) { $template->adds_block('AFFILIATES', array( 'COLOR' => getTagColor($i++), 'TITLE' => doAprilFoolsDay(htmlentities($getaffs3['title'])), 'URL' => $getaffs3['url'])); } $getwebps = "SELECT * FROM links WHERE type = \"webprojs\" ORDER BY id ASC"; $getwebps2 = mysql_query($getwebps); $i=0; while ($getwebps3 = mysql_fetch_array($getwebps2)) { $template->adds_block('WEBPROJS', array( 'COLOR' => getTagColor($i++), 'TITLE' => doAprilFoolsDay(htmlentities($getwebps3['title'])), 'URL' => $getwebps3['url'])); } if (isset($onFourm)) { $template->adds_block('ONFOURM',array('exi'=>1)); } $getcomments = "SELECT * FROM comments ORDER BY id DESC LIMIT 0,5"; $getcomments2 = mysql_query($getcomments); $i=0; while ($getcomments3[$i] = mysql_fetch_array($getcomments2)) { if ($getcomments3[$i]['is_anon'] == 0) { $getuser = "SELECT * FROM phpbb_users WHERE user_id = " . $getcomments3[$i]['user_id']; $getuser2 = mysql_query($getuser); $getuser3 = mysql_fetch_array($getuser2); $username = $getuser3['username']; $website = $getuser3['user_website']; } else if ($getcomments3[$i]['is_anon'] == 1) { $getanon = "SELECT * FROM anon_commenters WHERE id = " . $getcomments3[$i]['user_id']; $getanon2 = mysql_query($getanon); $getanon3 = mysql_fetch_array($getanon2); if ($getanon3['id'] == $getcomments3[$i]['user_id'])
<?php
/*
444444444
4::::::::4
4:::::::::4
4::::44::::4
4::::4 4::::4 Four Island
4::::4 4::::4
4::::4 4::::4 Written and maintained by Starla Insigna
4::::444444::::444
4::::::::::::::::4 includes/parsers.php
4444444444:::::444
4::::4 Please do not use, reproduce or steal the
4::::4 contents of this file without explicit
4::::4 permission from Hatkirby.
44::::::44
4::::::::4
4444444444
*/
if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);}
require('headerproc.php');
include('includes/bbcode.php');
include('includes/smilies.php');
function parseText($text)
{
$text = parseBBCode($text);
$text = parseSmilies($text);
$text = doAprilFoolsDay($text);
return $text;
}
?>