%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 active">Assigned Mentor</li> </ol> <!-- DataTables Example --> <div class="card mb-3 fomr-news1"> <div class="card-header card-header-new "><h3> <i class="fas fa-user"></i> Assigned Mentor </h3></div> <form method="get" name="Manage_Mentor" id="Manage_Mentor"> <div class="row"> <div class="col-xl-12" data-select2-id="6"> <?php $role_id = $this->session->userdata('adid')->role_id; if(!in_array($role_id, array(3,6))) { ?> <div class="form-group m-form__group col-xl-5" data-select2-id="5"> <label class="col-form-label">Select School<span class="text-danger">*</span> :</label> <div class="select" data-select2-id="4"> <select name="school_filter" id="school_filter" class="form-control m-select2 select2-custom select2-hidden-accessible" onchange="form.submit();"> <option value="">Select School</option> <?php foreach($schoolArray as $row) { ?> <option value="<?=$row['id']?>" <?php if($row['id']==$_GET['school_filter']) { echo 'selected'; }?>><?=$row['school_name']?></option> <?php } ?> </select> </div> </div> <?php } else { ?> <div class="form-group m-form__group col-xl-5" data-select2-id="5"> <label class="col-form-label">School: </label> <div class="select" data-select2-id="4"> <strong><?php echo $schoolArray[$_GET['school_filter']]['school_name'];?></strong> </div> </div> <?php } ?> <div class="form-group m-form__group col-xl-6" data-select2-id="5"> <label class=" col-form-label">Select Department<span class="text-danger">*</span> :</label> <div class="select" data-select2-id="4"> <select name="department_filter" id="department_filter" class="form-control m-select2-custom select2-hidden-accessible" onchange="form.submit();" data-select2-id="department_select" tabindex="-1" aria-hidden="true"> <option value="">Select Department(Optional)</option> <?php foreach($departmentArray as $row) { ?> <option value="<?=$row['id']?>" <?php if($row['id']==$_GET['department_filter']) { echo 'selected'; }?>><?=$row['department_name']?></option> <?php } ?> </select> </div> </div> </div> </div> </form> </div> <div class="card-body table-body-new"> <div class="table-responsive"> <!---- Success Message ----> <?php if ($this->session->flashdata('success')) { ?> <p style="color:green; font-size:18px;"><?php echo $this->session->flashdata('success'); ?></p> </div> <?php } ?> <table class="table table-bordered no-record" id="dataTable" width="100%" cellspacing="0"> <thead> <tr> <th>SR No</th> <th>Employee Id</th> <th>Name</th> <th>Username</th> <th>Total Mentees</th> <th>School</th> <th>Department</th> <th>Action</th> </tr> </thead> <tbody> <?php //print_r($menteesArray); die; if(count($recorddetails)) : $cnt=1; foreach ($recorddetails as $row) : if($menteesArray[$row['id']]>0) { ?> <tr> <td><?php echo htmlentities($cnt);?></td> <td><?php echo htmlentities($row['employee_id'])?></td> <td><?php echo htmlentities($row['first_name'].' '.$row['last_name'])?></td> <td><?php echo htmlentities($row['userName'])?></td> <td><?php echo $menteesArray[$row['id']]!='' ? $menteesArray[$row['id']] : 0;?></td> <td><?php echo $schoolArray[$row['school_id']]['school_name']?></td> <td><?php echo $departmentArray[$row['department_id']]['department_name']?></td> <td><?php $id = base64_encode($row['id']); echo anchor("admin/managementor/menteeinfo/{$id}",' ','class="fa fa-eye"')?> </td> </tr> <?php $cnt++; } endforeach; else : ?> <tr> <td>No Record Found</td> <td> </td> <td > </td> <td> </td> <td> </td> <td> </td> <td> </td> <td> </td> </tr> <?php endif; ?> </tbody> </table> </div> </div> </div> <!-- /.container-fluid --> <!-- Sticky Footer --> <?php include APPPATH.'views/admin/includes/footer.php';?>