Ejemplo n.º 1
0
<?php

include "controllers/profile.controller.php";
login_check("index.php");
$pc = new ProfileController();
$profile = $pc->getProfile();
?>

<div class="container-fluid">
<?php 
include "views/loggedin.nav.frag.php";
?>
  <div class="row">
  <div class="span6">
    <h2>Change Password</h2>
      <form id="updatepassword_form" action="#" method="post" class="form-horizontal" onsubmit="profile_update();return false;">

          <div class="control-group">
            <label class="control-label" for="user_email">Email</label>
            <div class="controls">
              <input  required id="user_email" type="text" disabled placeholder="My fabulous project" value="<?php 
echo $profile['user_email'];
?>
"/>
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="user_password">Old password</label>
            <div class="controls">
              <input required id="user_password" type="password" placeholder="Old password"/>
            </div>