File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 1212top_panel ($ user ,$ TAB );
1313
1414// Data
15- if ($ _SESSION ['user ' ] == 'admin ' ) {
15+ exec (VESTA_CMD ."v-list-user-log $ user json " , $ output , $ return_var );
16+ check_error ($ return_var );
17+ $ data = json_decode (implode ('' , $ output ), true );
18+ $ data = array_reverse ($ data );
19+ unset($ output );
1620
17- exec (VESTA_CMD ."v-list-user-log $ user json " , $ output , $ return_var );
18- check_error ($ return_var );
19- $ data = json_decode (implode ('' , $ output ), true );
20- $ data = array_reverse ($ data );
21- unset($ output );
22-
23- include ($ _SERVER ['DOCUMENT_ROOT ' ].'/templates/admin/menu_log.html ' );
24- include ($ _SERVER ['DOCUMENT_ROOT ' ].'/templates/admin/list_log.html ' );
25- }
21+ include ($ _SERVER ['DOCUMENT_ROOT ' ].'/templates/admin/menu_log.html ' );
22+ include ($ _SERVER ['DOCUMENT_ROOT ' ].'/templates/admin/list_log.html ' );
2623
2724// Footer
2825include ($ _SERVER ['DOCUMENT_ROOT ' ].'/templates/footer.html ' );
You can’t perform that action at this time.
0 commit comments