prepare("SELECT * FROM am_values WHERE name = 'template'"); $stmt->execute(); $template = $stmt->fetch(); include_once ("inc/db.inc.php"); //include_once ("inc/admin.inc.php"); //include_once ("inc/member.inc.php"); //$ai=new AdminInterface($db); //$mi=new MemberInterface($db); // Hauptcode einbinden include("coding/main.php"); /////////////////////////////// // Template einlesen $temp=file("templates/".$template["inhalt"]); // Zeilenweise $temp2=@implode("",$temp); // An den Kommentaren umbrechen $template=explode("",$template[$iii+1]); include("coding/".preg_replace("/[^a-zA-Z0-9]/", "",$templ_teile[0]).".php"); // HTML Code ausgeben print $templ_teile[1]; } include("inc/footer.php"); ?>