<?php defined('BASEPATH') OR exit('No direct script access allowed'); 
 if($this->session->flashdata('message')) {
    echo '<div class="alert alert-success alert-dismissible">
    <button type="button" class="close" aria-label="close" data-dismiss="alert">&times;</button>
    <strong>Success!</strong> '.$this->session->flashdata("message").'
    </div>';
 }
?>
<link rel="stylesheet" href="<?php echo base_url('/assets/themes/login/Login.css') ?>" >
<div class="page-wrapper p-t-70 p-b-70">
        <div class="wrapper wrapper--w1100">
            <div class="card">
                <div class="card-header">
                <div class="col-12 col-md-12 col-lg-12 col-sm-12">
                    <div class="row">
                        <div class="col-4 col-md-4 col-lg-4 col-sm-4"> 
                            <img class="toplogo" src="<?php echo base_url('/assets/images/login/ministry-of-health-and-family-welfarepng.png') ?>" alt="Ministry Of Health and Family Welfare">
                        </div>
                        <div class="col-4 col-md-4 col-lg-4 col-sm-4">
                            <img class="toplogo" src="<?php echo base_url('/assets/images/login/NHM-Logo.png') ?>"  alt="NHM">
                        </div>
                        <div class="col-4 col-md-4 col-lg-4 col-sm-4">
                            <img class="toplogo" src="<?php echo base_url('/assets/images/login/family-planning.png') ?>"   alt="Family Planning">
                        </div>
                    </div>
                    <img src="<?php echo base_url('/assets/images/login/anantara.png') ?>"  alt="" class="img-fluid antaraimg">
                </div>
                </div>
                <div class="card-body">
                    <div class="card-title heading">
                        Service Provider Training For Injectable Contraceptive MPA<br/>(Antara Program)
                    </div>
                    <div class="card-text">
                        <span class="f-20">Family Planning Divisio<br/>Ministry Of Health & Family Welfare<br/>Government Of India</span>
                        <p> Sumit your response to pre test, session wise questions, post test, & training evaluation here</p>
                    </div>
                    <hr/>
                    <div id="LoginDiv" class="row">
                        <div class="col-md-7 col-lg-7">
                        <?php echo form_open('', array('class'=>'form-signin formlogin')); ?>
                                <div class="row d-flex justify-content-center">
                                    <div class="col-md-6 col-lg-6 col-sm-6">
   
                                       <?php echo form_input(array('name'=>'username', 'id'=>'username', 'class'=>'form-control', 'placeholder'=>lang('user_username_email'), 'maxlength'=>256)); ?>
                                       <span class="small text-danger"> <?php echo strip_tags(form_error('username_email')); ?> </span>
                                        
                                    </div>
                                </div>
                                <div  class="row d-flex justify-content-center">
                                    <div   class="col-md-6 col-lg-6 col-sm-6">
                                    <?php echo form_input(array('name'=>'password', 'id'=>'password', 'type'=>'password','class'=>'form-control', 'placeholder'=>lang('password'), 'maxlength'=>72, 'autocomplete'=>'off',)); ?>
                                  <span class="small text-danger"> <?php echo strip_tags(form_error('password')); ?> </span>                                    </div>
                                </div>
                                <div class="row d-flex justify-content-center">
                                    <div class="col-md-6 col-lg-6 col-sm-6">
                                    <?php echo form_submit(array('name'=>'submit', 'class'=>'btn btn-primary btn-lg btn-block'), lang('core_button_login')); ?>

                                    </div>
                                </div>
                                <br>
                                <div class="d-flex justify-content-center">
                                <p><a href="<?php echo base_url('user/register'); ?>"><?php echo lang('user_link_register_account'); ?></a></p>
                                </div>
                                <?php echo form_close(); ?> 
                        </div>
                        <div class="col-md-5 col-md-5">
                            <img src="<?php echo base_url('/assets/images/login/charts-graph-paper.jpg') ?>"  alt=" " class="img-fluid graphimg rounded ">
                        </div>
                    </div>
                </div>
            </div>
        </div>
</div>
