<div class="container"> <div class="col-lg-8" > <div class="well"> <form class="bs-example form-horizontal" action='submit.php' method=post > <fieldset> <legend> BACK-UP ACCOUNT </legend> <div class='form-group'> <div class='col-lg-10'> <label class='control-label'> <?php $db = retrieveUsersDb(); $status = backupStatus($db); if ($status == "true") { echo "[Currently Enabled] Your account will be disabled in the next login"; } else { echo "[Currently Disabled] Your account is currently enabled"; } ?> </label> </div> </div> <div class='form-group'> <label class='col-lg-4 control-label'> </label>
session_start(); ?> <style type='text/css'> .container { margin-left:30%; float:left; width:60%; } </style> <?php if (isset($_POST['records_username'])) { $message = ""; if ($_POST['records_username'] == $_SESSION["username"]) { $message = ""; $db2 = retrieveUsersDb(); $message = verifyUser($db2, $_POST['records_username'], $_POST['records_password']); if ($message == "Okay for access.") { echo '<meta http-equiv="refresh" content="0;url=end of the month report.php" />'; } else { echo $message; } } else { $message = "Error. This is not your ID!"; echo $message; } } else { ?> <div class="container" > <div class="col-lg-6" >