Location: PHPKode > projects > Soraxdesign PHP Guestbook > admin/admin.php
<?php
session_start();
//error_reporting(E_ALL ^ E_NOTICE);

$sess_id=session_id();
$action=$_GET['action'];
$passe=$_POST['passe'];
$hoehe_div=$_GET['hoehe_div'];
$session_id=$_GET['session_id'];
$go=$_GET['go'];
$lizenz=$_GET['lizenz'];
$show=$_GET['show'];
$do=$_GET['do'];
$pfad="..";

$file_config=file("../Data/config.dat");
$config_inhalt=explode("|||",$file_config[0]);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
	<title>Soraxdesign G&auml;stebuch Administration</title>
	<meta name="title" content="www.soraxdesign.de">
	<meta name="description" content="webdesign, programmierung von speziellen scripten und umsetzung von cms in php, photografie, blog, wallpaper">
	<meta name="keywords" content="grafik,php,script,forum,portfolio,webseiten,wallpaper,grafiken,fotografie,foto,flash,musik,music,photoshop,cinema,4d,links,guestbook,kann,news,editor,soraxdesign">
	<meta name="owner" content="hide@address.com">
	<meta name="author" content="René Kann">
	<meta http-equiv="expires" content="">
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
	<meta http-equiv="content-language" content="de">
	<meta name="rating" content="alle">
	<meta name="robots" content="index,follow">
	<meta name="revisit-after" content="2 days">
	
	<script type="text/javascript">
	function feld()
	{
	document.form.passe.focus();
	}

	function Setzen(s)
	{
		document.forms['form'].elements['Auswahl'].value=s;
	}

	function springe(URL)
	{
	top.location.href = URL;
	} 

	var aktives_form;
	var aktives_feld;

	function createRequestObject()
	{
		var ro;
		var browser = navigator.appName;
		if(browser == "Microsoft Internet Explorer"){
			ro = new ActiveXObject("Microsoft.XMLHTTP");
		}else{
			ro = new XMLHttpRequest();
		}
		return ro;
	}
			
	var smilyReq=createRequestObject();
			
	function SmiliesAnzeigen(form, feld)
	{
				if(document.getElementById('smilies').style.display=='none')
				{
				aktives_form=form;
				aktives_feld=feld
				smilyReq.open("GET", '../functions.inc.php?action=smiliesAnzeigen&dateiname=admin.php&pfad=.', true);
				smilyReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
				smilyReq.onreadystatechange = updateSmilyDiv;
				smilyReq.send(null);
				document.getElementById('smilies').style.display='block';
				document.getElementById('smilies_rahmen').style.display='block';
				document.getElementById('smilies_background').style.display='block';
				}
				else
				{
				document.getElementById('smilies').style.display='none';
				document.getElementById('smilies_rahmen').style.display='none';
				document.getElementById('smilies_background').style.display='none';
				}
	}
			
	function updateSmilyDiv()
	{
			
				if(smilyReq.readyState==3 || smilyReq.readyState==2)
				{
				document.getElementById('smilyDiv').innerHTML = "<center>Smilies werden geladen...</center>";
				}
				
				if(smilyReq.readyState==4)
				{
			        var response = smilyReq.responseText;
				document.getElementById('smilyDiv').innerHTML = response;
				}
	}

	function SmilieEinfuegen(tag)
	{
		var input = document.forms[aktives_form].elements[aktives_feld];
		input.focus();
		
		document.getElementById('smilies').style.display='none';
		document.getElementById('smilies_rahmen').style.display='none';
		document.getElementById('smilies_background').style.display='none';
		
		if(typeof document.selection != 'undefined')
		{
			var range = document.selection.createRange();
			range.text = tag;
			
			range = document.selection.createRange();

				if (tag.length == 0)
					range.move('character', 0);
				else
					range.moveStart('character', 0);
			
			range.select();
		}
		else if(typeof input.selectionStart != 'undefined')
		{
			/* Einfügen des Formatierungscodes */
			var start = input.selectionStart;
			var end = input.selectionEnd;
			//var insText = input.value.substring(start, end);
			
			input.value = input.value.substr(0, start) + tag +" "+ input.value.substr(end);
			
			/* Anpassen der Cursorposition */
			var pos;
			
				if (tag.length == 0)
					pos = start;
				else
					pos = start + tag.length;
			
			input.selectionStart = pos;
			input.selectionEnd = pos;
		}
		else
		{
			/* Abfrage der Einfügeposition */
			var pos=input.value.length;
			
			/* Einfügen des Formatierungscodes */
			input.value = input.value.substr(0, pos) + tag + input.value.substr(pos);
		}
	}

	function insert(aTag, eTag, form, feld)
	{
		var input = document.forms[form].elements[feld];
		input.focus();
		
		  /* für Internet Explorer */
		if(typeof document.selection != 'undefined')
		{
			/* Einfügen des Formatierungscodes */
				if(aTag=="[URL]")
				{
				var linkText = prompt("Bitte fügen Sie Ihren Linktext ein / Please enter your Linktext:","");
				var insText = prompt("Bitte fügen Sie Ihre URL ein (ohne http://) / Please enter your URL (without http://):","");
				var range = document.selection.createRange();
					if(linkText!=null)
					range.text = aTag+"http://"+insText+"[/URL2]"+linkText + eTag+" ";
				}
				else if(aTag=="[MAIL]")
				{
				var linkText = prompt("Bitte fügen Sie Ihren Beschreibungstext ein / Please enter your Descriptiontext:","");
				var insText = prompt("Bitte fügen Sie die Mailadresse ein / Please enter the Mailadress:","");
				var range = document.selection.createRange();
					if(linkText!=null)
					range.text = aTag+insText+"[/MAIL2]"+linkText + eTag+" ";
				}
				else if(aTag=="[IMG]")
				{
				var insText = prompt("Bitte fügen Sie Ihre URL zu dem Bild ein (ohne http://) / Please enter your URL of the picture (without http://):","");
				var range = document.selection.createRange();
				
					if(insText!=null)
					range.text = aTag+"http://"+insText + eTag+" ";
				}
				else
				{
				var insText = prompt("Bitte fügen Sie Ihren Text ein / Please enter your Text:","");
				var range = document.selection.createRange();
				
					if(insText!=null)
					range.text = aTag + insText + eTag+" ";
				}
				
			/* Anpassen der Cursorposition */
			range = document.selection.createRange();
			
			if (insText.length == 0)
			range.move('character', eTag.length);
			else
			range.moveStart('character', aTag.length + insText.length + eTag.length+" ");
			
			range.select();
		}
		  /* für neuere auf Gecko basierende Browser */
		else if(typeof input.selectionStart != 'undefined')
		{
			/* Einfügen des Formatierungscodes */
			var start = input.selectionStart;
			var end = input.selectionEnd;
			//var insText = input.value.substring(start, end);
				if(aTag=="[URL]")
				{
				var insText = prompt("Bitte fügen Sie Ihren Linktext ein / Please enter your Linktext:","");
				var linkText = prompt("Bitte fügen Sie Ihre URL ein (ohne http://) / Please enter your URL (without http://):","");
				aTag=aTag+"http://"+linkText+"[/URL2]";
				}
				else if(aTag=="[MAIL]")
				{
				var insText = prompt("Bitte fügen Sie Ihren Beschreibungstext ein / Please enter your Descriptiontext:","");
				var linkText = prompt("Bitte fügen Sie die Mailadresse ein / Please enter the Mailadress:","");
				aTag=aTag+linkText+"[/MAIL2]";
				}
				else if(aTag=="[IMG]")
				{
				var insText = prompt("Bitte fügen Sie Ihre URL zu dem Bild ein (ohne http://) / Please enter your URL of the picture (without http://):","");
				}
				else
				{
				var insText = prompt("Bitte fügen Sie Ihren Text ein / Please enter your Text:","");
				}
				if(insText!=null)
				input.value = input.value.substr(0, start) + aTag + insText + eTag +" "+ input.value.substr(end);
			
			/* Anpassen der Cursorposition */
			var pos;
			
				if (insText.length == 0)
				pos = start + aTag.length;
				else
				pos = start + aTag.length + insText.length + eTag.length;
			
			input.selectionStart = pos;
			input.selectionEnd = pos;
		}
		  /* für die übrigen Browser */
		else
		{
			/* Abfrage der Einfügeposition */
			var pos=input.value.length;
			
				if(aTag=="[URL]")
				{
				var insText = prompt("Bitte fügen Sie Ihren Linktext ein / Please enter your Linktext:","");
				var linkText = prompt("Bitte fügen Sie Ihre URL ein (ohne http://) / Please enter your URL (without http://):","");
				aTag=aTag+linkText+"[/URL2]";
				}
				else if(aTag=="[MAIL]")
				{
				var insText = prompt("Bitte fügen Sie Ihren Beschreibungstext ein / Please enter your Descriptiontext:","");
				var linkText = prompt("Bitte fügen Sie die Mailadresse ein / Please enter the Mailadress:","");
				aTag=aTag+linkText+"[/MAIL2]";
				}
				else if(aTag=="[IMG]")
				{
				var insText = prompt("Bitte fügen Sie Ihre URL zu dem Bild ein (ohne http://) / Please enter your URL of the picture (without http://):","");
				}
				else
				{
				var insText = prompt("Bitte fügen Sie Ihren Text ein / Please enter your Text:","");
				}
				
			/* Einfügen des Formatierungscodes */
			if(insText!=null)
			input.value = input.value.substr(0, pos) + aTag + insText + eTag +" "+ input.value.substr(pos);
		}
		
	}
	</script>
	<style type="text/css">
	body, p, div, td {font-family: Verdana; font-size: 10px; color: #000000}

	/* STANDARDLINKS */

	a.links {font-family:Tahoma; text-decoration : none;letter-spacing:1px;text-transform:uppercase;font-weight:bold; color: #000000}
	a.links:link { color: #696867}
	a.links:visited { color: #696867}
	a.links:active { color: #696867}
	a.links:hover {color: #AD9883}

	a.einfach {text-decoration : none}
	a.einfach:link { color: #000000}
	a.einfach:visited { color: #000000}
	a.einfach:active { color: #000000}
	a.einfach:hover {color: #EDDEDE}


	/* MENÜS UNTEN MIT SPEICHERN, MENÜ OBEN USW. */

	a.menu {font-family:Tahoma; text-decoration : none;letter-spacing:1px;text-transform:uppercase;font-weight:bold; color: #000000}
	a.menu:link{color: #000000}
	a.menu:hover {color: #C6A56E}
	a.menu:active {color: #000000}

	/* LOCATION */

	.location
	{
	color: #696254;
	font-size: 9px;
	letter-spacing:1px;
	text-transform:uppercase;
	font-weight:bold; 
	}

	/* EINSTELLUNGEN */

	a.einstellungen {font-family:Verdana; text-decoration : none;font-size: 12px; letter-spacing:1px;font-weight:bold; color: #000000}
	a.einstellungen:link{color: #000000}
	a.einstellungen:hover {color: #6C6659}
	a.einstellungen:active {color: #000000}

	#einstellungenMenu
	{
	font-weight:bold; 
	color:#2F271C;
	font-family:verdana;
	font-size: 11px;
	}

	.titel
	{
	font-weight:bold; 
	color:#2F271C;
	font-family:Verdana;
	font-size: 12px;
	}

	.SortierungsTitel
	{
	color:#A58155;
	font-family:Georgia;
	font-size: 17px;
	}

	.titeldiv
	{
	width:750px;
	margin-left:10px;
	border:1px solid #CCCCCC;
	padding:5px;
	margin-top:10px;
	background-color:#F4E9DB;
	}

	.subtitelgrundeinstellungen
	{
	width:750px;
	margin-top:2px;
	margin-left:10px;
	border:1px solid #DBC6A3;
	padding:5px;
	background-color:#EFE2CC;
	}

	/* VERWALTUNG */

	.verwaltung_beitrag_schrift
	{
	color:#7D7B78;
	font-family:Verdana;
	font-size: 10px;
	}

	/* SONSTIGES */

	.subtitelimdiv
	{
	font-weight:bold; 
	color:#696254;
	font-family:Verdana;
	font-size: 10px;
	}

	.warnung_text
	{
	font-weight:bold; 
	color:#FFFFFF;
	font-family:Verdana;
	font-size: 10px;
	}

	.dezenter_rahmen
	{
	border:1px solid #CCCCCC;
	background-color:#F3F3F3;
	}

	.backup_uebersicht_links
	{
	float:left;
	margin-top:3px;
	width:330px;
	}

	.warnung
	{
	margin-left:10px;
	border:1px solid #5E1116;
	padding:5px;
	margin-top:10px;
	background-color:#C51D28;
	}

	a.links_eintrag {text-decoration : none;font-weight:bold}
	a.links_eintrag:link { color: #2F271C}
	a.links_eintrag:visited { color: #2F271C}
	a.links_eintrag:active { color: #2F271C}
	a.links_eintrag:hover {color: #996633}
	</style>
</head>
<?php
	if($action=="logout" and $go=3 and $session_id==$sess_id)
	{
		$_SESSION=array();
		session_destroy;
		echo"<a href=\"admin.php\" target=\"_self\"><img src=\"Bilder/logout.gif\" border=\"0\"></a>";
	}
?>
<body style="background-image:url('Bilder/background.jpg');margin:0px;margin-left:0px;padding:0px" ONLOAD="<?php if($action=="") { echo";feld()";} ?>">
<?php
if($action=="")
{
?>
<table id="Tabelle_01" width="801" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="11">
			<img src="Bilder/Login_01.gif" width="800" height="49" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="49" alt=""></td>
	</tr>
	<tr>
		<td colspan="7">
			<img src="Bilder/Login_02.gif" width="310" height="45" alt=""></td>
		<td colspan="2" rowspan="3">
			<a href="www.soraxdesign.de" target="_blank">
				<img src="Bilder/Login_03.gif" width="180" height="76" border="0" alt=""></a></td>
		<td colspan="2" rowspan="8">
			<img src="Bilder/Login_04.gif" width="310" height="389" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="45" alt=""></td>
	</tr>
	<tr>
		<td rowspan="9">
			<img src="Bilder/Login_05.gif" width="68" height="506" alt=""></td>
		<td colspan="3">
			<a href="www.soraxdesign.de" target="_blank">
				<img src="Bilder/Login_06.gif" width="132" height="17" border="0" alt=""></a></td>
		<td colspan="3" rowspan="3">
			<img src="Bilder/Login_07.gif" width="110" height="179" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="17" alt=""></td>
	</tr>
	<tr>
		<td colspan="3" rowspan="2">
			<img src="Bilder/Login_08.gif" width="132" height="162" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="14" alt=""></td>
	</tr>
	<tr>
		<td colspan="2" rowspan="2">
			<img src="Bilder/Login_09.gif" width="180" height="154" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="148" alt=""></td>
	</tr>
	<tr>
		<td colspan="2" rowspan="4">
			<img src="Bilder/Login_10.gif" width="26" height="165" alt=""></td>
		<td colspan="2" rowspan="3" style="background-image:url('Bilder/Login_11.gif')" width="188" height="55">
			<form name="form" method="post" action="admin.php?action=login" style="margin:0px;padding:0px">
			<input type="password" name="passe" maxlength="100" style="font-size: 12px; font-family: Verdana; border: 0px; padding:2px; background-color: #F7F2E8"></td>
		<td colspan="2">
			<img src="Bilder/Login_12.gif" width="28" height="6" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="6" alt=""></td>
	</tr>
	<tr>
		<td rowspan="3">
			<img src="Bilder/Login_13.gif" width="15" height="159" alt=""></td>
		<td colspan="2"><input type="image" src="Bilder/Login_14.gif" border="0" width="42" height="40" alt=""></td>
		<td rowspan="3">
			<img src="Bilder/Login_15.gif" width="151" height="159" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="40" alt=""></td>
	</tr>
	<tr>
		<td colspan="2" rowspan="2">
			<img src="Bilder/Login_16.gif" width="42" height="119" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="9" alt=""></td>
	</tr>
	<tr>
		<td colspan="2">
			<img src="Bilder/Login_17.gif" width="188" height="110" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="110" alt=""></td>
	</tr>
	<tr>
		<td rowspan="2">
			<img src="Bilder/Login_18.gif" width="21" height="162" alt=""></td>
		<td colspan="8" width="617" height="67" style="background-image:url('Bilder/Login_19.gif')">
		<?php
		include("../functions.inc.php");
		$config=configAuslesen("..");
		$subdir=opendir("../Data/Language/");
		$sprachenarray=array();
		$sprachdateienarray=array();
		$sprache=spracheLesen("admin.php","..");
		while($file=readdir($subdir))
		{
			if($file!="." and $file!=".." and $file!="flags")
			{
			$sprachfile=file("../Data/Language/$file");
				if($file==$config[58])
					$aktuelleSprache=$sprachfile[0];
				else
				{
					array_push($sprachenarray,$sprachfile[0]);
					array_push($sprachdateienarray,$file);
				}
				
				if(file_exists("../Data/Language/flags/".strtolower(trim($aktuelleSprache)).".gif"))
					$aktuelleFlagge="<a href=\"#\" OnClick=\"document.form.Auswahl.value=''\"><img src=\"flag.php?flag=".strtolower(trim($aktuelleSprache)).".gif\" border=\"0\"></a> ";
				else
					$aktuelleFlagge;
			}
		}
		?>
		<div style="float:left;width:150px">
			<p style="margin:0px;padding-bottom:8px">
				<b><?php echo $sprache[174] ?></b>
			</p>
			<div style="float:left;margin-top:1px"><?php echo $aktuelleFlagge ?></div><div style="float:left;margin-left:10px"><?php echo $aktuelleSprache ?></div>
		</div>
		<div style="float:left;width:150px">
			<p style="margin:0px;padding-bottom:8px">
				<b><?php echo $sprache[175] ?></b>
			</p>
			<?php
				$x=0;
				foreach($sprachenarray as $sprache)
				{
					echo "<a href=\"#\" OnClick=\"javascript:Setzen('".$sprachdateienarray[$x]."')\" OnMouseOut=\"document.getElementById('bild_$x').style.borderColor='F8EEDB';document.getElementById('$x').style.display='none';document.getElementById('def').style.display='block'\" OnMouseOver=\"document.getElementById('bild_$x').style.borderColor='777063';document.getElementById('$x').style.display='block';document.getElementById('def').style.display='none'\"><img id=\"bild_$x\" style=\"border:1px solid #FFFFFF\" src=\"flag.php?flag=".strtolower(trim($sprache)).".gif\"></a> ";
					$x++;
				}
				
				for($x=0;$x<count($sprachenarray);$x++)
					echo "<div id=\"$x\" style=\"display:none;padding-top:3px\">$sprachenarray[$x]</div>";
					
				echo "<div id=\"def\" style=\"display:block;padding-top:3px\">&nbsp</div>";
			?>
			<input type="hidden" name="Auswahl"></form>
		</div>
		</td>
		<td rowspan="2">
			<img src="Bilder/Login_20.gif" width="94" height="162" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="67" alt=""></td>
	</tr>
	<tr>
		<td colspan="8">
			<img src="Bilder/Login_21.gif" width="617" height="95" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="95" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="68" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="21" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="5" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="106" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="82" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="15" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="13" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="29" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="151" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="216" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="94" height="1" alt=""></td>
		<td></td>
	</tr>
</table>
<?php
}

if($action=="login")
{
$file=file("../Data/pw.dat");
$passwort=$file[0];
$_SESSION['spracheAuswahl']=$_POST['Auswahl'];
	if(sha1($_POST['passe'])==$passwort or $sess_id==$session_id and $_SESSION['passwort_weiter']==$passwort)
	{
	$_SESSION["passwort_weiter"]=$passwort;
	$_SESSION["hoehe_div"]="471";
		if($lizenz=="ok")
		{
		$fp=fopen("../Data/lizenz_ok.dat","w");
		fclose($fp);
		}
		
	include("../functions.inc.php");
	$config=configAuslesen("..");
	$aktuelleSprache=$config[58];
	
	if(!file_exists("../Data/lizenz_ok.dat"))
	{
	@mail("hide@address.com","Gaestebuch URL","URL: $_SERVER[SERVER_NAME]\n Scripturl: $_SERVER[SCRIPT_NAME]");
	?>
	<div id="layer23" style="position:absolute;margin-left:200px;width:600px;margin-top:55px">
	<span class="SortierungsTitel"><?php echo $sprache[148] ?></span>
	</div>
	<div id="layer3" style="position:absolute;width:450px;margin-left:175px;margin-top:75px;height450px;background-image:url('Bilder/lizenz.gif')">
		<p style="margin:35px" align="justify">
		<?php include("lizenz.inc"); ?>
		<br><br>
		<b>Sie m&uuml;ssen dem Lizenzabkommen zustimmen, um weiterhin mit dem G&auml;stebuch arbeiten zu k&ouml;nnen. Sie werden danach automatisch zur Administration weitergeleitet. Dieser Hinweis wird nur einmal angezeigt.</b>
			<script>
			var aktiv = window.setInterval("Button()", 1000);
			var i = 0;
			function Button() 
			{
			  i = i + 1;
			  if (i >= 5)
			  {
			  document.form_lizenz.zustimmen.disabled=false;
			  window.clearInterval(aktiv);
			  }
			  	
			}
			</script>
		</p>
	</div>
	<div id="layer3" style="position:absolute;width:200px;margin-left:430px;margin-top:530px;">
		<form name="form_lizenz" method="post" style="margin:0px;padding:0px">
			<input type="button" value="Zustimmen" disabled name="zustimmen" OnClick="springe('admin.php?action=login&session_id=<?php echo $sess_id ?>&lizenz=ok')" style="margin:3px"><input type="button" value="Ablehnen" OnClick="springe('admin.php?action=logout&session_id=<?php echo $sess_id ?>&go=3')" style="margin:3px">
		</form>
	</div>
	<?php
	}
	else
	{
		if($_SESSION['spracheAuswahl']!="")
		{
			$config[58]=trim($_SESSION['spracheAuswahl']);
			$config=implode("|||",$config);
			$fp=fopen("../Data/config.dat","w");
			fputs($fp,$config);
			fclose($fp);
			unset($_SESSION['spracheAuswahl']);
		}
		$sprache=spracheLesen("admin.php","..");
	?>
	<!-- SMILIES EINLESEN UND IN VERSTECKTES DIV PACKEN -->
	<div id="smilies_background" style="filter:Alpha(opacity=70,style=0);position:absolute;display:none;margin:0px;padding:0px;height:600px;width:800px;z-index:2;background-image:url('images/images/verwaltung/smile_background_grau.png');">
	</div>
	<div id="smilies_rahmen" style="filter:Alpha(opacity=40,style=0);position:absolute;display:none;top:50%;left:50%;margin:0px;padding:0px;height:400px;width:400px;margin-left:-200px;margin-top:-200px;z-index:3;background-image:url('images/images/verwaltung/smile_background_rahmen.png');">
	</div>
	<div id="smilies" style="filter:Alpha(opacity=85,style=0);position:absolute;display:none;top:50%;left:50%;margin:0px;padding:0px;height:380px;width:380px;margin-left:-190px;margin-top:-190px;z-index:4;background-image:url('images/images/verwaltung/smile_background.png')">
		<p align="right" style="margin:0px;padding-top:5px;padding-right:5px">
			<a href="#" OnClick="javascript:document.getElementById('smilies_background').style.display='none';javascript:document.getElementById('smilies').style.display='none';document.getElementById('smilies_rahmen').style.display='none'"><img src="images/images/verwaltung/schliessen.gif" border="0"></a>
		</p>
		<p style="margin:0px;padding:15px;padding-top:0px">
			<span class="titel">Smilies</span>
		</p>
		<div id="smilyDiv" style="overflow:auto;height:330px;width:380px">
		</div>
	</div>
	<!-- ENDE SMILIES -->
<table width="800" height="601" border="0" cellpadding="0" cellspacing="0" border="1">
	<tr>
		<td colspan="15">
			<img src="Bilder/admin_01.gif" width="800" height="9" alt=""></td>
	</tr>
	<tr>
		<td colspan="5" rowspan="2">
			<img src="Bilder/admin_02.gif" width="320" height="85" alt=""></td>
		<td colspan="5">
			<img src="Bilder/admin_03.gif" width="156" height="68" alt=""></td>
		<td colspan="5" rowspan="2">
			<img src="Bilder/admin_04.gif" width="324" height="85" alt=""></td>
	</tr>
	<tr>
		<td colspan="5">
			<img src="Bilder/admin_05.gif" width="156" height="17" alt=""></td>
	</tr>
	<tr>
		<td rowspan="4">
			<img src="Bilder/admin_06.gif" width="32" height="74" alt=""></td>
		<td colspan="2" height="38" width="147" style="background-image:url('Bilder/admin_07.jpg')">
		<div align="center" style="width:147px;margin-top:6px;"><a href="admin.php?action=login&go=1&session_id=<?php echo $sess_id ?>" class="menu"><?php echo $sprache[0] ?></a></div>
		</td>
		<td rowspan="2">
			<img src="Bilder/admin_08.gif" width="1" height="44" alt=""></td>
		<td colspan="2" height="38" width="147" style="background-image:url('Bilder/admin_09.jpg')">
		<div align="center" style="width:147px;margin-top:6px;"><a href="admin.php?action=login&go=2&session_id=<?php echo $sess_id ?>" class="menu"><?php echo $sprache[1] ?></a></div>
		</td>
		<td rowspan="2">
			<img src="Bilder/admin_10.gif" width="1" height="44" alt=""></td>
		<td colspan="2" height="38" width="147" style="background-image:url('Bilder/admin_11.jpg')">
		<div align="center" style="width:147px;margin-top:6px;"><a href="admin.php?action=login&go=3&session_id=<?php echo $sess_id ?>" class="menu"><?php echo $sprache[2] ?></a></div>
		</td>
		<td rowspan="4">
			<img src="Bilder/admin_12.gif" width="1" height="74" alt=""></td>
		<td colspan="1" style="background-image:url('Bilder/admin_13.jpg')">
		<div align="center" style="width:147px;margin-top:6px;"><a href="admin.php?action=login&go=4&session_id=<?php echo $sess_id ?>" class="menu"><?php echo $sprache[3] ?></a></div>
		</td>
		<td rowspan="4">
			<img src="Bilder/admin_14.gif" width="1" height="74" alt=""></td>
		<td colspan="2" style="background-image:url('Bilder/admin_15.jpg')">
		<div align="center" style="width:147px;margin-top:6px;"><a href="admin.php?action=logout&session_id=<?php echo $sess_id ?>" class="menu"><?php echo $sprache[4] ?></a></div>
		</td>
		<td rowspan="2">
			<img src="Bilder/admin_16.gif" width="29" height="44" alt=""></td>
	</tr>
	<tr>
		<td colspan="2">
			<img src="Bilder/admin_17.gif" width="147" height="6" alt=""></td>
		<td colspan="2">
			<img src="Bilder/admin_18.gif" width="147" height="6" alt=""></td>
		<td colspan="2">
			<img src="Bilder/admin_19.gif" width="147" height="6" alt=""></td>
		<td rowspan="3">
			<img src="Bilder/admin_20.gif" width="147" height="36" alt=""></td>
		<td colspan="2">
			<img src="Bilder/admin_21.gif" width="147" height="6" alt=""></td>
	</tr>
	<tr>
		<td rowspan="2">
			<img src="Bilder/admin_22.gif" width="30" height="30" alt=""></td>
		<td colspan="6" style="background-image:url('Bilder/admin_23.gif')">
		<div>
		<?php
		if($show!="")
		{
			switch($show)
			{
			case "grundeinstellungen":
			echo "<div style=\"float:left;\"><img src=\"images/images/einstellungen/cog_edit.gif\"></div> <div style=\"float:left;margin-left:10px;margin-top:3px\"><span class=\"location\">$sprache[5]</span></div>";
			break;
			case "ansicht":
			echo "<div style=\"float:left;\"><img src=\"images/images/einstellungen/eye.gif\"></div> <div style=\"float:left;margin-left:10px;margin-top:3px\"><span class=\"location\">$sprache[6]</span></div>";
			break;
			case "backup":
			echo "<div style=\"float:left;\"><img src=\"images/images/einstellungen/folder_database.gif\"></div> <div style=\"float:left;margin-left:10px;margin-top:3px\"><span class=\"location\">$sprache[7]</span></div>";
			break;
			case "badword":
			echo "<div style=\"float:left;\"><img src=\"images/images/einstellungen/font_delete.gif\"></div> <div style=\"float:left;margin-left:10px;margin-top:3px\"><span class=\"location\">$sprache[8]</span></div>";
			break;
			case "passwort":
			echo "<div style=\"float:left;\"><img src=\"images/images/einstellungen/shield_go.gif\"></div> <div style=\"float:left;margin-left:10px;margin-top:3px\"><span class=\"location\">$sprache[9]</span></div>";
			break;
			case "bilder":
			echo "<div style=\"float:left;\"><img src=\"images/images/einstellungen/image.gif\"></div> <div style=\"float:left;margin-left:10px;margin-top:3px\"><span class=\"location\">$sprache[164]</span></div>";
			break;
			}
		}
		else
		{
			switch($go)
			{
			case "1":
			echo "<span class=\"location\">$sprache[0]</span></div>";
			break;
			case "2":
			echo "<span class=\"location\">$sprache[1]</span></div>";
			break;
			case "3":
			echo "<span class=\"location\">$sprache[2]</span></div>";
			break;
			case "4":
			echo "<span class=\"location\">$sprache[3]</span></div>";
			break;
			}
		}
		?>
		</div>
		</td>
		<td rowspan="2">
			<img src="Bilder/admin_24.gif" width="141" height="30" alt=""></td>
		<td rowspan="2">
			<img src="Bilder/admin_25.gif" width="16" height="30" alt=""></td>
		<td colspan="2" style="width:160px;height:25px;background-image:url('Bilder/admin_26.gif')">
		<font color="#AEAA9A">Version 3.2.5</font>
		</td>
	</tr>
	<tr>
		<td colspan="6">
			<img src="Bilder/admin_27.gif" width="272" height="5" alt=""></td>
		<td colspan="2">
			<img src="Bilder/admin_28.gif" width="160" height="5" alt=""></td>
	</tr>
	<tr>
		<td colspan="15">
		
		<div id="Layer2" style="border:0px;background-color:#FFFFFF; margin:0px; width: 800px;height:407px">
		<?php
		switch($go)
		{
		case "":
		include("start.inc.php");
		break;
		case "1":
		include("settings_main.inc.php");
		break;
		case "2":
		include("verwaltung_main.inc.php");
		break;
		case "3":
		include("start.inc.php");
		break;
		case "4":
		include("impressum.inc.php");
		break;
		}
		?>
		</div>
		</td>
	</tr>
	<tr>
		<td colspan="15">
			<img src="Bilder/admin_30.gif" width="800" height="37" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="32" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="30" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="117" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="140" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="7" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="6" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="141" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="147" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="16" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="131" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="29" height="1" alt=""></td>
	</tr>
</table>
<?php
	}
}
else
{
echo"<meta http-equiv=\"refresh\" content=\"0; URL=error.php\">";
}
}
?>
</body>
</html>
Return current item: Soraxdesign PHP Guestbook