$db[host] = "localhost";
$db[user] = "web851";
$db[pass] = "jens912";
$db[name] = "usr_web851_1";
$sql_prefix = "page"; // Datenbankprefix, falls Sie mit einer Datenbank mehr als ein System verwenden
$use_persistent = "0"; // 1=dauerhafte Datenbankverbindung (Achtung! Schnellere Methode, jedoch unsicherer)
$homepageurl = "http://www.veritas24.de";
//========================================================================
// TEMPLATEZUWEISUNGEN
// HIER KÖNNEN SIE EINZELNEN BEREICHEN UNTERSCHIEDLICHE TEMPLATES ZUWEISEN
// DAS JEWEILIGE TEMPLATE MUSS IM ORDNER "/theme/_THEME_/mainlayout/"
// LIEGEN
//========================================================================
$tplindex = "template.htm"; // TEMPLATE der Startseite, Fehlermeldungen
$tplnews = "template.htm"; // TEMPLATE für News, Newsarchiv
$tplartikel = "template.htm"; // TEMPLATE für Artikel, Artikelarchiv
$tpldownload = "template.htm"; // TEMPLATE für Download
$tpllinks = "template.htm"; // TEMPLATE für Links
$tplgalerie = "template.htm"; // TEMPLATE für Galerie
$tplstats = "template.htm"; // TEMPLATE für Statistiken
$tpltell = "template.htm"; // TEMPLATE für Seite empfehlen
$tplgb = "template.htm"; // TEMPLATE für Gästebuch
$tplkontakt = "template.htm"; // TEMPLATE für Kontakt
$tplpoll = "template.htm"; // TEMPLATE für Umfrage
$tplavatar = "template.htm"; // TEMPLATE für Avatar
$tplforum = "template.htm"; // TEMPLATE für Forum
$tpldoc = "template.htm"; // TEMPLATE für F.A.Q-Bereich
$tpluser = "template.htm"; // TEMPLATE für Userübersicht, Userdetails, Passwort, Registrierung
$tplpn = "template.htm"; // TEMPLATE für Private Nachrichten
@include("includes/conn.php");
?>
class Template {
var $_file;
var $_out;
function Template($fn) {
global $theme,$RL,$CR,$sql_prefix;
$this->_file = "theme/$theme/" . $fn;
$filename = $this->_file;
$fd = @fopen ($filename, "r")or die("FEHLER !
Template ".$filename." konnte nicht geladen werden");
$tmpl = fread ($fd, filesize ($filename));
fclose ($fd);
$this->_out = $tmpl;
return true;
}
function Insert($cap,$wert) {
$this->_out = str_replace($cap, $wert, $this->_out);
return true;
}
function POut() {
$this->_aaprepare();
$page = stripslashes($this->_out);
echo $page;
return true;
}
function VOut() {
$this->_aaprepare();
$page = stripslashes($this->_out);
return $page;
}
function _aaprepare() {
global $sessid;
$this->_out = str_replace("%sess%", $sessid, $this->_out);
}
}
?>Leider gibt es im Moment technische Probleme