Esempio n. 1
0
<div class="panel panel-default">
  <div class="panel panel">
    <?php 
if (!empty($_SESSION['flash'])) {
    echo Out::flash();
}
?>
  </div>
  <div class="panel panel-body">
      
    <form method="post" action="register">
        <div class="input-group col-md-8 row">
            <label for="email" class="col-md-offset-0 col-md-4">Email:</label>
            <input type="text" name="email" class="col-md-offset-0 col-md-8" value="<?php 
if (isset($_POST['email'])) {
    echo Out::esc($_POST['email']);
}
?>
"/>
        </div>
        <div class="input-group col-md-8 row">
            <label for="password" class="col-md-offset-0 col-md-4">Password:</label>
            <input type="password" name="password" class="col-md-offset-0 col-md-8" />
        </div>
        <div class="input-group col-md-8 row">
            <label for="password2" class="col-md-offset-0 col-md-4">Re-enter Password:</label>
            <input type="password" name="password2" class="col-md-offset-0 col-md-8" />
        </div>
        
        <input type="hidden" name="csrf_tkn" value="<?php 
echo Secure::csrf_generate();