<?php
##################################################################
# #
# #
# PHPKIT #
# -------------------------------------------- #
# Copyright (c) 2002-2003 Gersöne & Schott GbR #
# #
# #
# ############################################################## #
# #
# Diese Datei / die PHPKIT-Software ist keine Freeware! #
# Für weitere Information besuchen Sie bitte unsere Webseite #
# oder kontaktieren uns per E-Mail: #
# #
# This file / the PHPKIT-software is not freeware! #
# For further informations please vistit our website #
# or contact us via email: #
# #
# Website:
http://www.phpkit.de #
# Email: info@phpkit.de #
# #
# ############################################################## #
# #
# File: /inc/public/start.php #
# Author: Pierre Gersöne #
# Created: Version 1.6.1 - 2004-05-09 #
# Last Modified: Version 1.6.1 - 2004-05-09 #
# Description: not available for this file #
# #
# ############################################################## #
# #
# SIE SIND NICHT BERECHTIGT, UNRECHTMÄSSIGE KOPIEN DIESER #
# DATEI ZU ERSTELLEN UND/ODER DIESE INFORMATIONEN ZU ENTFERNEN #
# #
# YOU ARE NOT AUTHORISED TO CREATE ILLEGAL COPIES OF THIS #
# FILE AND/OR TO REMOVE THIS INFORMATIONS #
# #
##################################################################
if(!defined('pkFRONTEND') || pkFRONTEND!='public')
return;
if(pkGetConfig('welcome_eod'))
{
$welcome_text=$PARSE->parse($config['welcome_text'],1,1,1,1);
$welcome_text_1=$PARSE->parse($config['welcome_text_1'],1,1,1,1);
$welcome_text_2=$PARSE->parse($config['welcome_text_2'],1,1,1,1);
$welcome_text_3=$PARSE->parse($config['welcome_text_3'],1,1,1,1);
if(trim($config['welcome_title'])!='')
{
$welcome_title=$PARSE->parse($config['welcome_title'],1,1,1,1);
eval ("$welcome_title= "".getTemplate("welcome_title")."";");
}
if($welcome_text!='' || $welcome_title!='')
eval("$site_body.= "".getTemplate("welcome")."";");
}
$welcome_home_height = $config['welcome_home_height'];
$welcome_border_color = $config['welcome_border_color'];
$welcome_title_1 = $config['welcome_title_1'];
$welcome_title_2 = $config['welcome_title_2'];
$welcome_title_3 = $config['welcome_title_3'];
$config['welcome_text_1']=$PARSE->parse($welcome_text_1['welcome_text_1'],$contentinfo['content_html'],$contentinfo['content_ubb'],$contentinfo['content_smilies'],$config['text_images']);
$config['welcome_text_2']=$PARSE->parse($welcome_text_2['welcome_text_2'],$contentinfo['content_html'],$contentinfo['content_ubb'],$contentinfo['content_smilies'],$config['text_images']);
$config['welcome_text_3']=$PARSE->parse($welcome_text_3['welcome_text_3'],$contentinfo['content_html'],$contentinfo['content_ubb'],$contentinfo['content_smilies'],$config['text_images']);
eval ("$site_body.= "".getTemplate("welcome_new")."";");
if($config['site_frontpage']!='')
{
$f=explode("n",$config['site_frontpage']);
$config['site_frontpage'];
unset($frontpage);
foreach($f as $fp)
{
$frontpage=trim($fp);
if($frontpage!='' && $frontpage!='start.php')
{
if(strstr($fp,'&'))
{
parse_str($fp);
$fp=explode('&',$fp);
$frontpage=$fp[0];
}
else
$frontpage=$fp;
if(filecheck($frontpage) && eregi(".php",$frontpage))
{
include($frontpage);
}
elseif(filecheck($frontpage))
{
$site_body.=implode('',file($frontpage));
}
else
unset($frontpage);
if($frontpage)
eval("$site_body.= "".getTemplate("frontpage_spacer")."";");
}
}
}
?>