<?php echo $header; ?>
<div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                    <img src="<?php echo ADMIN_THEME; ?>/images/logo.svg" class="login_logo" />
                    </div>
                    <div class="panel-body">
                    <?php if (isset($error)){
					if ($error == "1"){
						echo "<div class='alert alert-danger'>".$this->lang->line('login_incorrect')."</div>";
					}
				} ?>
                        <?php echo form_open(BASE_URL.'/admin/login/check'); ?>
                            <fieldset>
                                <div class="form-group">
                                    <label for="username"><?php echo $this->lang->line('login_username'); ?></label>
										<?php 	$data = array(
                                              'name'        => 'username',
                                              'id'          => 'username',
                                              'class'       => 'form-control',
                                              'value'		=> set_value('username'),
                                              'placeholder'	=> $this->lang->line('login_username')
                                            );

                                            echo form_input($data); ?>
                                </div>
                                <div class="form-group">
                                    <label for="password"><?php echo $this->lang->line('login_password'); ?>:</label>
									 <?php 	$data = array(
                                          'name'        => 'password',
                                          'id'          => 'password',
                                          'class'       => 'form-control',
                                          'value'		=> set_value('password'),
                                          'placeholder'	=> $this->lang->line('login_password')
                                        );

                                        echo form_password($data); ?>
                                </div>

                                <div class="form-group">
                                	<input type="submit" class="btn btn-success btn-block" value="<?php echo $this->lang->line('login_signin'); ?>">
                                </div>
                                <hr>
                                <a href="<?php echo BASE_URL; ?>/admin/user/forgot"><?php echo $this->lang->line('login_reset'); ?></a>
                            </fieldset>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
<!-- jQuery -->
    <script src="<?php echo ADMIN_THEME; ?>/js/jquery.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="<?php echo ADMIN_THEME; ?>/js/bootstrap.min.js"></script>

</body>

</html>
