?> " /> </div> <div class="form-group"> <input type="submit" name="login" value="Sign in" class="form-control" /> </div> </form> </div> </div> </div> <?php if ($error_str != '') { raise_alert('danger', $error_head, $error_str); } elseif ($success_str != '') { raise_alert('success', $success_head, $success_str); } ?> <div class="container"> <div class="page-header"> <h1>Secret Diary <small>We'll never tell</small></h1> </div> <p class="cta lead text-center">Your own private diary, safe from prying eyes, and it's with you wherever you go.</p> <p class="cta text-center">Interested? Why not sign up?</p> <div class="margin-above row holder"> <div class="col-sm-6 col-sm-offset-3 well"> <form action="index.php" method="post" accept-charset="utf-8" class="form-horizontal">
<div class="container"> <div class="page-header"> <h1>Contact Form <small>Enter your message</small></h1> <?php if ($mail_called) { echo "Mail Called<br />"; } ?> </div> <?php if (isset($_POST['submit'])) { if ($error_str == "") { raise_alert('success', 'Success', 'The email was sent.'); } else { raise_alert('danger', 'There are errors in the form', "<ul>{$error_str}</ul>"); } } ?> <div class="well"> <form action="contact.php" method="post" accept-charset="utf-8" class="form-horizontal"> <div class="form-group"> <label for="name" class="col-sm-2 control-label">Name</label> <div class="col-sm-10"> <input type="text" name="name" id="name" class="form-control"> </div> </div> <div class="form-group"> <label for="email" class="col-sm-2 control-label">Email</label>