<?php include 'header.php'; ?>

<?php include 'sidebar.php'; ?>

<div id="page-wrapper">

    <div class="container-fluid">
	<br/>
	<div class="row">
       <div class="col-lg-12">
            <div class="panel panel-default dash">
                <div class="panel panel-primary">
                    <div class="panel-heading">
                        <h2 class="sub-header">
							<i class="fa fa-tachometer-alt" aria-hidden="true"></i> <?php echo lang('DASHBOARD');?>
						</h2>
                    </div>
                    <!-- /.panel-heading -->
                    <div class="panel-body">
                        <div class="table-responsive">
						
							<div class="row">
	<!-- Modal -->
<div id="<?php echo htmlentities($_SESSION['user']['username'], ENT_QUOTES, 'UTF-8'); ?>">
  <div>
    <div  >
      <div  > 
        <h4 class="modal-title" id="myModalLabel"><i class="fa fa-user" aria-hidden="true"></i> <?php echo lang('UPDATE_INFO');?></h4>
      </div>
      <div class="modal-body">
        <form id="editar_utilizador" method="post" enctype="multipart/form-data" class="form-horizontal" name="utilizadoreditado">
				<?php echo editUser($_SESSION['user']['username']); ?>
				
				<!-- Button -->
					<div class="form-group">
					  <label class="col-md-12 control-label" for="singlebutton"></label><br/>
					  <div class="col-md-6"></div>
					  <div class="col-md-6">
						<input type="submit" name="utilizadoreditado"  class="btn btn-success" value="<?php echo lang('UPDATE_INFO');?>" />
					  </div>
					</div>

				</fieldset>
			</form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" data-dismiss="modal"><?php echo lang('CLOSE');?></button>
      </div>
    </div>
  </div>
</div>
								</div>
								
									

							</div>    
                        </div>
                    </div>
                </div>
            </div>
        </div>
	</div>
    <?php include 'copyright.php'; ?>

  </div>
  <!-- /.container-fluid -->

</div>
<!-- /#page-wrapper -->

</div>
<!-- /#wrapper -->

<?php include 'footer.php'; ?>