Logs
All actions of a table are logged in this table
HIDE CODE
<?php
$xcrud2 = Xcrud::get_instance();
$xcrud2->table("logs");
$xcrud2->limit(5);
$xcrud2->unset_remove();
$xcrud2->unset_add();
$xcrud2->unset_edit();
$xcrud2->order_by('updated','desc');
echo $xcrud2->render();
?>
Logs
| # | Table Name | Action | Updated By | ↓ Updated | Record Id | Data | Old Record | Sys Role Id | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | action | VIEW | 05.05.2026 11:13:07 | 0 | IP:20.29.73.82 Viewed Page:action, Theme:minimal | View | |||
| 2 | action | VIEW | 05.05.2026 11:13:05 | 0 | IP:20.65.79.182 Viewed Page:action, | View | |||
| 3 | action | VIEW | 05.05.2026 11:12:51 | 0 | IP:20.169.8.169 Viewed Page:action, Theme:default | View | |||
| 4 | parsley_validation | VIEW | 05.05.2026 11:07:18 | 0 | IP:136.119.129.236 Viewed | View | |||
| 5 | parsley_validation | VIEW | 05.05.2026 11:07:18 | 0 | IP:136.119.129.236 Viewed | View |