<?
session_start();
#setcookie( session_name() ," ",0,"/");
session_unset();
session_destroy();
include('inc/parametri.inc.php');
include('inc/version.inc.php');
include('inc/open.php');
include ("inc/header.html.inc.php");
?>
<link rel="stylesheet" href="main.css" TYPE="text/css">
<title><?= htmlspecialchars($par_SiteName) ?></title>
</head>
<body topmargin=0 leftmargin=0>
<center>
[img]img/titolo.jpg[/img]
<table cellpadding=0 cellspacing=0 border=0 width="350">
<?
$MySql = "SHOW TABLE STATUS";
$Result = mysql_query($MySql);
if (mysql_num_rows($Result)>0) {
?>
<form name="invio" action="login.php" target="_self" method="post">
<tr>
<td align=right width=170>Nome:</td>
<td align=left width=150><input Name="Login1" maxlength="20" ></td><td width=80></td>
</tr>
<tr>
<td align=right width=170>Password:</td>
<td align=left width=150><input type=password Name="Pass1" maxlength=20 >
</td>
</tr>
<tr>
<td colspan=2 align=middle><INPUT TYPE=submit VALUE=" LOGIN " style={background:#9E9BBA;}>
</td>
</tr>
</form>
<tr>
<form name="invio" action="iscrizione.php" target="_parent" method=post>
<td colspan=2 align=middle>
<font class=titolo><u>Se non sei ancora registrato:</u></font>
<INPUT TYPE="submit" VALUE="ISCRIVITI" id=Submit2 name=Submit2 style={background:#9E9BBA;}>
</td>
</form>
</tr>
<?
} else {
echo '<tr Title="Attenzione"><td colspan=2 align=center><font class=titolo color=yellow><u>IL DATABASE E' IN MANUTENZIONE</u></font>
<font size="2" color=yellow>Verr‡ ripristinato il prima possibile, si prega di riprovare pi<breve> tardi.
Sono momentaneamente impossibili login, iscrizione e recupero password. Ci scusiamo per il disagio.</font>
</td></tr>';
}
?>
<tr>
<form name="invio" action="recuperapass.php" target="_self" method="post">
<td colspan=2 align=middle><a name="recupera"><font class=titolo><u>Recupero Password</u></font>
</td>
</tr>
<tr>
<td align=right>Email:</td>
<td align=left><input Name="email" maxlength=100 >
</td>
</tr>
<tr>
<td colspan=2 align=middle><INPUT TYPE="submit" VALUE=" INVIA " name=SubmitPass style={background:#9E9BBA;}>
</td>
</FORM>
</tr>
<tr>
<td colspan=2 align=middle><font size="1">Riceverai presto una email con la tua password. Se non l'hai ricevuta entro un'ora dalla richiesta, o per qualsiasi altro problema, scrivere a:</font>
<font color="white">mio@dominio.com</font>
</td>
</tr>
<tr>
<td colspan=2 align=middle>
<font color="#6fd1ff" size="1">TORNA ALLA HOMEPAGE</font>
</td>
</tr></table>
</center>
</body>
</html>