public function new_students()
 {
     $class = new students_lib();
     $class->new_students();
 }
        <link href="<?php 
echo site_url('include/css/dashboard.css');
?>
" rel="stylesheet">
        <link href="<?php 
echo site_url('include/ext/bootstrap-table.css');
?>
" rel="stylesheet">
        <script src="<?php 
echo site_url('include/ext/bootstrap-table.js');
?>
"></script>
        <?php 
$use = new class_loader();
$use->use_lib('site/students/students_lib');
$lib = new students_lib();
$data = array_shift($lib->get_info());
$data_co = array_shift($lib->info_companies());
?>
        <div class="col-sm-12 main">
            <div class="col-sm-6">

                    <h4>Name : <?php 
echo $data[tpl_students::first_name()] . ' ' . $data[tpl_students::last_name()];
?>
</h4>
                    <h4>Supervisor : <?php 
echo $data[tpl_supervisor::supervisor() . '_' . tpl_supervisor::name()];
?>
</h4>
                    <h4>Specialty : <?php 
                        <label>Password : </label>
                        <input type="password" class="form-control" id="password_tra" name="password_tra"/>
                    </div>
                    <button type="submit" class="btn btn-success btn-block" id="login" name="login">Login Now!!</button>
                </form>
                </br>
                </br>
                <div class="" id="result_massages_tra"></div>
            </div>
        </div>
    </div>
</div>
<?php 
echo $use = new class_loader();
$use->use_lib('site/students/students_lib');
$class_students = new students_lib();
?>
<div class="modal fade" id="register_stu_m" style="background-color: rgba(60, 60, 60, 0.81);" tabindex="-1"
     role="dialog"
     aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width:30%">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h2>Register student</h2>
            </div>
            <div class="modal-body">
                <form class="form" id="register_student" method="post" action="<?php 
echo site_url('site/new_students');
?>
">
 public function login()
 {
     $lib = new students_lib();
     $lib->login_student();
 }