File manager - Edit - /home/autoph/public_html/pms_v1/pef/loadEmployeePEFSummary.php
Back
<?php include_once("../../../cfg/conn.php"); include ("../functions/users.php"); //error_reporting(0); if(isset($_POST['pefScore'])){ $selectedEmpID = $_POST['selectedEmpID']; $userID = $_POST['userID']; $count = 0; echo "<table class='w-100' data-toggle='modal' data-target='#EmployeePCPForm'>"; echo "<thead>"; echo "<th class='col-1'>NO.</th>"; echo "<th class='col-1'>YEAR</th>"; echo "<th class='col-1'>PERIOD</th>"; echo "<th class='col-1'>DATE</th>"; echo "<th class='col-1'>W.POINT</th>"; echo "<th class='col-6'>PERFORMANCE</th>"; echo "<th class='col-1'></th>"; echo "</thead>"; $empList = "SELECT * FROM `pef_evaluation_data` WHERE `emp_record_id`='$selectedEmpID' AND `deleted`=0 ORDER BY `pcp_id` DESC"; $empQ = mysqli_query($conn,$empList); while($row = mysqli_fetch_array($empQ)){ $count = $count + 1; $pefID = $row['id']; $pcpID = $row['pcp_id']; $pefDate = explode(" ",$row['rated_date']); $pefDateA = $pefDate[0]; $pefYear = $row['pef_year']; $pefSem = $row['pef_semester']; if($pefSem ==="1ST"){ $sme=1; }else{ $sme=2; } $overAllAdj= $row['per_overall_adj']; $overAllWP= $row['per_overall_wp']; ?><tr onclick="javascript:getInfoB(this);"><?php echo "<td>$count</td>"; echo "<td>". $pefYear."</td>"; echo "<td>".$pefSem."</td>"; echo "<td>".$pefDateA."</td>"; echo "<td>".$overAllWP."</td>"; echo "<td>".$overAllAdj."</td>"; echo "<td>";?> <!--<abbr title='View KRA'><i class='fa fa-plus-circle' aria-hidden='true' style='cursor:pointer;color:green;float:right;font-size:18px'></i> </abbr>--> <i onClick="window.open('./pdfViewer/pep_pdfEmployeeview.php?pcpIDpdf=<?php echo $pcpID;?>&source=<?php echo $userID;?>&sme=<?php echo $sme;?>')" class="fa fa-print" style='cursor:pointer;color:green;float:right;font-size:16px'></i> <?php echo "</td>"; } echo "</table>"; $conn->close(); } ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings