• Das Erstellen neuer Accounts wurde ausgesetzt. Bei berechtigtem Interesse bitte Kontaktaufnahme über die üblichen Wege. Beste Grüße der Admin

Problem Darstellung im IE

maka

New member
PHP:
  <?
//Session Start
include("login/sessionhelpers.inc.php");
include("login/codes.php");
?>
Sobald diese Zeilen eingefügt sind, zeigt der IE nichts mehr an, der Firefox wiederum funktioniert.
Nehme ich die Session raus läuft es auch auf IE.

Hier der ganze Code
PHP:
  <?
//Session Start
include("login/sessionhelpers.inc.php");
include("login/codes.php");
?><html>
 <title>beta2TTCLengerich</title>
 <head>
 <style type="text/css">
    <!--
#menu{
background-color:#FFFF84;
border-bottom:2px groove #000000;
font-family:Geneva, Arial, Helvetica, sans-serif;
border-collapse:collapse;
font-size:14px;
}
#menu a{
color:#000000;
}
#menuspiele{
background-color:#FFFF84;
font-family:Geneva, Arial, Helvetica, sans-serif;
border-collapse:collapse;
font-size:12px;
}

#menuzwischen{
background-color:#FFFF3C;
font-size:14px;
}
#menu1 td {
border-bottom:2px groove #000000;
font-size:14px;
}
#admin{
	background-color: #ff9800;
	border-collapse:collapse;
	color:#000000;
	font-style:normal;
	font-family:Geneva, Arial, Helvetica, sans-serif;
	font-size:14px;
	}
#admin a{
color:#000000;
}
#admin1 td {
border-bottom:2px groove #000000;
	font-size:14px;
}
a:active { color: #333333; text-decoration: underline; background: none; }
a:visited { color: #333333; text-decoration: none; background: none; }
a:link { color: #333333; text-decoration: none; background: none; }
a:hover { color: #000000; text-decoration: underline; background: none; }

    </style>
    </head>
<body bgcolor="#FFFFA4">
<table width="1024" border="0" align="center">
  <tr>
    <td height="174" valign="top">TTC Lengerich</td>
    <td height="174" valign="top">TTC Lengerich</td>
    <td height="174" valign="top">TTC Lengerich</td>
  </tr>
  <tr>
    <td width="159"> </td>
    <td width="625"> </td>
    <td width="226"> </td>
  </tr>
  <tr>
    <td height="234" valign="top">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
<td id="menuzwischen" align="right"><b>Aktuelles</b></td>
</tr>
    <tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Aktuelles</td>
</tr>
<tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Ergebnisse</td>
</tr>
    <tr>
<td id="menuzwischen" align="right"><b>Profil</b></td>
</tr>
    <tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Daten ändern</td>
</tr>
<tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Logout</td>
</tr>
<tr>
<td id="menuzwischen" align="right"><b>Administration</b></td>
</tr>
</table>
    <table width="100%" border="0" id="admin" cellpadding="0" cellspacing="0">
<tr>
<td style="border-bottom:2px groove #000000;"><a href="#" onclick="versteckt()"><div align="right"><font size="2">adminMENÜ</font></div>
</a><a href="" onMouseOver="style.backgroundColor='#ffbb00'" onMouseOut="style.backgroundColor='#ff9800'">ToDo (32)</a></td>
</tr>
<tr>
	<td id="ghost">    
		<table width="100%" border="0" id="admin1" cellpadding="0" cellspacing="0">
             		<tr>
        		<td width="147" onMouseOver="style.backgroundColor='#ffbb00'" onMouseOut="style.backgroundColor='#FF9900'"><a href="test">Kontakt (0)</a></td>
   		  </tr>
               		<tr>
        		<td width="147" onMouseOver="style.backgroundColor='#ffbb00'" onMouseOut="style.backgroundColor='#FF9900'"><a href="test">Anmeldungen (9)</a></td>
   		  </tr>
     		<tr>
        		<td width="147" onMouseOver="style.backgroundColor='#ffbb00'" onMouseOut="style.backgroundColor='#FF9900'"><a href="test">News Hauptseite</a></td>
   		  </tr>
               		<tr>
        		<td width="147" onMouseOver="style.backgroundColor='#ffbb00'" onMouseOut="style.backgroundColor='#FF9900'"><a href="test">News Schüler</a></td>
   		  </tr>
      		<tr>
        		<td onMouseOver="style.backgroundColor='#ffbb00'" onMouseOut="style.backgroundColor='#ff9800'">Termine</td>
      		</tr>
      		<tr>
       			<td onMouseOver="style.backgroundColor='#ffbb00'" onMouseOut="style.backgroundColor='#ff9800'">Newsticker</td>
      		</tr>
      		<tr>
        		<td onMouseOver="style.backgroundColor='#ffbb00'" onMouseOut="style.backgroundColor='#ff9800'">Ergebnisse</td>
      		</tr>
            <tr>
       			<td onMouseOver="style.backgroundColor='#ffbb00'" onMouseOut="style.backgroundColor='#ff9800'">Mannschaften</td>
      		</tr>
     		<tr>
        		<td onMouseOver="style.backgroundColor='#ffbb00'" onMouseOut="style.backgroundColor='#ff9800'">Bilder</td>
      		</tr>
                 		<tr>
        		<td onMouseOver="style.backgroundColor='#ffbb00'" onMouseOut="style.backgroundColor='#ff9800'">Header Grafik</td>
      		</tr>
                 		<tr>
        		<td onMouseOver="style.backgroundColor='#ffbb00'" onMouseOut="style.backgroundColor='#ff9800'">Verwaltung</td>
      		</tr>
                 		<tr>
        		<td onMouseOver="style.backgroundColor='#ffbb00'" onMouseOut="style.backgroundColor='#ff9800'">Logbuch</td>
      		</tr>
</table>    </td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="menu">
<tr>
<td id="menuzwischen" align="right"><b>Bereich</b></td>
</tr>
<tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'"><a href="#" onclick="versteckt1()">Herren</a></td>
</tr>
<tr>
	<td id="ghost1"><table cellpadding="0" cellspacing="0" id="menu1" width="100%">
    <tr>
    <td onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">1. Herren</td>
    </tr>
        <tr>
    <td onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">2. Herren</td>
    </tr>
        <tr>
    <td onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">3. Herren</td>
    </tr>
        <tr>
    <td onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">4. Herren</td>
    </tr>
    </table>    </td>
    </tr>


<tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'"><a href="#" onclick="versteckt2()">Schüler</a></td>
</tr>
<tr>
	<td id="ghost2"><table cellpadding="0" cellspacing="0" id="menu1" width="100%">
    <tr>
    <td onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">1. Schüler</td>
    </tr>
        <tr>
    <td onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">2. Schüler</td>
    </tr>
        <tr>
    <td onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Trainingsbeteiligung</td>
    </tr>
        <tr>
    <td onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Trainingsplanung</td>
    </tr>
    </table>    </td>
    </tr>
<tr>
<td id="menuzwischen" align="right"><b>Interaktiv</b></td>
</tr>
<tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Gästebuch</td>
</tr>
<tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Fotos</td>
</tr>
<tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Sieger Kreismeister</td>
</tr>
<tr>
<td id="menuzwischen" align="right"><b>Bereich</b></td>
</tr>
<tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Vorstand</td>
</tr>
<tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Trainingszeiten</td>
</tr>
<tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Anfahrt</td>
</tr>
<tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Kontakt</td>
</tr>
<tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Links</td>
</tr>
<tr>
<td id="menu" onMouseOver="style.backgroundColor='#f9f9b3'" onMouseOut="style.backgroundColor='#FFFF84'">Impressum</td>
</tr>
</table></td>
    <td valign="top" align="center">
    <table cellpadding="0" cellspacing="0" width="98%" border="0" valign="top">
    <tr>
    <td><? include 'inhalt.php'; ?></td></tr>
    </table></td>
    <td valign="top">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
    <td id="menuzwischen"><b>Termine</b></td>
    </tr>
    </table>
      <table border="0" cellpadding="0" cellspacing="0" width="100%" id="menuspiele">
    <tr>
    <td width="15%">05.01.</td>
    <td width="5%" align="center">-</td>
    <td>Grünkohlessen</td>
    </tr>
        <tr>
    <td width="15%">05.01.</td>
    <td width="5%" align="center">-</td>
    <td width="80%">Kreisrangliste Jugend/Schüler</td>
    </tr>
            <tr>
    <td width="15%">12.01.</td>
    <td width="5%" align="center">-</td>
    <td width="80%">mini-Meisterschaften 2008</td>
    </tr>
    </table>   </td>
  </tr>
  <tr>
    <td colspan="3"> </td>
  </tr>
</table>
</body>
<script type="text/javascript">
function versteckt(){
var t=document.getElementById('ghost');
t.sichtbar=!t.sichtbar;
t.style.display=t.sichtbar?'none':'';
}
versteckt();
function versteckt1(){
var t=document.getElementById('ghost1');
t.sichtbar=!t.sichtbar;
t.style.display=t.sichtbar?'none':'';
}
versteckt1();
function versteckt2(){
var t=document.getElementById('ghost2');
t.sichtbar=!t.sichtbar;
t.style.display=t.sichtbar?'none':'';
}
versteckt2();
</script>
</html>
 
Ist ja ganz "nett", daß Du etwas mehr Code zeigst als in der (überflüssigen) PN an mich. Allerdings hast Du offensichtlich ein clientseitiges Problem. Zu dessen Lösung trägt Dein PHP-Kram nicht die Bohne bei.
 
Sorge erstmal dafür, das vor dem <? kein Leerzeichen mehr steht.
Wenn Du Glück hast, lag's schon da dran.
Wenn nicht, sollte man die beiden PHP's sehen können.
 
Zuletzt bearbeitet:
Problem scheint wohl in meiner sessionhelpers zu liegen.
Habe alter Version der HP, da läuft es sowohl mit IE wie auch mit Ff.
Hier die Datei

PHP:
<?
function connect()
{
$con= mysql_connect('rdbms.strato.de','db','pw') or die(mysql_error());
mysql_select_db('db',$con) or die(mysql_error());
}

function check_user($name, $pass)
{
$sql="SELECT UserId
FROM users
WHERE UserName='".$name."' AND UserPass=MD5('".$pass."')
LIMIT 1";
$result= mysql_query($sql) or die(mysql_error());
if ( mysql_num_rows($result)==1)
{
$user=mysql_fetch_assoc($result);
return $user['UserId'];
}
else
return false;
}

function login($userid)
{
$sql="UPDATE users
SET UserSession='".session_id()."'
WHERE UserId=".$userid;
mysql_query($sql);
}

function logged_in()
{
$sql="SELECT UserId
FROM users
WHERE UserSession='".session_id()."'
LIMIT 1";
$result= mysql_query($sql);
return ( mysql_num_rows($result)==1);
}

function logout()
{
$sql="UPDATE users
SET UserSession=NULL
WHERE UserSession='".session_id()."'";
mysql_query($sql);
}

connect();
?>
 
Zurück
Oben