1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | | PHP-Quelltext <?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")."\";");
}
}
}
?> |