? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/application/views/inventory/

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/sec/application/views/inventory/single_sale.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
?>
<div class="row-fluid">
    <div class="tab-pane " id="tab_2">
        <div class="portlet box blue">
            <div class="portlet-title">
                <div class="caption"><i class="icon-reorder"></i>Stock Utilization Details</div>
                <div class="tools">
                    <a href="#" onclick="viewdata('inventory','viewininventorysearch','search_sale','view_sale','<?= $_SESSION['pagenum']; ?>')" class="remove"></a>
                </div>
            </div>
            <div class="portlet-body form">
                <div class="form-horizontal form-view form-bordered">
                    <!-- BEGIN FORM-->
                    <?php
                    $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate');
                    $inventory = $this->mastermodel->get_single_field_value('inventory', 'inventory_type', 'inventory_id', $inventory_type);
                    $batch_no = $this->mastermodel->get_single_field_value('batch', 'batch_no', 'batch_id', $batch);
                    echo form_open('', $attributes);
                    ?>


                    <div class="row-fluid">
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Batch</label>
                                <div class="controls"><span class="text bold">
                                        <?= $batch_no ?>
                                        <input type="hidden" name="batch_id" id="batch_id" value="<?= $batch; ?>"/>
                                </div>
                            </div>
                        </div>
                        <div class="span6 ">
                            <div class="control-group">
                                <label class="control-label">Inventory Type</label>
                                <div class="controls"><span class="text bold">
                                        <?= $inventory ?>
                                        <input type="hidden" name="inventory_id" id="inventory_id" value="<?= $inventory_type; ?>"/></span>
                                </div>
                            </div>
                        </div>
                    </div>


                    <div class="portlet box blue">
                        <div class="portlet-title">
                            <div class="caption"><i class="icon-check"></i> Stock Utilization Details of students</div>
                        </div>
                        <?php
                        if (count($students) > 0)
                        {
                            $k = 1;
                            ?>
                            <div class="portlet-body" id="load_student_div">
                                <div class="row-fluid">
                                    <div class="control-group">
                                        <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;">
                                            <thead>
                                                <tr>
                                                    <th>Sl No</th>
                                                    <th>Student</th>
                                                    <th>Reg No</th>
                                                    <th>Gender</th>
                                                    <th>Nationality</th>
                                                    <th>Status</th>
                                                    <th>Alloted Qty</th>
                                                    <th>To be Allotted</th>
                                                </tr>
                                            </thead>
                                            <tbody>
    <?php
    $total_qty = 0;

//                                                

    $html1 = '';
    $html = '';
    $active = count($students) - (count($cancelled_student) + count($deactivate_student));
    $slno1 = $active + 1;
    $slno2 = $active + count($cancelled_student) + 1;
    $i = 1;
    $stud = array();
    foreach ($students as $list)
    {

        $allocated_date = $this->inventorymodel->get_allotted_date($list['student_id'], $inventory_type);

        $stud[] = $list['student_id'];
        if (in_array($list['student_id'], $cancelled_student))
        {

            $allocate_qty = 0;
            if (isset($inventodry_alloted[$inventory_type][$list['student_id']]))
                $allocate_qty = $inventodry_alloted[$inventory_type][$list['student_id']];

            $status = 'Cancelled';
            $html = '<tr class="cancelled_tr">
                            <td>' . $slno2++ . '</td>
                            <td>' . $list['first_name'] . " " . $list['last_name'] . '
                                <input type="hidden" value="' . $list['student_id'] . '" name="student_id' . $list['student_id'] . '" id="student_id' . $list['student_id'] . '"/>
                            </td>    
                            <td>' . $list['reg_no'] . '</td> 
                            <td>' . $list['gender'] . '</td>
                            <td>' . $list['nationality'] . '</td>
                            <td>' . $status . '</td>
                            <td>' . $this->mastermodel->convertdatenormalformat($allocated_date) . '</td>
                            <td>' . $allocate_qty . '</td>
                            
                        </tr>' . $html;
            $slno2++;
        }
        elseif (in_array($list['student_id'], $deactivate_student))
        {
            $status = 'Deactivated';
            $allocate_qty = 0;
            if (isset($inventodry_alloted[$inventory_type][$list['student_id']]))
                $allocate_qty = $inventodry_alloted[$inventory_type][$list['student_id']];


            $html1 = '<tr class="deactivated_tr">
                            <td>' . $slno1++ . '</td>
                            <td>' . $list['first_name'] . " " . $list['last_name'] . '
                                <input type="hidden" value="' . $list['student_id'] . '" name="student_id' . $list['student_id'] . '" id="student_id' . $list['student_id'] . '"/>
                            </td>    
                            <td>' . $list['reg_no'] . '</td> 
                            <td>' . $list['gender'] . '</td>
                            <td>' . $list['nationality'] . '</td>
                           <td>' . $status . '</td>
                           <td>' . $this->mastermodel->convertdatenormalformat($allocated_date) . '</td>    
                           <td>' . $allocate_qty . '</td>
                        </tr>' . $html1;
            $slno1++;
            ;
        }
        else
        {
            $allocate_qty = 0;
            if (isset($inventodry_alloted[$inventory_type][$list['student_id']]))
                $allocate_qty = $inventodry_alloted[$inventory_type][$list['student_id']];
            $status = 'Active';
            ?>
                                                        <tr>
                                                            <td><?= $i ?></td>
                                                            <td>
                                                            <?= $list['first_name'] . " " . $list['last_name'] ?>
                                                                <input type="hidden" value="<?= $list['student_id'] ?>" name="student_id<?= $list['student_id'] ?>" id="student_id<?= $list['student_id'] ?>"/>
                                                            </td>    
                                                            <td><?= $list['reg_no'] ?></td> 
                                                            <td><?= $list['gender'] ?></td>
                                                            <td><?= $list['nationality'] ?></td>
                                                            <td><?= $status ?></td>
                                                            <td><?= $this->mastermodel->convertdatenormalformat($allocated_date); ?></td>
                                                            <td>
                                                            <?= $allocate_qty ?>
                                                            </td>

                                                        </tr>

                                                        <?php
                                                        $i++;
                                                    }
                                                    $total_qty+=$allocate_qty;
                                                }
                                                echo $html1;
                                                echo $html;
                                                ?>
                                                <tr>
                                                    <td colspan="7"><b>Total</b></td>
                                                    <td><b><?= $total_qty; ?></b></td>
                                                </tr>
                                            </tbody>
                                        </table>

                                    </div>
                                </div>

                            </div>

                        </div>

                        <?php
                        $k++;
                        echo form_close();
                    }
                    ?>
                    <?php
//$data['master_id']=$viewinfo->batch_id;
//$data['controller']='inventory';
//$data['controller_function']='viewininventorysearch';
//$data['page']='view_sale';
//$data['model_function']='search_sale';
//$this->load->view('master/uploaded_files',$data);
//echo form_close();
?>
                    <!-- END FORM-->    
                </div>
            </div>
        </div>
    </div>
</div>




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