File manager - Edit - /home/autoph/public_html/pms_v1/loadAllEvents.php
Back
<?php include_once("../../../cfg/conn.php"); if(isset($_POST['loadEvent'])){ $loadEvent=$_POST['loadEvent']; $infCanvass=$_POST['infCanvass']; $start=$_POST['start']; $limit=$_POST['limit']; ?> <table id="eventTable" style="width:100%;border-collapse:collapse"> <thead> <th class="col-1">REC.</thd> <th class="col-4">EVENT NAME</th> <th class="col-1">DATE</th> <th class="col-5">DESCRIPTION</th> <th class="col-1"></th> </thead> <?php $getAreaList = "SELECT * FROM `event_name` WHERE deleted ='0'"; $getArea = mysqli_query($conn,$getAreaList); $statRow = mysqli_num_rows($getArea); if($statRow > 0){ while($row = mysqli_fetch_array($getArea)){ ?><tr onclick="javascript:getInfo(this);" ><?php echo "<td >".$row['id'] ."</td>"; echo "<td>".$row['ev_name']."</td>"; echo "<td>".$row['event_date']."</td>"; echo "<td>".$row['event_desc']."</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 data-toggle="modal" data-target="#eventList" class="fa fa-list-ol" style='cursor:pointer;color:green;float:right;font-size:18px'></i> <?php echo "</td>"; echo "<tr>"; } } echo "</table>"; $conn->close(); } ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings