23 lines
501 B
PHP
Raw Normal View History

2017-03-11 02:51:06 +07:00
<?php
2022-09-11 11:02:30 +07:00
2017-03-11 02:51:06 +07:00
/**
2022-10-16 14:48:21 +07:00
* PHP Mikrotik Billing (https://ibnux.github.io/phpnuxbill/)
2022-09-11 11:02:30 +07:00
**/
2017-03-11 02:51:06 +07:00
_auth();
2022-10-13 14:00:54 +07:00
$ui->assign('_title', $_L['Dashboard']);
2017-03-11 02:51:06 +07:00
$user = User::_info();
$ui->assign('_user', $user);
//Client Page
$bill = User::_billing();
$ui->assign('_bill', $bill);
2022-09-11 11:02:30 +07:00
$ui->assign('unpaid', ORM::for_table('tbl_payment_gateway')
->where('username', $user['username'])
->where('status', 1)
->find_one());
2022-09-18 00:00:40 +07:00
run_hook('view_customer_dashboard'); #HOOK
2022-09-11 11:02:30 +07:00
$ui->display('user-dashboard.tpl');