60 lines
1.3 KiB
PHP
60 lines
1.3 KiB
PHP
<?php
|
|
require_once('config.php');
|
|
require_once('verifications.php');;
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
|
|
<title>Modification du Profile</title>
|
|
|
|
<center>
|
|
|
|
<section>
|
|
<?php
|
|
|
|
$page_name='Profile Modification';
|
|
include_once('top.php');
|
|
{
|
|
?>
|
|
<form action='profile2.php' method='post' enctype='multipart/form-data' name='form1'>
|
|
<table width='400' border='0' align='center'>
|
|
<tr>
|
|
<td colspan='2' ><div align=center><h2>Profile Modification</h2></div></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for='email'>E-mail modification</label></td>
|
|
<td><input name='email' type='text' id='email' value="<?php echo htmlspecialchars($email) ?>"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="passwd">Old password</label></td>
|
|
<td><input name="pass_enc" type="password" id="passwd"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="passwd2">New password</label></td>
|
|
<td><input name="new_pass" type="password" id="passwd2"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="passwd3">New password confirmation</label></td>
|
|
<td><input name="new_pass2" type="password" id="passwd3"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="submit" name="Submit" value="Modify" class="addbutton"></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<div align=center><a href="index.php" onClick="history.back()">Back</a></div>
|
|
<?php
|
|
}
|
|
include_once('bottom.php');
|
|
?>
|
|
|
|
</section>
|
|
|
|
</center>
|
|
|
|
</body>
|
|
|
|
</html>
|