$q, ); $suche = new Suche($suchedaten); $suchecontent = $suche->gibSuchenFormular(); if(isset($_POST['qq'])){ //only if no extended search was made $suchecontent .= $suche->gibResultate(); } $suchecontent .= $suche->gibSuchenErweitert(); $SMARTY->assign('title', ''); $SMARTY->assign('description', ''); $SMARTY->assign('keywords',''); $SMARTY->assign('author',''); $SMARTY->assign('topic',''); $SMARTY->assign('menu',$MENU->gibMenu()); $SMARTY->assign('login',$MENU->gibLogin()); $SMARTY->assign('speziell',$index->gibSpeziell("alle")); $SMARTY->assign('maincontent',$suchecontent); $SMARTY->assign('breadcrumb', "Suche"); $SMARTY->assign('http_root',HTTP_ROOT."/"); $SMARTY->display('main.tpl'); // Anzeigen des Header-Templates ?>