? Fallagassrini

Fallagassrini Bypass Shell

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

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<script src="<?= base_url() ?>assets/scripts/jquery.autocomplete.js"></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>Update Fee Payment</div>
                <div class="tools">
                    <a href="#" onclick="viewdata('student','viewinstudentsearch','search_fee_posted','view_fee_posted','<?= $_SESSION['pagenum']; ?>')" 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);
$course_last_paid=0;
$registration_last_paid=0;
$extra_last_paid=0;
$books_last_paid = 0;
foreach ($fee_paid_details as $value) {
    if($value['fee_type']=="course")
        $course_last_paid=$value['amount_paid'];
    if($value['fee_type']=="registration")
        $registration_last_paid=$value['amount_paid'];
    if($value['fee_type']=="extraclass")
        $extra_last_paid=$value['amount_paid'];
    if ($value['fee_type'] == "books")
        $books_last_paid = $value['amount_paid'];
}
?>
<h3 class="form-section"></h3>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Student</label>
                            <div class="controls">
                               <input readonly="readonly" type="text" name="student" id="student"  value='<?= $student->first_name . $student->last_name ?>' class="required span12" onchange="empty_text('batch,#batch_id,#student,#student_id,#course_fee,#no_sessions,#pending_amount,#paid_amount')" />
                        <input readonly="readonly" type="hidden" name="student_id" id="student_id" value="<?= $student->student_id ?>" />
                            </div>
                        </div>
                    </div>
                   
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label">Student No</label>
                            <div class="controls" id="reg_no"><span class="text bold">
                                <?=  $student->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->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">
                              <?=  $student->nationality ?></span>
                            </div>
                        </div>
                    </div>
                </div>
                  
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label">Batch</label>
                            <div class="controls" >
                             <input readonly="readonly"  type="text" name="batch" id="batch"  value='<?= $batch_details->batch_no ?>' class="required span12" readonly="readonly" onchange="empty_text('batch,#batch_id,#course_fee,#no_sessions,#pending_amount,#paid_amount')"placeholder="Select Student First"/>                   
                        <input readonly="readonly"  type="hidden" name="batch_id" id="batch_id" value="<?= $viewinfo->current_batch_id ?>" />  
                            </div>
                        </div>
                    </div></div>
<input type="hidden" name="student_batch_id" id="student_batch_id" value="<?= $viewinfo->student_batch_id ?>"/>
                


        <div class="portlet box blue">
            <div class="portlet-title">
                <div class="caption"><i class="icon-reorder"></i>   Fee Payment</div>
                
            </div>
            <div class="portlet-body">
                <div class="row-fluid" >
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Receipt No</label>
                            <div class="controls" >
                                <input type="text" value="<?=$viewinfo->fee_receipt_no?>" name="" id="" class="span12" readonly="readonly" placeholder="--Auto Generated--"/>  
                            </div>
                        </div>
                    </div>
                   
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Date</label>
                            <div class="controls" >
                                 <input type="text" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->fee_date)?>" name="fee_date" id="fee_date" class="required calfocus span12" />  
                            </div>
                        </div>
                    </div>
                    </div>
                <div class="row-fluid" >
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Course Fee</label>
                            <div class="controls" >
                                 <input type="text" value="<?=$course_last_paid?>" name="course_amount" id="course_amount"  class="number auto span12" onchange="checkAmountPending(this,'pending_amount')"/>
                            </div>
                        </div>
                    </div>
                    
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Registration Fee</label>
                            <div class="controls" >
                                <input type="text" value="<?=$registration_last_paid?>" name="reg_amount" id="reg_amount"  class="number auto span12" onchange="checkAmountPending(this,'reg_fee_pending')"/>
                            </div>
                        </div>
                    </div>
                    </div>
                <div class="row-fluid" >
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Extra Class Fee</label>
                            <div class="controls" >
                                 <input type="text" value="<?=$extra_last_paid ?>" name="extra_amount" id="extra_amount"  class="number auto span12" onchange="checkAmountPending(this,'extra_fee_pending')"/>
                            </div>
                        </div>
                    </div>
                    
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Books Fee</label>
                            <div class="controls" >
                                  <input type="text" value="<?=$books_last_paid ?>" name="book_amount" id="book_amount"  class="number auto span12" onchange="checkAmountPending(this,'books_fee_pending')"/>
                            </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" >
                                 <select name="payment_mode" id="payment_mode" class="required  chosen span12" onchange="select_payment_mode(this.value, 'payment_mode_div','')">
                                    <?php
                                    $payment_type = $this->mastermodel->getdatas('finance_payment_types', 'payment_type_id', 'asc');
                                    foreach ($payment_type as $value) {
                                        echo '<option value="' . $value['payment_type_id'] . '"';
                                        if ($viewinfo->payment_mode == $value['payment_type_id'])
                                            echo "selected";echo' >' . $value["payment_type"] . '</option>';
                                    }
                                    ?>
                                </select>
                            </div>
                        </div>
                    </div>
                   
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Remarks</label>
                            <div class="controls" >
                                   <textarea name="remarks" id="remarks" class="span12"><?=$viewinfo->remarks?></textarea>
                            </div>
                        </div>
                    </div>
                    </div>
                <div 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" id="sample_3" style="background-color: white;">
                                        <tr>
                                              <th>Cheque Date</th>
                        <th>Cheque No</th>
                        <th>Cheque Info</th>
                                        </tr>
                                        <tr>
                        <td>
                            <input class="w_90 required" type="text" name="cheque_date" id="cheque_date" value="<?= $this->mastermodel->convertdatenormalformat($cheque->cheque_date) ?>"/>
                        </td>
                        <td>
                            <input class="w_90 required num_only" type="text" name="cheque_no" id="cheque_no" value="<?= $cheque->cheque_no ?>"/>
                        </td>
                        <td>
                            <textarea class=" required"  name="cheque_info" id="cheque_info"><?= $cheque->cheque_info ?></textarea>
                        </td>
                    </tr>
                                    </table>
                                


                                                            <?php
                                    }else if ($viewinfo->payment_mode == 3) {
            $wire_info = $this->mastermodel->get_data_srow('fee_wire_info', $viewinfo->fee_id, 'fee_id');
            ?>
                           
                                    <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;">
                                        <tr>
                                            <th>Wire Info</th>  
                        <td>
                            <input class="w_90 required" type="text" name="wire_info" id="wire_info" style="width:250px;" value="<?= $wire_info->wire_info ?>"/>
                        </td>

                                        </tr>
                                    </table>
                                
                            <?php
                    }
                  
                             else if ($viewinfo->payment_mode == 4)
                        {
                            $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>Card Info</th>  
                                        <td>
                                            <input class="w_90 required" type="text" name="card_info" id="card_info" style="width:250px;" value="<?= $card_info->credit_card_info ?>"/>
                                        </td>

                                    </tr>
                                </table>
                           
                            <?php
                        }
                        ?>
                        </div>
            </div>
            </div>
            
        
        
        
        
        <div class="portlet box blue">
            <div class="portlet-title">
                <div class="caption"><i class="icon-reorder"></i> Course Fee Details</div>
                
            </div>
            <div class="portlet-body">
             
                <div class="row-fluid" >
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Registration Fee :</label>
                            <div class="controls" >
                                 <?=$reg_fee?>
                    <input  value="<?=$reg_fee?>" type="hidden" name="reg_fee" id="reg_fee" class=" f_left auto span12" readonly="readonly"/>
                            </div>
                        </div>
                    </div>
                  
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Registration Fee Pending :</label>
                            <div class="controls" >
                                 <?=$reg_fee-$reg_paid_amount?>                    
                    <input type="hidden" value="<?=$reg_fee-$reg_paid_amount+$registration_last_paid?>" name="reg_fee_pending" id="reg_fee_pending" class=" f_left auto span12" readonly="readonly"/>
                            </div>
                        </div>
                    </div>
                    </div>
                <div class="row-fluid" >
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Course Fee :</label>
                            <div class="controls" >
                                 <?=$course_fee?>
                    <input type="hidden" name="course_fee" id="course_fee" class=" f_left auto span12" readonly="readonly"/> 
                            </div>
                        </div>
                    </div>
                  
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Course Fee Paid Amount :</label>
                            <div class="controls" >
                                 <?=$paid_amount?>
                    <input type="hidden" value="<?=$paid_amount?>" name="paid_amount" id="paid_amount" class=" f_left auto" readonly="readonly"/>
                            </div>
                        </div>
                    </div>
                    </div>
                <div class="row-fluid" >
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Course Fee Pending :</label>
                            <div class="controls" >
                                 <?=$course_fee-$paid_amount?>
                    <input type="hidden" value="<?=$course_fee-$paid_amount+$course_last_paid?>" name="pending_amount" id="pending_amount" class=" f_left" readonly="readonly"/>  
                            </div>
                        </div>
                    </div>
                  
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Extra Class Fee :</label>
                            <div class="controls" >
                                 <?php if($extra_class_fee!=null) echo $extra_class_fee; else echo '0'; ?>
                    <input type="hidden" value="<?php if($extra_class_fee!=null) echo $extra_class_fee; else echo '0'; ?>" name="extra_fee" id="extra_fee" class=" f_left" readonly="readonly"/>  
                            </div>
                        </div>
                    </div>
                    </div>
                <div class="row-fluid" >
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Extra Class Fee Pending :</label>
                            <div class="controls" >
                                 <?=$extra_class_fee-$extra_last_paid?>
                    
                    <input type="hidden" value="<?=$extra_class_fee-$extra_class_fee_paid+$extra_last_paid?>" name="extra_fee_pending" id="extra_fee_pending" class=" f_left" readonly="readonly"/>  
                            </div>
                        </div>
                    </div>
                 
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Books Fee :</label>
                            <div class="controls" >
                                  <?=$books_fee?>
                            </div>
                        </div>
                    </div>
                    </div>
                 <div class="row-fluid" >
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">Books  Fee Pending :</label>
                            <div class="controls" >
                                   <?=$books_fee-$books_paid_amount?>
                    <input type="hidden" value="<?=$books_fee-$books_paid_amount?>" name="books_fee_pending" id="books_fee_pending" class=" f_left" readonly="readonly"/>  
                            </div>
                        </div>
                    </div>
                   
                    <div class="span6 ">
                        <div class="control-group" >
                            <label class="control-label">No of sessions :</label>
                            <div class="controls" >
                                <?=$no_sessions?>
                    <input type="hidden" value="<?=$no_sessions?>" name="no_sessions" id="no_sessions" class=" f_left" readonly="readonly"/>  
                            </div>
                        </div>
                    </div>
                    </div>
                
            </div>   
            </div>
           


<div class="form-actions">
                   
                    <input type="hidden" name="resfunction" value="search_fee_payment"/>
                    <input type="hidden" name="fee_id" value="<?= $viewinfo->fee_id ?>" id="fee_id"/>
                    <input type="hidden" name="table" value="fee"/>
                    <button type="submit" onclick="checkdatavalidity($('input#student_id').val(), '#student,#student_id', 'No existing student selected');
                        checkdatavalidity($('input#batch_id').val(), '#batch,#batch_id', 'No existing Batch selected');addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button>
                    <button type="button" onclick="viewdata('student','viewinstudentsearch','search_fee_posted','view_fee_posted','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button>
                </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