public function __construct() { $this->banco = Banco::instanciar(); }
</div> <div class="control-group"> <!-- Button --> <div class="controls"> <button class="btn btn-success">Login</button> </div> </div> <div class="alert-error"> <button type="button" class="close" data-dismiss="alert">×</button> <?php echo isset($erro) ? $erro : ''; ?> </div> </fieldset> </form> <?php if ($_POST) { include_once 'banco/config.php'; $obj = Banco::instanciar(); $email = $_POST["email"]; $senha = $_POST["senha"]; if ($email && $senha) { } print_r($obj); print_r($_POST); } include 'template/footer.php';