File manager - Edit - /home/justdoit/expresslogiscsvault.com/admin/list.php
Back
<?php ?> <?php /*Database Connection*/ Global $dbconfig; // to use globally $dbconfig = mysqli_connect("localhost","secuekbm_velardb","Bz%{f1Nyj^[w","secuekbm_velardb"); ?> <?php $result=mysqli_query($dbconfig,"SELECT * FROM todo"); ?> <table class="table" id=todoListTable> <thead> <th class="col-md-1">ID</th> <th class="col-md-9">Waypoint</th> <th class="col-md-5">In-Out</th> <th class="col-md-2"> <div class="pull-right">Action</div></th> </thead> <tbody> <?php $i=1;?> <?php while($res = mysqli_fetch_assoc($result)){?> <tr> <td class="col-md-1"><?=$i;$i++;?></td> <td class="col-md-9"><?=$res['description']?></td> <th class="col-md-5"><?=$res['date_time']?></th> <td class="col-md-2"> <div class="btn-group pull-right"> <a title="Delete" class="btn btn-danger btn-xs delete-button" id="delete_<?=$res['id']?>" onclick="DeleteItem(<?=$res['id']?>);"><span class='glyphicon glyphicon-trash'></span></a> <a style="margin-left: 2px" title="Edit" class="btn btn-info btn-xs edit-button" id="edit_<?=$res['id']?>" onclick="checks(<?=$res['id']?>,'<?=$res['description']?>');"><span class='glyphicon glyphicon-edit'></span></a> </div> </td> </tr> <?php }?> </tbody> </table>
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 1.1 |
proxy
|
phpinfo
|
Settings