Subversion-Projekte lars-tiefland.webhosting

Revision

Revision 78 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
96 lars 1
<?php
78 lars 2
	//$URL: http://repos.lars-tiefland.de:8080/svn/webhosting/trunk/admin/common.php $ last modified in Revision $Rev: 70 $ by $Author: lars $ at $Date: 2007-07-14 20:59:17 +0200 (Sa, 14. Jul 2007) $
3
 
4
	//Smarty
5
	require("libs/Smarty.class.php");
6
	$smarty=new Smarty();
7
 
8
	if (strtolower($_SERVER["PHP_AUTH_USER"])!="ltiefland")
9
	{
10
		$smarty->assign("meld","Ein Fehler ist aufgetreten!");
11
		$smarty->assign("db_meld","Du bist nicht berechtigt diese Seite zu sehen!");
12
		$smarty->assign("error",true);
13
		$smarty->display("meld.tpl");
14
		exit;
15
	}
16
	//PEAR
17
	require("MDB2.php");
18
 
19
	require_once("../functions.php");
20
 
21
	$dsn="mysqli://root:NcC2007@127.0.0.1/webhosting";
22
	$db=MDB2::connect($dsn,array());
23
?>