File manager - Edit - /home/autoph/public_html/pms_v1/pcpDocuments/loadEmployeePCPSummary.php
Back
<?php include_once("../../../cfg/conn.php"); include ("../functions/users.php"); //error_reporting(0); if(isset($_POST['pcpList'])){ $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-6'>PCP DESCRIPTION</th>"; echo "<th class='col-1'>STATUS</th>"; echo "<th class='col-1'></th>"; echo "</thead>"; $empList = "SELECT * FROM `pcp_headers` WHERE `id`='$selectedEmpID' ORDER BY `id` ASC"; $empQ = mysqli_query($conn,$empList); while($row = mysqli_fetch_array($empQ)){ $count = $count + 1; $pcpID = $row['id']; $pcpYear = $row['year']; $pcpName = $row['pcp_name']; $pcpStatus = $row['status']; ?><tr onclick="javascript:getInfoB(this);"><?php echo "<td>$count</td>"; echo "<td>".$pcpYear."</td>"; echo "<td>". $pcpName."</td>"; echo "<td>".$pcpStatus."</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/pcp_employeeview.php?pcpIDpdf=<?php echo $pcpID;?>&source=<?php echo $userID;?>')" 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