Perbaikan di register, uptime limit dan kuota
This commit is contained in:
parent
5069d1228d
commit
2d82051895
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
header('location: ../index.php?_route=admin/');
|
header('location: ../index.php?_route=admin/');
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
//ini_set('display_errors', 1);
|
//ini_set('display_errors', 1);
|
||||||
//ini_set('display_startup_errors', 1);
|
//ini_set('display_startup_errors', 1);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
Class Admin{
|
Class Admin{
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
Class App{
|
Class App{
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
Class Paginator
|
Class Paginator
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
Class Password{
|
Class Password{
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
Class Router{
|
Class Router{
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class Timezone {
|
class Timezone {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
Class User{
|
Class User{
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
session_start();
|
session_start();
|
||||||
function r2($to,$ntype='e',$msg=''){
|
function r2($to,$ntype='e',$msg=''){
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_auth();
|
_auth();
|
||||||
$ui->assign('_title', $_L['My_Account'].'- '. $config['CompanyName']);
|
$ui->assign('_title', $_L['My_Account'].'- '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
if (isset($routes['1'])) {
|
if (isset($routes['1'])) {
|
||||||
$do = $routes['1'];
|
$do = $routes['1'];
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_admin();
|
_admin();
|
||||||
$ui->assign('_title', $_L['Network'].' - '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Network'].' - '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_admin();
|
_admin();
|
||||||
$ui->assign('_title', $_L['Bandwidth_Plans'].' - '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Bandwidth_Plans'].' - '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_admin();
|
_admin();
|
||||||
$ui->assign('_title', $_L['Customers'].' - '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Customers'].' - '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_admin();
|
_admin();
|
||||||
$ui->assign('_title', $_L['Dashboard'].' - '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Dashboard'].' - '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
r2(APP_URL.'/index.php?_route=dashboard');
|
r2(APP_URL.'/index.php?_route=dashboard');
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ibnu Maksum <me@ibnux.net>
|
* Ibnu Maksum <me@ibnux.net>
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_admin();
|
_admin();
|
||||||
$ui->assign('_title', $_L['Reports'].'- '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Reports'].'- '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_auth();
|
_auth();
|
||||||
$ui->assign('_title', $_L['Dashboard'].' - '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Dashboard'].' - '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
if (isset($routes['1'])) {
|
if (isset($routes['1'])) {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
if (session_status() == PHP_SESSION_NONE) session_start();
|
if (session_status() == PHP_SESSION_NONE) session_start();
|
||||||
session_destroy();
|
session_destroy();
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_admin();
|
_admin();
|
||||||
$ui->assign('_title', $_L['Private_Message'].'- '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Private_Message'].'- '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_auth();
|
_auth();
|
||||||
$ui->assign('_title', $_L['Order_Voucher'].'- '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Order_Voucher'].'- '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_admin();
|
_admin();
|
||||||
$ui->assign('_title', 'Pages - '. $config['CompanyName']);
|
$ui->assign('_title', 'Pages - '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_auth();
|
_auth();
|
||||||
$ui->assign('_title', $_L['Private_Message'].'- '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Private_Message'].'- '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_admin();
|
_admin();
|
||||||
$ui->assign('_title', $_L['Network'].' - '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Network'].' - '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_admin();
|
_admin();
|
||||||
$ui->assign('_title', $_L['Recharge_Account'].' - '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Recharge_Account'].' - '. $config['CompanyName']);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*
|
*
|
||||||
@ -73,12 +73,58 @@ switch($do){
|
|||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
die('Unable to connect to the router.');
|
die('Unable to connect to the router.');
|
||||||
}
|
}
|
||||||
|
/* iBNuX Added:
|
||||||
|
* Time limit to Mikrotik
|
||||||
|
* 'Time_Limit', 'Data_Limit', 'Both_Limit'
|
||||||
|
*/
|
||||||
$addRequest = new RouterOS\Request('/ip/hotspot/user/add');
|
$addRequest = new RouterOS\Request('/ip/hotspot/user/add');
|
||||||
|
if($p['typebp']=="Limited"){
|
||||||
|
if($p['limit_type']=="Time_Limit"){
|
||||||
|
if($p['time_unit']=='Hrs')
|
||||||
|
$timelimit = $p['time_limit'].":00:00";
|
||||||
|
else
|
||||||
|
$timelimit = "00:".$p['time_limit'].":00";
|
||||||
|
$client->sendSync($addRequest
|
||||||
|
->setArgument('name', $c['username'])
|
||||||
|
->setArgument('profile', $p['name_plan'])
|
||||||
|
->setArgument('password', $c['password'])
|
||||||
|
->setArgument('limit-uptime', $timelimit)
|
||||||
|
);
|
||||||
|
}else if($p['limit_type']=="Data_Limit"){
|
||||||
|
if($p['data_unit']=='GB')
|
||||||
|
$datalimit = $p['data_limit']."000000000";
|
||||||
|
else
|
||||||
|
$datalimit = $p['data_limit']."000000";
|
||||||
|
$client->sendSync($addRequest
|
||||||
|
->setArgument('name', $c['username'])
|
||||||
|
->setArgument('profile', $p['name_plan'])
|
||||||
|
->setArgument('password', $c['password'])
|
||||||
|
->setArgument('limit-bytes-total', $datalimit)
|
||||||
|
);
|
||||||
|
}else if($p['limit_type']=="Both_Limit"){
|
||||||
|
if($p['time_unit']=='Hrs')
|
||||||
|
$timelimit = $p['time_limit'].":00:00";
|
||||||
|
else
|
||||||
|
$timelimit = "00:".$p['time_limit'].":00";
|
||||||
|
if($p['data_unit']=='GB')
|
||||||
|
$datalimit = $p['data_limit']."000000000";
|
||||||
|
else
|
||||||
|
$datalimit = $p['data_limit']."000000";
|
||||||
|
$client->sendSync($addRequest
|
||||||
|
->setArgument('name', $c['username'])
|
||||||
|
->setArgument('profile', $p['name_plan'])
|
||||||
|
->setArgument('password', $c['password'])
|
||||||
|
->setArgument('limit-uptime', $timelimit)
|
||||||
|
->setArgument('limit-bytes-total', $datalimit)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}else{
|
||||||
$client->sendSync($addRequest
|
$client->sendSync($addRequest
|
||||||
->setArgument('name', $c['username'])
|
->setArgument('name', $c['username'])
|
||||||
->setArgument('profile', $p['name_plan'])
|
->setArgument('profile', $p['name_plan'])
|
||||||
->setArgument('password', $c['password'])
|
->setArgument('password', $c['password'])
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
$d = ORM::for_table('tbl_user_recharges')->create();
|
$d = ORM::for_table('tbl_user_recharges')->create();
|
||||||
$d->customer_id = $user;
|
$d->customer_id = $user;
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_admin();
|
_admin();
|
||||||
$ui->assign('_title', $_L['Reports'].' - '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Reports'].' - '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_admin();
|
_admin();
|
||||||
$ui->assign('_title', $_L['Network'].' - '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Network'].' - '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_admin();
|
_admin();
|
||||||
$ui->assign('_title', $_L['Hotspot_Plans'].' - '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Hotspot_Plans'].' - '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_admin();
|
_admin();
|
||||||
$ui->assign('_title', $_L['Settings'].'- '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Settings'].'- '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
_auth();
|
_auth();
|
||||||
$ui->assign('_title', $_L['Voucher'].'- '. $config['CompanyName']);
|
$ui->assign('_title', $_L['Voucher'].'- '. $config['CompanyName']);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
require('config.php');
|
require('config.php');
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHP Mikrotik Billing (www.phpmixbill.com)
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||||
* Ismail Marzuqi <iesien22@yahoo.com>
|
|
||||||
* @version 5.0
|
|
||||||
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
* @donate PayPal: iesien22@yahoo.com / Bank Mandiri: 130.00.1024957.4
|
|
||||||
**/
|
**/
|
||||||
//error_reporting (0);
|
//error_reporting (0);
|
||||||
$appurl = $_POST['appurl'];
|
$appurl = $_POST['appurl'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user