?
Current Path : /home1/savoy/public_html/savoyglobal.net/busybees/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 |
Current File : /home1/savoy/public_html/savoyglobal.net/busybees/application/views/student/list_class_students.php |
<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="grid_12" id="exam_sub"> <div class="box"> <div class="content no-padding"> <div class="header main"> Assessment evaluation /Exam Marks Details</div> <div style="width: 100%;overflow-x: scroll; "> <table class="table" id="stud_sub"> <thead id="stud_sub_head"> <tr> <td style="text-align: center;width: 6%;height: 30px;">Sl no</td> <td style="text-align: center;width: 20%;">Student Name</td> <td style="text-align: center;">Student No</td> <td style="text-align: center;">Gender</td> <td style="text-align: center;">Nationality</td> <td style="text-align: center;">Age</td> <td style="text-align: center">Remarks</td> <td style="text-align: center">File</td> </tr> </thead> <tbody id="stud_sub_body"> <?php $j = 1; foreach ($std as $list) { $studnt_name = $this->mastermodel->get_data_srow_joined('student', 'nationality', 'nationality_id', 'nationality_id',$list['student_id'], 'student_id'); ?> <script> $(document).ready(function() { var settings = { url: "upload.php", method: "POST", allowedTypes:"jpg,png,gif,doc,pdf,zip,doc,docx", fileName: "myfile<?=$list['student_id']?>", multiple: true, onSuccess:function(files,data,xhr) { $("#status<?=$list['student_id']?>").html("<font color='green'>Upload is success</font>"); }, afterUploadAll:function() { // alert("all images uploaded!!"); }, onError: function(files,status,errMsg) { $("#status<?=$list['student_id']?>").html("<font color='red'>Upload is Failed</font>"); } } $("#mulitplefileuploader<?=$j?>").uploadFile(settings); }); </script> <tr> <input type="hidden" name="student_id_<?= $j ?>" value="<?= $list['student_id'] ?>"/> <td style="text-align: center;width: 120px;height: 30px;"><?= $j ?></td> <td><?= $studnt_name->first_name . " " . $studnt_name->last_name ?></td> <td><?= $studnt_name->reg_no ?></td> <td><?= $studnt_name->gender ?></td> <td><?= $studnt_name->nationality_name ?></td> <td><?php $age_details = $this->mastermodel->getAgeDetails($studnt_name->dob); echo $age_details['in_words']; ?></td> <td style="text-align: center;"><textarea name="remarks_<?= $j ?>" id="remark_<?= $j ?>" type="text"></textarea></td> <td> <div id="mulitplefileuploader<?= $j ?>">Upload</div> <div id="status<?= $list['student_id'] ?>"></div> <!-- <input type="file" name="file<?= $j ?>" id="file<?= $j ?>" class=""/>--> </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"> </div> <div class="actions-right"> <button type="submit" id="submit1" class="clickimage">Save</button> </div> </div> </div> </div>