Exemple #1
0
if (isset($_POST['submit'])) {
    $user->setAccount($username, $email, $passwords);
}
?>
		
		<?php 
include 'settings.php';
?>
		
		<div id="right_content">
		<h2>Account</h2>
		From here you can change your basic account info.
		<p></p>
		<p>
		<img src ="<?php 
echo Gravatar::creat($user->email);
?>
" />
		<br /> Change your avatar at <a href="http://www.gravatar.com">gravatar.com</a>
		<br />
		We are using <em><?php 
echo $user->email;
?>
</em>
		</p>
		</div>
		<div id="left_content">
	
		<form action="account.php" method="post">
		<p>
		<label for="username">Username</label>