16 lines
393 B
PHP
16 lines
393 B
PHP
|
<?php $o = Auth::instance()->get_user();
|
||
|
echo Block::factory()
|
||
|
->title(_('Customer Login Activity'))
|
||
|
->title_icon('fa fa-eye')
|
||
|
->body(Table::factory()
|
||
|
->data(ORM::factory('Account_Log')->where_authorised($o)->find_all())
|
||
|
->page_items(25)
|
||
|
->columns(array(
|
||
|
'id'=>'ID',
|
||
|
'date_orig'=>'Date',
|
||
|
'account->name()'=>'Account',
|
||
|
'ip'=>'IP Address',
|
||
|
'details'=>'Details',
|
||
|
))
|
||
|
);
|