Logs NEW Default theme
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 | |
---|---|---|---|---|---|---|---|---|
1 | employees | UPDATE | 30.09.2023 13:59:55 | 1720 | UPDATE `employees` AS `employees` SET | 1720 | 234 | this is a long long text | c564 | | View | |
2 | payments | UPDATE | 30.09.2023 13:59:47 | 115 | UPDATE `payments` AS `payments` SET | 115 | 209 | PH785937 | 2004-05-04 00:00:00 | | View | |
3 | payments | UPDATE | 30.09.2023 11:42:36 | 119 | UPDATE `payments` AS `payments` SET | 119 | 216 | MM342086 | 2003-12-14 00:00:00 | | View | |
4 | payments | UPDATE | 30.09.2023 11:42:30 | 119 | UPDATE `payments` AS `payments` SET | 119 | 216 | MM342086 | 2003-12-14 00:00:00 | | View | |
5 | payments | UPDATE | 29.09.2023 09:57:40 | 112 | UPDATE `payments` AS `payments` SET | 112 | 123456789 | LL562733 | 2003-09-05 00:00:00 | View |