"; #santosCMS - Content Management System #Copyright (C) 2002 Matt Simon # #This program is free software; you can redistribute it and/or #modify it under the terms of the GNU General Public License #as published by the Free Software Foundation; either version 2 #of the License, or (at your option) any later version. # #This program is distributed in the hope that it will be useful, #but WITHOUT ANY WARRANTY; without even the implied warranty of #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #GNU General Public License for more details. # #You should have received a copy of the GNU General Public License #along with this program; if not, write to the Free Software #Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA # #This program was written by Matt Simon [simon.matt@inode.at] #The newst version and any updates are available at www.santos-cms.net $pathinfo=pathinfo(__FILE__); $cms[script_pos]=$pathinfo[dirname]."/admin/"; include_once $cms[script_pos]."include/db.inc.php"; if($cms_cfg['caching']=="gzip") { #ob_start("ob_gzhandler"); } //---------------------------------------------------- include_once $cms[script_pos]."include/cms.lib.php"; //---------------------------------------------------- $QUERY_STRING=eregi_replace("(([&]?)((template_id=$template_id)|(template=$template))+([&]?))","",$QUERY_STRING); if($template_id!="CMSfunctionsOnly") { if(isset($template)) { $query="select t_id from $cms_cfg[template_table] where name=\"$template\""; $res=do_query($query); list($template_id)=@mysql_fetch_row($res); } $query="select t_id,cache_period from $cms_cfg[template_table] where t_id=\"$template_id\""; $res=do_query($query); list($t_check,$cache_period)=@mysql_fetch_row($res); if($t_check>0) { if(($cms_cfg['caching']=="gzip" or $cms_cfg['caching']==1) and $cache_period>0) { include $cms[script_pos]."include/cache.class.php"; $cache=new cache; $cache->do_cache(); } else { if($show_convert==1) { echo "GENERATED FILE:

"; } include $cms[script_pos]."../data/templates/$template_id.php"; } if($cms_cfg['statistics']==1) { include $cms[script_pos]."include/statistics.class.php"; $stat=new statistics; $stat->do_stat("tpl"); } } else { echo"Es wurde kein g�ltiges Template angegeben"; } } //echo "

".microtime(); ?>
Fatal error: Uncaught Error: Call to undefined function cms_include() in /data/web/e72649/html/imprint.php:11 Stack trace: #0 {main} thrown in /data/web/e72649/html/imprint.php on line 11