Files
FHC-Core/cis/private/profile/password.php
T
Christian Paminger 6778d30a00
2007-01-19 10:27:49 +00:00

55 lines
1.5 KiB
PHP

<?php
session_start();
$uid=$REMOTE_USER;
$uid='pam';
?>
<html>
<head>
<title>Passwort ?ndern </title>
<link rel="stylesheet" href="../../../skin/cis.css" type="text/css">
</head>
<body class="background_main">
<?php
if (!session_is_registered('count'))
{
session_register('count');
$count = 1;
}
else
{
$count++;
if ($count>3)
{
echo "<h4>Das Passwort Formular ist nach 3 Fehlern deaktiviert!</h4>";
echo '<meta http-equiv="refresh" content="5; URL=https://cis.technikum-wien.at/profile/index.php">';
exit;
}
}
?>
<font class="h1"><b>?nderung des Technikum Wien Passwortes</b></font>
<p>Sie k?nnen mit diesem Formular Ihr Technikum Wien Passwort ?ndern.<br>
Es wird sowohl Ihr Windows als auch Ihr Unix bzw. Mail Passwort ge?ndert!</p>
<form method="POST" action="changepass.php">
<table><tr><td>Username:</td>
<td><INPUT type="text" name="username" readonly value="<?php echo $uid ?>"
</td></tr>
<tr><td>Altes Passwort:</td>
<td><INPUT type="password" name="oldpass"></td></tr>
<tr><td>Neues Passwort:</td>
<td><INPUT type="password" name="newpass1"></td></tr>
<tr>
<td>
Neues Passwort<br>wiederholen:
</td>
<td><INPUT type="password" name="newpass2"></td></tr>
</table>
<p>
<input type="submit" value="Passwort ?ndern" name="Send">
<input type="reset" value="Zur?cksetzen" name="cancel">
</p>
</form>
</body>
</html>