mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2024-11-11 18:16:20 +08:00
17 lines
No EOL
444 B
PHP
17 lines
No EOL
444 B
PHP
<?php
|
|
/**
|
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
|
**/
|
|
|
|
Class User{
|
|
public static function _info(){
|
|
$id = $_SESSION['uid'];
|
|
$d = ORM::for_table('tbl_customers')->find_one($id);
|
|
return $d;
|
|
}
|
|
public static function _billing(){
|
|
$id = $_SESSION['uid'];
|
|
$d = ORM::for_table('tbl_user_recharges')->where('customer_id',$id)->find_one();
|
|
return $d;
|
|
}
|
|
} |