? Fallagassrini

Fallagassrini Bypass Shell

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

<?php
$center_info = $this->mastermodel->getdatas('nursery');
foreach ($center_info as $row) {
    $nursery_name = $row['nursery_name'];
    $nursery_address = $row['address'];
    $nursery_phone = $row['contact_no'];
    $nursery_email = $row['email'];
    $nursery_website = $row['website'];
    $nursery_logo = $row['logo'];
}
?>
<html>
    <table width="100%">
        <tr>
            <td>
                <img src="<?= base_url() ?>assets/logo/<?=$nursery_logo;?>" >
            </td>
        </tr>
    </table>
    <table width="100%">
        <tr>
            <td style="text-align:left;"> <?= $nursery_name ?>,<?= $nursery_address ?><br/>Tel:<?= $nursery_phone ?>, Email:  <?= $nursery_email ?>, Website:  <?= $nursery_website ?></td>
        </tr>
    </table>
    <hr>
    <br/>
    <table width="100%">
        <tr>
            <td style="text-align:center;"><font size="16px"><b>RECEIPT</b></font></td>
        </tr>
        <tr>
            <td style="text-align:right;"><b>Date</b>:  <?= $this->mastermodel->convertdatenormalformat($fee->fee_date) ?></td>
        </tr>
        <tr>
            <td style="text-align:right;"><b>Receipt No</b>:  <?= $fee->fee_receipt_no ?></strong></td>
        </tr>
    </table>
    <br/><br/><br/>

    <table width="60%">
        <tr>
            <td style="text-align:left;"><strong>Student Name</strong></td><td> <?= $student_class_details->first_name . " " . $student_class_details->last_name ?></strong></td>
        </tr>
        <tr>
            <td style="text-align:left;"><strong>Reg No</strong></td><td> <?= $student_class_details->reg_no ?></strong></td>
        </tr>
        <tr>
            <td style="text-align:left;"><strong>Class Code</strong></td><td> <?= $student_class_details->class_name_code ?></strong></td>
        </tr>

    </table>
    <br/><br/>

    <table border="1px" cellspacing="-1" cellpadding="0" style="text_align:center;" width="100%">
        <thead>
            <tr bgcolor="#C3C3C3">
                <th>Sl</th>
                <th>Fee Particulars</th>
                <th>Payment Period</th>                
                <th>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'];
//                        echo $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');
            $amount_total = 0;
            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;
                ?>

                <?php
                $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];
                        if ($last_paid_amount > 0) {
                            $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_total+=$last_paid_amount;
                            ?>
                            <tr>
                                <?php if ($k == 0) { ?>
                                    <td><?= $i ?></td>                                    
                                    <?php
                                }
                                if ($k > 0) {
                                    ?>
                                    <td></td>                                    
                                    <?php
                                }
                                ?>
                                <td><?= $fee_list['fee_particular_name'] ?></td>
                                <td style="text-align: center">                                   
                                    <?=date('F - Y', strtotime($dt)) ?>
                                </td>                                
                                <td style="text-align: right;">
                                    <?= number_format($last_paid_amount, 2) ?>
                                </td>
                            </tr>
                            <?
                            $i++;
                            $k++;
                        }
                        $dt = date('Y-m-01', strtotime("+1 months", strtotime($dt)));
                    }
                } 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'];
                    if ($last_paid_amount > 0) {
                        $amount_total+=$last_paid_amount;
                        ?>
                        <tr>
                            <td><?= $i ?></td>
                            <td><?= $fee_list['fee_particular_name'] ?></td>                            
                            <td style="text-align: center">
                                <?="Term Fee" ?>
                            </td>
                            <td  style="text-align: right;">                            
                                <?= number_format($last_paid_amount, 2) ?>
                            </td>
                        </tr>
                        <?php
                        $i++;
                    }
                }
            }
            ?>
                        <?php
                $fee_other=$this->mastermodel->get_data('fee_paid_details_other',$fee->fee_id,'fee_id');
                foreach($fee_other as $list)    
                {
                ?>
                <tr>  
                    <td><?= $i ?></td>                      
                    <td><?=$list['fee_other_name'];?></td>
                    <td></td>
                    <td  style="text-align: right;"><?=number_format($list['fee_other_amount'],2);?></td>
                </tr>
                <?php
                        $amount_total+=$list['fee_other_amount'];
                }
                ?>
            <tr>
                <td style="text-align: center" colspan="3" bgcolor="#C3C3C3">Total Amount</td>
                <td style="text-align: right"><?= number_format($amount_total, 2) ?></td>
            </tr>
            <tr>
                <td colspan="4">
                    Qatar Riyal <?= $this->mastermodel->convert_number($amount_total) ?> Only
                </td>
            </tr>
        </tbody>
    </table>
    <br/><br/><br/><br/>


    <table border="1px" cellspacing="-1" cellpadding="15px" width="100%">
        <tr>
            <td colspan="2" style="text-align:left; height:8px;" bgcolor="#C3C3C3">Payment Mode</td>
            <?php
            $payment_mode = 'Cash';
            if ($fee->payment_mode == 2) {
                $payment_mode = 'Cheque';
            } else if ($fee->payment_mode == 3) {
                $payment_mode = 'Credit Card';
            }
            ?>
            <td> <?= $payment_mode ?></td>
        </tr>

        <?php
        if ($fee->payment_mode == 2) {
            $cheque = $this->mastermodel->get_data_srow('fee_cheque_info', $fee->fee_id, 'fee_id');
            ?>
            <tr>
                <td><span style="padding:0 10px;font-weight:bold;">Cheque Date  </span>:  <?= $this->mastermodel->convertdatenormalformat($cheque->cheque_date) ?></td>
                <td><span style="padding:0 10px;font-weight:bold;">Cheque No  </span>:  <?= $cheque->cheque_no ?></td>
                <td><span style="padding:0 10px;font-weight:bold;">Bank Drawn</span>:  <?= $cheque->cheque_info ?></td> 
            </tr> 
            <?php
        } else if ($fee->payment_mode == 3) {
           $credit_card_info = $this->mastermodel->get_data_srow('fee_credit_card_info', $fee->fee_id, 'fee_id');
            ?>
            <tr>
                <td colspan="2" > <span style="padding:0 10px;font-weight:bold;">Credit Card Holder</span>: <?= $credit_card_info->credit_card_holder ?></td>
                <td> <span style="padding:0 10px;font-weight:bold;">Credit Card No</span>: <?= $credit_card_info->credit_card_no ?></td>
            </tr>
            <?php
        }else if ($fee->payment_mode == 4) {
             $bank_transfer_info = $this->mastermodel->get_data_srow('fee_bank_transfer_info', $fee->fee_id, 'fee_id');
          ?>
            <tr>
                <td colspan="4" > <span style="padding:0 10px;font-weight:bold;">Description</span>: <?= $bank_transfer_info->description ?></td>
            </tr>
            <?php
        }
        
        ?>
    </table>
</html>

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