%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<?php include APPPATH.'views/admin/includes/header.php';?> <div id="content-wrapper"> <div class="container-fluid"> <!-- Breadcrumbs--> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="<?php echo site_url('admin/Dashboard'); ?>">Dashboard</a> </li> <li class="breadcrumb-item"> <a href="<?php echo site_url('admin/menteelist'); ?>">Mentee List</a> </li> <li class="breadcrumb-item active">Mentee Info</li> </ol> <!-- DataTables Example --> <div class="card mb-3 fomr-news"> <div class="card-header card-header-new"> <h3><i class="fas fa-table"></i> Mentee Info</h3> <a class="back-btns" href="<?php echo site_url('admin/menteelist'); ?>"><i class="fa fa-arrow-left" aria-hidden="true" btn btn-primary></i> Back</a></div> </div> <div class="card-body"> <div class="table-responsive"> <div class="tabing-mantee"> <ul class="nav nav-tabs"> <li><a data-toggle="tab" href="#home" class="active">Overview</a></li> <li><a data-toggle="tab" href="#menu1">Counselling Records</a></li> <li><a data-toggle="tab" href="#menu2">Record Summary</a></li> </ul> <div class="tab-content"> <div id="home" class="tab-pane active "> <div class="row"> <div class="col-xl-3"> <div class="student-photo"> <div class="image"> <img src="<?=base_url('assests/imgs/sharda.png')?>"/> </div> <button class="button2" data-toggle="modal" data-target="#viewupdatemodal">View / Update </button> </div> </div> <div class="col-xl-9"> <div class="student-detail"> <h5><?=$recordArray['full_name']?></h5> <span><strong>System ID :</strong> <?=$recordArray['system_id']?> </span> <span><strong>Parent Email : </strong> <?=$recordArray['parent_email']?></span> <span><strong>Phone :</strong> <?=$recordArray['contact_number']?> </span> <span><strong>Parent Name :</strong> <?=$recordArray['parent_name']?></span> <span><strong>Email :</strong> <?=$recordArray['email_id']?> </span> <span><strong>Parent Phone : </strong> <?=$recordArray['parent_phone']?></span> <div class="clearfix"></div> <div class="overall-Rating"> <h5>Overall Rating </h5> <?php $critically_level = $recordArray['ranking']!='0' ? $recordArray['ranking']: '0' ; ?> <?php $i=0; if($critically_level>0){ for($k=1;$k<=$critically_level; $k++) { $i++;?> <small class="fa fa-star checked"></small> <?php } ;} $i = 5-$critically_level; if($i>0) { for($k=0; $k<$i; $k++){ ?> <small class="fa fa-star"></small> <?php } }?> </div> </div> </div> </div> <div class="row"> <div class="col-xl-12"> <div class="student-detail-table"> <h5>Academic Record</h5> <table class="table m-table m-table--head-bg-success"> <tbody><tr> <th> Term</th> <?php foreach($cgpaArray as $row){?> <th><?=$row->STRM ?></th> <?php } ?> </tr> <tr> <th> SGPA </th> <?php foreach($cgpaArray as $row){?> <th><?=$row->CUM_GPA ?></th> <?php } ?> </tr> <tr> <th> CGPA </th> <?php foreach($cgpaArray as $row){?> <th><?=$row->CUR_GPA ?></th> <?php } ?> </tr> <!-- <tr> <th> Fail </th> <td>- </td> <td>- </td> <td>- </td> <td>- </td> <td>- </td> <td>- </td> <td>- </td> <td>- </td> </tr>--> <tr> <th> Subject </th> <?php foreach($cgpaArray as $row){?> <td> <a href="javascript:void(0)" onclick="return showsubject('<?=$row->STRM ?>','<?=$recordArray['system_id']?>')" ><i class="fa fa-eye" aria-hidden="true"></i></a> </td> <?php } ?> </tr> </tbody></table> </div> </div> </div> <div class="row"> <div class="col-xl-12"> <div class="student-detail-table"> <h5>Attendance Record</h5> <table class="table m-table m-table--head-bg-success"> <tbody><tr> <th> Sr. No.</th> <th>- </th> <th>- </th> <th>- </th> <th>- </th> <th>- </th> </tr> <tr> <th>Subjects</th> <th>- </th> <th>- </th> <th>- </th> <th>- </th> <th>- </th> </tr> <tr> <th> Faculty Name</th> <th>-</th> <th>- </th> <th>- </th> <th>- </th> <th>- </th> </tr> <tr> <th> Attendance(%)</th> <td>- </td> <td>- </td> <td>- </td> <td>- </td> <td>- </td> </tr> </tbody></table> </div> </div> </div> </div> <div id="menu1" class="tab-pane fade"> <div class="student-detail-table"> <a href="<?=base_url('admin/menteelist/counselingrecord/'.base64_encode($recordArray['id'])) ?>" class="button2">Add New Record</a> <div class="clear"></div> <table class="table m-table m-table--head-bg-success"> <tr> <th> Conversation Medium </th> <th> Points Covered </th> <th> Criticality Level </th> <th> Created On </th> <th> Next Appointment </th> <th> Status </th> </tr> <?php if(count($crecordsArray)>0){ ?> <?php foreach($crecordsArray as $val) { ?> <tr> <td> <?=$issueList[$val['issue_type']]['issue_type']?></td> <td><?=$val['point_covered']?><a href="<?=base_url('admin/menteelist/replymentormentee/'.base64_encode($val['id']))?>" class=""> @Read More</a></td> <td> <?=$val['critically_level']?></td> <td> <?=$val['createdon']?> </td> <td> <?=$val['next_appointment']?> </td> <td> <?=$val['counselling_status']=='3' ? 'Completed' : ($val['counselling_status']=='2' ? 'Pending' : 'Processing' )?> </td> </tr> <?php } } else {?> <tr> <td colspan="6"> No record found!!!</td></tr> <?php } ?> </table> </div> </div> <div id="menu2" class="tab-pane fade"> <div class="row"> <div class="col-md-3"> <div class="rc-tab"> <ul class="nav nav-tabs"> <?php $k=0; foreach($issueList as $lval) { if(!empty($lval['issue_type'])) { ?> <li><a data-toggle="tab" <?php if($k=='0'){?>class="active" <?php } ?> href="#<?=str_replace(' ','-',$lval['issue_type'])?>"><?=$lval['issue_type']?></a></li> <?php $k++; }} ?> </ul> </div> </div> <div class="col-md-9"> <div class="rc-tab-detail"> <div class="tab-content"> <?php $k=0; foreach($issueList as $lval) { ?> <div id="<?=str_replace(' ','-',$lval['issue_type'])?>" class="tab-pane <?php if($k=='0'){?>active<?php }else { echo 'fade'; } ?>"> <h4><?=$lval['issue_type']?> </h4> <?php if(count($counsellingArray[$lval['id']])>0){ foreach($counsellingArray[$lval['id']] as $value) { ?> <div class="tab-contents"> <span><?=date('d M, Y',strtotime($value['createdon']))?> <strong><?=date('H:i:s',strtotime($value['createdon']))?></strong></span> <p><?=$value['point_covered']?></p> </div> <?php } } else { ?> <div> <p>No Record Found!!</p> </div> <?php } ?> </div> <?php $k++; } ?> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!-- /.container-fluid --> <!-- view update popup --> <div class="modal fade" id="viewupdatemodal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel">View / Update</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <form method="post" id="other_info" name="other_info"> <div id="msg_div"></div> <div class="form-group"> <label for="recipient-name" class="col-form-label">Details of siblings:</label> <input type="text" class="form-control" maxlength="240" placeholder="Details of siblings" name="siblings" id="siblings" value="<?=$recordArray['siblings']?>"/> </div> <div class="form-group"> <label for="recipient-name" class="col-form-label">Your Hobbies:</label> <input type="text" class="form-control" maxlength="240" placeholder="Hobbies" name="hobbies" id="hobbies" value="<?=$recordArray['hobbies']?>"/> </div> <div class="form-group"> <label for="recipient-name" class="col-form-label">Parent Name:</label> <input type="text" class="form-control" maxlength="180" name="parent_name" id="parent_name" value="<?=$recordArray['parent_name']?>" /> </div> <div class="form-group"> <label for="recipient-name" class="col-form-label">Parent Email:</label> <input type="text" class="form-control" maxlength="100" name="parent_email" id="parent_email" value="<?=$recordArray['parent_email']?>"> </div> <div class="form-group"> <label for="recipient-name" class="col-form-label">Parent Phone No:</label> <input type="text" class="form-control" maxlength="15" name="parent_phone" id="parent_phone" value="<?=$recordArray['parent_phone']?>"> </div> </form> </div> <div class="modal-footer"> <input type="hidden" id="mentee_id" name="mentee_id" value="<?=$recordArray['id']?>" /> <input type="hidden" id="base_url_info" name="base_url_info" value="<?=base_url("admin/menteelist/menteeinfo/".base64_encode($recordArray['id']))?>" /> <button type="button" class="btn btn-primary button2" id="updateinfo" name="updateinfo">Update</button> </div> </div> </div> </div> <!-- /.view update popup --> <!-- Modal --> <div class="modal fade" id="empModal" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title">Academic Record</h4> <button type="button" class="close" data-dismiss="modal">×</button> </div> <div class="modal-body"> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div> <!-- /.view Academic Record --> <!-- Sticky Footer --> <?php include APPPATH.'views/admin/includes/footer.php';?> <script src="<?php echo base_url(); ?>assets/js/jquery-3.0.0.js"></script> <script type='text/javascript'> // baseURL variable var baseURL= "<?php echo base_url();?>"; $(document).ready(function(){ $('#updateinfo').click(function(){ var hobbies = $("#hobbies").val(); var siblings = $("#siblings").val(); var parent_name = $("#parent_name").val(); var parent_email = $("#parent_email").val(); var parent_phone = $("#parent_phone").val(); var mentee_id = $("#mentee_id").val(); var base_url_info = $("#base_url_info").val(); $.ajax({ url:'<?= base_url('admin/menteelist/updatementeeinfo') ?>', method: 'post', data: {hobbies: hobbies, siblings: siblings, parent_name:parent_name,parent_email:parent_email,parent_phone:parent_phone,mentee_id:mentee_id }, dataType: 'json', success: function(response){ // Add options $("#msg_div").html(''); $("#msg_div").html('<p style="color:green;">Mentee Information updated successfully.</p>'); var rurl = base_url_info; setTimeout("window.location.href='"+rurl+"';",4000); } }); }); }); function showsubject(strem, system_id){ // AJAX request $.ajax({ url: '<?= base_url('admin/menteelist/getMenteeGRADES') ?>', type: 'post', data: {strem: strem,system_id: system_id }, success: function(response){ // Add response in Modal body $('.modal-body').html(response); // Display Modal $('#empModal').modal('show'); } }); } </script>