wefra/themes/materialize/views/my-profile.php
2020-11-27 14:24:22 +01:00

51 lines
2.0 KiB
PHP

<div class="container">
<div class="section">
<div class="row">
<div class="col s12 l3">
<div class="card z-depth-5">
<div class="card-content">
<span class="card-title">Change password</span>
<form action="#" method="post">
<div class="row">
<!--old password-->
<div class="input-field col s12">
<input id="oldPassword" name="oldPassword" type="password" class="validate">
<label for="oldPassword">Old password</label>
</div>
<!--new password-->
<div class="input-field col s12">
<input id="newPassword" name="newPassword" type="password" class="validate">
<label for="newPassword">New Password</label>
</div>
<!--confirm new password-->
<div class="input-field col s12">
<input id="confirmPassword" name="confirmPassword" type="password" class="validate">
<label for="confirmPassword">Confirm New Password</label>
</div>
<!--button submit-->
<div class="col s12">
<input class="btn btn-success button_action" type="submit" id="submit_change_password" name="submit_change_password"
value="Submit new password"/>
</div>
</div>
</form>
</div>
</div>
</div>
<!--ENDOF card change password-->
<div class="card col s12 l9">
<div class="card-content">
<span class="card-title">My Profile</span>
<p>Email: <?php echo $_SESSION['user']['email']; ?></p>
<p>Firstname: <?php echo $_SESSION['user']['firstname']; ?></p>
<p>Lastname: <?php echo $_SESSION['user']['lastname']; ?></p>
</div>
</div>
</div>
<!--ENDOF row-->
</div>
<!--ENDOF section-->
</div>
<!--ENDOF container-->