1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<? session_start(); if(!$_SESSION['tentativi']){
$_SESSION['tentativi']=0; }
if(array_key_exists('user', $_SESSION)) { header("Location: go.php"); exit; } ?> <html> <head> <link rel="stylesheet" href="style-login.css" type="text/css" media="screen" /> <title></title> </head> <body> <TABLE width="100%" border="0"> <TR> <TD width="100%" height="500" align="center" valign="top"> <TABLE> <TR> <td><em>www.euroroma.net</em></td> </TR> </TABLE> <FORM METHOD=POST ACTION="login_user.php"> <fieldset> <legend>CMS</legend> <div><label for="name">Username</label> <INPUT TYPE="text" NAME="username"></div> <div><label for="name">Password</label> <INPUT TYPE="password" NAME="password"></div> </fieldset> <INPUT TYPE="submit" value="Login" class="modulo"> </form> <? echo "Hai utilizzato ".$_SESSION['tentativi']." tentativi di accesso di 3"; ?> </TD> </TR> </TABLE> </body> </html>
|