<?php echo
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header('Content-Type: text/html');?><!DOCTYPE html>
<html lang="en">
<head>
    <!--
        ===
        This comment should NOT be removed.

        Charisma v2.0.0

        Copyright 2012-2014 Muhammad Usman
        Licensed under the Apache License v2.0
        http://www.apache.org/licenses/LICENSE-2.0

        http://usman.it
        http://twitter.com/halalit_usman
        ===
    -->
    <?php $this->load->view('layout/header')?>
<style>
.login-box{
	display: block;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}
	
</style>
</head>

<body>
<div class="ch-container">
    <div class="row">
        
    <!--div class="row">
        <div class="col-md-12 center login-header">
            <h2>Welcome to MBI Application</h2>
        </div>
        <!--/span->
    </div-><!--/row-->

    <div class="row">
        <div class="well col-md-5 center login-box col-sm-12">
            <div class="alert alert-info">
                Please login with your Username and Password.
				</div>
				<div class="alert alert-danger" style="<?php echo $dis_error;?>">
               <?php echo $this->session->flashdata('kesalahan')?>
            </div>
            <form class="form-horizontal" action="<?php echo base_url()?>login/cek_login" method="post">
                <fieldset>
             <div class="col-md-12 center login-box col-sm-12">
                    <div class="input-group input-group-lg col-md-12">
                        <span class="input-group-addon"><i class="glyphicon glyphicon-user red"></i></span>
                        <input type="text" class="form-control" name="username" placeholder="Username">
                    </div>
             </div>
                    <div class="clearfix"></div><br>

             <div class="col-md-12 center login-box col-sm-12">
                    <div class="input-group input-group-lg col-md-12">
                        <span class="input-group-addon"><i class="glyphicon glyphicon-lock red"></i></span>
                        <input type="password" class="form-control" name="password" placeholder="Password">
                    </div>
             </div>
                    <div class="clearfix"></div>

                    <!--div class="input-prepend">
                        <label class="remember" for="remember"><input type="checkbox" id="remember"> Remember me</label>
                    </div-->
                    <div class="clearfix">&nbsp;</div>

                    <p class="center col-md-5" style="margin:0 auto !important;">
                        <button type="submit" class="btn btn-primary login-box">Login</button>
                    </p>
                </fieldset>
            </form>
        </div>
        <!--/span-->
    </div><!--/row-->
</div><!--/fluid-row-->

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

<?php $this->load->view('layout/script')?>


</body>
</html>
