Sapete dirmi perchè http://www.studentimaffei.altervista.org/pagina.php io la vedo solo con firefox mentre non si vede nulla con internet explorer o opera ???
Questo è il codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento senza titolo</title>
<style type="text/css">
<!--
body
{
background-color: #f5f5f5;
margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:0px;
}
/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
a:link,a:active,a:visited { color : #ffffff; }
a:hover { text-decoration: underline; color : #ffffff; }
.Stile1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #FFFFFF;
font-weight: bold;
}
.Stile2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
font-weight: bold;
}
.Stile3 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
font-weight: normal;
}
</style>
</head>
<body>
<?php
/* Inclusione file di configurazione del database */
include("config.php");
/* Connessione al database */
$dbcon = mysql_connect($db_hostname, $db_username, $db_password);
mysql_select_db("$db_name");
/* Form login */
$form_login = "<form action=\"login.php\" method=\"post\" class=\"Stile1\">
Username: <input size=\"15\" name=\"username\" type=\"text\" class=\"Stile2\">
Password: <input size=\"15\" name=\"password\" type=\"password\" class=\"Stile2\">
<input type=\"checkbox\" name=\"checkbox\" value=\"checkbox\">
Login automatico
<input value=\"Login\" name=\"login\" type=\"submit\" class=\"Stile2\">
|
<a href=\"phpBB2/profile.php?mode=sendpassword\"> Password dimenticata </a> | <a href=\"phpBB2/profile.php?mode=register\">Registrati</a> </form>";
?>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="185"><img src="images/top_left_logo.gif" width="185" height="49"></td>
<td width="416" align="center" background="images/top_middle_tile.gif" class="Stile1"><br />
Il primo sito degli studenti del Liceo Maffei di Verona </td>
<td width="37"><img src="images/top_nav_corner.gif" width="37" height="49"></td>
<td width="382" valign="bottom" nowrap background="images/top_nav_bg.gif" class="menufg Stile1">
<a class="navs" href="index.php">Home</a> <!-- BEGIN switch_user_logged_in -->
| <a class="navs" href="profile.php?mode=editprofile">User CP</a> |
<!-- END switch_user_logged_in --> <!-- BEGIN switch_user_logged_out -->
| <a class="navs" href="profile.php?mode=register">Register</a> |
<!-- END switch_user_logged_out -->
<a class="navs" href="groupcp.php">Groups</a>
| <a class="navs" href="memberlist.php">Members</a> | <a class="navs" href="search.php">Search</a>
| <a class="navs" href="faq.php">FAQ</a> |
<img src="images/spacer.gif" width="8" height="8" hspace="5"></td>
</tr>
<tr>
<td><img src="images/top_left_bottom.gif" width="185" height="11"></td>
<td background="images/top_left_bottom.gif"><img src="images/top_left_bottom.gif" width="185" height="11"></td>
<td><img src="images/top_corner_bottom.gif" width="37" height="11"></td>
<td valign="bottom" background="images/top_nav_bottom.gif"><img src="images/top_nav_bottom.gif" width="1" height="11"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#004a80">
<tr>
<th scope="col" align="left"><?php
if (isset($_COOKIE['studentimaffei']))
{
$session_id = $_COOKIE['studentimaffei'];
$query = "SELECT * FROM phpbb_users WHERE username='$username'";
$result = mysql_query($query, $dbcon);
$row = mysql_fetch_array($result);
echo "Benvenuto $row[username]";
}
else
{
echo $form_login;
}
?></th>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<th scope="col" background="images/top_left_bottom.gif" height="11"></th>
</tr>
<tr>
<th scope="col"><table width="20%" border="0" align="left">
<tr>
<th class="Stile3" scope="col">Menù:</th>
</tr>
<tr>
<th scope="col">Giornalino</th>
</tr>
<tr>
<th scope="col">Amnesty International </th>
</tr>
<tr>
<th scope="col">< vuoto > </th>
</tr>
<tr>
<th scope="col">< vuoto > </th>
</tr>
<tr>
<th scope="col">< vuoto > </th>
</tr>
<tr>
<th scope="col">< vuoto > </th>
</tr>
<tr>
<th scope="col">< vuoto > </th>
</tr><tr>
<th scope="col">< vuoto > </th>
</tr>
</table>
<table width="79%" border="0" align="left">
<tr>
<th scope="col"><p>asdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdadasdasdasdasdasdasdasd</p>
<p>asdasdasda</p>
<p>asdasd</p>
<p>asdasdasdasda</p>
<p>asdasd</p>
<p>asd</p>
<p>asd</p>
<p>asasdasdasdasdasdasda</p>
<p>asdasd</p>
<p>asd</p>
<p>asd</p>
<p>asasdasdasd</p> <p>asd</p>
<p>asasdasdasd</p></th>
</tr>
</table> </th>
</tr>
</table>
</body>
</html>