ok hier mal die code adminforce/lib/header.php
PHP-Code:
<?
require ('../lib/functions.lib.php');
db_connect ();
require ('lib/layout.lib.php');
// Extras-Erweiterung initalisieren und ausfuehren
require ( '../lib/extras.lib.php' );
if (!isset($_GET['content'])) $_GET['content'] = '/startseite';
if (!file_exists('content'.$_GET['content'].'.php')) $_GET['content'] = '/error/keine_seite';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>..:: Adminforce ::..</title>
<meta name="Author" content="">
<meta name="Publisher" content="">
<meta name="Copyright" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<meta name="Page-topic" content="">
<meta name="Audience" content="">
<meta name="Content-language" content="DE">
<meta name="Page-type" content="Nicht Gewinnorientiert">
<meta name="Robots" content="INDEX,FOLLOW">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" href="css/main.css" type="text/css">
<script type="text/javascript">
<!--
function menuebox(id,art){
if(art == 1){
document.getElementById(id).style.display = 'block';
}else{
document.getElementById(id).style.display = 'none';
}
}
function ShowUserInfo (art) {
/* alle container ausblenden */
document.getElementById("Userinfo1").style.display = 'none';
document.getElementById("Userinfo2").style.display = 'none';
document.getElementById("Userinfo3").style.display = 'none';
document.getElementById("Userinfo4").style.display = 'none';
document.getElementById("Userinfo5").style.display = 'none';
document.getElementById("Userinfo6").style.display = 'none';
/* ausgewaehlten container einblenden */
document.getElementById("Userinfo" + art).style.display = 'block';
}
-->
</script>
<script language="javascript" type="text/javascript">
<!--
var win=null;
onerror = stopError;
function stopError(){
return true;
}
function ShowWindow (url) {
var myleft = (screen.availWidth - 640) / 2;
var mytop = (screen.availHeight - 480) / 2;
settings="width=640,height=480,top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status=yes,menubar=no,toolbar=no,resizable=yes,dependent=no";
win=window.open(url,"",settings);
win.focus();
}
// -->
</script>
</head>
<body style="topmargin:5;leftmargin:0;">
<noscript><div style="font: 10pt Arial; color: #ff0000; text-align: center;">Um <b>alle Funktionen des Adminforce</b> nutzen zu können, bitte <b>JavaScript aktivieren</b>!</div></noscript>
<table width="800" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td valign="top" align="center">
<table style="width:800px; background-color:#888855; border-width:1px; cellpading:0; cellspacing:0; border-color:#000000; border-collapse: collapse;">
<tr>
<td class="titel" height="66" valign="middle" align="left">
<font face="Arial" size=6 color="#ffffff">VMS 1.2 Adminforce</font><br>
<font face="Arial" size=2 color="#ffffff"><?=$seitenname;?></font>
</td>
</tr>
</table>
<table width="800" border="0" cellpadding="0" cellspacing="0"><tr><td height="5"> </td></tr></table>
<!-- Inhalt -->
<table width="800" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="130" valign="top" align="left"><? require ( 'lib/menue_links.php' ); ?></td>
<td width="5" valign="top" align="left"></td>
<td width="530" valign="top" align="left">
Danke MFG Andy