diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index ddf5243b..7b218b6f 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -7,6 +7,9 @@ assignees: ibnux
---
+Please Remember, this project is free and open source, and @ibnux don't get any money from this project, and if you post something not a bug, just you dont understand how to install it, you will get blocked from this Repository.
+Post it in Discussion if you don't understand. Except you pay for $50 for support
+
**Describe the bug**
A clear and concise description of what the bug is. Error connecting to router is not a bug, is your router port is not accessable, ask community for help, go to discussion or telegram group
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index bbcbbe7d..b995353c 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -7,6 +7,8 @@ assignees: ''
---
+Please Remember, this project is free and open source, and @ibnux don't get any money from this project, any Feature Request will cost you $50-$5000
+
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
diff --git a/.gitignore b/.gitignore
index d4ac02b4..07267b56 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,9 +1,11 @@
config.php
.DS_Store
.vscode/
+ui/ui/compiled
ui/compiled/*.php
ui/cache/*.php
test.php
+sms.php
pages/
system/cache/**
system/plugin/*
@@ -28,4 +30,13 @@ system/uploads/system/**
!system/uploads/system/index.html
ui/themes/**
!ui/themes/index.html
-!ui/themes/README.md
\ No newline at end of file
+!ui/themes/README.md
+scanLang.php
+system/lan/**
+!system/lan/index.html
+!system/lan/indonesia.json
+!system/lan/spanish.json
+!system/lan/turkish.json
+!system/lan/english.json
+!system/lan/country.json
+*.zip
\ No newline at end of file
diff --git a/.htaccess_firewall b/.htaccess_firewall
new file mode 100644
index 00000000..5d37c58f
--- /dev/null
+++ b/.htaccess_firewall
@@ -0,0 +1,14 @@
+
Besok libur
Announcement!!
Tomorrow holiday
\ No newline at end of file
+Pengumuman!!
Besok libur
Announcement!!
Tomorrow holiday
+
+This Announcement is for Login Page.
\ No newline at end of file
diff --git a/pages_template/Announcement_Customer.html b/pages_template/Announcement_Customer.html
new file mode 100644
index 00000000..4eaa8063
--- /dev/null
+++ b/pages_template/Announcement_Customer.html
@@ -0,0 +1,8 @@
+Pengumuman Pelanggan!!
+Besok libur
+
+Customer Announcement!!
+Tomorrow holiday
+
+
+This Announcement is for Customer Dashboard
\ No newline at end of file
diff --git a/system/.htaccess b/system/.htaccess
new file mode 100644
index 00000000..5fd3ff11
--- /dev/null
+++ b/system/.htaccess
@@ -0,0 +1,19 @@
+
' . $e->getTraceAsString() . ''); - // $ui->display('router-error.tpl'); - // die(); - // } + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } + $iport = explode(":", $ip); + return new RouterOS\Client($iport[0], $user, $pass, ($iport[1]) ? $iport[1] : null); } public static function isUserLogin($client, $username) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request( '/ip hotspot active print', RouterOS\Query::where('user', $username) @@ -38,6 +39,10 @@ class Mikrotik public static function logMeIn($client, $user, $pass, $ip, $mac) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $addRequest = new RouterOS\Request('/ip/hotspot/active/login'); $client->sendSync( $addRequest @@ -50,13 +55,17 @@ class Mikrotik public static function logMeOut($client, $user) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request( '/ip hotspot active print', RouterOS\Query::where('user', $user) ); $id = $client->sendSync($printRequest)->getProperty('.id'); $removeRequest = new RouterOS\Request('/ip/hotspot/active/remove'); - $client( + $client->sendSync( $removeRequest ->setArgument('numbers', $id) ); @@ -64,6 +73,10 @@ class Mikrotik public static function addHotspotPlan($client, $name, $sharedusers, $rate) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $addRequest = new RouterOS\Request('/ip/hotspot/user/profile/add'); $client->sendSync( $addRequest @@ -75,6 +88,10 @@ class Mikrotik public static function setHotspotPlan($client, $name, $sharedusers, $rate) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request( '/ip hotspot user profile print .proplist=.id', RouterOS\Query::where('name', $name) @@ -84,7 +101,7 @@ class Mikrotik Mikrotik::addHotspotPlan($client, $name, $sharedusers, $rate); } else { $setRequest = new RouterOS\Request('/ip/hotspot/user/profile/set'); - $client( + $client->sendSync( $setRequest ->setArgument('numbers', $profileID) ->setArgument('shared-users', $sharedusers) @@ -95,6 +112,10 @@ class Mikrotik public static function setHotspotExpiredPlan($client, $name, $pool) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request( '/ip hotspot user profile print .proplist=.id', RouterOS\Query::where('name', $name) @@ -111,7 +132,7 @@ class Mikrotik ); } else { $setRequest = new RouterOS\Request('/ip/hotspot/user/profile/set'); - $client( + $client->sendSync( $setRequest ->setArgument('numbers', $profileID) ->setArgument('shared-users', 3) @@ -123,6 +144,10 @@ class Mikrotik public static function removeHotspotPlan($client, $name) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request( '/ip hotspot user profile print .proplist=.id', RouterOS\Query::where('name', $name) @@ -130,7 +155,7 @@ class Mikrotik $profileID = $client->sendSync($printRequest)->getProperty('.id'); $removeRequest = new RouterOS\Request('/ip/hotspot/user/profile/remove'); - $client( + $client->sendSync( $removeRequest ->setArgument('numbers', $profileID) ); @@ -138,13 +163,17 @@ class Mikrotik public static function removeHotspotUser($client, $username) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request( '/ip hotspot user print .proplist=.id', RouterOS\Query::where('name', $username) ); $userID = $client->sendSync($printRequest)->getProperty('.id'); $removeRequest = new RouterOS\Request('/ip/hotspot/user/remove'); - $client( + $client->sendSync( $removeRequest ->setArgument('numbers', $userID) ); @@ -152,6 +181,10 @@ class Mikrotik public static function addHotspotUser($client, $plan, $customer) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $addRequest = new RouterOS\Request('/ip/hotspot/user/add'); if ($plan['typebp'] == "Limited") { if ($plan['limit_type'] == "Time_Limit") { @@ -216,6 +249,10 @@ class Mikrotik public static function setHotspotUser($client, $user, $pass) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request('/ip/hotspot/user/print'); $printRequest->setArgument('.proplist', '.id'); $printRequest->setQuery(RouterOS\Query::where('name', $user)); @@ -229,6 +266,10 @@ class Mikrotik public static function setHotspotUserPackage($client, $user, $plan) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request('/ip/hotspot/user/print'); $printRequest->setArgument('.proplist', '.id'); $printRequest->setQuery(RouterOS\Query::where('name', $user)); @@ -242,6 +283,10 @@ class Mikrotik public static function removeHotspotActiveUser($client, $username) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $onlineRequest = new RouterOS\Request('/ip/hotspot/active/print'); $onlineRequest->setArgument('.proplist', '.id'); $onlineRequest->setQuery(RouterOS\Query::where('user', $username)); @@ -254,7 +299,10 @@ class Mikrotik public static function removePpoeUser($client, $username) { - + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request('/ppp/secret/print'); //$printRequest->setArgument('.proplist', '.id'); $printRequest->setQuery(RouterOS\Query::where('name', $username)); @@ -266,6 +314,10 @@ class Mikrotik public static function addPpoeUser($client, $plan, $customer) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $addRequest = new RouterOS\Request('/ppp/secret/add'); if (!empty($customer['pppoe_password'])) { $pass = $customer['pppoe_password']; @@ -284,6 +336,10 @@ class Mikrotik public static function setPpoeUser($client, $user, $pass) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request('/ppp/secret/print'); $printRequest->setArgument('.proplist', '.id'); $printRequest->setQuery(RouterOS\Query::where('name', $user)); @@ -297,6 +353,10 @@ class Mikrotik public static function setPpoeUserPlan($client, $user, $plan) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request('/ppp/secret/print'); $printRequest->setArgument('.proplist', '.id'); $printRequest->setQuery(RouterOS\Query::where('name', $user)); @@ -310,6 +370,10 @@ class Mikrotik public static function removePpoeActive($client, $username) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $onlineRequest = new RouterOS\Request('/ppp/active/print'); $onlineRequest->setArgument('.proplist', '.id'); $onlineRequest->setQuery(RouterOS\Query::where('name', $username)); @@ -322,6 +386,10 @@ class Mikrotik public static function removePool($client, $name) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request( '/ip pool print .proplist=.id', RouterOS\Query::where('name', $name) @@ -329,7 +397,7 @@ class Mikrotik $poolID = $client->sendSync($printRequest)->getProperty('.id'); $removeRequest = new RouterOS\Request('/ip/pool/remove'); - $client( + $client->sendSync( $removeRequest ->setArgument('numbers', $poolID) ); @@ -337,6 +405,10 @@ class Mikrotik public static function addPool($client, $name, $ip_address) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $addRequest = new RouterOS\Request('/ip/pool/add'); $client->sendSync( $addRequest @@ -347,17 +419,21 @@ class Mikrotik public static function setPool($client, $name, $ip_address) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request( '/ip pool print .proplist=.id', RouterOS\Query::where('name', $name) ); - $poolID = $client->sendSync($printRequest)->getProperty('id'); + $poolID = $client->sendSync($printRequest)->getProperty('.id'); if (empty($poolID)) { self::addPool($client, $name, $ip_address); } else { $setRequest = new RouterOS\Request('/ip/pool/set'); - $client( + $client->sendSync( $setRequest ->setArgument('numbers', $poolID) ->setArgument('ranges', $ip_address) @@ -368,6 +444,10 @@ class Mikrotik public static function addPpoePlan($client, $name, $pool, $rate) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $addRequest = new RouterOS\Request('/ppp/profile/add'); $client->sendSync( $addRequest @@ -380,6 +460,10 @@ class Mikrotik public static function setPpoePlan($client, $name, $pool, $rate) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request( '/ppp profile print .proplist=.id', RouterOS\Query::where('name', $name) @@ -389,7 +473,7 @@ class Mikrotik self::addPpoePlan($client, $name, $pool, $rate); } else { $setRequest = new RouterOS\Request('/ppp/profile/set'); - $client( + $client->sendSync( $setRequest ->setArgument('numbers', $profileID) ->setArgument('local-address', $pool) @@ -401,6 +485,10 @@ class Mikrotik public static function removePpoePlan($client, $name) { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } $printRequest = new RouterOS\Request( '/ppp profile print .proplist=.id', RouterOS\Query::where('name', $name) @@ -408,9 +496,67 @@ class Mikrotik $profileID = $client->sendSync($printRequest)->getProperty('.id'); $removeRequest = new RouterOS\Request('/ppp/profile/remove'); - $client( + $client->sendSync( $removeRequest ->setArgument('numbers', $profileID) ); } + + public static function sendSMS($client, $to, $message) + { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } + $smsRequest = new RouterOS\Request('/tool sms send'); + $smsRequest + ->setArgument('phone-number', $to) + ->setArgument('message', $message); + $client->sendSync($smsRequest); + } + + public static function getIpHotspotUser($client, $username){ + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } + $printRequest = new RouterOS\Request( + '/ip hotspot active print', + RouterOS\Query::where('user', $username) + ); + return $client->sendSync($printRequest)->getProperty('address'); + } + + public static function addIpToAddressList($client, $ip, $listName, $comment = '') + { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } + $addRequest = new RouterOS\Request('/ip/firewall/address-list/add'); + $client->sendSync( + $addRequest + ->setArgument('address', $ip) + ->setArgument('comment', $comment) + ->setArgument('list', $listName) + ); + } + + public static function removeIpFromAddressList($client, $ip) + { + global $_app_stage; + if ($_app_stage == 'demo') { + return null; + } + $printRequest = new RouterOS\Request( + '/ip firewall address-list print .proplist=.id', + RouterOS\Query::where('address', $ip) + ); + $id = $client->sendSync($printRequest)->getProperty('.id'); + $removeRequest = new RouterOS\Request('/ip/firewall/address-list/remove'); + $client->sendSync( + $removeRequest + ->setArgument('numbers', $id) + ); + } } diff --git a/system/autoload/Package.php b/system/autoload/Package.php index df986a7d..af4a11d8 100644 --- a/system/autoload/Package.php +++ b/system/autoload/Package.php @@ -17,9 +17,9 @@ class Package * @param string $channel channel payment gateway * @return boolean */ - public static function rechargeUser($id_customer, $router_name, $plan_id, $gateway, $channel) + public static function rechargeUser($id_customer, $router_name, $plan_id, $gateway, $channel, $note = '') { - global $_c; + global $config, $admin, $c, $p, $b, $t, $d, $zero; $date_now = date("Y-m-d H:i:s"); $date_only = date("Y-m-d"); $time_only = date("H:i:s"); @@ -30,11 +30,53 @@ class Package } $c = ORM::for_table('tbl_customers')->where('id', $id_customer)->find_one(); - $p = ORM::for_table('tbl_plans')->where('id', $plan_id)->where('enabled', '1')->find_one(); + $p = ORM::for_table('tbl_plans')->where('id', $plan_id)->find_one(); + + $add_cost = 0; + $bills = []; + // Zero cost recharge + if (isset($zero) && $zero == 1) { + $p['price'] = 0; + } else { + // Additional cost + list($bills, $add_cost) = User::getBills($id_customer); + if ($add_cost > 0 && $router_name != 'balance') { + foreach ($bills as $k => $v) { + $note .= $k . " : " . Lang::moneyFormat($v) . "\n"; + } + $note .= $p['name_plan'] . " : " . Lang::moneyFormat($p['price']) . "\n"; + } + } + + + if (!$p['enabled']) { + if (!isset($admin) || !isset($admin['id']) || empty($admin['id'])) { + r2(U . 'home', 'e', Lang::T('Plan Not found')); + } + if (!in_array($admin['user_type'], ['SuperAdmin', 'Admin'])) { + r2(U . 'dashboard', 'e', Lang::T('Plan Not found')); + } + } + + if ($p['validity_unit'] == 'Period') { + $day_exp = User::getAttribute("Expired Date", $c['id']); //ORM::for_table('tbl_customers_fields')->where('field_name', 'Expired Date')->where('customer_id', $c['id'])->find_one(); + if (!$day_exp) { + $day_exp = 20; + // $day_exp = date('d', strtotime($c['created_at'])); + // if (empty($day_exp) || $day_exp > 28) { + // $day_exp = 1; + // } + $f = ORM::for_table('tbl_customers_fields')->create(); + $f->customer_id = $c['id']; + $f->field_name = 'Expired Date'; + $f->field_value = $day_exp; + $f->save(); + } + } if ($router_name == 'balance') { // insert table transactions - $inv = "INV-" . Package::_raid(5); + $inv = "INV-" . Package::_raid(); $t = ORM::for_table('tbl_transactions')->create(); $t->invoice = $inv; $t->username = $c['username']; @@ -47,6 +89,11 @@ class Package $t->method = "$gateway - $channel"; $t->routers = $router_name; $t->type = "Balance"; + if ($admin) { + $t->admin_id = ($admin['id']) ? $admin['id'] : '0'; + } else { + $t->admin_id = '0'; + } $t->save(); $balance_before = $c['balance']; @@ -54,38 +101,76 @@ class Package $balance = $c['balance'] + $p['price']; $textInvoice = Lang::getNotifText('invoice_balance'); - $textInvoice = str_replace('[[company_name]]', $_c['CompanyName'], $textInvoice); - $textInvoice = str_replace('[[address]]', $_c['address'], $textInvoice); - $textInvoice = str_replace('[[phone]]', $_c['phone'], $textInvoice); + $textInvoice = str_replace('[[company_name]]', $config['CompanyName'], $textInvoice); + $textInvoice = str_replace('[[address]]', $config['address'], $textInvoice); + $textInvoice = str_replace('[[phone]]', $config['phone'], $textInvoice); $textInvoice = str_replace('[[invoice]]', $inv, $textInvoice); $textInvoice = str_replace('[[date]]', Lang::dateTimeFormat($date_now), $textInvoice); - $textInvoice = str_replace('[[payment_gateway]]', $_c['gateway'], $textInvoice); - $textInvoice = str_replace('[[payment_channel]]', $_c['channel'], $textInvoice); + $textInvoice = str_replace('[[payment_gateway]]', $gateway, $textInvoice); + $textInvoice = str_replace('[[payment_channel]]', $channel, $textInvoice); $textInvoice = str_replace('[[type]]', 'Balance', $textInvoice); $textInvoice = str_replace('[[plan_name]]', $p['name_plan'], $textInvoice); $textInvoice = str_replace('[[plan_price]]', Lang::moneyFormat($p['price']), $textInvoice); $textInvoice = str_replace('[[name]]', $c['fullname'], $textInvoice); $textInvoice = str_replace('[[user_name]]', $c['username'], $textInvoice); $textInvoice = str_replace('[[user_password]]', $c['password'], $textInvoice); - $textInvoice = str_replace('[[footer]]', $_c['note'], $textInvoice); + $textInvoice = str_replace('[[footer]]', $config['note'], $textInvoice); $textInvoice = str_replace('[[balance_before]]', Lang::moneyFormat($balance_before), $textInvoice); $textInvoice = str_replace('[[balance]]', Lang::moneyFormat($balance), $textInvoice); - if ($_c['user_notification_payment'] == 'sms') { + if ($config['user_notification_payment'] == 'sms') { Message::sendSMS($c['phonenumber'], $textInvoice); - } else if ($_c['user_notification_payment'] == 'wa') { + } else if ($config['user_notification_payment'] == 'wa') { Message::sendWhatsapp($c['phonenumber'], $textInvoice); } return true; } + /** + * 1 Customer only can have 1 PPPOE and 1 Hotspot Plan, 1 prepaid and 1 postpaid + */ + $b = ORM::for_table('tbl_user_recharges') + ->select('tbl_user_recharges.id', 'id') + ->select('customer_id') + ->select('username') + ->select('plan_id') + ->select('namebp') + ->select('recharged_on') + ->select('recharged_time') + ->select('expiration') + ->select('time') + ->select('status') + ->select('method') + ->select('tbl_user_recharges.routers', 'routers') + ->select('tbl_user_recharges.type', 'type') + ->select('admin_id') + ->select('prepaid') + ->where('customer_id', $id_customer) + ->where('tbl_user_recharges.routers', $router_name) + ->where('tbl_user_recharges.Type', $p['type']) + ->where('prepaid', $p['prepaid']) + ->join('tbl_plans', array('tbl_plans.id', '=', 'tbl_user_recharges.plan_id')) + ->find_one(); + + run_hook("recharge_user"); - $b = ORM::for_table('tbl_user_recharges')->where('customer_id', $id_customer)->find_one(); $mikrotik = Mikrotik::info($router_name); if ($p['validity_unit'] == 'Months') { $date_exp = date("Y-m-d", strtotime('+' . $p['validity'] . ' month')); + } else if ($p['validity_unit'] == 'Period') { + $date_tmp = date("Y-m-$day_exp", strtotime('+' . $p['validity'] . ' month')); + $dt1 = new DateTime("$date_only"); + $dt2 = new DateTime("$date_tmp"); + $diff = $dt2->diff($dt1); + $sum = $diff->format("%a"); // => 453 + if ($sum >= 35 * $p['validity']) { + $date_exp = date("Y-m-$day_exp", strtotime('+0 month')); + } else { + $date_exp = date("Y-m-$day_exp", strtotime('+' . $p['validity'] . ' month')); + }; + $time = date("23:59:00"); } else if ($p['validity_unit'] == 'Days') { $date_exp = date("Y-m-d", strtotime('+' . $p['validity'] . ' day')); } else if ($p['validity_unit'] == 'Hrs') { @@ -100,22 +185,14 @@ class Package if ($p['type'] == 'Hotspot') { if ($b) { - if ($p['is_radius']) { - Radius::customerAddPlan($c, $p, "$date_exp $time"); - }else{ - $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); - Mikrotik::removeHotspotUser($client, $c['username']); - Mikrotik::removePpoeUser($client, $c['username']); - Mikrotik::removeHotspotActiveUser($client, $c['username']); - Mikrotik::removePpoeActive($client, $c['username']); - Mikrotik::addHotspotUser($client, $p, $c); - } - if ($b['namebp'] == $p['name_plan'] && $b['status'] == 'on') { // if it same internet plan, expired will extend if ($p['validity_unit'] == 'Months') { $date_exp = date("Y-m-d", strtotime($b['expiration'] . ' +' . $p['validity'] . ' months')); $time = $b['time']; + } else if ($p['validity_unit'] == 'Period') { + $date_exp = date("Y-m-$day_exp", strtotime($b['expiration'] . ' +' . $p['validity'] . ' months')); + $time = date("23:59:00"); } else if ($p['validity_unit'] == 'Days') { $date_exp = date("Y-m-d", strtotime($b['expiration'] . ' +' . $p['validity'] . ' days')); $time = $b['time']; @@ -130,6 +207,15 @@ class Package } } + if ($p['is_radius']) { + Radius::customerAddPlan($c, $p, "$date_exp $time"); + } else { + $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); + Mikrotik::removeHotspotUser($client, $c['username']); + Mikrotik::removeHotspotActiveUser($client, $c['username']); + Mikrotik::addHotspotUser($client, $p, $c); + } + $b->customer_id = $id_customer; $b->username = $c['username']; $b->plan_id = $plan_id; @@ -142,31 +228,74 @@ class Package $b->method = "$gateway - $channel"; $b->routers = $router_name; $b->type = "Hotspot"; + if ($admin) { + $b->admin_id = ($admin['id']) ? $admin['id'] : '0'; + } else { + $b->admin_id = '0'; + } $b->save(); // insert table transactions $t = ORM::for_table('tbl_transactions')->create(); - $t->invoice = "INV-" . Package::_raid(5); + $t->invoice = "INV-" . Package::_raid(); $t->username = $c['username']; $t->plan_name = $p['name_plan']; - $t->price = $p['price']; + if ($p['validity_unit'] == 'Period') { + // Postpaid price from field + $add_inv = User::getAttribute("Invoice", $id_customer); + if (empty($add_inv) or $add_inv == 0) { + $t->price = $p['price'] + $add_cost; + } else { + $t->price = $add_inv + $add_cost; + } + } else { + $t->price = $p['price'] + $add_cost; + } $t->recharged_on = $date_only; $t->recharged_time = $time_only; $t->expiration = $date_exp; $t->time = $time; $t->method = "$gateway - $channel"; $t->routers = $router_name; + $t->note = $note; $t->type = "Hotspot"; + if ($admin) { + $t->admin_id = ($admin['id']) ? $admin['id'] : '0'; + } else { + $t->admin_id = '0'; + } $t->save(); + + if ($p['validity_unit'] == 'Period') { + // insert price to fields for invoice next month + $fl = ORM::for_table('tbl_customers_fields')->where('field_name', 'Invoice')->where('customer_id', $c['id'])->find_one(); + if (!$fl) { + $fl = ORM::for_table('tbl_customers_fields')->create(); + $fl->customer_id = $c['id']; + $fl->field_name = 'Invoice'; + $fl->field_value = $p['price']; + $fl->save(); + } else { + $fl->customer_id = $c['id']; + $fl->field_value = $p['price']; + $fl->save(); + } + } + + + Message::sendTelegram("#u$c[username] $c[fullname] #recharge #Hotspot \n" . $p['name_plan'] . + "\nRouter: " . $router_name . + "\nGateway: " . $gateway . + "\nChannel: " . $channel . + "\nPrice: " . Lang::moneyFormat($p['price'] + $add_cost) . + "\nNote:\n" . $note); } else { if ($p['is_radius']) { Radius::customerAddPlan($c, $p, "$date_exp $time"); - }else{ + } else { $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); Mikrotik::removeHotspotUser($client, $c['username']); - Mikrotik::removePpoeUser($client, $c['username']); Mikrotik::removeHotspotActiveUser($client, $c['username']); - Mikrotik::removePpoeActive($client, $c['username']); Mikrotik::addHotspotUser($client, $p, $c); } @@ -183,48 +312,83 @@ class Package $d->method = "$gateway - $channel"; $d->routers = $router_name; $d->type = "Hotspot"; + if ($admin) { + $d->admin_id = ($admin['id']) ? $admin['id'] : '0'; + } else { + $d->admin_id = '0'; + } $d->save(); // insert table transactions $t = ORM::for_table('tbl_transactions')->create(); - $t->invoice = "INV-" . Package::_raid(5); + $t->invoice = "INV-" . Package::_raid(); $t->username = $c['username']; $t->plan_name = $p['name_plan']; - $t->price = $p['price']; + if ($p['validity_unit'] == 'Period') { + // Postpaid price always zero for first time + $t->price = 0 + $add_cost; + } else { + $t->price = $p['price'] + $add_cost; + } $t->recharged_on = $date_only; $t->recharged_time = $time_only; $t->expiration = $date_exp; $t->time = $time; $t->method = "$gateway - $channel"; $t->routers = $router_name; + $t->note = $note; $t->type = "Hotspot"; + if ($admin) { + $t->admin_id = ($admin['id']) ? $admin['id'] : '0'; + } else { + $t->admin_id = '0'; + } $t->save(); + + if ($p['validity_unit'] == 'Period' && $p['price'] != 0) { + // insert price to fields for invoice next month + $fl = ORM::for_table('tbl_customers_fields')->where('field_name', 'Invoice')->where('customer_id', $c['id'])->find_one(); + if (!$fl) { + $fl = ORM::for_table('tbl_customers_fields')->create(); + $fl->customer_id = $c['id']; + $fl->field_name = 'Invoice'; + // Calculating Price + $sd = new DateTime("$date_only"); + $ed = new DateTime("$date_exp"); + $td = $ed->diff($sd); + $fd = $td->format("%a"); + $gi = ($p['price'] / (30 * $p['validity'])) * $fd; + if ($gi > $p['price']) { + $fl->field_value = $p['price']; + } else { + $fl->field_value = $gi; + } + $fl->save(); + } else { + $fl->customer_id = $c['id']; + $fl->field_value = $p['price']; + $fl->save(); + } + } + + Message::sendTelegram("#u$c[username] $c[fullname] #buy #Hotspot \n" . $p['name_plan'] . + "\nRouter: " . $router_name . + "\nGateway: " . $gateway . + "\nChannel: " . $channel . + "\nPrice: " . Lang::moneyFormat($p['price'] + $add_cost) . + "\nNote:\n" . $note); } - Message::sendTelegram("#u$c[username] #buy #Hotspot \n" . $p['name_plan'] . - "\nRouter: " . $router_name . - "\nGateway: " . $gateway . - "\nChannel: " . $channel . - "\nPrice: " . Lang::moneyFormat($p['price'])); } else { if ($b) { - if ($p['is_radius']) { - Radius::customerAddPlan($c, $p, "$date_exp $time"); - }else{ - $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); - Mikrotik::removeHotspotUser($client, $c['username']); - Mikrotik::removePpoeUser($client, $c['username']); - Mikrotik::removeHotspotActiveUser($client, $c['username']); - Mikrotik::removePpoeActive($client, $c['username']); - Mikrotik::addPpoeUser($client, $p, $c); - } - - if ($b['namebp'] == $p['name_plan'] && $b['status'] == 'on') { // if it same internet plan, expired will extend if ($p['validity_unit'] == 'Months') { $date_exp = date("Y-m-d", strtotime($b['expiration'] . ' +' . $p['validity'] . ' months')); $time = $b['time']; + } else if ($p['validity_unit'] == 'Period') { + $date_exp = date("Y-m-$day_exp", strtotime($b['expiration'] . ' +' . $p['validity'] . ' months')); + $time = date("23:59:00"); } else if ($p['validity_unit'] == 'Days') { $date_exp = date("Y-m-d", strtotime($b['expiration'] . ' +' . $p['validity'] . ' days')); $time = $b['time']; @@ -239,6 +403,15 @@ class Package } } + if ($p['is_radius']) { + Radius::customerAddPlan($c, $p, "$date_exp $time"); + } else { + $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); + Mikrotik::removePpoeUser($client, $c['username']); + Mikrotik::removePpoeActive($client, $c['username']); + Mikrotik::addPpoeUser($client, $p, $c); + } + $b->customer_id = $id_customer; $b->username = $c['username']; $b->plan_id = $plan_id; @@ -251,30 +424,72 @@ class Package $b->method = "$gateway - $channel"; $b->routers = $router_name; $b->type = "PPPOE"; + if ($admin) { + $b->admin_id = ($admin['id']) ? $admin['id'] : '0'; + } else { + $b->admin_id = '0'; + } $b->save(); // insert table transactions $t = ORM::for_table('tbl_transactions')->create(); - $t->invoice = "INV-" . Package::_raid(5); + $t->invoice = "INV-" . Package::_raid(); $t->username = $c['username']; $t->plan_name = $p['name_plan']; - $t->price = $p['price']; + if ($p['validity_unit'] == 'Period') { + // Postpaid price from field + $add_inv = User::getAttribute("Invoice", $id_customer); + if (empty($add_inv) or $add_inv == 0) { + $t->price = $p['price'] + $add_cost; + } else { + $t->price = $add_inv + $add_cost; + } + } else { + $t->price = $p['price'] + $add_cost; + } $t->recharged_on = $date_only; $t->recharged_time = $time_only; $t->expiration = $date_exp; $t->time = $time; $t->method = "$gateway - $channel"; $t->routers = $router_name; + $t->note = $note; $t->type = "PPPOE"; + if ($admin) { + $t->admin_id = ($admin['id']) ? $admin['id'] : '0'; + } else { + $t->admin_id = '0'; + } $t->save(); + + if ($p['validity_unit'] == 'Period' && $p['price'] != 0) { + // insert price to fields for invoice next month + $fl = ORM::for_table('tbl_customers_fields')->where('field_name', 'Invoice')->where('customer_id', $c['id'])->find_one(); + if (!$fl) { + $fl = ORM::for_table('tbl_customers_fields')->create(); + $fl->customer_id = $c['id']; + $fl->field_name = 'Invoice'; + $fl->field_value = $p['price']; + $fl->save(); + } else { + $fl->customer_id = $c['id']; + $fl->field_value = $p['price']; + $fl->save(); + } + } + + Message::sendTelegram("#u$c[username] $c[fullname] #recharge #PPPOE \n" . $p['name_plan'] . + "\nRouter: " . $router_name . + "\nGateway: " . $gateway . + "\nChannel: " . $channel . + "\nPrice: " . Lang::moneyFormat($p['price'] + $add_cost) . + "\nNote:\n" . $note); } else { if ($p['is_radius']) { Radius::customerAddPlan($c, $p, "$date_exp $time"); - }else{ + } else { $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); - Mikrotik::removeHotspotUser($client, $c['username']); Mikrotik::removePpoeUser($client, $c['username']); - Mikrotik::removeHotspotActiveUser($client, $c['username']); Mikrotik::removePpoeActive($client, $c['username']); Mikrotik::addPpoeUser($client, $p, $c); } @@ -292,63 +507,140 @@ class Package $d->method = "$gateway - $channel"; $d->routers = $router_name; $d->type = "PPPOE"; + if ($admin) { + $d->admin_id = ($admin['id']) ? $admin['id'] : '0'; + } else { + $d->admin_id = '0'; + } $d->save(); // insert table transactions $t = ORM::for_table('tbl_transactions')->create(); - $t->invoice = "INV-" . Package::_raid(5); + $t->invoice = "INV-" . Package::_raid(); $t->username = $c['username']; $t->plan_name = $p['name_plan']; - $t->price = $p['price']; + if ($p['validity_unit'] == 'Period') { + // Postpaid price always zero for first time + $note = ''; + $bills = []; + $t->price = 0; + } else { + $t->price = $p['price'] + $add_cost; + } $t->recharged_on = $date_only; $t->recharged_time = $time_only; $t->expiration = $date_exp; $t->time = $time; $t->method = "$gateway - $channel"; + $t->note = $note; $t->routers = $router_name; + if ($admin) { + $t->admin_id = ($admin['id']) ? $admin['id'] : '0'; + } else { + $t->admin_id = '0'; + } $t->type = "PPPOE"; $t->save(); - } - Message::sendTelegram("#u$c[username] #buy #PPPOE \n" . $p['name_plan'] . - "\nRouter: " . $router_name . - "\nGateway: " . $gateway . - "\nChannel: " . $channel . - "\nPrice: " . Lang::moneyFormat($p['price'])); - } - $in = ORM::for_table('tbl_transactions')->where('username', $c['username'])->order_by_desc('id')->find_one(); - Message::sendInvoice($c, $in); + if ($p['validity_unit'] == 'Period' && $p['price'] != 0) { + // insert price to fields for invoice next month + $fl = ORM::for_table('tbl_customers_fields')->where('field_name', 'Invoice')->where('customer_id', $c['id'])->find_one(); + if (!$fl) { + $fl = ORM::for_table('tbl_customers_fields')->create(); + $fl->customer_id = $c['id']; + $fl->field_name = 'Invoice'; + // Calculating Price + $sd = new DateTime("$date_only"); + $ed = new DateTime("$date_exp"); + $td = $ed->diff($sd); + $fd = $td->format("%a"); + $gi = ($p['price'] / (30 * $p['validity'])) * $fd; + if ($gi > $p['price']) { + $fl->field_value = $p['price']; + } else { + $fl->field_value = $gi; + } + $fl->save(); + } else { + $fl->customer_id = $c['id']; + $fl->field_value = $p['price']; + $fl->save(); + } + } + + Message::sendTelegram("#u$c[username] $c[fullname] #buy #PPPOE \n" . $p['name_plan'] . + "\nRouter: " . $router_name . + "\nGateway: " . $gateway . + "\nChannel: " . $channel . + "\nPrice: " . Lang::moneyFormat($p['price'] + $add_cost) . + "\nNote:\n" . $note); + } + } + if (is_array($bills) && count($bills) > 0) { + User::billsPaid($bills, $id_customer); + } + run_hook("recharge_user_finish"); + Message::sendInvoice($c, $t); return true; } - public static function changeTo($username, $plan_id) + public static function changeTo($username, $plan_id, $from_id) { - global $_c; $c = ORM::for_table('tbl_customers')->where('username', $username)->find_one(); - $p = ORM::for_table('tbl_plans')->where('id', $plan_id)->where('enabled', '1')->find_one(); - $b = ORM::for_table('tbl_user_recharges')->where('customer_id', $c['id'])->find_one(); - $mikrotik = Mikrotik::info($p['routers']); + $p = ORM::for_table('tbl_plans')->where('id', $plan_id)->find_one(); + $b = ORM::for_table('tbl_user_recharges')->find_one($from_id); + if ($p['routers'] == $b['routers'] && $b['routers'] != 'radius') { + $mikrotik = Mikrotik::info($p['routers']); + } else { + $mikrotik = Mikrotik::info($b['routers']); + } + // delete first + if ($p['type'] == 'Hotspot') { + if ($b) { + if (!$p['is_radius']) { + $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); + Mikrotik::removeHotspotUser($client, $c['username']); + Mikrotik::removeHotspotActiveUser($client, $c['username']); + } + } else { + if (!$p['is_radius']) { + $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); + Mikrotik::removeHotspotUser($client, $c['username']); + Mikrotik::removeHotspotActiveUser($client, $c['username']); + } + } + } else { + if ($b) { + if (!$p['is_radius']) { + $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); + Mikrotik::removePpoeUser($client, $c['username']); + Mikrotik::removePpoeActive($client, $c['username']); + } + } else { + if (!$p['is_radius']) { + $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); + Mikrotik::removePpoeUser($client, $c['username']); + Mikrotik::removePpoeActive($client, $c['username']); + } + } + } + // call the next mikrotik + if ($p['routers'] != $b['routers'] && $p['routers'] != 'radius') { + $mikrotik = Mikrotik::info($p['routers']); + } if ($p['type'] == 'Hotspot') { if ($b) { if ($p['is_radius']) { - Radius::customerAddPlan($c, $p, $b['expiration'].''.$b['time']); - }else{ + Radius::customerAddPlan($c, $p, $b['expiration'] . '' . $b['time']); + } else { $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); - Mikrotik::removeHotspotUser($client, $c['username']); - Mikrotik::removePpoeUser($client, $c['username']); - Mikrotik::removeHotspotActiveUser($client, $c['username']); - Mikrotik::removePpoeActive($client, $c['username']); Mikrotik::addHotspotUser($client, $p, $c); } } else { if ($p['is_radius']) { - Radius::customerAddPlan($c, $p, $b['expiration'].''.$b['time']); - }else{ + Radius::customerAddPlan($c, $p, $b['expiration'] . '' . $b['time']); + } else { $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); - Mikrotik::removeHotspotUser($client, $c['username']); - Mikrotik::removePpoeUser($client, $c['username']); - Mikrotik::removeHotspotActiveUser($client, $c['username']); - Mikrotik::removePpoeActive($client, $c['username']); Mikrotik::addHotspotUser($client, $p, $c); } } @@ -356,23 +648,15 @@ class Package if ($b) { if ($p['is_radius']) { Radius::customerAddPlan($c, $p); - }else{ + } else { $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); - Mikrotik::removeHotspotUser($client, $c['username']); - Mikrotik::removePpoeUser($client, $c['username']); - Mikrotik::removeHotspotActiveUser($client, $c['username']); - Mikrotik::removePpoeActive($client, $c['username']); Mikrotik::addPpoeUser($client, $p, $c); } } else { if ($p['is_radius']) { Radius::customerAddPlan($c, $p); - }else{ + } else { $client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); - Mikrotik::removeHotspotUser($client, $c['username']); - Mikrotik::removePpoeUser($client, $c['username']); - Mikrotik::removeHotspotActiveUser($client, $c['username']); - Mikrotik::removePpoeActive($client, $c['username']); Mikrotik::addPpoeUser($client, $p, $c); } } @@ -380,8 +664,114 @@ class Package } - public static function _raid($l) + public static function _raid() { - return substr(str_shuffle(str_repeat('0123456789', $l)), 0, $l); + return ORM::for_table('tbl_transactions')->max('id') + 1; + } + + /** + * @param in tbl_transactions + * @param string $router_name router name for this package + * @param int $plan_id plan id for this package + * @param string $gateway payment gateway name + * @param string $channel channel payment gateway + * @return boolean + */ + public static function createInvoice($in) + { + global $config, $admin, $ui; + $date = Lang::dateAndTimeFormat($in['recharged_on'], $in['recharged_time']); + if ($admin['id'] != $in['admin_id'] && $in['admin_id'] > 0) { + $_admin = Admin::_info($in['admin_id']); + // if admin not deleted + if ($_admin) $admin = $_admin; + } else { + $admin['fullname'] = 'Customer'; + } + $note = ''; + //print + $invoice = Lang::pad($config['CompanyName'], ' ', 2) . "\n"; + $invoice .= Lang::pad($config['address'], ' ', 2) . "\n"; + $invoice .= Lang::pad($config['phone'], ' ', 2) . "\n"; + $invoice .= Lang::pad("", '=') . "\n"; + $invoice .= Lang::pads("Invoice", $in['invoice'], ' ') . "\n"; + $invoice .= Lang::pads(Lang::T('Date'), $date, ' ') . "\n"; + $invoice .= Lang::pads(Lang::T('Sales'), $admin['fullname'], ' ') . "\n"; + $invoice .= Lang::pad("", '=') . "\n"; + $invoice .= Lang::pads(Lang::T('Type'), $in['type'], ' ') . "\n"; + $invoice .= Lang::pads(Lang::T('Plan Name'), $in['plan_name'], ' ') . "\n"; + if (!empty($in['note'])) { + $in['note'] = str_replace("\r", "", $in['note']); + $tmp = explode("\n", $in['note']); + foreach ($tmp as $t) { + if (strpos($t, " : ") === false) { + if (!empty($t)) { + $note .= "$t\n"; + } + } else { + $tmp2 = explode(" : ", $t); + $invoice .= Lang::pads($tmp2[0], $tmp2[1], ' ') . "\n"; + } + } + } + $invoice .= Lang::pads(Lang::T('Total'), Lang::moneyFormat($in['price']), ' ') . "\n"; + $method = explode("-", $in['method']); + $invoice .= Lang::pads($method[0], $method[1], ' ') . "\n"; + if (!empty($note)) { + $invoice .= Lang::pad("", '=') . "\n"; + $invoice .= Lang::pad($note, ' ', 2) . "\n"; + } + $invoice .= Lang::pad("", '=') . "\n"; + $invoice .= Lang::pads(Lang::T('Username'), $in['username'], ' ') . "\n"; + $invoice .= Lang::pads(Lang::T('Password'), '**********', ' ') . "\n"; + if ($in['type'] != 'Balance') { + $invoice .= Lang::pads(Lang::T('Created On'), Lang::dateAndTimeFormat($in['recharged_on'], $in['recharged_time']), ' ') . "\n"; + $invoice .= Lang::pads(Lang::T('Expires On'), Lang::dateAndTimeFormat($in['expiration'], $in['time']), ' ') . "\n"; + } + $invoice .= Lang::pad("", '=') . "\n"; + $invoice .= Lang::pad($config['note'], ' ', 2) . "\n"; + $ui->assign('invoice', $invoice); + $config['printer_cols'] = 30; + //whatsapp + $invoice = Lang::pad($config['CompanyName'], ' ', 2) . "\n"; + $invoice .= Lang::pad($config['address'], ' ', 2) . "\n"; + $invoice .= Lang::pad($config['phone'], ' ', 2) . "\n"; + $invoice .= Lang::pad("", '=') . "\n"; + $invoice .= Lang::pads("Invoice", $in['invoice'], ' ') . "\n"; + $invoice .= Lang::pads(Lang::T('Date'), $date, ' ') . "\n"; + $invoice .= Lang::pads(Lang::T('Sales'), $admin['fullname'], ' ') . "\n"; + $invoice .= Lang::pad("", '=') . "\n"; + $invoice .= Lang::pads(Lang::T('Type'), $in['type'], ' ') . "\n"; + $invoice .= Lang::pads(Lang::T('Plan Name'), $in['plan_name'], ' ') . "\n"; + if (!empty($in['note'])) { + $invoice .= Lang::pad("", '=') . "\n"; + foreach ($tmp as $t) { + if (strpos($t, " : ") === false) { + if (!empty($t)) { + $invoice .= Lang::pad($t, ' ', 2) . "\n"; + } + } else { + $tmp2 = explode(" : ", $t); + $invoice .= Lang::pads($tmp2[0], $tmp2[1], ' ') . "\n"; + } + } + } + $invoice .= Lang::pads(Lang::T('Total'), Lang::moneyFormat($in['price']), ' ') . "\n"; + $invoice .= Lang::pads($method[0], $method[1], ' ') . "\n"; + if (!empty($note)) { + $invoice .= Lang::pad("", '=') . "\n"; + $invoice .= Lang::pad($note, ' ', 2) . "\n"; + } + $invoice .= Lang::pad("", '=') . "\n"; + $invoice .= Lang::pads(Lang::T('Username'), $in['username'], ' ') . "\n"; + $invoice .= Lang::pads(Lang::T('Password'), '**********', ' ') . "\n"; + if ($in['type'] != 'Balance') { + $invoice .= Lang::pads(Lang::T('Created On'), Lang::dateAndTimeFormat($in['recharged_on'], $in['recharged_time']), ' ') . "\n"; + $invoice .= Lang::pads(Lang::T('Expires On'), Lang::dateAndTimeFormat($in['expiration'], $in['time']), ' ') . "\n"; + } + $invoice .= Lang::pad("", '=') . "\n"; + $invoice .= Lang::pad($config['note'], ' ', 2) . "\n"; + $ui->assign('whatsapp', urlencode("```$invoice```")); + $ui->assign('in', $in); } } diff --git a/system/autoload/Paginator.php b/system/autoload/Paginator.php index ed48ba05..24766ae6 100644 --- a/system/autoload/Paginator.php +++ b/system/autoload/Paginator.php @@ -1,14 +1,82 @@ 0) { + $url .= '&' . http_build_query($search); + } + $url .= '&p='; + $totalReq = $query->count(); + $next = $page + 1; + $lastpage = ceil($totalReq / $per_page); + $lpm1 = $lastpage - 1; + $limit = $per_page; + $startpoint = ($page * $limit) - $limit; + if ($lastpage >= 1) { + $pages = []; + if ($lastpage < 7 + ($adjacents * 2)) { + for ($counter = 1; $counter <= $lastpage; $counter++) { + $pages[] = $counter; + } + } elseif ($lastpage > 5 + ($adjacents * 2)) { + if ($page < 1 + ($adjacents * 2)) { + for ($counter = 1; $counter < 4 + ($adjacents * 2); $counter++) { + $pages[] = $counter; + } + $pages[] = "..."; + $pages[] = $lpm1; + $pages[] = $lastpage; + } elseif ($lastpage - ($adjacents * 2) > $page && $page > ($adjacents * 2)) { + $pages[] = "1"; + $pages[] = "2"; + $pages[] = "..."; + for ($counter = $page - $adjacents; $counter <= $page + $adjacents; $counter++) { + $pages[] = $counter; + } + $pages[] = "..."; + $pages[] = $lpm1; + $pages[] = $lastpage; + } else { + $pages[] = "1"; + $pages[] = "2"; + $pages[] = "..."; + for ($counter = $lastpage - (2 + ($adjacents * 2)); $counter <= $lastpage; $counter++) { + $pages[] = $counter; + } + } + } + + $result = [ + 'count' => $lastpage, + 'limit' => $per_page, + 'startpoint' => $startpoint, + 'url' => $url, + 'page' => $page, + 'pages' => $pages, + 'prev' => ($page > 0) ? ($page - 1) : "0", + 'next' => ($page >= $lastpage) ? $lastpage : $page + 1 + ]; + if ($ui) { + $ui->assign('paginator', $result); + } + return $query->offset($startpoint)->limit($per_page)->find_many(); + } + } + + public static function build($table, $colVal = [], $query = '', $per_page = '10') { global $routes; global $_L; @@ -17,11 +85,15 @@ class Paginator $adjacents = "2"; $page = (int)(empty(_get('p')) ? 1 : _get('p')); $pagination = ""; - foreach($colVal as $k=>$v) { - if(strpos($v,'%') === false) { + foreach ($colVal as $k => $v) { + if (!is_array($v) && strpos($v, '%') === false) { $table = $table->where($k, $v); - }else{ - $table = $table->where_like($k, $v); + } else { + if (is_array($v)) { + $table = $table->where_in($k, $v); + } else { + $table = $table->where_like($k, $v); + } } } $totalReq = $table->count(); @@ -32,60 +104,60 @@ class Paginator $limit = $per_page; $startpoint = ($page * $limit) - $limit; if ($lastpage >= 1) { - $pagination .= '
' . $_L['Username'] . ' | -' . $_L['Plan_Name'] . ' | -' . $_L['Type'] . ' | -' . $_L['Plan_Price'] . ' | -' . $_L['Created_On'] . ' | -' . $_L['Expires_On'] . ' | -' . $_L['Method'] . ' | -' . $_L['Routers'] . ' | +' . Lang::T('Username') . ' | +' . Lang::T('Plan Name') . ' | +' . Lang::T('Type') . ' | +' . Lang::T('Plan Price') . ' | +' . Lang::T('Created On') . ' | +' . Lang::T('Expires On') . ' | +' . Lang::T('Method') . ' | +' . Lang::T('Routers') . ' |
---|
' . $_L['Username'] . ' | -' . $_L['Plan_Name'] . ' | -' . $_L['Type'] . ' | -' . $_L['Plan_Price'] . ' | -' . $_L['Created_On'] . ' | -' . $_L['Expires_On'] . ' | -' . $_L['Method'] . ' | -' . $_L['Routers'] . ' | +' . Lang::T('Username') . ' | +' . Lang::T('Plan Name') . ' | +' . Lang::T('Type') . ' | +' . Lang::T('Plan Price') . ' | +' . Lang::T('Created On') . ' | +' . Lang::T('Expires On') . ' | +' . Lang::T('Method') . ' | +' . Lang::T('Routers') . ' |
---|
"; } -if(!file_exists('../config.php')){ - die("config.php file not found"); -} - - -if(!file_exists('orm.php')){ - die("orm.php file not found"); -} - -if(!file_exists('uploads/notifications.default.json')){ - die("uploads/notifications.default.json file not found"); -} - -require_once '../config.php'; -require_once 'orm.php'; -require_once 'autoload/PEAR2/Autoload.php'; -include "autoload/Hookers.php"; - -ORM::configure("mysql:host=$db_host;dbname=$db_name"); -ORM::configure('username', $db_user); -ORM::configure('password', $db_password); -ORM::configure('return_result_sets', true); -ORM::configure('logging', true); - -// notification message -if (file_exists("uploads/notifications.json")) { - $_notifmsg = json_decode(file_get_contents('uploads/notifications.json'), true); -} -$_notifmsg_default = json_decode(file_get_contents('uploads/notifications.default.json'), true); - -//register all plugin -foreach (glob(File::pathFixer("plugin/*.php")) as $filename) { - include $filename; -} - -$result = ORM::for_table('tbl_appconfig')->find_many(); -foreach ($result as $value) { - $config[$value['setting']] = $value['value']; -} -date_default_timezone_set($config['timezone']); - - $d = ORM::for_table('tbl_user_recharges')->where('status', 'on')->find_many(); run_hook('cronjob_reminder'); #HOOK @@ -98,13 +36,31 @@ print_r([$day1, $day3, $day7]); foreach ($d as $ds) { if (in_array($ds['expiration'], [$day1, $day3, $day7])) { $u = ORM::for_table('tbl_user_recharges')->where('id', $ds['id'])->find_one(); + $p = ORM::for_table('tbl_plans')->where('id', $u['plan_id'])->find_one(); $c = ORM::for_table('tbl_customers')->where('id', $ds['customer_id'])->find_one(); + list($bills, $add_cost) = User::getBills($ds['customer_id']); + if ($add_cost > 0) { + if (!empty($add_cost)) { + $p['price'] += $add_cost; + } + } + if ($p['validity_unit'] == 'Period') { + // Postpaid price from field + $add_inv = User::getAttribute("Invoice", $ds['customer_id']); + if (empty ($add_inv) or $add_inv == 0) { + $price = Lang::moneyFormat($p['price']); + } else { + $price = Lang::moneyFormat($add_inv); + } + } else { + $price = Lang::moneyFormat($p['price']); + } if ($ds['expiration'] == $day7) { - echo Message::sendPackageNotification($c['phonenumber'], $c['fullname'], $u['namebp'], Lang::getNotifText('reminder_7_day'), $config['user_notification_reminder']) . "\n"; + echo Message::sendPackageNotification($c, $p['name_plan'], $price, Lang::getNotifText('reminder_7_day'), $config['user_notification_reminder']) . "\n"; } else if ($ds['expiration'] == $day3) { - echo Message::sendPackageNotification($c['phonenumber'], $c['fullname'], $u['namebp'], Lang::getNotifText('reminder_3_day'), $config['user_notification_reminder']) . "\n"; + echo Message::sendPackageNotification($c, $p['name_plan'], $price, Lang::getNotifText('reminder_3_day'), $config['user_notification_reminder']) . "\n"; } else if ($ds['expiration'] == $day1) { - echo Message::sendPackageNotification($c['phonenumber'], $c['fullname'], $u['namebp'], Lang::getNotifText('reminder_1_day'), $config['user_notification_reminder']) . "\n"; + echo Message::sendPackageNotification($c, $p['name_plan'], $price, Lang::getNotifText('reminder_1_day'), $config['user_notification_reminder']) . "\n"; } } } diff --git a/system/lan/country.json b/system/lan/country.json new file mode 100644 index 00000000..f9f798bd --- /dev/null +++ b/system/lan/country.json @@ -0,0 +1,59 @@ +{ + "english": "en", + "indonesia": "id", + "spanish": "es", + "turkish": "tr", + "amharic": "am", + "arabic": "ar", + "basque": "eu", + "bengali": "bn", + "english-uk": "en-gb", + "portuguese-brazil": "pt-br", + "bulgarian": "bg", + "catalan": "ca", + "cherokee": "chr", + "croatian": "hr", + "czech": "cs", + "danish": "da", + "dutch": "nl", + "estonian": "et", + "filipino": "fil", + "finnish": "fi", + "french": "fr", + "german": "de", + "greek": "el", + "gujarati": "gu", + "hebrew": "iw", + "hindi": "hi", + "hungarian": "hu", + "iran": "ir", + "icelandic": "is", + "italian": "it", + "japanese": "ja", + "kannada": "kn", + "korean": "ko", + "latvian": "lv", + "lithuanian": "lt", + "malay": "ms", + "malayalam": "ml", + "marathi": "mr", + "norwegian": "no", + "polish": "pl", + "portuguese (portugal)": "pt-pt", + "romanian": "ro", + "russian": "ru", + "serbian": "sr", + "chinese (prc)": "zh-cn", + "slovak": "sk", + "slovenian": "sl", + "swahili": "sw", + "swedish": "sv", + "tamil": "ta", + "telugu": "te", + "thai": "th", + "chinese-taiwan": "zh-tw", + "urdu": "ur", + "ukrainian": "uk", + "vietnamese": "vi", + "welsh": "cy" +} diff --git a/system/lan/english.json b/system/lan/english.json new file mode 100644 index 00000000..d099d8cb --- /dev/null +++ b/system/lan/english.json @@ -0,0 +1,540 @@ +{ + "Log_in": "Log-in", + "Register": "Register", + "Announcement": "Announcement", + "Registration_Info": "Registration Info", + "Voucher_not_found__please_buy_voucher_befor_register": "Voucher not found, please buy voucher befor register", + "Register_Success__You_can_login_now": "Register Success! You can login now", + "Log_in_to_Member_Panel": "Log in to Member Panel", + "Register_as_Member": "Register as Member", + "Enter_Admin_Area": "Enter Admin Area", + "PHPNuxBill": "PHPNuxBill", + "Username": "Username", + "Password": "Password", + "Passwords_does_not_match": "Passwords does not match", + "Account_already_axist": "Account already axist", + "Manage": "Manage", + "Submit": "Submit", + "Save_Changes": "Save Changes", + "Cancel": "Cancel", + "Edit": "Edit", + "Delete": "Delete", + "Welcome": "Welcome", + "Data_Created_Successfully": "Data Created Successfully", + "Data_Updated_Successfully": "Data Updated Successfully", + "Data_Deleted_Successfully": "Data Deleted Successfully", + "Static_Pages": "Static Pages", + "Failed_to_save_page__make_sure_i_can_write_to_folder_pages___i_chmod_664_pages___html_i_": "Failed to save page, make sure i can write to folder pages, chmod 664 pages\/*.html", + "Saving_page_success": "Saving page success", + "Sometimes_you_need_to_refresh_3_times_until_content_change": "Sometimes you need to refresh 3 times until content change", + "Dashboard": "Dashboard", + "Search_Customers___": "Search Customers...", + "My_Account": "My Account", + "My_Profile": "My Profile", + "Settings": "Settings", + "Edit_Profile": "Edit Profile", + "Change_Password": "Change Password", + "Logout": "Logout", + "Services": "Services", + "Bandwidth_Plans": "Bandwidth Plans", + "Bandwidth_Name": "Bandwidth Name", + "New_Bandwidth": "New Bandwidth", + "Edit_Bandwidth": "Edit Bandwidth", + "Add_New_Bandwidth": "Add New Bandwidth", + "Rate_Download": "Rate Download", + "Rate_Upload": "Rate Upload", + "Name_Bandwidth_Already_Exist": "Name Bandwidth Already Exist", + "Hotspot_Plans": "Hotspot Plans", + "PPPOE_Plans": "PPPOE Plans", + "Plan_Name": "Plan Name", + "New_Service_Plan": "New Service Plan", + "Add_Service_Plan": "Add Service Plan", + "Edit_Service_Plan": "Edit Service Plan", + "Name_Plan_Already_Exist": "Name Plan Already Exist", + "Plan_Type": "Plan Type", + "Plan_Price": "Plan Price", + "Limit_Type": "Limit Type", + "Unlimited": "Unlimited", + "Limited": "Limited", + "Time_Limit": "Time Limit", + "Data_Limit": "Data Limit", + "Both_Limit": "Both Limit", + "Plan_Validity": "Plan Validity", + "Select_Bandwidth": "Select Bandwidth", + "Shared_Users": "Shared Users", + "Choose_User_Type_Sales_to_disable_access_to_Settings": "Choose User Type Sales to disable access to Settings", + "Current_Password": "Current Password", + "New_Password": "New Password", + "Administrator": "Administrator", + "Sales": "Sales", + "Member": "Member", + "Confirm_New_Password": "Confirm New Password", + "Confirm_Password": "Confirm Password", + "Full_Name": "Full Name", + "User_Type": "User Type", + "Address": "Address", + "Created_On": "Created On", + "Expires_On": "Expires On", + "Phone_Number": "Phone Number", + "User_deleted_Successfully": "User deleted Successfully", + "Full_Administrator": "Full Administrator", + "Keep_Blank_to_do_not_change_Password": "Keep Blank to do not change Password", + "Keep_it_blank_if_you_do_not_want_to_show_currency_code": "Keep it blank if you do not want to show currency code", + "Theme_Style": "Theme Style", + "Theme_Color": "Theme Color", + "Default_Language": "Default Language", + "Network": "Network", + "Routers": "Routers", + "IP_Pool": "IP Pool", + "New_Router": "New Router", + "Add_Router": "Add Router", + "Edit_Router": "Edit Router", + "Router_Name": "Router Name", + "IP_Address": "IP Address", + "Router_Secret": "Router Secret", + "Description": "Description", + "IP_Router_Already_Exist": "IP Router Already Exist", + "Name_Pool": "Name Pool", + "Range_IP": "Range IP", + "New_Pool": "New Pool", + "Add_Pool": "Add Pool", + "Edit_Pool": "Edit Pool", + "Pool_Name_Already_Exist": "Pool Name Already Exist", + "Refill_Account": "Refill Account", + "Recharge_Account": "Recharge Account", + "Select_Account": "Select Account", + "Service_Plan": "Service Plan", + "Recharge": "Recharge", + "Method": "Method", + "Account_Created_Successfully": "Account Created Successfully", + "Database_Status": "Database Status", + "Total_Database_Size": "Total Database Size", + "Download_Database_Backup": "Download Database Backup", + "Table_Name": "Table Name", + "Rows": "Rows", + "Size": "Size", + "Customer": "Customer", + "Add_New_Contact": "Add New Contact", + "Edit_Contact": "Edit Contact", + "List_Contact": "List Contact", + "Manage_Contact": "Manage Contact", + "Reports": "Reports", + "Daily_Reports": "Daily Reports", + "Period_Reports": "Period Reports", + "All_Transactions": "All Transactions", + "Total_Income": "Total Income", + "All_Transactions_at_Date": "All Transactions at Date", + "Export_for_Print": "Export for Print", + "Print": "Print", + "Export_to_PDF": "Export to PDF", + "Click_Here_to_Print": "Click Here to Print", + "You_can_use_html_tag": "You can use html tag", + "Date_Format": "Date Format", + "Income_Today": "Income Today", + "Income_This_Month": "Income This Month", + "Users_Active": "Users Active", + "Total_Users": "Total Users", + "Users": "Users", + "Edit_User": "Edit User", + "Last_Login": "Last Login", + "Administrator_Users": "Administrator Users", + "Manage_Administrator": "Manage Administrator", + "Add_New_Administrator": "Add New Administrator", + "Localisation": "Localisation", + "Backup_Restore": "Backup\/Restore", + "General_Settings": "General Settings", + "Date": "Date", + "Login_Successful": "Login Successful", + "Failed_Login": "Failed Login", + "Settings_Saved_Successfully": "Settings Saved Successfully", + "User_Updated_Successfully": "User Updated Successfully", + "User_Expired__Today": "User Expired, Today", + "Activity_Log": "Activity Log", + "View_Reports": "View Reports", + "View_All": "View All", + "Number_of_Vouchers": "Number of Vouchers", + "Length_Code": "Length Code", + "Code_Voucher": "Code Voucher", + "Voucher": "Voucher", + "Hotspot_Voucher": "Hotspot Voucher", + "Status_Voucher": "Status Voucher", + "Add_Vouchers": "Add Vouchers", + "Create_Vouchers_Successfully": "Create Vouchers Successfully", + "Generate": "Generate", + "Print_side_by_side__it_will_easy_to_cut": "Print side by side, it will easy to cut", + "From_Date": "From Date", + "To_Date": "To Date", + "New_Service": "New Service", + "Type": "Type", + "Finish": "Finish", + "Application_Name__Company_Name": "Application Name\/ Company Name", + "This_Name_will_be_shown_on_the_Title": "This Name will be shown on the Title", + "Next": "Next", + "Last": "Last", + "Timezone": "Timezone", + "Decimal_Point": "Decimal Point", + "Thousands_Separator": "Thousands Separator", + "Currency_Code": "Currency Code", + "Order_Voucher": "Order Voucher", + "Voucher_Activation": "Voucher Activation", + "List_Activated_Voucher": "List Activated Voucher", + "Enter_voucher_code_here": "Enter voucher code here", + "Private_Message": "Private Message", + "Inbox": "Inbox", + "Outbox": "Outbox", + "Compose": "Compose", + "Send_to": "Send to", + "Title": "Title", + "Message": "Message", + "Your_Account_Information": "Your Account Information", + "Welcome_to_the_Panel_Members_page__on_this_page_you_can_": "Welcome to the Panel Members page, on this page you can:", + "Invalid_Username_or_Password": "Invalid Username or Password", + "You_do_not_have_permission_to_access_this_page": "You do not have permission to access this page", + "Incorrect_Current_Password": "Incorrect Current Password", + "Password_changed_successfully__Please_login_again": "Password changed successfully, Please login again", + "All_field_is_required": "All field is required", + "Voucher_Not_Valid": "Voucher Not Valid", + "Activation_Vouchers_Successfully": "Activation Vouchers Successfully", + "Data_Not_Found": "Data Not Found", + "Search_by_Username": "Search by Username", + "Search_by_Name": "Search by Name", + "Search_by_Code_Voucher": "Search by Code Voucher", + "Search": "Search", + "Select_a_customer": "Select a customer", + "Select_Routers": "Select Routers", + "Select_Plans": "Select Plans", + "Select_Pool": "Select Pool", + "Hrs": "Hrs", + "Mins": "Mins", + "Days": "Days", + "Months": "Months", + "Add_Language": "Add Language", + "Language_Name": "Language Name", + "Folder_Name": "Folder Name", + "Translator": "Translator", + "Language_Name_Already_Exist": "Language Name Already Exist", + "Payment_Gateway": "Payment Gateway", + "Community": "Community", + "1_user_can_be_used_for_many_devices_": "1 user can be used for many devices?", + "Cannot_be_change_after_saved": "Cannot be change after saved", + "Explain_Coverage_of_router": "Explain Coverage of router", + "Name_of_Area_that_router_operated": "Name of Area that router operated", + "Payment_Notification_URL__Recurring_Notification_URL__Pay_Account_Notification_URL": "Payment Notification URL, Recurring Notification URL, Pay Account Notification URL", + "Finish_Redirect_URL__Unfinish_Redirect_URL__Error_Redirect_URL": "Finish Redirect URL, Unfinish Redirect URL, Error Redirect URL", + "Status": "Status", + "Plan_Not_found": "Plan Not found", + "Failed_to_create_transaction_": "Failed to create transaction.", + "Seller_has_not_yet_setup_Xendit_payment_gateway": "Seller has not yet setup Xendit payment gateway", + "Admin_has_not_yet_setup_Xendit_payment_gateway__please_tell_admin": "Admin has not yet setup Xendit payment gateway, please tell admin", + "You_already_have_unpaid_transaction__cancel_it_or_pay_it_": "You already have unpaid transaction, cancel it or pay it.", + "Transaction_Not_found": "Transaction Not found", + "Cancel_it_": "Cancel it?", + "expired": "expired", + "Check_for_Payment": "Check for Payment", + "Transaction_still_unpaid_": "Transaction still unpaid.", + "Paid_Date": "Paid Date", + "Transaction_has_been_paid_": "Transaction has been paid.", + "PAID": "PAID", + "CANCELED": "CANCELED", + "UNPAID": "UNPAID", + "PAY_NOW": "PAY NOW", + "Buy_Hotspot_Plan": "Buy Hotspot Plan", + "Buy_PPOE_Plan": "Buy PPOE Plan", + "Package": "Package", + "Order_Internet_Package": "Order Internet Package", + "Unknown_Command_": "Unknown Command.", + "Checking_payment": "Checking payment", + "Create_Transaction_Success": "Create Transaction Success", + "You_have_unpaid_transaction": "You have unpaid transaction", + "TripayPayment_Channel": "TripayPayment Channel", + "Payment_Channel": "Payment Channel", + "Payment_check_failed_": "Payment check failed.", + "Order_Package": "Order Package", + "Transactions": "Transactions", + "Payments": "Payments", + "History": "History", + "Order_History": "Order History", + "Gateway": "Gateway", + "Date_Done": "Date Done", + "Unpaid_Order": "Unpaid Order", + "Payment_Gateway_Not_Found": "Payment Gateway Not Found", + "Payment_Gateway_saved_successfully": "Payment Gateway saved successfully", + "ORDER": "ORDER", + "Package_History": "Package History", + "Buy_History": "Buy History", + "Activation_History": "Activation History", + "Buy_Package": "Buy Package", + "Email": "Email", + "Company_Footer": "Company Footer", + "Will_show_below_user_pages": "Will show below user pages", + "Request_OTP": "Request OTP", + "Verification_Code": "Verification Code", + "SMS_Verification_Code": "SMS Verification Code", + "Please_enter_your_email_address": "Please enter your email address", + "Failed_to_create_Paypal_transaction_": "Failed to create Paypal transaction.", + "Plugin": "Plugin", + "Plugin_Manager": "Plugin Manager", + "User_Notification": "User Notification", + "Expired_Notification": "Expired Notification", + "User_will_get_notification_when_package_expired": "User will get notification when package expired", + "Expired_Notification_Message": "Expired Notification Message", + "Payment_Notification": "Payment Notification", + "User_will_get_invoice_notification_when_buy_package_or_package_refilled": "User will get invoice notification when buy package or package refilled", + "Current_IP": "Current IP", + "Current_MAC": "Current MAC", + "Login_Status": "Login Status", + "Login_Request_successfully": "Login Request successfully", + "Logout_Request_successfully": "Logout Request successfully", + "Disconnect_Internet_": "Disconnect Internet?", + "Not_Online__Login_now_": "Not Online, Login now?", + "You_are_Online__Logout_": "You are Online, Logout?", + "Connect_to_Internet_": "Connect to Internet?", + "Your_account_not_connected_to_internet": "Your account not connected to internet", + "Failed_to_create_transaction__": "Failed to create transaction. ", + "Failed_to_check_status_transaction__": "Failed to check status transaction. ", + "Disable_Voucher": "Disable Voucher", + "Balance": "Balance", + "Balance_System": "Balance System", + "Enable_System": "Enable System", + "Allow_Transfer": "Allow Transfer", + "Telegram_Notification": "Telegram Notification", + "SMS_OTP_Registration": "SMS OTP Registration", + "Whatsapp_Notification": "Whatsapp Notification", + "Tawk_to_Chat_Widget": "Tawk.to Chat Widget", + "Invoice": "Invoice", + "Country_Code_Phone": "Country Code Phone", + "Voucher_activation_menu_will_be_hidden": "Voucher activation menu will be hidden", + "Customer_can_deposit_money_to_buy_voucher": "Customer can deposit money to buy voucher", + "Allow_balance_transfer_between_customers": "Allow balance transfer between customers", + "Reminder_Notification": "Reminder Notification", + "Reminder_Notification_Message": "Reminder Notification Message", + "Reminder_7_days": "Reminder 7 days", + "Reminder_3_days": "Reminder 3 days", + "Reminder_1_day": "Reminder 1 day", + "PPPOE_Password": "PPPOE Password", + "User_Cannot_change_this__only_admin__if_it_Empty_it_will_use_user_password": "User Cannot change this, only admin. if it Empty it will use user password", + "Invoice_Balance_Message": "Invoice Balance Message", + "Invoice_Notification_Payment": "Invoice Notification Payment", + "Balance_Notification_Payment": "Balance Notification Payment", + "Balance_Plans": "Balance Plans", + "Buy_Balance": "Buy Balance", + "Price": "Price", + "Validity": "Validity", + "Disable_auto_renewal_": "Disable auto renewal?", + "Auto_Renewal_On": "Auto Renewal On", + "Enable_auto_renewal_": "Enable auto renewal?", + "Auto_Renewal_Off": "Auto Renewal Off", + "Refill_Balance": "Refill Balance", + "Invoice_Footer": "Invoice Footer", + "Pay_With_Balance": "Pay With Balance", + "Pay_this_with_Balance__your_active_package_will_be_overwrite": "Pay this with Balance? your active package will be overwrite", + "Success_to_buy_package": "Success to buy package", + "Auto_Renewal": "Auto Renewal", + "View": "View", + "Back": "Back", + "Active": "Active", + "Transfer_Balance": "Transfer Balance", + "Send_your_balance_": "Send your balance?", + "Send": "Send", + "Cannot_send_to_yourself": "Cannot send to yourself", + "Sending_balance_success": "Sending balance success", + "From": "From", + "To": "To", + "insufficient_balance": "insufficient balance", + "Send_Balance": "Send Balance", + "Received_Balance": "Received Balance", + "Minimum_Balance_Transfer": "Minimum Balance Transfer", + "Minimum_Transfer": "Minimum Transfer", + "Company_Logo": "Company Logo", + "Expired_IP_Pool": "Expired IP Pool", + "Proxy": "Proxy", + "Proxy_Server": "Proxy Server", + "Proxy_Server_Login": "Proxy Server Login", + "Hotspot_Plan": "Hotspot Plan", + "PPPOE_Plan": "PPPOE Plan", + "UNKNOWN": "UNKNOWN", + "Are_You_Sure_": "Are You Sure?", + "Success_to_send_package": "Success to send package", + "Target_has_active_plan__different_with_current_plant_": "Target has active plan, different with current plant.", + "Recharge_a_friend": "Recharge a friend", + "Buy_for_friend": "Buy for friend", + "Buy_this_for_friend_account_": "Buy this for friend account?", + "Review_package_before_recharge": "Review package before recharge", + "Activate": "Activate", + "Deactivate": "Deactivate", + "Sync": "Sync", + "Failed_to_create_PaymeTrust_transaction_": "Failed to create PaymeTrust transaction.", + "Location": "Location", + "Radius_Plans": "Radius Plans", + "Change_title_in_user_Plan_order": "Change title in user Plan order", + "Logs": "Logs", + "Voucher_Format": "Voucher Format", + "Resend_To_Customer": "Resend To Customer", + "Your_friend_do_not_have_active_package": "Your friend do not have active package", + "Service_Type": "Service Type", + "Others": "Others", + "PPPoE": "PPPoE", + "Hotspot": "Hotspot", + "Disable_Registration": "Disable Registration", + "Customer_just_Login_with_Phone_number_and_Voucher_Code__Voucher_will_be_password": "Customer just Login with Phone number and Voucher Code, Voucher will be password", + "Login___Activate_Voucher": "Login \/ Activate Voucher", + "After_Customer_activate_voucher_or_login__customer_will_be_redirected_to_this_url": "After Customer activate voucher or login, customer will be redirected to this url", + "Voucher_Prefix": "Voucher Prefix", + "Voucher_activation_success__now_you_can_login": "Voucher activation success, now you can login", + "Buy_this__your_active_package_will_be_overwritten": "Buy this? your active package will be overwritten", + "Pay_this_with_Balance__your_active_package_will_be_overwritten": "Pay this with Balance? your active package will be overwritten", + "Buy_this__your_active_package_will_be_overwrite": "Buy this? your active package will be overwrite", + "Monthly_Registered_Customers": "Monthly Registered Customers", + "Total_Monthly_Sales": "Total Monthly Sales", + "Active_Users": "Active Users", + "All_Users_Insights": "All Users Insights", + "SuperAdmin": "Super Admin", + "Radius": "Radius", + "Radius_NAS": "Radius NAS", + "Translation": "Translation", + "Translation_saved_Successfully": "Translation saved Successfully", + "Language_Editor": "Language Editor", + "year": "year", + "month": "month", + "week": "week", + "day": "day", + "hour": "hour", + "minute": "minute", + "second": "second", + "Attributes": "Attributes", + "Profile": "Profile", + "Phone": "Phone", + "City": "City", + "Sub_District": "Sub District", + "Ward": "Ward", + "Credentials": "Credentials", + "Agent": "Agent", + "This_Token_will_act_as_SuperAdmin_Admin": "This Token will act as SuperAdmin\/Admin", + "Login": "Login", + "Expired_Action": "Expired Action", + "Expired_Address_List_Name": "Expired Address List Name", + "Address_List": "Address List", + "Optional": "Optional", + "Generated_By": "Generated By", + "Admin": "Admin", + "Password_should_be_minimum_6_characters": "Password should be minimum 6 characters", + "Add_User": "Add User", + "Send_Notification": "Send Notification", + "Code": "Code", + "Send_To_Customer": "Send To Customer", + "Prev": "Prev", + "Voucher_Not_Found": "Voucher Not Found", + "Miscellaneous": "Miscellaneous", + "OTP_Required": "OTP Required", + "Change": "Change", + "Change_Phone_Number": "Change Phone Number", + "Current_Number": "Current Number", + "New_Number": "New Number", + "Input_your_phone_number": "Input your phone number", + "OTP": "OTP", + "Enter_OTP_that_was_sent_to_your_phone": "Enter OTP that was sent to your phone", + "Update": "Update", + "OTP_is_required_when_user_want_to_change_phone_number": "OTP is required when user want to change phone number", + "Rate": "Rate", + "Burst": "Burst", + "Editing_Bandwidth_will_not_automatically_update_the_plan__you_need_to_edit_the_plan_then_save_again": "Editing Bandwidth will not automatically update the plan, you need to edit the plan then save again", + "OTP_Method": "OTP Method", + "SMS": "SMS", + "WhatsApp": "WhatsApp", + "SMS_and_WhatsApp": "SMS and WhatsApp", + "The_method_which_OTP_will_be_sent_to_user": "The method which OTP will be sent to user", + "Report_Viewer": "Report Viewer", + "Super_Administrator": "Super Administrator", + "Send_To": "Send To", + "Resend": "Resend", + "Alert": "Alert", + "success": "success", + "Click_Here": "Click Here", + "danger": "danger", + "Logout_Successful": "Logout Successful", + "warning": "warning", + "Users_Announcement": "Users Announcement", + "Customer_Announcement": "Customer Announcement", + "1_Period___1_Month__Expires_the_20th_of_each_month": "1 Period = 1 Month, Expires the 20th of each month", + "Period": "Period", + "Add": "Add", + "Select_Payment_Gateway": "Select Payment Gateway", + "Available_Payment_Gateway": "Available Payment Gateway", + "Pay_Now": "Pay Now", + "Please_select_Payment_Gateway": "Please select Payment Gateway", + "Payment_Gateway_Deleted": "Payment Gateway Deleted", + "Payment_Gateway_not_set__please_set_it_in_Settings": "Payment Gateway not set, please set it in Settings", + "Failed_to_create_Transaction__": "Failed to create Transaction..", + "Show_To_Customer": "Type", + "Using": "Using", + "Default": "Default", + "Customer_Balance": "Customer Balance", + "Vouchers": "Vouchers", + "Refill_Customer": "Refill Customer", + "Recharge_Customer": "Recharge Customer", + "Plans": "Plans", + "PPPOE": "PPPOE", + "Bandwidth": "Bandwidth", + "Customers": "Customers", + "Actives": "Actives", + "Name": "Name", + "Confirm": "Confirm", + "Plan": "Plan", + "Total": "Total", + "Current_Cycle": "Current Cycle", + "Additional_Cost": "Additional Cost", + "Remaining": "Remaining", + "Not_Found": "Not Found", + "Cash": "Cash", + "Payment_not_found": "Payment not found", + "If_your_friend_have_Additional_Cost__you_will_pay_for_that_too": "If your friend have Additional Cost, you will pay for that too", + "Cache_cleared_successfully_": "Cache cleared successfully!", + "Paid": "Paid", + "Send_Message": "Send Message", + "Send_Personal_Message": "Send Personal Message", + "Send_Via": "Send Via", + "Compose_your_message___": "Compose your message...", + "Use_placeholders_": "Use placeholders:", + "Customer_Name": "Customer Name", + "Customer_Username": "Customer Username", + "Customer_Phone": "Customer Phone", + "Your_Company_Name": "Your Company Name", + "Message_Sent_Successfully": "Message Sent Successfully", + "Send_Bulk_Message": "Send Bulk Message", + "Group": "Group", + "All_Customers": "All Customers", + "New_Customers": "New Customers", + "Expired_Customers": "Expired Customers", + "Active_Customers": "Active Customers", + "Map": "Map", + "Customer_Location": "Customer Location", + "Account_Type": "Account Type", + "Coordinates": "Coordinates", + "Latitude_and_Longitude_coordinates_for_map_must_be_separate_with_comma____": "Latitude and Longitude coordinates for map must be separate with comma ","", + "Customer_Geo_Location_Information": "Customer Geo Location Information", + "List": "List", + "Lists": "Lists", + "Single_Customer": "Single Customer", + "Bulk_Customers": "Bulk Customers", + "Message_per_time": "Message per time", + "5_Messages": "5 Messages", + "10_Messages": "10 Messages", + "15_Messages": "15 Messages", + "20_Messages": "20 Messages", + "30_Messages": "30 Messages", + "40_Messages": "40 Messages", + "50_Messages": "50 Messages", + "60_Messages": "60 Messages", + "Use_20_and_above_if_you_are_sending_to_all_customers_to_avoid_server_time_out": "Use 20 and above if you are sending to all customers to avoid server time out", + "Delay": "Delay", + "No_Delay": "No Delay", + "5_Seconds": "5 Seconds", + "10_Seconds": "10 Seconds", + "15_Seconds": "15 Seconds", + "20_Seconds": "20 Seconds", + "Use_at_least_5_secs_if_you_are_sending_to_all_customers_to_avoid_being_banned_by_your_message_provider": "Use at least 5 secs if you are sending to all customers to avoid being banned by your message provider", + "Testing__if_checked_no_real_message_is_sent_": "Testing [if checked no real message is sent]", + "All_fields_are_required": "All fields are required", + "Personal": "Personal", + "Email_Notification": "Email Notification" +} \ No newline at end of file diff --git a/system/lan/english/common.lan.php b/system/lan/english/common.lan.php deleted file mode 100644 index 8a4fae6f..00000000 --- a/system/lan/english/common.lan.php +++ /dev/null @@ -1,410 +0,0 @@ -chmod 664 pages/*.html"; -$_L['Success_Save_Page'] = "Saving page success"; -$_L['Info_Page'] = "Sometimes you need to refresh 3 times until content change"; - -$_L['Dashboard'] = 'Dashboard'; -$_L['Search_Contact'] = 'Search Customers...'; -$_L['My_Account'] = 'My Account'; -$_L['My_Profile'] = 'My Profile'; -$_L['Settings'] = 'Settings'; -$_L['Edit_Profile'] = 'Edit Profile'; -$_L['Change_Password'] = 'Change Password'; -$_L['Logout'] = 'Logout'; - -$_L['Services'] = 'Services'; -$_L['Bandwidth_Plans'] = 'Bandwidth Plans'; -$_L['BW_Name'] = 'Bandwidth Name'; -$_L['New_Bandwidth'] = 'New Bandwidth'; -$_L['Edit_Bandwidth'] = 'Edit Bandwidth'; -$_L['Add_Bandwidth'] = 'Add New Bandwidth'; -$_L['Rate_Download'] = 'Rate Download'; -$_L['Rate_Upload'] = 'Rate Upload'; -$_L['BW_already_exist'] = 'Name Bandwidth Already Exist'; -$_L['Hotspot_Plans'] = 'Hotspot Plans'; -$_L['PPPOE_Plans'] = 'PPPOE Plans'; -$_L['Plan_Name'] = 'Plan Name'; -$_L['New_Plan'] = 'New Service Plan'; -$_L['Add_Plan'] = 'Add Service Plan'; -$_L['Edit_Plan'] = 'Edit Service Plan'; -$_L['Plan_already_exist'] = 'Name Plan Already Exist'; -$_L['Plan_Type'] = 'Plan Type'; -$_L['Plan_Price'] = 'Plan Price'; -$_L['Limit_Type'] = 'Limit Type'; -$_L['Unlimited'] = 'Unlimited'; -$_L['Limited'] = 'Limited'; -$_L['Time_Limit'] = 'Time Limit'; -$_L['Data_Limit'] = 'Data Limit'; -$_L['Both_Limit'] = 'Both Limit'; -$_L['Plan_Validity'] = 'Plan Validity'; -$_L['Select_BW'] = 'Select Bandwidth'; -$_L['Shared_Users'] = 'Shared Users'; - -$_L['user_type_help'] = 'Choose User Type Sales to disable access to Settings'; -$_L['Current_Password'] = 'Current Password'; -$_L['New_Password'] = 'New Password'; -$_L['Administrator'] = 'Administrator'; -$_L['Sales'] = 'Sales'; -$_L['Member'] = 'Member'; -$_L['Confirm_New_Password'] = 'Confirm New Password'; -$_L['Confirm_Password'] = 'Confirm Password'; -$_L['Full_Name'] = 'Full Name'; -$_L['User_Type'] = 'User Type'; -$_L['Address'] = 'Address'; -$_L['Created_On'] = 'Created On'; -$_L['Expires_On'] = 'Expires On'; -$_L['Phone_Number'] = 'Phone Number'; -$_L['User_Delete_Ok'] = 'User deleted Successfully'; -$_L['Full_Administrator'] = 'Full Administrator'; -$_L['password_change_help'] = 'Keep Blank to do not change Password'; -$_L['currency_help'] = 'Keep it blank if you do not want to show currency code'; -$_L['Theme_Style'] = 'Theme Style'; -$_L['Theme_Color'] = 'Theme Color'; -$_L['Default_Language'] = 'Default Language'; - -$_L['Network'] = 'Network'; -$_L['Routers'] = 'Routers'; -$_L['Pool'] = 'IP Pool'; -$_L['New_Router'] = 'New Router'; -$_L['Add_Router'] = 'Add Router'; -$_L['Edit_Router'] = 'Edit Router'; -$_L['Router_Name'] = 'Router Name'; -$_L['IP_Address'] = 'IP Address'; -$_L['Router_Secret'] = 'Router Secret'; -$_L['Description'] = 'Description'; -$_L['Router_already_exist'] = 'IP Router Already Exist'; -$_L['Pool_Name'] = 'Name Pool'; -$_L['Range_IP'] = 'Range IP'; -$_L['New_Pool'] = 'New Pool'; -$_L['Add_Pool'] = 'Add Pool'; -$_L['Edit_Pool'] = 'Edit Pool'; -$_L['Pool_already_exist'] = 'Pool Name Already Exist'; - -$_L['Prepaid'] = 'Prepaid'; -$_L['Prepaid_User'] = 'Prepaid Users'; -$_L['Prepaid_Vouchers'] = 'Prepaid Vouchers'; -$_L['Refill_Account'] = 'Refill Account'; -$_L['Recharge_Account'] = 'Recharge Account'; -$_L['Select_Account'] = 'Select Account'; -$_L['Service_Plan'] = 'Service Plan'; -$_L['Recharge'] = 'Recharge'; -$_L['Method'] = 'Method'; -$_L['account_created_successfully'] = 'Account Created Successfully'; - -$_L['Database_Status'] = 'Database Status'; -$_L['Total_Database_Size'] = 'Total Database Size'; -$_L['Download_Database_Backup'] = 'Download Database Backup'; -$_L['Table_Name'] = 'Table Name'; -$_L['Rows'] = 'Rows'; -$_L['Size'] = 'Size'; - -$_L['Customers'] = 'Customer'; -$_L['Add_Contact'] = 'Add New Contact'; -$_L['Edit_Contact'] = 'Edit Contact'; -$_L['List_Contact'] = 'List Contact'; -$_L['Manage_Accounts'] = 'Manage Contact'; - -$_L['Reports'] = 'Reports'; -$_L['Daily_Report'] = 'Daily Reports'; -$_L['Period_Reports'] = 'Period Reports'; -$_L['All_Transactions'] = 'All Transactions'; -$_L['Total_Income'] = 'Total Income'; -$_L['All_Transactions_at_Date'] = 'All Transactions at Date'; -$_L['Total_Income'] = 'Total Income'; -$_L['Export_for_Print'] = 'Export for Print'; -$_L['Print'] = 'Print'; -$_L['Export_to_PDF'] = 'Export to PDF'; -$_L['Click_Here_to_Print'] = 'Click Here to Print'; -$_L['You_can_use_html_tag'] = 'You can use html tag'; -$_L['Date_Format'] = 'Date Format'; -$_L['Income_Today'] = 'Income Today'; -$_L['Income_This_Month'] = 'Income This Month'; -$_L['Users_Active'] = 'Users Active'; -$_L['Total_Users'] = 'Total Users'; -$_L['Users'] = 'Users'; -$_L['Edit_User'] = 'Edit User'; -$_L['Last_Login'] = 'Last Login'; -$_L['Administrator_Users'] = 'Administrator Users'; -$_L['Manage_Administrator'] = 'Manage Administrator'; -$_L['Add_New_Administrator'] = 'Add New Administrator'; -$_L['Localisation'] = 'Localisation'; -$_L['Backup_Restore'] = 'Backup/Restore'; - -$_L['General_Settings'] = 'General Settings'; -$_L['Date'] = 'Date'; -$_L['Login_Successful'] = 'Login Successful'; -$_L['Failed_Login'] = 'Failed Login'; -$_L['Settings_Saved_Successfully'] = 'Settings Saved Successfully'; -$_L['User_Updated_Successfully'] = 'User Updated Successfully'; -$_L['User_Expired_Today'] = 'User Expired, Today'; -$_L['Activity_Log'] = 'Activity Log'; -$_L['View_Reports'] = 'View Reports'; -$_L['View_All'] = 'View All'; -$_L['Number_of_Vouchers'] = 'Number of Vouchers'; -$_L['Length_Code'] = 'Length Code'; -$_L['Code_Voucher'] = 'Code Voucher'; -$_L['Voucher'] = 'Voucher'; -$_L['Voucher_Hotspot'] = 'Hotspot Voucher'; -$_L['Status_Voucher'] = 'Status Voucher'; -$_L['Add_Voucher'] = 'Add Vouchers'; -$_L['Voucher_Successfully'] = 'Create Vouchers Successfully'; -$_L['Generate'] = 'Generate'; -$_L['Print_Info'] = 'Print side by side, it will easy to cut'; - -$_L['From_Date'] = 'From Date'; -$_L['To_Date'] = 'To Date'; -$_L['New_Service'] = 'New Service'; -$_L['Type'] = 'Type'; -$_L['Finish'] = 'Finish'; -$_L['App_Name'] = 'Application Name/ Company Name'; -$_L['App_Name_Help_Text'] = 'This Name will be shown on the Title'; -$_L['Next'] = 'Next'; -$_L['Last'] = 'Last'; -$_L['Timezone'] = 'Timezone'; -$_L['Decimal_Point'] = 'Decimal Point'; -$_L['Thousands_Separator'] = 'Thousands Separator'; -$_L['Currency_Code'] = 'Currency Code'; - -$_L['Order_Voucher'] = 'Order Voucher'; -$_L['Voucher_Activation'] = 'Voucher Activation'; -$_L['List_Activated_Voucher'] = 'List Activated Voucher'; -$_L['Enter_Voucher_Code'] = 'Enter voucher code here'; -$_L['Private_Message'] = 'Private Message'; -$_L['Inbox'] = 'Inbox'; -$_L['Outbox'] = 'Outbox'; -$_L['Compose'] = 'Compose'; -$_L['Send_to'] = 'Send to'; -$_L['Title'] = 'Title'; -$_L['Message'] = 'Message'; -$_L['Account_Information'] = 'Your Account Information'; -$_L['Welcome_Text_User'] = 'Welcome to the Panel Members page, on this page you can:'; -$_L['Welcome_Text_Admin'] = 'PHPNuxBill is a billing Hotspot and PPPOE for Mikrotik using PHP and Mikrotik API to comunicate with router. If you get more profit with this application, please donate us.
Watch project in here'; - -//update -$_L['Invalid_Username_or_Password'] = 'Invalid Username or Password'; -$_L['Do_Not_Access'] = 'You do not have permission to access this page'; -$_L['Incorrect_Current_Password'] = 'Incorrect Current Password'; -$_L['Password_Changed_Successfully'] = 'Password changed successfully, Please login again'; -$_L['All_field_is_required'] = 'All field is required'; -$_L['Voucher_Not_Valid'] = 'Voucher Not Valid'; -$_L['Activation_Vouchers_Successfully'] = 'Activation Vouchers Successfully'; -$_L['Data_Not_Found'] = 'Data Not Found'; -$_L['Search_by_Username'] = 'Search by Username'; -$_L['Search_by_Name'] = 'Search by Name'; -$_L['Search_by_Code'] = 'Search by Code Voucher'; -$_L['Search'] = 'Search'; -$_L['Select_Customer'] = 'Select a customer'; -$_L['Select_Routers'] = 'Select Routers'; -$_L['Select_Plans'] = 'Select Plans'; -$_L['Select_Pool'] = 'Select Pool'; -$_L['Hrs'] = 'Hrs'; -$_L['Mins'] = 'Mins'; -$_L['Days'] = 'Days'; -$_L['Months'] = 'Months'; - -$_L['Add_Language'] = 'Add Language'; -$_L['Name_Lang'] = 'Language Name'; -$_L['Folder_Lang'] = 'Folder Name'; -$_L['Translator'] = 'Translator'; -$_L['Lang_already_exist'] = 'Language Name Already Exist'; - -$_L['Payment_Gateway'] = 'Payment Gateway'; -$_L['Community'] = 'Community'; -$_L['1_user_can_be_used_for_many_devices'] = '1 user can be used for many devices?'; -$_L['Cannot_be_change_after_saved'] = 'Cannot be change after saved'; - -$_L['Explain_Coverage_of_router'] = 'Explain Coverage of router'; -$_L['Name_of_Area_that_router_operated'] = 'Name of Area that router operated'; -$_L['Payment_Notification_URL_Recurring_Notification_URL_Pay_Account_Notification_URL'] = 'Payment Notification URL, Recurring Notification URL, Pay Account Notification URL'; -$_L['Finish_Redirect_URL_Unfinish_Redirect_URL_Error_Redirect_URL'] = 'Finish Redirect URL, Unfinish Redirect URL, Error Redirect URL'; -$_L['Status'] = 'Status'; -$_L['Plan_Not_found'] = 'Plan Not found'; -$_L['Failed_to_create_transaction'] = 'Failed to create transaction.'; -$_L['Seller_has_not_yet_setup_Xendit_payment_gateway'] = 'Seller has not yet setup Xendit payment gateway'; -$_L['Admin_has_not_yet_setup_Xendit_payment_gateway_please_tell_admin'] = 'Admin has not yet setup Xendit payment gateway, please tell admin'; -$_L['Buy_this_your_active_package_will_be_overwrite'] = 'Buy this? your active package will be overwrite'; -$_L['You_already_have_unpaid_transaction_cancel_it_or_pay_it'] = 'You already have unpaid transaction, cancel it or pay it.'; -$_L['Transaction_Not_found'] = 'Transaction Not found'; -$_L['Cancel_it'] = 'Cancel it?'; -$_L['expired'] = 'expired'; -$_L['Check_for_Payment'] = 'Check for Payment'; -$_L['Transaction_still_unpaid'] = 'Transaction still unpaid.'; -$_L['Paid_Date'] = 'Paid Date'; -$_L['Transaction_has_been_paid'] = 'Transaction has been paid.'; -$_L['PAID'] = 'PAID'; -$_L['CANCELED'] = 'CANCELED'; -$_L['UNPAID'] = 'UNPAID'; -$_L['PAY_NOW'] = 'PAY NOW'; -$_L['Buy_Hotspot_Plan'] = 'Buy Hotspot Plan'; -$_L['Buy_PPOE_Plan'] = 'Buy PPOE Plan'; -$_L['Package'] = 'Package'; -$_L['Order_Internet_Package'] = 'Order Internet Package'; -$_L['Unknown_Command'] = 'Unknown Command.'; -$_L['Checking_payment'] = 'Checking payment'; -$_L['Create_Transaction_Success'] = 'Create Transaction Success'; -$_L['You_have_unpaid_transaction'] = 'You have unpaid transaction'; -$_L['TripayPayment_Channel'] = 'TripayPayment Channel'; -$_L['Payment_Channel'] = 'Payment Channel'; -$_L['Payment_check_failed'] = 'Payment check failed.'; -$_L['Order_Package'] = 'Order Package'; -$_L['Transactions'] = 'Transactions'; -$_L['Payments'] = 'Payments'; -$_L['History'] = 'History'; -$_L['Order_History'] = 'Order History'; -$_L['Gateway'] = 'Gateway'; -$_L['Date_Done'] = 'Date Done'; -$_L['Unpaid_Order'] = 'Unpaid Order'; -$_L['Payment_Gateway_Not_Found'] = 'Payment Gateway Not Found'; -$_L['Payment_Gateway_saved_successfully'] = 'Payment Gateway saved successfully'; -$_L['ORDER'] = 'ORDER'; -$_L['Package_History'] = 'Package History'; -$_L['Buy_History'] = 'Buy History'; -$_L['Activation_History'] = 'Activation History'; -$_L['Buy_Package'] = 'Buy Package'; -$_L['Email'] = 'Email'; -$_L['Company_Footer'] = 'Company Footer'; -$_L['Will_show_below_user_pages'] = 'Will show below user pages'; -$_L['Request_OTP'] = 'Request OTP'; -$_L['Verification_Code'] = 'Verification Code'; -$_L['SMS_Verification_Code'] = 'SMS Verification Code'; -$_L['Please_enter_your_email_address'] = 'Please enter your email address'; -$_L['Failed_to_create_Paypal_transaction'] = 'Failed to create Paypal transaction.'; -$_L['Plugin'] = 'Plugin'; -$_L['Plugin_Manager'] = 'Plugin Manager'; -$_L['User_Notification'] = 'User Notification'; -$_L['Expired_Notification'] = 'Expired Notification'; -$_L['User_will_get_notification_when_package_expired'] = 'User will get notification when package expired'; -$_L['Expired_Notification_Message'] = 'Expired Notification Message'; -$_L['bnameb_will_be_replaced_with_Customer_Name_bpackageb_will_be_replaced_with_Package_name'] = '[[name]] will be replaced with Customer Name. [[package]] will be replaced with Package name.'; -$_L['Payment_Notification'] = 'Payment Notification'; -$_L['User_will_get_invoice_notification_when_buy_package_or_package_refilled'] = 'User will get invoice notification when buy package or package refilled'; -$_L['Current_IP'] = 'Current IP'; -$_L['Current_MAC'] = 'Current MAC'; -$_L['Login_Status'] = 'Login Status'; -$_L['Login_Request_successfully'] = 'Login Request successfully'; -$_L['Logout_Request_successfully'] = 'Logout Request successfully'; -$_L['Disconnect_Internet'] = 'Disconnect Internet?'; -$_L['Not_Online_Login_now'] = 'Not Online, Login now?'; -$_L['You_are_Online_Logout'] = 'You are Online, Logout?'; -$_L['Connect_to_Internet'] = 'Connect to Internet?'; -$_L['Your_account_not_connected_to_internet'] = 'Your account not connected to internet'; - -$_L['Failed_to_create_transaction_'] = 'Failed to create transaction. '; -$_L['Failed_to_check_status_transaction_'] = 'Failed to check status transaction. '; -$_L['Disable_Voucher'] = 'Disable Voucher'; -$_L['Balance'] = 'Balance'; -$_L['Balance_System'] = 'Balance System'; -$_L['Enable_System'] = 'Enable System'; -$_L['Allow_Transfer'] = 'Allow Transfer'; -$_L['Telegram_Notification'] = 'Telegram Notification'; -$_L['SMS_OTP_Registration'] = 'SMS OTP Registration'; -$_L['Whatsapp_Notification'] = 'Whatsapp Notification'; -$_L['Tawkto_Chat_Widget'] = 'Tawk.to Chat Widget'; -$_L['Invoice'] = 'Invoice'; -$_L['Country_Code_Phone'] = 'Country Code Phone'; -$_L['Voucher_activation_menu_will_be_hidden'] = 'Voucher activation menu will be hidden'; -$_L['Customer_can_deposit_money_to_buy_voucher'] = 'Customer can deposit money to buy voucher'; -$_L['Allow_balance_transfer_between_customers'] = 'Allow balance transfer between customers'; -$_L['Reminder_Notification'] = 'Reminder Notification'; -$_L['Reminder_Notification_Message'] = 'Reminder Notification Message'; -$_L['Reminder_7_days'] = 'Reminder 7 days'; -$_L['Reminder_3_days'] = 'Reminder 3 days'; -$_L['Reminder_1_day'] = 'Reminder 1 day'; -$_L['PPPOE_Password'] = 'PPPOE Password'; -$_L['User_Cannot_change_this_only_admin_if_it_Empty_it_will_use_user_password'] = 'User Cannot change this, only admin. if it Empty it will use user password'; -$_L['Invoice_Balance_Message'] = 'Invoice Balance Message'; -$_L['Invoice_Notification_Payment'] = 'Invoice Notification Payment'; -$_L['Balance_Notification_Payment'] = 'Balance Notification Payment'; -$_L['Balance_Plans'] = 'Balance Plans'; -$_L['Buy_Balance'] = 'Buy Balance'; -$_L['Price'] = 'Price'; -$_L['Validity'] = 'Validity'; -$_L['Disable_auto_renewal'] = 'Disable auto renewal?'; -$_L['Auto_Renewal_On'] = 'Auto Renewal On'; -$_L['Enable_auto_renewal'] = 'Enable auto renewal?'; -$_L['Auto_Renewal_Off'] = 'Auto Renewal Off'; -$_L['Refill_Balance'] = 'Refill Balance'; -$_L['Invoice_Footer'] = 'Invoice Footer'; -$_L['Pay_With_Balance'] = 'Pay With Balance'; -$_L['Pay_this_with_Balance_your_active_package_will_be_overwrite'] = 'Pay this with Balance? your active package will be overwrite'; -$_L['Success_to_buy_package'] = 'Success to buy package'; -$_L['Auto_Renewal'] = 'Auto Renewal'; -$_L['View'] = 'View'; -$_L['Back'] = 'Back'; -$_L['Active'] = 'Active'; -$_L['Transfer_Balance'] = 'Transfer Balance'; -$_L['Send_your_balance'] = 'Send your balance?'; -$_L['Send'] = 'Send'; -$_L['Cannot_send_to_yourself'] = 'Cannot send to yourself'; -$_L['Sending_balance_success'] = 'Sending balance success'; -$_L['From'] = 'From'; -$_L['To'] = 'To'; -$_L['insufficient_balance'] = 'insufficient balance'; -$_L['Send_Balance'] = 'Send Balance'; -$_L['Received_Balance'] = 'Received Balance'; -$_L['Minimum_Balance_Transfer'] = 'Minimum Balance Transfer'; -$_L['Minimum_Transfer'] = 'Minimum Transfer'; -$_L['Company_Logo'] = 'Company Logo'; -$_L['Expired_IP_Pool'] = 'Expired IP Pool'; -$_L['Proxy'] = 'Proxy'; -$_L['Proxy_Server'] = 'Proxy Server'; -$_L['Proxy_Server_Login'] = 'Proxy Server Login'; -$_L['Hotspot_Plan'] = 'Hotspot Plan'; -$_L['PPPOE_Plan'] = 'PPPOE Plan'; -$_L['UNKNOWN'] = 'UNKNOWN'; -$_L['Are_You_Sure'] = 'Are You Sure?'; -$_L['Success_to_send_package'] = 'Success to send package'; -$_L['Target_has_active_plan_different_with_current_plant'] = 'Target has active plan, different with current plant.'; -$_L['Recharge_a_friend'] = 'Recharge a friend'; -$_L['Buy_for_friend'] = 'Buy for friend'; -$_L['Buy_this_for_friend_account'] = 'Buy this for friend account?'; -$_L['Review_package_before_recharge'] = 'Review package before recharge'; -$_L['Activate'] = 'Activate'; -$_L['Deactivate'] = 'Deactivate'; -$_L['Sync'] = 'Sync'; -$_L['Failed_to_create_PaymeTrust_transaction'] = 'Failed to create PaymeTrust transaction.'; -$_L['Location'] = 'Location'; -$_L['Radius_Plans'] = 'Radius Plans'; -$_L['Change_title_in_user_Plan_order'] = 'Change title in user Plan order'; -$_L['Logs'] = 'Logs'; -$_L['Voucher_Format'] = 'Voucher Format'; -$_L['Resend_To_Customer'] = 'Resend To Customer'; diff --git a/system/lan/english/index.html b/system/lan/english/index.html deleted file mode 100644 index 97579708..00000000 --- a/system/lan/english/index.html +++ /dev/null @@ -1,8 +0,0 @@ - - -403 Forbidden - - -Directory access is forbidden.
- - \ No newline at end of file diff --git a/system/lan/indonesia.json b/system/lan/indonesia.json index 0e62b63c..a90093b7 100644 --- a/system/lan/indonesia.json +++ b/system/lan/indonesia.json @@ -54,7 +54,7 @@ "Plan_Type": "Jenis Paket", "Plan_Price": "Harga Paket", "Limit_Type": "Tipe Batas", - "Unlimited": "Tak Terbatas", + "Unlimited": "Tak terbatas", "Limited": "Terbatas", "Time_Limit": "Batas waktu", "Data_Limit": "Batas Data", @@ -69,7 +69,7 @@ "Sales": "Sales", "Member": "Anggota", "Confirm_New_Password": "Konfirmasi sandi baru", - "Confirm_Password": "Konfirmasi sandi", + "Confirm_Password": "konfirmasi sandi", "Full_Name": "Nama Lengkap", "User_Type": "Tipe Pelanggan", "Address": "Alamat", diff --git a/system/lan/indonesia/common.lan.php b/system/lan/indonesia/common.lan.php deleted file mode 100644 index 2f70f35f..00000000 --- a/system/lan/indonesia/common.lan.php +++ /dev/null @@ -1,401 +0,0 @@ -silahkan masuk'; -$_L['Sign_In_Member'] = 'Masuk ke Member Panel'; -$_L['Register_Member'] = 'Mendaftar sebagai pelanggan
pastikan anda sudah membeli voucher'; -$_L['Sign_In_Admin'] = 'Masuk ke Admin Panel'; -$_L['Logo'] = 'PHPNuxBill'; -$_L['Username'] = 'Username'; -$_L['Password'] = 'Password'; -$_L['PasswordsNotMatch'] = 'Sandi tidak sama'; -$_L['account_already_exist'] = 'Username sudah ada yang menggunakan'; -$_L['Manage'] = 'Proses'; -$_L['Submit'] = 'Kirim'; -$_L['Save'] = 'Simpan Perubahan'; -$_L['Cancel'] = 'Batal'; -$_L['Edit'] = 'Edit'; -$_L['Delete'] = 'Hapus'; -$_L['Welcome'] = 'Selamat Datang'; -$_L['Created_Successfully'] = 'Data berhasil di buat'; -$_L['Updated_Successfully'] = 'Data berhasil di ubah'; -$_L['Delete_Successfully'] = 'Berhasil menghapus data'; - -$_L['Static_Pages'] = "Halaman statis"; -$_L['Failed_Save_Page'] = "Gagal menyimpan halaman, pastikan diperbolehkan menulis file di folder pages, chmod 664 pages/*.html"; -$_L['Success_Save_Page'] = "Sukses menyimpan halaman"; -$_L['Info_Page'] = "Kadang harus di-refresh 3 kali baru konten berubah"; - -$_L['Dashboard'] = 'Beranda'; -$_L['Search_Contact'] = 'Cari username member...'; -$_L['My_Account'] = 'Akun Saya'; -$_L['My_Profile'] = 'Profil Saya'; -$_L['Settings'] = 'Pengaturan'; -$_L['Edit_Profile'] = 'Ubah Profil'; -$_L['Change_Password'] = 'Ganti Password'; -$_L['Logout'] = 'Keluar'; - -$_L['Services'] = 'Layanan'; -$_L['Bandwidth_Plans'] = 'Daftar Bandwidth'; -$_L['BW_Name'] = 'Nama Bandwidth'; -$_L['New_Bandwidth'] = 'Tambah Data Bandwidth'; -$_L['Edit_Bandwidth'] = 'Ubah Data Bandwidth'; -$_L['Add_Bandwidth'] = 'Tambah Bandwidth Baru'; -$_L['Rate_Download'] = 'Rate Download'; -$_L['Rate_Upload'] = 'Rate Upload'; -$_L['BW_already_exist'] = 'Nama Bandwidth Sudah Ada'; -$_L['Hotspot_Plans'] = 'Paket Hotspot'; -$_L['PPPOE_Plans'] = 'Paket PPPOE'; -$_L['Plan_Name'] = 'Nama Paket'; -$_L['New_Plan'] = 'Tambah Paket Baru'; -$_L['Add_Plan'] = 'Tambah Paket Baru'; -$_L['Edit_Plan'] = 'Ubah Paket'; -$_L['Plan_already_exist'] = 'Nama Paket Sudah Ada'; -$_L['Plan_Type'] = 'Jenis Paket'; -$_L['Plan_Price'] = 'Harga'; -$_L['Limit_Type'] = 'Jenis Limit'; -$_L['Unlimited'] = 'Unlimited'; -$_L['Limited'] = 'Limited'; -$_L['Time_Limit'] = 'TimeBase'; -$_L['Data_Limit'] = 'QuotaBase'; -$_L['Both_Limit'] = 'Keduanya'; -$_L['Plan_Validity'] = 'Masa Aktif'; -$_L['Select_BW'] = 'Pilih Nama Bandwidth'; -$_L['Shared_Users'] = 'Shared Users'; - -$_L['user_type_help'] = 'Pilih Sales jika ingin fasilitas Pengaturan dinonaktifkan'; -$_L['Current_Password'] = 'Password Sekarang'; -$_L['New_Password'] = 'Password Baru'; -$_L['Administrator'] = 'Administrator'; -$_L['Sales'] = 'Sales'; -$_L['Member'] = 'Member'; -$_L['Confirm_New_Password'] = 'Konfirmasi Password'; -$_L['Confirm_Password'] = 'Konfirmasi Password'; -$_L['Full_Name'] = 'Nama Lengkap'; -$_L['User_Type'] = 'Posisi User'; -$_L['Address'] = 'Alamat Lengkap'; -$_L['Created_On'] = 'Tanggal Aktif'; -$_L['Expires_On'] = 'Tanggal Expire'; -$_L['Phone_Number'] = 'Nomor HP'; -$_L['User_Delete_Ok'] = 'User berhasil di hapus'; -$_L['Full_Administrator'] = 'Full Administrator'; -$_L['password_change_help'] = 'Kosongkan jika tidak ingin mengganti password'; -$_L['currency_help'] = 'Kosongkan jika tidak ingin mengatur kode Mata Uang'; -$_L['Theme_Style'] = 'Theme Style'; -$_L['Theme_Color'] = 'Theme Color'; -$_L['Default_Language'] = 'Bahasa'; - -$_L['Network'] = 'Network'; -$_L['Routers'] = 'Routers'; -$_L['Pool'] = 'IP Pool'; -$_L['New_Router'] = 'Router Baru'; -$_L['Add_Router'] = 'Tambah Router'; -$_L['Edit_Router'] = 'Ubah Router'; -$_L['Router_Name'] = 'Nama Router'; -$_L['IP_Address'] = 'IP Address'; -$_L['Router_Secret'] = 'Password Router'; -$_L['Description'] = 'Deskripsi'; -$_L['Router_already_exist'] = 'IP Router sudah digunakan'; -$_L['Pool_Name'] = 'Nama Pool'; -$_L['Range_IP'] = 'Rentang IP'; -$_L['New_Pool'] = 'Pool Baru'; -$_L['Add_Pool'] = 'Tambah Pool'; -$_L['Edit_Pool'] = 'Ubah Pool'; -$_L['Pool_already_exist'] = 'Nama Pool Sudah Ada'; - -$_L['Prepaid'] = 'Billing'; -$_L['Prepaid_User'] = 'Billing'; -$_L['Prepaid_Vouchers'] = 'Kelola Voucher'; -$_L['Refill_Account'] = 'Refill Akun'; -$_L['Recharge_Account'] = 'Perpanjang Akun'; -$_L['Select_Account'] = 'Pilih Akun'; -$_L['Service_Plan'] = 'Paket'; -$_L['Recharge'] = 'Isi Ulang Akun'; -$_L['Method'] = 'Metode'; -$_L['account_created_successfully'] = 'Account Created Successfully'; - -$_L['Database_Status'] = 'Status Database'; -$_L['Total_Database_Size'] = 'Ukuran Database'; -$_L['Download_Database_Backup'] = 'Download Database Backup'; -$_L['Table_Name'] = 'Nama Tabel'; -$_L['Rows'] = 'Rows'; -$_L['Size'] = 'Size'; - -$_L['Customers'] = 'Kontak Member'; -$_L['Add_Contact'] = 'Tambah Kontak Baru'; -$_L['Edit_Contact'] = 'Edit Kontak'; -$_L['List_Contact'] = 'List Kontak'; -$_L['Manage_Accounts'] = 'Kelola Kontak'; - -$_L['Reports'] = 'Laporan'; -$_L['Daily_Report'] = 'Laporan Harian'; -$_L['Period_Reports'] = 'Laporan Periode'; -$_L['All_Transactions'] = 'Semua Transaksi'; -$_L['Total_Income'] = 'Total Pendapatan'; -$_L['All_Transactions_at_Date'] = 'Semua Transaksi pada Tanggal'; -$_L['Export_for_Print'] = 'Cetak Laporan'; -$_L['Print'] = 'Print'; -$_L['Export_to_PDF'] = 'Export ke PDF'; -$_L['Click_Here_to_Print'] = 'Klik Disini untuk Cetak Laporan'; -$_L['You_can_use_html_tag'] = 'Boleh menggunakan tag html'; -$_L['Date_Format'] = 'Format Tanggal'; -$_L['Income_Today'] = 'Pendapatan Hari Ini'; -$_L['Income_This_Month'] = 'Pendapatan Bulan Ini'; -$_L['Users_Active'] = 'Member Aktif'; -$_L['Total_Users'] = 'Total Member'; -$_L['Users'] = 'User'; -$_L['Edit_User'] = 'Ubah Pengguna'; -$_L['Last_Login'] = 'Terakhir Login'; -$_L['Administrator_Users'] = 'Pengguna Admin'; -$_L['Manage_Administrator'] = 'Kelola Administrator'; -$_L['Add_New_Administrator'] = 'Tambah Administrator'; -$_L['Localisation'] = 'Lokalisasi'; -$_L['Backup_Restore'] = 'Backup/Restore'; - -$_L['General_Settings'] = 'Pengaturan Umum'; -$_L['Date'] = 'Tanggal'; -$_L['Login_Successful'] = 'Login Berhasil'; -$_L['Failed_Login'] = 'Gagal Login'; -$_L['Settings_Saved_Successfully'] = 'Pengaturan Berhasil Disimpan'; -$_L['User_Updated_Successfully'] = 'Berhasil mengubah pengguna'; -$_L['User_Expired_Today'] = 'Member Expire Hari Ini'; -$_L['Activity_Log'] = 'Aktifitas Log'; -$_L['View_Reports'] = 'Lihat Laporan'; -$_L['View_All'] = 'Lihat Semua'; -$_L['Number_of_Vouchers'] = 'Jumlah Voucher'; -$_L['Length_Code'] = 'Panjang Kode'; -$_L['Code_Voucher'] = 'Kode Voucher'; -$_L['Voucher'] = 'Voucher'; -$_L['Voucher_Hotspot'] = 'Voucher Hotspot'; -$_L['Status_Voucher'] = 'Status Voucher'; -$_L['Add_Voucher'] = 'Tambah'; -$_L['Voucher_Successfully'] = 'Berhasil membuat Voucher baru'; -$_L['Generate'] = 'Generate'; -$_L['Print_Info'] = 'Print bolak balik, biar mudah dipotong dan hemat kertas'; - -$_L['From_Date'] = 'Dari Tanggal'; -$_L['To_Date'] = 'Hingga Tanggal'; -$_L['New_Service'] = 'Layanan Baru'; -$_L['Type'] = 'Jenis'; -$_L['Finish'] = 'Selesai'; -$_L['App_Name'] = 'Nama Perusahaan'; -$_L['App_Name_Help_Text'] = 'Nama ini akan tampil pada judul'; -$_L['Next'] = 'Next'; -$_L['Last'] = 'Last'; -$_L['Timezone'] = 'Timezone'; -$_L['Decimal_Point'] = 'Pemisah Desimal'; -$_L['Thousands_Separator'] = 'Pemisah Ribuan'; -$_L['Currency_Code'] = 'Mata Uang'; - -$_L['Order_Voucher'] = 'Beli Voucher'; -$_L['Voucher_Activation'] = 'Aktifasi Voucher'; -$_L['List_Activated_Voucher'] = 'List Aktifasi Voucher'; -$_L['Enter_Voucher_Code'] = 'Masukkan kode voucher disini'; -$_L['Private_Message'] = 'Pesan Singkat'; -$_L['Inbox'] = 'Inbox'; -$_L['Outbox'] = 'Outbox'; -$_L['Compose'] = 'Compose'; -$_L['Send_to'] = 'Send to'; -$_L['Title'] = 'Title'; -$_L['Message'] = 'Message'; -$_L['Account_Information'] = 'Informasi Akun Anda'; -$_L['Welcome_Text_User'] = 'Selamat datang di Member Panel, disini Anda dapat mengetahui:'; -$_L['Welcome_Text_Admin'] = 'PHPNuxBill adalah sebuah aplikasi billing Hotspot dan PPPOE untuk Mikrotik dengan menggunakan bahasa pemograman PHP dan menggunakan API Mikrotik sebagai komunikasi dengan router. Jika aplikasi ini sangat berguna bagi bisnis Anda silahkan Anda donasi berapapun.
Pantau proyek disini'; - -//update -$_L['Invalid_Username_or_Password'] = 'Username atau Password Salah'; -$_L['Do_Not_Access'] = 'Anda tidak diijinkan untuk mengakses halaman ini'; -$_L['Incorrect_Current_Password'] = 'Password Saat ini Salah'; -$_L['Password_Changed_Successfully'] = 'Berhasil mengganti password, Silahkan login kembali'; -$_L['All_field_is_required'] = 'Semua bidang wajib di isi'; -$_L['Voucher_Not_Valid'] = 'Voucher Tidak Benar'; -$_L['Activation_Vouchers_Successfully'] = 'Berhasil melakukan aktivasi Voucher.'; -$_L['Data_Not_Found'] = 'Data tidak ditemukan'; -$_L['Search_by_Username'] = 'Cari berdasarkan Username'; -$_L['Search_by_Name'] = 'Cari berdasarkan Nama'; -$_L['Search_by_Code'] = 'Cari Kode Voucher'; -$_L['Search'] = 'Pencarian'; -$_L['Select_Customer'] = 'Pilih Member'; -$_L['Select_Routers'] = 'Pilih Routers'; -$_L['Select_Plans'] = 'Pilih Paket'; -$_L['Select_Pool'] = 'Pilih Pool'; -$_L['Hrs'] = 'Jam'; -$_L['Mins'] = 'Menit'; -$_L['Days'] = 'Hari'; -$_L['Months'] = 'Bulan'; -$_L['Add_Language'] = 'Tambah Bahasa'; -$_L['Name_Lang'] = 'Nama Bahasa'; -$_L['Folder_Lang'] = 'Nama Folder'; -$_L['Translator'] = 'Translator'; -$_L['Lang_already_exist'] = 'Nama bahasa sudah ada'; - -$_L['Payment_Gateway'] = 'Payment Gateway'; -$_L['Community'] = 'Community'; -$_L['1_user_can_be_used_for_many_devices'] = '1 user can be used for many devices?'; -$_L['Cannot_be_change_after_saved'] = 'Cannot be change after saved'; - -$_L['Explain_Coverage_of_router'] = 'Jelaskan Cakupan wilayah hotspot'; -$_L['Name_of_Area_that_router_operated'] = 'Nama Lokasi/Wilayah Router beroperasi'; -$_L['Payment_Notification_URL_Recurring_Notification_URL_Pay_Account_Notification_URL'] = 'Payment Notification URL, Recurring Notification URL, Pay Account Notification URL'; -$_L['Finish_Redirect_URL_Unfinish_Redirect_URL_Error_Redirect_URL'] = 'Finish Redirect URL, Unfinish Redirect URL, Error Redirect URL'; -$_L['Status'] = 'Status'; -$_L['Plan_Not_found'] = 'Paket tidak ditemukan'; -$_L['Failed_to_create_transaction'] = 'Gagal Membuat Transaksi.'; -$_L['Seller_has_not_yet_setup_Xendit_payment_gateway'] = 'Admin belum mengaktifkan pembayarana melalui Xendit'; -$_L['Admin_has_not_yet_setup_Xendit_payment_gateway_please_tell_admin'] = 'Admin belum mengaktifkan pembayaran Xendit, Mohon beritahu dmin'; -$_L['Buy_this_your_active_package_will_be_overwrite'] = 'Beli? Paket yang aktif akan dinonaktifkan'; -$_L['You_already_have_unpaid_transaction_cancel_it_or_pay_it'] = 'Anda masih memiliki transaksi yang belum dibayar, Bayar atau Batalkan.'; -$_L['Transaction_Not_found'] = 'Transaksi tidak ditemukan'; -$_L['Cancel_it'] = 'Batalkan?'; -$_L['expired'] = 'Kadaluarsa'; -$_L['Check_for_Payment'] = 'Cek Pembayaran'; -$_L['Transaction_still_unpaid'] = 'Transaksi Belum dibayar.'; -$_L['Paid_Date'] = 'Tanggal Bayar'; -$_L['Transaction_has_been_paid'] = 'Transaksi telah dibayar.'; -$_L['PAID'] = 'LUNAS'; -$_L['CANCELED'] = 'BATAL'; -$_L['UNPAID'] = 'BELUM DIBAYAR'; -$_L['PAY_NOW'] = 'BAYAR SEKARANG'; -$_L['Buy_Hotspot_Plan'] = 'Beli Paket Hotspot'; -$_L['Buy_PPOE_Plan'] = 'Beli Paket PPOE'; -$_L['Package'] = 'Paket'; -$_L['Order_Internet_Package'] = 'Beli Paket Internet'; -$_L['Unknown_Command'] = 'Perintah tidak dikenal.'; -$_L['Checking_payment'] = 'Cek pembayaran'; -$_L['Create_Transaction_Success'] = 'Transaksi sukses dibuat'; -$_L['You_have_unpaid_transaction'] = 'Anda memiliki transaksi yang belum dibayar'; -$_L['TripayPayment_Channel'] = 'TripayPayment Channel'; -$_L['Payment_Channel'] = 'Payment Channel'; -$_L['Payment_check_failed'] = 'Gagal cek pembayaran.'; -$_L['Order_Package'] = 'Beli Paket'; -$_L['Transactions'] = 'Daftar Transaksi'; -$_L['Payments'] = 'Pembayaran'; -$_L['History'] = 'Riwayat'; -$_L['Order_History'] = 'Riwayat Pembelian'; -$_L['Gateway'] = 'Gateway'; -$_L['Date_Done'] = 'Tanggal Selesai'; -$_L['Unpaid_Order'] = 'Pembelian belum dibayar'; -$_L['Payment_Gateway_Not_Found'] = 'Payment Gateway Tidak ditemukan'; -$_L['Payment_Gateway_saved_successfully'] = 'Payment Gateway telah disimpan'; -$_L['ORDER'] = 'BELI'; -$_L['Package_History'] = 'Riwayat Paket'; -$_L['Buy_History'] = 'Riwayat Pembelian'; -$_L['Activation_History'] = 'Riwayat Aktivasi'; -$_L['Buy_Package'] = 'Beli Paket'; -$_L['Email'] = 'Email'; -$_L['Company_Footer'] = 'Company Footer'; -$_L['Will_show_below_user_pages'] = 'Akan muncul di bawah halaman pelanggan'; -$_L['Request_OTP'] = 'Meminta kode OTP'; -$_L['Verification_Code'] = 'Kode Verifikasi'; -$_L['SMS_Verification_Code'] = 'Kode Verifikasi SMS'; -$_L['Please_enter_your_email_address'] = 'Masukkan alamat email'; -$_L['Failed_to_create_Paypal_transaction'] = 'gagal membuat transaksi Paypal'; -$_L['Plugin'] = 'Plugin'; -$_L['Plugin_Manager'] = 'Plugin Manager'; -$_L['User_Notification'] = 'Notifikasi Pelanggan'; -$_L['Expired_Notification'] = 'Notifikasi Kadaluarsa'; -$_L['User_will_get_notification_when_package_expired'] = 'Pelanggan akan mendapatkan Notifikasi jika paket kadaluarsa'; -$_L['Expired_Notification_Message'] = 'Pesan jika paket kadaluarsa'; -$_L['bnameb_will_be_replaced_with_Customer_Name_bpackageb_will_be_replaced_with_Package_name'] = '[[name]] akan diganti dengan nama konsumen. [[package]] akan diganti dengan nama paket internet.'; -$_L['Payment_Notification'] = 'Notifikasi Pembayaran'; -$_L['User_will_get_invoice_notification_when_buy_package_or_package_refilled'] = 'Pelanggan akan mendapatkan Notifikasi pembayaran setelah melakukan pembelian paket'; -$_L['Current_IP'] = 'IP anda'; -$_L['Current_MAC'] = 'MAC anda'; -$_L['Login_Status'] = 'Status Internet'; -$_L['Login_Request_successfully'] = 'Sukses melakukan menyalakan koneksi internet'; -$_L['Logout_Request_successfully'] = 'Sukses melakukan pemutusan koneksi internet'; -$_L['Disconnect_Internet'] = 'Putuskan Internet?'; -$_L['Not_Online_Login_now'] = 'Internet mati, Nyalakan?'; -$_L['You_are_Online_Logout'] = 'Internet hidup, Putuskan?'; -$_L['Connect_to_Internet'] = 'Koneksikan internet?'; -$_L['Your_account_not_connected_to_internet'] = 'Akun tidak terkoneksi dengan internet'; -$_L['Balance'] = 'Saldo'; -$_L['Balance_System'] = 'Sistem Saldo'; -$_L['Enable_System'] = 'Aktifkan Saldo'; -$_L['Allow_Transfer'] = 'Bolehkan Transfer'; -$_L['Telegram_Notification'] = 'Telegram Notification'; -$_L['SMS_OTP_Registration'] = 'SMS OTP Registration'; -$_L['Whatsapp_Notification'] = 'Whatsapp Notification'; -$_L['Tawkto_Chat_Widget'] = 'Tawk.to Chat Widget'; -$_L['Invoice'] = 'Invoice'; -$_L['Country_Code_Phone'] = 'Kode Negara Telepon'; -$_L['Voucher_activation_menu_will_be_hidden'] = 'Info Pembelian Voucher dan Redeem akan disembunyikan'; -$_L['Customer_can_deposit_money_to_buy_voucher'] = 'Pelanggan dapat topup saldo untuk langganan Internet'; -$_L['Allow_balance_transfer_between_customers'] = 'Bolehkan transfer saldo antar pelanggan'; -$_L['Refill_Balance'] = 'Refill Balance'; -$_L['Balance_Plans'] = 'Balance Plans'; -$_L['Expired_IP_Pool'] = 'Expired IP Pool'; -$_L['Company_Logo'] = 'Company Logo'; -$_L['Disable_Voucher'] = 'Disable Voucher'; -$_L['Minimum_Balance_Transfer'] = 'Minimum Balance Transfer'; -$_L['Reminder_Notification'] = 'Reminder Notification'; -$_L['Invoice_Footer'] = 'Invoice Footer'; - -$_L['Reminder_7_days'] = 'Reminder 7 days'; -$_L['Reminder_3_days'] = 'Reminder 3 days'; -$_L['Reminder_1_day'] = 'Reminder 1 day'; -$_L['PPPOE_Password'] = 'PPPOE Password'; -$_L['User_Cannot_change_this_only_admin_if_it_Empty_it_will_use_user_password'] = 'User Cannot change this, only admin. if it Empty it will use user password'; -$_L['Invoice_Balance_Message'] = 'Invoice Balance Message'; -$_L['Invoice_Notification_Payment'] = 'Invoice Notification Payment'; -$_L['Balance_Notification_Payment'] = 'Balance Notification Payment'; -$_L['Buy_Balance'] = 'Buy Balance'; -$_L['Price'] = 'Price'; -$_L['Validity'] = 'Validity'; -$_L['Disable_auto_renewal'] = 'Disable auto renewal?'; -$_L['Auto_Renewal_On'] = 'Auto Renewal On'; -$_L['Enable_auto_renewal'] = 'Enable auto renewal?'; -$_L['Auto_Renewal_Off'] = 'Auto Renewal Off'; -$_L['Pay_With_Balance'] = 'Pay With Balance'; -$_L['Pay_this_with_Balance_your_active_package_will_be_overwrite'] = 'Pay this with Balance? your active package will be overwrite'; -$_L['Success_to_buy_package'] = 'Success to buy package'; -$_L['Auto_Renewal'] = 'Auto Renewal'; -$_L['View'] = 'View'; -$_L['Back'] = 'Back'; -$_L['Active'] = 'Active'; -$_L['Transfer_Balance'] = 'Transfer Balance'; -$_L['Send_your_balance'] = 'Send your balance?'; -$_L['Send'] = 'Send'; -$_L['Cannot_send_to_yourself'] = 'Cannot send to yourself'; -$_L['Sending_balance_success'] = 'Sending balance success'; -$_L['From'] = 'From'; -$_L['To'] = 'To'; -$_L['insufficient_balance'] = 'insufficient balance'; -$_L['Send_Balance'] = 'Send Balance'; -$_L['Received_Balance'] = 'Received Balance'; -$_L['Minimum_Transfer'] = 'Minimum Transfer'; -$_L['Proxy'] = 'Proxy'; -$_L['Proxy_Server'] = 'Proxy Server'; -$_L['Proxy_Server_Login'] = 'Proxy Server Login'; -$_L['Hotspot_Plan'] = 'Hotspot Plan'; -$_L['PPPOE_Plan'] = 'PPPOE Plan'; -$_L['UNKNOWN'] = 'UNKNOWN'; -$_L['Are_You_Sure'] = 'Are You Sure?'; -$_L['Success_to_send_package'] = 'Success to send package'; -$_L['Target_has_active_plan_different_with_current_plant'] = 'Target has active plan, different with current plant.'; -$_L['Recharge_a_friend'] = 'Recharge a friend'; -$_L['Buy_for_friend'] = 'Buy for friend'; -$_L['Buy_this_for_friend_account'] = 'Buy this for friend account?'; -$_L['Review_package_before_recharge'] = 'Review package before recharge'; -$_L['Activate'] = 'Activate'; -$_L['Deactivate'] = 'Deactivate'; -$_L['Sync'] = 'Sync'; -$_L['Failed_to_create_PaymeTrust_transaction'] = 'Failed to create PaymeTrust transaction.'; -$_L['Location'] = 'Location'; -$_L['Voucher_Format'] = 'Voucher Format'; \ No newline at end of file diff --git a/system/lan/indonesia/index.html b/system/lan/indonesia/index.html deleted file mode 100644 index 97579708..00000000 --- a/system/lan/indonesia/index.html +++ /dev/null @@ -1,8 +0,0 @@ - - -403 Forbidden - - -Directory access is forbidden.
- - \ No newline at end of file diff --git a/system/lan/spanish.json b/system/lan/spanish.json new file mode 100644 index 00000000..de937f54 --- /dev/null +++ b/system/lan/spanish.json @@ -0,0 +1,377 @@ +{ + "Log_in": "Entrar", + "Register": "Registro", + "Announcement": "Anuncio", + "Registration_Info": "Informaci\u00f3n de registro", + "Voucher_not_found__please_buy_voucher_befor_register": "Cup\u00f3n no encontrado, compre el cup\u00f3n antes de registrarse", + "Register_Success__You_can_login_now": "\u00a1Registro exitoso! Puedes iniciar sesi\u00f3n ahora", + "Log_in_to_Member_Panel": "Log in to Member Panel", + "Register_as_Member": "Reg\u00edstrese como miembro", + "Enter_Admin_Area": "Panel de administraci\u00f3n", + "PHPNuxBill": "DIGITAL-RED", + "Username": "Usuario", + "Password": "Contrase\u00f1a", + "Passwords_does_not_match": "Las contrase\u00f1as no coinciden", + "Account_already_axist": "La cuenta ya existe", + "Manage": "Administrar", + "Submit": "Enviar", + "Save_Changes": "Guardar cambios", + "Cancel": "Cancelar", + "Edit": "Editar", + "Delete": "Eliminar", + "Welcome": "Bienvenido", + "Data_Created_Successfully": "Datos creados con \u00e9xito", + "Data_Updated_Successfully": "Datos actualizados con \u00e9xito", + "Data_Deleted_Successfully": "Datos eliminados con \u00e9xito", + "Static_Pages": "P\u00e1ginas est\u00e1ticas", + "Failed_to_save_page__make_sure_i_can_write_to_folder_pages___i_chmod_664_pages___html_i_": "No se pudo guardar la p\u00e1gina, aseg\u00farese de que pueda escribir en las p\u00e1ginas de la carpeta, chmod 664 pages\/*.html", + "Saving_page_success": "Guardando el \u00e9xito de la p\u00e1gina", + "Sometimes_you_need_to_refresh_3_times_until_content_change": "A veces es necesario actualizar 3 veces hasta que cambie el contenido", + "Dashboard": "Dashboard", + "Search_Customers___": "Buscar clientes...", + "My_Account": "Mi cuenta", + "My_Profile": "Mi perfil", + "Settings": "Ajustes", + "Edit_Profile": "Editar perfil", + "Change_Password": "Cambia la contrase\u00f1a", + "Logout": "Cerrar sesi\u00f3n", + "Services": "Servicios", + "Bandwidth_Plans": "Planes de velocidad", + "Bandwidth_Name": "Nombre de ancho de banda", + "New_Bandwidth": "Nuevo ancho de banda", + "Edit_Bandwidth": "Editar ancho de banda", + "Add_New_Bandwidth": "Agregar nuevo ancho de banda", + "Rate_Download": "Tarifa Descarga", + "Rate_Upload": "Tasa de subida", + "Name_Bandwidth_Already_Exist": "El ancho de banda del nombre ya existe", + "Hotspot_Plans": "Planes de Hotspot", + "PPPOE_Plans": "Planes PPPOE", + "Plan_Name": "Nombre", + "New_Service_Plan": "Nuevo plan de servicio", + "Add_Service_Plan": "Agregar plan de servicio", + "Edit_Service_Plan": "Editar plan de servicio", + "Name_Plan_Already_Exist": "Nombre El plan ya existe", + "Plan_Type": "Tipo de plan", + "Plan_Price": "Precio del plan", + "Limit_Type": "Tipo de l\u00edmite", + "Unlimited": "Ilimitado", + "Limited": "Limitado", + "Time_Limit": "L\u00edmite de tiempo", + "Data_Limit": "L\u00edmite de datos", + "Both_Limit": "Ambos L\u00edmite", + "Plan_Validity": "Validez del Plan", + "Select_Bandwidth": "Seleccionar ancho de banda", + "Shared_Users": "Usuarios compartidos", + "Choose_User_Type_Sales_to_disable_access_to_Settings": "Elija Ventas de tipo de usuario para deshabilitar el acceso a la Configuraci\u00f3n", + "Current_Password": "Contrase\u00f1a actual", + "New_Password": "Nueva contrase\u00f1a", + "Administrator": "Administrador", + "Sales": "Ventas", + "Member": "Usuario", + "Confirm_New_Password": "Confirmar nueva contrase\u00f1a", + "Confirm_Password": "Confirmar contrase\u00f1a", + "Full_Name": "Nombre completo", + "User_Type": "Tipo de usuario", + "Address": "Direcci\u00f3n", + "Created_On": "Creado en", + "Expires_On": "Expira el", + "Phone_Number": "N\u00famero de tel\u00e9fono", + "User_deleted_Successfully": "Usuario eliminado con \u00e9xito", + "Full_Administrator": "Administrador completo", + "Keep_Blank_to_do_not_change_Password": "Mantener en blanco para no cambiar la contrase\u00f1a", + "Keep_it_blank_if_you_do_not_want_to_show_currency_code": "Mant\u00e9ngalo en blanco si no desea mostrar el c\u00f3digo de moneda", + "Theme_Style": "Estilo de tema", + "Theme_Color": "Color del tema", + "Default_Language": "Idioma predeterminado", + "Network": "Red", + "Routers": "Routers", + "IP_Pool": "IP Pool", + "New_Router": "Nuevo Router", + "Add_Router": "Agregar Router", + "Edit_Router": "Editar Router", + "Router_Name": "Nombre del Router", + "IP_Address": "Direccion IP", + "Router_Secret": "Contrase\u00f1a Router", + "Description": "Descripcion", + "IP_Router_Already_Exist": "El enrutador IP ya existe", + "Name_Pool": "Nombre del Pool", + "Range_IP": "Rango de IP", + "New_Pool": "Nuevo Pool", + "Add_Pool": "Agregar Pool", + "Edit_Pool": "Editar Pool", + "Pool_Name_Already_Exist": "Nombre del Pool ya existe", + "Refill_Account": "Recargar Ficha", + "Recharge_Account": "Recargar Cuenta", + "Select_Account": "Seleccionar cuenta", + "Service_Plan": "Plan de servicio", + "Recharge": "Recargar", + "Method": "M\u00e9todo", + "Account_Created_Successfully": "Cuenta creada con \u00e9xito", + "Database_Status": "Estado de la base de datos", + "Total_Database_Size": "Tama\u00f1o total de la base de datos", + "Download_Database_Backup": "Descargar copia de seguridad de la base de datos", + "Table_Name": "Nombre de la tabla", + "Rows": "Filas", + "Size": "Tama\u00f1o", + "Customer": "Clientes", + "Add_New_Contact": "A\u00f1adir nuevo contacto", + "Edit_Contact": "Editar contacto", + "List_Contact": "Lista de contactos", + "Manage_Contact": "Administrar contacto", + "Reports": "Reportes", + "Daily_Reports": "Reportes diarios", + "Period_Reports": "Informes del per\u00edodo", + "All_Transactions": "Todas las transacciones", + "Total_Income": "Ingresos totales", + "All_Transactions_at_Date": "Todas las transacciones en la fecha", + "Export_for_Print": "Exportar para imprimir", + "Print": "Impresi\u00f3n", + "Export_to_PDF": "Exportar a PDF", + "Click_Here_to_Print": "Haga clic aqu\u00ed para imprimir", + "You_can_use_html_tag": "Puedes usar la etiqueta html", + "Date_Format": "Formato de fecha", + "Income_Today": "Ingresos hoy", + "Income_This_Month": "Ingresos este mes", + "Users_Active": "Usuarios activos", + "Total_Users": "Total de usuarios", + "Users": "Usuarios", + "Edit_User": "Editar usuario", + "Last_Login": "\u00daltimo acceso", + "Administrator_Users": "Usuarios administradores", + "Manage_Administrator": "Administrar administrador", + "Add_New_Administrator": "Agregar nuevo administrador", + "Localisation": "Localizaci\u00f3n", + "Backup_Restore": "Copia de seguridad\/restauracion", + "General_Settings": "Configuraci\u00f3n general", + "Date": "Fecha", + "Login_Successful": "Inicio de sesi\u00f3n exitoso", + "Failed_Login": "Inicio de sesi\u00f3n fallido", + "Settings_Saved_Successfully": "Configuraci\u00f3n guardada con \u00e9xito", + "User_Updated_Successfully": "Usuario actualizado con \u00e9xito", + "User_Expired__Today": "Usuario vencido, hoy", + "Activity_Log": "Registro de actividades", + "View_Reports": "Ver los informes", + "View_All": "Ver todo", + "Number_of_Vouchers": "N\u00famero de Fichas", + "Length_Code": "Longitud de codigo", + "Code_Voucher": "Cup\u00f3n de Ficha", + "Voucher": "Ficha", + "Hotspot_Voucher": "Ficha Hotspot", + "Status_Voucher": "Estatado de Ficha", + "Add_Vouchers": "Agregar Ficha", + "Create_Vouchers_Successfully": "Crear Ficha con \u00e9xito", + "Generate": "Generar", + "Print_side_by_side__it_will_easy_to_cut": "Imprimir uno al lado del otro, ser\u00e1 f\u00e1cil de cortar", + "From_Date": "Partir de la fecha", + "To_Date": "Hasta la fecha", + "New_Service": "Nuevo servicio", + "Type": "Tipo", + "Finish": "Finalizar", + "Application_Name__Company_Name": "Nombre de la aplicaci\u00f3n\/ Nombre de la empresa", + "This_Name_will_be_shown_on_the_Title": "Este nombre se mostrar\u00e1 en el t\u00edtulo", + "Next": "Siguiente", + "Last": "Atras", + "Timezone": "Zona horaria", + "Decimal_Point": "Punto decimal", + "Thousands_Separator": "Separador de miles", + "Currency_Code": "C\u00f3digo de moneda", + "Order_Voucher": "Comprobante de pedido", + "Voucher_Activation": "Activaci\u00f3n de Fichas", + "List_Activated_Voucher": "Lista de Fichas activados", + "Enter_voucher_code_here": "Ingrese el c\u00f3digo de la Ficha aqu\u00ed", + "Private_Message": "Mensaje privado", + "Inbox": "Bandeja de entrada", + "Outbox": "Bandeja de salida", + "Compose": "Componer", + "Send_to": "Enviar a", + "Title": "T\u00edtulo", + "Message": "Mensaje", + "Your_Account_Information": "Informaci\u00f3n de su cuenta", + "Welcome_to_the_Panel_Members_page__on_this_page_you_can_": "Bienvenido a la p\u00e1gina de Miembros del Panel, en esta p\u00e1gina puede:", + "Invalid_Username_or_Password": "Usuario o contrase\u00f1a invalido", + "You_do_not_have_permission_to_access_this_page": "Usted no tiene permiso para acceder a esta p\u00e1gina", + "Incorrect_Current_Password": "IContrase\u00f1a actual incorrecta", + "Password_changed_successfully__Please_login_again": "Contrase\u00f1a cambiada con \u00e9xito, por favor inicie sesi\u00f3n de nuevo", + "All_field_is_required": "Todo el campo es requerido", + "Voucher_Not_Valid": "Ficha no v\u00e1lida", + "Activation_Vouchers_Successfully": "Fichas de activaci\u00f3n con \u00e9xito", + "Data_Not_Found": "Datos no encontrados", + "Search_by_Username": "Buscar por nombre de usuario", + "Search_by_Name": "Buscar por nombre", + "Search_by_Code_Voucher": "B\u00fasqueda por c\u00f3digo de Ficha", + "Search": "B\u00fasqueda", + "Select_a_customer": "Seleccione un cliente", + "Select_Routers": "Seleccionar enrutadores", + "Select_Plans": "Seleccionar planes", + "Select_Pool": "Seleccionar Pool", + "Hrs": "Hrs", + "Mins": "Mins", + "Days": "Dias", + "Months": "Meses", + "Add_Language": "Agregar idioma", + "Language_Name": "Nombre del lenguaje", + "Folder_Name": "Nombre de la carpeta", + "Translator": "Traducir", + "Language_Name_Already_Exist": "El nombre del idioma ya existe", + "Payment_Gateway": "Payment Gateway", + "Community": "Community", + "1_user_can_be_used_for_many_devices_": "1 user can be used for many devices?", + "Cannot_be_change_after_saved": "Cannot be change after saved", + "Explain_Coverage_of_router": "Jelaskan Cakupan wilayah hotspot", + "Name_of_Area_that_router_operated": "Nama Lokasi\/Wilayah Router beroperasi", + "Payment_Notification_URL__Recurring_Notification_URL__Pay_Account_Notification_URL": "Payment Notification URL, Recurring Notification URL, Pay Account Notification URL", + "Finish_Redirect_URL__Unfinish_Redirect_URL__Error_Redirect_URL": "Finish Redirect URL, Unfinish Redirect URL, Error Redirect URL", + "Status": "Status", + "Plan_Not_found": "Plan Not found", + "Failed_to_create_transaction_": "Failed to create transaction.", + "Seller_has_not_yet_setup_Xendit_payment_gateway": "Seller has not yet setup Xendit payment gateway", + "Admin_has_not_yet_setup_Xendit_payment_gateway__please_tell_admin": "Admin has not yet setup Xendit payment gateway, please tell admin", + "Buy_this__your_active_package_will_be_overwrite": "Buy this? your active package will be overwrite", + "You_already_have_unpaid_transaction__cancel_it_or_pay_it_": "You already have unpaid transaction, cancel it or pay it.", + "Transaction_Not_found": "Transaction Not found", + "Cancel_it_": "Cancel it?", + "expired": "expired", + "Check_for_Payment": "Check for Payment", + "Transaction_still_unpaid_": "Transaction still unpaid.", + "Paid_Date": "Paid Date", + "Transaction_has_been_paid_": "Transaction has been paid.", + "PAID": "PAID", + "CANCELED": "CANCELED", + "UNPAID": "UNPAID", + "PAY_NOW": "PAY NOW", + "Buy_Hotspot_Plan": "Buy Hotspot Plan", + "Buy_PPOE_Plan": "Buy PPOE Plan", + "Package": "Package", + "Order_Internet_Package": "Order Internet Package", + "Unknown_Command_": "Unknown Command.", + "Checking_payment": "Checking payment", + "Create_Transaction_Success": "Create Transaction Success", + "You_have_unpaid_transaction": "You have unpaid transaction", + "TripayPayment_Channel": "TripayPayment Channel", + "Payment_Channel": "Payment Channel", + "Payment_check_failed_": "Payment check failed.", + "Order_Package": "Order Package", + "Transactions": "Transactions", + "Payments": "Payments", + "History": "History", + "Order_History": "Order History", + "Gateway": "Gateway", + "Date_Done": "Date Done", + "Unpaid_Order": "Unpaid Order", + "Payment_Gateway_Not_Found": "Payment Gateway Not Found", + "Payment_Gateway_saved_successfully": "Payment Gateway saved successfully", + "ORDER": "ORDER", + "Package_History": "Package History", + "Buy_History": "Buy History", + "Activation_History": "Activation History", + "Buy_Package": "Buy Package", + "Email": "Email", + "Company_Footer": "Company Footer", + "Will_show_below_user_pages": "Will show below user pages", + "Request_OTP": "Request OTP", + "Verification_Code": "Verification Code", + "SMS_Verification_Code": "SMS Verification Code", + "Please_enter_your_email_address": "Please enter your email address", + "Failed_to_create_Paypal_transaction_": "Failed to create Paypal transaction.", + "Plugin": "Plugin", + "Plugin_Manager": "Plugin Manager", + "User_Notification": "User Notification", + "Expired_Notification": "Expired Notification", + "User_will_get_notification_when_package_expired": "User will get notification when package expired", + "Expired_Notification_Message": "Expired Notification Message", + "Payment_Notification": "Payment Notification", + "User_will_get_invoice_notification_when_buy_package_or_package_refilled": "User will get invoice notification when buy package or package refilled", + "Current_IP": "Current IP", + "Current_MAC": "Current MAC", + "Login_Status": "Login Status", + "Login_Request_successfully": "Login Request successfully", + "Logout_Request_successfully": "Logout Request successfully", + "Disconnect_Internet_": "Disconnect Internet?", + "Not_Online__Login_now_": "Not Online, Login now?", + "You_are_Online__Logout_": "You are Online, Logout?", + "Connect_to_Internet_": "Connect to Internet?", + "Your_account_not_connected_to_internet": "Your account not connected to internet", + "Balance": "Balance", + "Balance_System": "Balance System", + "Enable_System": "Enable System", + "Allow_Transfer": "Allow Transfer", + "Telegram_Notification": "Telegram Notification", + "SMS_OTP_Registration": "SMS OTP Registration", + "Whatsapp_Notification": "Whatsapp Notification", + "Tawk_to_Chat_Widget": "Tawk.to Chat Widget", + "Invoice": "Invoice", + "Country_Code_Phone": "Country Code Phone", + "Voucher_activation_menu_will_be_hidden": "Voucher activation menu will be hidden", + "Customer_can_deposit_money_to_buy_voucher": "Customer can deposit money to buy voucher", + "Allow_balance_transfer_between_customers": "Allow balance transfer between customers", + "Refill_Balance": "Refill Balance", + "Balance_Plans": "Balance Plans", + "Failed_to_create_transaction__": "Failed to create transaction. ", + "Failed_to_check_status_transaction__": "Failed to check status transaction. ", + "Disable_Voucher": "Disable Voucher", + "Reminder_Notification": "Reminder Notification", + "Reminder_Notification_Message": "Reminder Notification Message", + "Reminder_7_days": "Reminder 7 days", + "Reminder_3_days": "Reminder 3 days", + "Reminder_1_day": "Reminder 1 day", + "PPPOE_Password": "PPPOE Password", + "User_Cannot_change_this__only_admin__if_it_Empty_it_will_use_user_password": "User Cannot change this, only admin. if it Empty it will use user password", + "Invoice_Balance_Message": "Invoice Balance Message", + "Invoice_Notification_Payment": "Invoice Notification Payment", + "Balance_Notification_Payment": "Balance Notification Payment", + "Buy_Balance": "Buy Balance", + "Price": "Price", + "Validity": "Validity", + "Disable_auto_renewal_": "Disable auto renewal?", + "Auto_Renewal_On": "Auto Renewal On", + "Enable_auto_renewal_": "Enable auto renewal?", + "Auto_Renewal_Off": "Auto Renewal Off", + "Invoice_Footer": "Invoice Footer", + "Pay_With_Balance": "Pay With Balance", + "Pay_this_with_Balance__your_active_package_will_be_overwrite": "Pay this with Balance? your active package will be overwrite", + "Success_to_buy_package": "Success to buy package", + "Auto_Renewal": "Auto Renewal", + "View": "View", + "Back": "Back", + "Active": "Active", + "Transfer_Balance": "Transfer Balance", + "Send_your_balance_": "Send your balance?", + "Send": "Send", + "Cannot_send_to_yourself": "Cannot send to yourself", + "Sending_balance_success": "Sending balance success", + "From": "From", + "To": "To", + "insufficient_balance": "insufficient balance", + "Send_Balance": "Send Balance", + "Received_Balance": "Received Balance", + "Minimum_Balance_Transfer": "Minimum Balance Transfer", + "Minimum_Transfer": "Minimum Transfer", + "Company_Logo": "Company Logo", + "Expired_IP_Pool": "Expired IP Pool", + "Proxy": "Proxy", + "Proxy_Server": "Proxy Server", + "Proxy_Server_Login": "Proxy Server Login", + "Hotspot_Plan": "Hotspot Plan", + "PPPOE_Plan": "PPPOE Plan", + "UNKNOWN": "UNKNOWN", + "Are_You_Sure_": "Are You Sure?", + "Success_to_send_package": "Success to send package", + "Target_has_active_plan__different_with_current_plant_": "Target has active plan, different with current plant.", + "Recharge_a_friend": "Recharge a friend", + "Buy_for_friend": "Buy for friend", + "Buy_this_for_friend_account_": "Buy this for friend account?", + "Review_package_before_recharge": "Review package before recharge", + "Activate": "Activate", + "Deactivate": "Deactivate", + "Sync": "Sync", + "Failed_to_create_PaymeTrust_transaction_": "Failed to create PaymeTrust transaction.", + "Location": "Location", + "Voucher_Format": "Voucher Format", + "Service_Type": "Service Type", + "Others": "Others", + "PPPoE": "PPPoE", + "Hotspot": "Hotspot", + "Monthly_Registered_Customers": "Monthly Registered Customers", + "Total_Monthly_Sales": "Total Monthly Sales", + "Active_Users": "Active Users" +} \ No newline at end of file diff --git a/system/lan/spanish/common.lan.php b/system/lan/spanish/common.lan.php deleted file mode 100644 index 2c13913a..00000000 --- a/system/lan/spanish/common.lan.php +++ /dev/null @@ -1,404 +0,0 @@ -chmod 664 pages/*.html"; -$_L['Success_Save_Page'] = "Guardando el éxito de la página"; -$_L['Info_Page'] = "A veces es necesario actualizar 3 veces hasta que cambie el contenido"; - -$_L['Dashboard'] = 'Dashboard'; -$_L['Search_Contact'] = 'Buscar clientes...'; -$_L['My_Account'] = 'Mi cuenta'; -$_L['My_Profile'] = 'Mi perfil'; -$_L['Settings'] = 'Ajustes'; -$_L['Edit_Profile'] = 'Editar perfil'; -$_L['Change_Password'] = 'Cambia la contraseña'; -$_L['Logout'] = 'Cerrar sesión'; - -$_L['Services'] = 'Servicios'; -$_L['Bandwidth_Plans'] = 'Planes de velocidad'; -$_L['BW_Name'] = 'Nombre de ancho de banda'; -$_L['New_Bandwidth'] = 'Nuevo ancho de banda'; -$_L['Edit_Bandwidth'] = 'Editar ancho de banda'; -$_L['Add_Bandwidth'] = 'Agregar nuevo ancho de banda'; -$_L['Rate_Download'] = 'Tarifa Descarga'; -$_L['Rate_Upload'] = 'Tasa de subida'; -$_L['BW_already_exist'] = 'El ancho de banda del nombre ya existe'; -$_L['Hotspot_Plans'] = 'Planes de Hotspot'; -$_L['PPPOE_Plans'] = 'Planes PPPOE'; -$_L['Plan_Name'] = 'Nombre'; -$_L['New_Plan'] = 'Nuevo plan de servicio'; -$_L['Add_Plan'] = 'Agregar plan de servicio'; -$_L['Edit_Plan'] = 'Editar plan de servicio'; -$_L['Plan_already_exist'] = 'Nombre El plan ya existe'; -$_L['Plan_Type'] = 'Tipo de plan'; -$_L['Plan_Price'] = 'Precio del plan'; -$_L['Limit_Type'] = 'Tipo de límite'; -$_L['Unlimited'] = 'Ilimitado'; -$_L['Limited'] = 'Limitado'; -$_L['Time_Limit'] = 'Límite de tiempo'; -$_L['Data_Limit'] = 'Límite de datos'; -$_L['Both_Limit'] = 'Ambos Límite'; -$_L['Plan_Validity'] = 'Validez del Plan'; -$_L['Select_BW'] = 'Seleccionar ancho de banda'; -$_L['Shared_Users'] = 'Usuarios compartidos'; - -$_L['user_type_help'] = 'Elija Ventas de tipo de usuario para deshabilitar el acceso a la Configuración'; -$_L['Current_Password'] = 'Contraseña actual'; -$_L['New_Password'] = 'Nueva contraseña'; -$_L['Administrator'] = 'Administrador'; -$_L['Sales'] = 'Ventas'; -$_L['Member'] = 'Usuario'; -$_L['Confirm_New_Password'] = 'Confirmar nueva contraseña'; -$_L['Confirm_Password'] = 'Confirmar contraseña'; -$_L['Full_Name'] = 'Nombre completo'; -$_L['User_Type'] = 'Tipo de usuario'; -$_L['Address'] = 'Dirección'; -$_L['Created_On'] = 'Creado en'; -$_L['Expires_On'] = 'Expira el'; -$_L['Phone_Number'] = 'Número de teléfono'; -$_L['User_Delete_Ok'] = 'Usuario eliminado con éxito'; -$_L['Full_Administrator'] = 'Administrador completo'; -$_L['password_change_help'] = 'Mantener en blanco para no cambiar la contraseña'; -$_L['currency_help'] = 'Manténgalo en blanco si no desea mostrar el código de moneda'; -$_L['Theme_Style'] = 'Estilo de tema'; -$_L['Theme_Color'] = 'Color del tema'; -$_L['Default_Language'] = 'Idioma predeterminado'; - -$_L['Network'] = 'Red'; -$_L['Routers'] = 'Routers'; -$_L['Pool'] = 'IP Pool'; -$_L['New_Router'] = 'Nuevo Router'; -$_L['Add_Router'] = 'Agregar Router'; -$_L['Edit_Router'] = 'Editar Router'; -$_L['Router_Name'] = 'Nombre del Router'; -$_L['IP_Address'] = 'Direccion IP'; -$_L['Router_Secret'] = 'Contraseña Router'; -$_L['Description'] = 'Descripcion'; -$_L['Router_already_exist'] = 'El enrutador IP ya existe'; -$_L['Pool_Name'] = 'Nombre del Pool'; -$_L['Range_IP'] = 'Rango de IP'; -$_L['New_Pool'] = 'Nuevo Pool'; -$_L['Add_Pool'] = 'Agregar Pool'; -$_L['Edit_Pool'] = 'Editar Pool'; -$_L['Pool_already_exist'] = 'Nombre del Pool ya existe'; - -$_L['Prepaid'] = 'Prepago'; -$_L['Prepaid_User'] = 'Usuarios prepago'; -$_L['Prepaid_Vouchers'] = 'Fichas prepago'; -$_L['Refill_Account'] = 'Recargar Ficha'; -$_L['Recharge_Account'] = 'Recargar Cuenta'; -$_L['Select_Account'] = 'Seleccionar cuenta'; -$_L['Service_Plan'] = 'Plan de servicio'; -$_L['Recharge'] = 'Recargar'; -$_L['Method'] = 'Método'; -$_L['account_created_successfully'] = 'Cuenta creada con éxito'; - -$_L['Database_Status'] = 'Estado de la base de datos'; -$_L['Total_Database_Size'] = 'Tamaño total de la base de datos'; -$_L['Download_Database_Backup'] = 'Descargar copia de seguridad de la base de datos'; -$_L['Table_Name'] = 'Nombre de la tabla'; -$_L['Rows'] = 'Filas'; -$_L['Size'] = 'Tamaño'; - -$_L['Customers'] = 'Clientes'; -$_L['Add_Contact'] = 'Añadir nuevo contacto'; -$_L['Edit_Contact'] = 'Editar contacto'; -$_L['List_Contact'] = 'Lista de contactos'; -$_L['Manage_Accounts'] = 'Administrar contacto'; - -$_L['Reports'] = 'Reportes'; -$_L['Daily_Report'] = 'Reportes diarios'; -$_L['Period_Reports'] = 'Informes del período'; -$_L['All_Transactions'] = 'Todas las transacciones'; -$_L['Total_Income'] = 'Ingresos totales'; -$_L['All_Transactions_at_Date'] = 'Todas las transacciones en la fecha'; -$_L['Export_for_Print'] = 'Exportar para imprimir'; -$_L['Print'] = 'Impresión'; -$_L['Export_to_PDF'] = 'Exportar a PDF'; -$_L['Click_Here_to_Print'] = 'Haga clic aquí para imprimir'; -$_L['You_can_use_html_tag'] = 'Puedes usar la etiqueta html'; -$_L['Date_Format'] = 'Formato de fecha'; -$_L['Income_Today'] = 'Ingresos hoy'; -$_L['Income_This_Month'] = 'Ingresos este mes'; -$_L['Users_Active'] = 'Usuarios activos'; -$_L['Total_Users'] = 'Total de usuarios'; -$_L['Users'] = 'Usuarios'; -$_L['Edit_User'] = 'Editar usuario'; -$_L['Last_Login'] = 'Último acceso'; -$_L['Administrator_Users'] = 'Usuarios administradores'; -$_L['Manage_Administrator'] = 'Administrar administrador'; -$_L['Add_New_Administrator'] = 'Agregar nuevo administrador'; -$_L['Localisation'] = 'Localización'; -$_L['Backup_Restore'] = 'Copia de seguridad/restauracion'; - -$_L['General_Settings'] = 'Configuración general'; -$_L['Date'] = 'Fecha'; -$_L['Login_Successful'] = 'Inicio de sesión exitoso'; -$_L['Failed_Login'] = 'Inicio de sesión fallido'; -$_L['Settings_Saved_Successfully'] = 'Configuración guardada con éxito'; -$_L['User_Updated_Successfully'] = 'Usuario actualizado con éxito'; -$_L['User_Expired_Today'] = 'Usuario vencido, hoy'; -$_L['Activity_Log'] = 'Registro de actividades'; -$_L['View_Reports'] = 'Ver los informes'; -$_L['View_All'] = 'Ver todo'; -$_L['Number_of_Vouchers'] = 'Número de Fichas'; -$_L['Length_Code'] = 'Longitud de codigo'; -$_L['Code_Voucher'] = 'Cupón de Ficha'; -$_L['Voucher'] = 'Ficha'; -$_L['Voucher_Hotspot'] = 'Ficha Hotspot'; -$_L['Status_Voucher'] = 'Estatado de Ficha'; -$_L['Add_Voucher'] = 'Agregar Ficha'; -$_L['Voucher_Successfully'] = 'Crear Ficha con éxito'; -$_L['Generate'] = 'Generar'; -$_L['Print_Info'] = 'Imprimir uno al lado del otro, será fácil de cortar'; - -$_L['From_Date'] = 'Partir de la fecha'; -$_L['To_Date'] = 'Hasta la fecha'; -$_L['New_Service'] = 'Nuevo servicio'; -$_L['Type'] = 'Tipo'; -$_L['Finish'] = 'Finalizar'; -$_L['App_Name'] = 'Nombre de la aplicación/ Nombre de la empresa'; -$_L['App_Name_Help_Text'] = 'Este nombre se mostrará en el título'; -$_L['Next'] = 'Siguiente'; -$_L['Last'] = 'Atras'; -$_L['Timezone'] = 'Zona horaria'; -$_L['Decimal_Point'] = 'Punto decimal'; -$_L['Thousands_Separator'] = 'Separador de miles'; -$_L['Currency_Code'] = 'Código de moneda'; - -$_L['Order_Voucher'] = 'Comprobante de pedido'; -$_L['Voucher_Activation'] = 'Activación de Fichas'; -$_L['List_Activated_Voucher'] = 'Lista de Fichas activados'; -$_L['Enter_Voucher_Code'] = 'Ingrese el código de la Ficha aquí'; -$_L['Private_Message'] = 'Mensaje privado'; -$_L['Inbox'] = 'Bandeja de entrada'; -$_L['Outbox'] = 'Bandeja de salida'; -$_L['Compose'] = 'Componer'; -$_L['Send_to'] = 'Enviar a'; -$_L['Title'] = 'Título'; -$_L['Message'] = 'Mensaje'; -$_L['Account_Information'] = 'Información de su cuenta'; -$_L['Welcome_Text_User'] = 'Bienvenido a la página de Miembros del Panel, en esta página puede:'; -$_L['Welcome_Text_Admin'] = 'MIKRO-RED es un punto de acceso de facturación y PPPOE para Mikrotik que utiliza PHP y la API de Mikrotik para comunicarse con el enrutador. Si obtiene más ganancias con esta aplicación, por favor dónenos.
Ver proyecto aqui'; - -//update -$_L['Invalid_Username_or_Password'] = 'Usuario o contraseña invalido'; -$_L['Do_Not_Access'] = 'Usted no tiene permiso para acceder a esta página'; -$_L['Incorrect_Current_Password'] = 'IContraseña actual incorrecta'; -$_L['Password_Changed_Successfully'] = 'Contraseña cambiada con éxito, por favor inicie sesión de nuevo'; -$_L['All_field_is_required'] = 'Todo el campo es requerido'; -$_L['Voucher_Not_Valid'] = 'Ficha no válida'; -$_L['Activation_Vouchers_Successfully'] = 'Fichas de activación con éxito'; -$_L['Data_Not_Found'] = 'Datos no encontrados'; -$_L['Search_by_Username'] = 'Buscar por nombre de usuario'; -$_L['Search_by_Name'] = 'Buscar por nombre'; -$_L['Search_by_Code'] = 'Búsqueda por código de Ficha'; -$_L['Search'] = 'Búsqueda'; -$_L['Select_Customer'] = 'Seleccione un cliente'; -$_L['Select_Routers'] = 'Seleccionar enrutadores'; -$_L['Select_Plans'] = 'Seleccionar planes'; -$_L['Select_Pool'] = 'Seleccionar Pool'; -$_L['Hrs'] = 'Hrs'; -$_L['Mins'] = 'Mins'; -$_L['Days'] = 'Dias'; -$_L['Months'] = 'Meses'; - -$_L['Add_Language'] = 'Agregar idioma'; -$_L['Name_Lang'] = 'Nombre del lenguaje'; -$_L['Folder_Lang'] = 'Nombre de la carpeta'; -$_L['Translator'] = 'Traducir'; -$_L['Lang_already_exist'] = 'El nombre del idioma ya existe'; - -$_L['Payment_Gateway'] = 'Payment Gateway'; -$_L['Community'] = 'Community'; -$_L['1_user_can_be_used_for_many_devices'] = '1 user can be used for many devices?'; -$_L['Cannot_be_change_after_saved'] = 'Cannot be change after saved'; - -$_L['Explain_Coverage_of_router'] = 'Jelaskan Cakupan wilayah hotspot'; -$_L['Name_of_Area_that_router_operated'] = 'Nama Lokasi/Wilayah Router beroperasi'; -$_L['Payment_Notification_URL_Recurring_Notification_URL_Pay_Account_Notification_URL'] = 'Payment Notification URL, Recurring Notification URL, Pay Account Notification URL'; -$_L['Finish_Redirect_URL_Unfinish_Redirect_URL_Error_Redirect_URL'] = 'Finish Redirect URL, Unfinish Redirect URL, Error Redirect URL'; -$_L['Status'] = 'Status'; -$_L['Plan_Not_found'] = 'Plan Not found'; -$_L['Failed_to_create_transaction'] = 'Failed to create transaction.'; -$_L['Seller_has_not_yet_setup_Xendit_payment_gateway'] = 'Seller has not yet setup Xendit payment gateway'; -$_L['Admin_has_not_yet_setup_Xendit_payment_gateway_please_tell_admin'] = 'Admin has not yet setup Xendit payment gateway, please tell admin'; -$_L['Buy_this_your_active_package_will_be_overwrite'] = 'Buy this? your active package will be overwrite'; -$_L['You_already_have_unpaid_transaction_cancel_it_or_pay_it'] = 'You already have unpaid transaction, cancel it or pay it.'; -$_L['Transaction_Not_found'] = 'Transaction Not found'; -$_L['Cancel_it'] = 'Cancel it?'; -$_L['expired'] = 'expired'; -$_L['Check_for_Payment'] = 'Check for Payment'; -$_L['Transaction_still_unpaid'] = 'Transaction still unpaid.'; -$_L['Paid_Date'] = 'Paid Date'; -$_L['Transaction_has_been_paid'] = 'Transaction has been paid.'; -$_L['PAID'] = 'PAID'; -$_L['CANCELED'] = 'CANCELED'; -$_L['UNPAID'] = 'UNPAID'; -$_L['PAY_NOW'] = 'PAY NOW'; -$_L['Buy_Hotspot_Plan'] = 'Buy Hotspot Plan'; -$_L['Buy_PPOE_Plan'] = 'Buy PPOE Plan'; -$_L['Package'] = 'Package'; -$_L['Order_Internet_Package'] = 'Order Internet Package'; -$_L['Unknown_Command'] = 'Unknown Command.'; -$_L['Checking_payment'] = 'Checking payment'; -$_L['Create_Transaction_Success'] = 'Create Transaction Success'; -$_L['You_have_unpaid_transaction'] = 'You have unpaid transaction'; -$_L['TripayPayment_Channel'] = 'TripayPayment Channel'; -$_L['Payment_Channel'] = 'Payment Channel'; -$_L['Payment_check_failed'] = 'Payment check failed.'; -$_L['Order_Package'] = 'Order Package'; -$_L['Transactions'] = 'Transactions'; -$_L['Payments'] = 'Payments'; -$_L['History'] = 'History'; -$_L['Order_History'] = 'Order History'; -$_L['Gateway'] = 'Gateway'; -$_L['Date_Done'] = 'Date Done'; -$_L['Unpaid_Order'] = 'Unpaid Order'; -$_L['Payment_Gateway_Not_Found'] = 'Payment Gateway Not Found'; -$_L['Payment_Gateway_saved_successfully'] = 'Payment Gateway saved successfully'; -$_L['ORDER'] = 'ORDER'; -$_L['Package_History'] = 'Package History'; -$_L['Buy_History'] = 'Buy History'; -$_L['Activation_History'] = 'Activation History'; -$_L['Buy_Package'] = 'Buy Package'; -$_L['Email'] = 'Email'; -$_L['Company_Footer'] = 'Company Footer'; -$_L['Will_show_below_user_pages'] = 'Will show below user pages'; -$_L['Request_OTP'] = 'Request OTP'; -$_L['Verification_Code'] = 'Verification Code'; -$_L['SMS_Verification_Code'] = 'SMS Verification Code'; -$_L['Please_enter_your_email_address'] = 'Please enter your email address'; -$_L['Failed_to_create_Paypal_transaction'] = 'Failed to create Paypal transaction.'; -$_L['Plugin'] = 'Plugin'; -$_L['Plugin_Manager'] = 'Plugin Manager'; -$_L['User_Notification'] = 'User Notification'; -$_L['Expired_Notification'] = 'Expired Notification'; -$_L['User_will_get_notification_when_package_expired'] = 'User will get notification when package expired'; -$_L['Expired_Notification_Message'] = 'Expired Notification Message'; -$_L['bnameb_will_be_replaced_with_Customer_Name_bpackageb_will_be_replaced_with_Package_name'] = '[[name]] will be replaced with Customer Name. [[package]] will be replaced with Package name.'; -$_L['Payment_Notification'] = 'Payment Notification'; -$_L['User_will_get_invoice_notification_when_buy_package_or_package_refilled'] = 'User will get invoice notification when buy package or package refilled'; -$_L['Current_IP'] = 'Current IP'; -$_L['Current_MAC'] = 'Current MAC'; -$_L['Login_Status'] = 'Login Status'; -$_L['Login_Request_successfully'] = 'Login Request successfully'; -$_L['Logout_Request_successfully'] = 'Logout Request successfully'; -$_L['Disconnect_Internet'] = 'Disconnect Internet?'; -$_L['Not_Online_Login_now'] = 'Not Online, Login now?'; -$_L['You_are_Online_Logout'] = 'You are Online, Logout?'; -$_L['Connect_to_Internet'] = 'Connect to Internet?'; -$_L['Your_account_not_connected_to_internet'] = 'Your account not connected to internet'; -$_L['Balance'] = 'Balance'; -$_L['Balance_System'] = 'Balance System'; -$_L['Enable_System'] = 'Enable System'; -$_L['Allow_Transfer'] = 'Allow Transfer'; -$_L['Telegram_Notification'] = 'Telegram Notification'; -$_L['SMS_OTP_Registration'] = 'SMS OTP Registration'; -$_L['Whatsapp_Notification'] = 'Whatsapp Notification'; -$_L['Tawkto_Chat_Widget'] = 'Tawk.to Chat Widget'; -$_L['Invoice'] = 'Invoice'; -$_L['Country_Code_Phone'] = 'Country Code Phone'; -$_L['Voucher_activation_menu_will_be_hidden'] = 'Voucher activation menu will be hidden'; -$_L['Customer_can_deposit_money_to_buy_voucher'] = 'Customer can deposit money to buy voucher'; -$_L['Allow_balance_transfer_between_customers'] = 'Allow balance transfer between customers';$_L['Refill_Balance'] = 'Refill Balance'; -$_L['Balance_Plans'] = 'Balance Plans'; - -$_L['Failed_to_create_transaction_'] = 'Failed to create transaction. '; -$_L['Failed_to_check_status_transaction_'] = 'Failed to check status transaction. '; -$_L['Disable_Voucher'] = 'Disable Voucher'; -$_L['Reminder_Notification'] = 'Reminder Notification'; -$_L['Reminder_Notification_Message'] = 'Reminder Notification Message'; -$_L['Reminder_7_days'] = 'Reminder 7 days'; -$_L['Reminder_3_days'] = 'Reminder 3 days'; -$_L['Reminder_1_day'] = 'Reminder 1 day'; -$_L['PPPOE_Password'] = 'PPPOE Password'; -$_L['User_Cannot_change_this_only_admin_if_it_Empty_it_will_use_user_password'] = 'User Cannot change this, only admin. if it Empty it will use user password'; -$_L['Invoice_Balance_Message'] = 'Invoice Balance Message'; -$_L['Invoice_Notification_Payment'] = 'Invoice Notification Payment'; -$_L['Balance_Notification_Payment'] = 'Balance Notification Payment'; -$_L['Buy_Balance'] = 'Buy Balance'; -$_L['Price'] = 'Price'; -$_L['Validity'] = 'Validity'; -$_L['Disable_auto_renewal'] = 'Disable auto renewal?'; -$_L['Auto_Renewal_On'] = 'Auto Renewal On'; -$_L['Enable_auto_renewal'] = 'Enable auto renewal?'; -$_L['Auto_Renewal_Off'] = 'Auto Renewal Off'; -$_L['Invoice_Footer'] = 'Invoice Footer'; -$_L['Pay_With_Balance'] = 'Pay With Balance'; -$_L['Pay_this_with_Balance_your_active_package_will_be_overwrite'] = 'Pay this with Balance? your active package will be overwrite'; -$_L['Success_to_buy_package'] = 'Success to buy package'; -$_L['Auto_Renewal'] = 'Auto Renewal'; -$_L['View'] = 'View'; -$_L['Back'] = 'Back'; -$_L['Active'] = 'Active'; -$_L['Transfer_Balance'] = 'Transfer Balance'; -$_L['Send_your_balance'] = 'Send your balance?'; -$_L['Send'] = 'Send'; -$_L['Cannot_send_to_yourself'] = 'Cannot send to yourself'; -$_L['Sending_balance_success'] = 'Sending balance success'; -$_L['From'] = 'From'; -$_L['To'] = 'To'; -$_L['insufficient_balance'] = 'insufficient balance'; -$_L['Send_Balance'] = 'Send Balance'; -$_L['Received_Balance'] = 'Received Balance'; -$_L['Minimum_Balance_Transfer'] = 'Minimum Balance Transfer'; -$_L['Minimum_Transfer'] = 'Minimum Transfer'; -$_L['Company_Logo'] = 'Company Logo'; -$_L['Expired_IP_Pool'] = 'Expired IP Pool'; -$_L['Proxy'] = 'Proxy'; -$_L['Proxy_Server'] = 'Proxy Server'; -$_L['Proxy_Server_Login'] = 'Proxy Server Login'; -$_L['Hotspot_Plan'] = 'Hotspot Plan'; -$_L['PPPOE_Plan'] = 'PPPOE Plan'; -$_L['UNKNOWN'] = 'UNKNOWN'; -$_L['Are_You_Sure'] = 'Are You Sure?'; -$_L['Success_to_send_package'] = 'Success to send package'; -$_L['Target_has_active_plan_different_with_current_plant'] = 'Target has active plan, different with current plant.'; -$_L['Recharge_a_friend'] = 'Recharge a friend'; -$_L['Buy_for_friend'] = 'Buy for friend'; -$_L['Buy_this_for_friend_account'] = 'Buy this for friend account?'; -$_L['Review_package_before_recharge'] = 'Review package before recharge'; -$_L['Activate'] = 'Activate'; -$_L['Deactivate'] = 'Deactivate'; -$_L['Sync'] = 'Sync'; -$_L['Failed_to_create_PaymeTrust_transaction'] = 'Failed to create PaymeTrust transaction.'; -$_L['Location'] = 'Location'; -$_L['Voucher_Format'] = 'Voucher Format'; \ No newline at end of file diff --git a/system/lan/turkish.json b/system/lan/turkish.json new file mode 100644 index 00000000..7f9357db --- /dev/null +++ b/system/lan/turkish.json @@ -0,0 +1,372 @@ +{ + "Log_in": "Oturum a\u00e7", + "Register": "Kay\u0131t olmak", + "Announcement": "Duyuru", + "Registration_Info": "Kay\u0131t Bilgisi", + "Voucher_not_found__please_buy_voucher_befor_register": "Kupon bulunamad\u0131, l\u00fctfen kay\u0131t olun ve kay\u0131t olun", + "Register_Success__You_can_login_now": "Kay\u0131t Ba\u015far\u0131l\u0131! \u015eimdi giri\u015f yapabilirsiniz ", + "Log_in_to_Member_Panel": "\u00dcye Paneli'ne giri\u015f yap\u0131n", + "Register_as_Member": "\u00dcye olarak kay\u0131t ol", + "Enter_Admin_Area": "Y\u00f6netici Paneli Giri\u015fi", + "PHPNuxBill": "PHPNuxBill", + "Username": "Kullan\u0131c\u0131 ad\u0131", + "Password": "Parola", + "Passwords_does_not_match": "Parolalar e\u015fle\u015fmiyor", + "Account_already_axist": "Hesap zaten aksanl\u0131", + "Manage": "Y\u00f6net", + "Submit": "G\u00f6nder", + "Save_Changes": "De\u011fi\u015fiklikleri Kaydet", + "Cancel": "\u0130ptal etmek", + "Edit": "D\u00fczenle", + "Delete": "Sil", + "Welcome": "Ho\u015fgeldiniz", + "Data_Created_Successfully": "Veriler Ba\u015far\u0131yla Olu\u015fturuldu ", + "Data_Updated_Successfully": "Veriler Ba\u015far\u0131yla G\u00fcncellendi", + "Data_Deleted_Successfully": "Veri Ba\u015far\u0131yla Silindi", + "Dashboard": "Dashboard", + "Search_Customers___": "M\u00fc\u015fteri Ara ...", + "My_Account": "Hesab\u0131m", + "My_Profile": "Benim profilim", + "Settings": "Ayarlar", + "Edit_Profile": "Profili D\u00fczenle", + "Change_Password": "\u015eifre de\u011fi\u015ftir", + "Logout": "\u00c7\u0131k\u0131\u015f Yap", + "Services": "Hizmetler", + "Bandwidth_Plans": "Bant Geni\u015fli\u011fi Planlar\u0131", + "Bandwidth_Name": "Bant Geni\u015fli\u011fi Ad\u0131", + "New_Bandwidth": "Yeni Bant Geni\u015fli\u011fi", + "Edit_Bandwidth": "Bant Geni\u015fli\u011fini D\u00fczenle", + "Add_New_Bandwidth": "Yeni Bant Geni\u015fli\u011fi Ekle", + "Rate_Download": "\u0130ndirme Oran\u0131", + "Rate_Upload": "\u00dccret Y\u00fckleme", + "Name_Bandwidth_Already_Exist": "Bandwidth Ad\u0131 Zaten Var", + "Hotspot_Plans": "Hotspot Planlar\u0131", + "PPPOE_Plans": "PPPOE Planlar\u0131", + "Plan_Name": "Plan Ad\u0131", + "New_Service_Plan": "Yeni Hizmet Plan\u0131", + "Add_Service_Plan": "Hizmet Plan\u0131 Ekle", + "Edit_Service_Plan": "Hizmet Plan\u0131n\u0131 D\u00fczenle", + "Name_Plan_Already_Exist": "Plan\u0131 \u0130smi Zaten Var", + "Plan_Type": "Plan T\u00fcr\u00fc", + "Plan_Price": "Plan Fiyat\u0131", + "Limit_Type": "S\u0131n\u0131r Tipi", + "Unlimited": "S\u0131n\u0131rs\u0131z", + "Limited": "S\u0131n\u0131rl\u0131", + "Time_Limit": "Zaman s\u0131n\u0131r\u0131", + "Data_Limit": "Veri S\u0131n\u0131r\u0131", + "Both_Limit": "Her \u0130ki S\u0131n\u0131r", + "Plan_Validity": "Plan Ge\u00e7erlili\u011fi", + "Select_Bandwidth": "Bant Geni\u015fli\u011fini Se\u00e7", + "Shared_Users": "Payla\u015f\u0131lan Kullan\u0131c\u0131lar", + "Choose_User_Type_Sales_to_disable_access_to_Settings": "Ayarlar'a eri\u015fimi devre d\u0131\u015f\u0131 b\u0131rakmak i\u00e7in Kullan\u0131c\u0131 T\u00fcr\u00fc Sat\u0131\u015flar\u0131n\u0131 Se\u00e7", + "Current_Password": "\u015eimdiki \u015eifre", + "New_Password": "Yeni \u015eifre", + "Administrator": "Y\u00f6netici", + "Sales": "Sat\u0131\u015f", + "Member": "\u00dcye", + "Confirm_New_Password": "Yeni \u015fifreyi onayla", + "Confirm_Password": "\u015eifreyi Onayla", + "Full_Name": "Ad Soyad", + "User_Type": "Kullan\u0131c\u0131 tipi", + "Address": "Adres", + "Created_On": "Olu\u015fturuldu", + "Expires_On": "Tarihinde sona eriyor", + "Phone_Number": "Telefon numaras\u0131", + "User_deleted_Successfully": "Kullan\u0131c\u0131 Ba\u015far\u0131yla Silindi", + "Full_Administrator": "Tam Y\u00f6netici", + "Keep_Blank_to_do_not_change_Password": "\u015eifreyi de\u011fi\u015ftirmemek i\u00e7in bo\u015f tutun", + "Keep_it_blank_if_you_do_not_want_to_show_currency_code": "Para birimi kodunu g\u00f6stermek istemiyorsan\u0131z bo\u015f b\u0131rak\u0131n", + "Theme_Style": "Tema Stili", + "Theme_Color": "Tema Rengi", + "Default_Language": "Varsay\u0131lan dil", + "Network": "A\u011f", + "Routers": "Y\u00f6nlendiriciler", + "IP_Pool": "IP Havuzu", + "New_Router": "Yeni Y\u00f6nlendirici", + "Add_Router": "Router ekle", + "Edit_Router": "Y\u00f6nlendiriciyi D\u00fczenle", + "Router_Name": "Y\u00f6nlendirici Ad\u0131", + "IP_Address": "IP adresi", + "Router_Secret": "Y\u00f6nlendirici S\u0131rr\u0131", + "Description": "A\u00e7\u0131klama", + "IP_Router_Already_Exist": "IP Router Zaten Var", + "Name_Pool": "\u0130sim Havuzu", + "Range_IP": "Aral\u0131k \u0130P", + "New_Pool": "Yeni Havuz", + "Add_Pool": "Havuz ekle", + "Edit_Pool": "Havuzu D\u00fczenle", + "Pool_Name_Already_Exist": "Havuz Ad\u0131 \u200b\u200bZaten Var", + "Refill_Account": "Hesab\u0131 Yenile", + "Recharge_Account": "Hesab\u0131 Yeniden \u015earj Et", + "Select_Account": "Hesap Se\u00e7", + "Service_Plan": "Servis plan\u0131", + "Recharge": "\u015earj", + "Method": "Y\u00f6ntem", + "Account_Created_Successfully": "Hesap ba\u015far\u0131yla olu\u015fturuldu", + "Database_Status": "Veritaban\u0131 Durumu", + "Total_Database_Size": "Toplam Veritaban\u0131 Boyutu", + "Download_Database_Backup": "Veritaban\u0131 Yedekleme \u0130ndir", + "Table_Name": "Tablo ismi", + "Rows": "Sat\u0131r", + "Size": "Boyut", + "Customer": "M\u00fc\u015fteri", + "Add_New_Contact": "Yeni \u0130leti\u015fim Ekle", + "Edit_Contact": "\u0130leti\u015fim D\u00fczenle", + "List_Contact": "Liste \u0130rtibat", + "Manage_Contact": "Ki\u015fiyi Y\u00f6netin", + "Reports": "Raporlar", + "Daily_Reports": "G\u00fcnl\u00fck raporlar", + "Period_Reports": "D\u00f6nem Raporlar\u0131", + "All_Transactions": "T\u00fcm \u0130\u015flemler", + "Total_Income": "Toplam gelir", + "All_Transactions_at_Date": "Tarihte T\u00fcm \u0130\u015flemler", + "Export_for_Print": "Bask\u0131 i\u00e7in \u0130hracat", + "Print": "Bask\u0131", + "Export_to_PDF": "PDF'ye Aktar", + "Click_Here_to_Print": "Yazd\u0131rmak i\u00e7in Buraya T\u0131klay\u0131n", + "You_can_use_html_tag": "Html etiketini kullanabilirsiniz", + "Date_Format": "Tarih format\u0131", + "Income_Today": "Gelir Bug\u00fcn", + "Income_This_Month": "Bu Ay Gelir", + "Users_Active": "Kullan\u0131c\u0131lar Aktif", + "Total_Users": "Toplam Kullan\u0131c\u0131", + "Users": "Kullan\u0131c\u0131lar", + "Edit_User": "Kullan\u0131c\u0131y\u0131 d\u00fczenle", + "Last_Login": "Son giri\u015f", + "Administrator_Users": "Y\u00f6netici Kullan\u0131c\u0131lar\u0131", + "Manage_Administrator": "Y\u00f6netici Y\u00f6net", + "Add_New_Administrator": "Yeni Y\u00f6netici Ekleyin", + "Localisation": "Lokalizasyon", + "Backup_Restore": "Yedekleme \/ Geri", + "General_Settings": "Genel Ayarlar", + "Date": "Tarih", + "Login_Successful": "Giri\u015f ba\u015far\u0131l\u0131", + "Failed_Login": "Ba\u015far\u0131s\u0131z oturum a\u00e7ma", + "Settings_Saved_Successfully": "Ayarlar ba\u015far\u0131yla kaydedildi", + "User_Updated_Successfully": "Kullan\u0131c\u0131 Ba\u015far\u0131yla G\u00fcncellendi", + "User_Expired__Today": "Kullan\u0131c\u0131 S\u00fcresi Doldu, Bug\u00fcn", + "Activity_Log": "Etkinlik G\u00fcnl\u00fc\u011f\u00fc", + "View_Reports": "Raporlar\u0131 G\u00f6r\u00fcnt\u00fcle", + "View_All": "Hepsini g\u00f6r", + "Number_of_Vouchers": "Kuponlar\u0131n Say\u0131s\u0131", + "Length_Code": "Uzunluk Kodu", + "Code_Voucher": "Kod Makbuzu", + "Voucher": "Fi\u015f", + "Hotspot_Voucher": "Hotspot Kuponu", + "Status_Voucher": "Durum Makbuzu", + "Add_Vouchers": "Kupon Ekle", + "Create_Vouchers_Successfully": "Kuponlar\u0131 ba\u015far\u0131yla olu\u015ftur", + "Generate": "Genel", + "Print_side_by_side__it_will_easy_to_cut": "Yanyana yazd\u0131r\u0131rsan\u0131z, kesmesi daha kolay olacakt\u0131r.", + "From_Date": "\u0130tibaren", + "To_Date": "Bug\u00fcne kadar", + "New_Service": "Yeni Servis", + "Type": "T\u00fcr", + "Finish": "Biti\u015f", + "Application_Name__Company_Name": "Uygulama Ad\u0131 \/ \u015eirket Ad\u0131", + "This_Name_will_be_shown_on_the_Title": "Bu \u0130sim Ba\u015fl\u0131kta g\u00f6sterilecek", + "Next": "Sonraki", + "Last": "Son", + "Timezone": "Saat dilimi", + "Decimal_Point": "Ondal\u0131k nokta", + "Thousands_Separator": "Bin Ay\u0131r\u0131c\u0131", + "Currency_Code": "Para Birimi Kodu", + "Order_Voucher": "Sipari\u015f Makbuzu", + "Voucher_Activation": "Kupon Aktivasyonu", + "List_Activated_Voucher": "Aktif Fi\u015f Listesi", + "Enter_voucher_code_here": "Kupon kodunu buraya girin", + "Private_Message": "\u00d6zel mesaj", + "Inbox": "Gelen kutusu", + "Outbox": "Giden", + "Compose": "Olu\u015fturma", + "Send_to": "G\u00f6nderildi", + "Title": "Ba\u015fl\u0131k", + "Message": "Mesaj", + "Your_Account_Information": "Hesap Bilgileriniz", + "Invalid_Username_or_Password": "Ge\u00e7ersiz kullan\u0131c\u0131 ad\u0131 veya \u015fifre", + "You_do_not_have_permission_to_access_this_page": "Bu sayfaya eri\u015fim izniniz yok", + "Incorrect_Current_Password": "Yanl\u0131\u015f Ge\u00e7erli \u015eifre", + "Password_changed_successfully__Please_login_again": "\u015eifre ba\u015far\u0131yla de\u011fi\u015ftirildi, L\u00fctfen tekrar giri\u015f yap\u0131n", + "All_field_is_required": "T\u00fcm alan gerekli", + "Voucher_Not_Valid": "Kupon Ge\u00e7erli De\u011fil", + "Activation_Vouchers_Successfully": "Aktivasyon Kuponlar\u0131 Ba\u015far\u0131yla", + "Data_Not_Found": "Veri bulunamad\u0131", + "Search_by_Username": "Kullan\u0131c\u0131 Ad\u0131na G\u00f6re Ara", + "Search_by_Name": "\u0130sme G\u00f6re Ara", + "Search_by_Code_Voucher": "Kod Makbuzuna G\u00f6re Ara", + "Search": "Arama", + "Select_a_customer": "Bir m\u00fc\u015fteri se\u00e7in", + "Select_Routers": "Router'lar\u0131 Se\u00e7", + "Select_Plans": "Planlar\u0131 Se\u00e7", + "Select_Pool": "Havuz Se\u00e7", + "Hrs": "Saat", + "Mins": "Dk", + "Days": "G\u00fcn", + "Months": "Ay", + "Add_Language": "Dil Ekle", + "Language_Name": "Dil ad\u0131", + "Folder_Name": "Klas\u00f6r ad\u0131", + "Translator": "\u00c7evirmen", + "Language_Name_Already_Exist": "Dil Ad\u0131 Zaten Var", + "Payment_Gateway": "Payment Gateway", + "Community": "Community", + "1_user_can_be_used_for_many_devices_": "1 user can be used for many devices?", + "Cannot_be_change_after_saved": "Cannot be change after saved", + "Explain_Coverage_of_router": "Jelaskan Cakupan wilayah hotspot", + "Name_of_Area_that_router_operated": "Nama Lokasi\/Wilayah Router beroperasi", + "Payment_Notification_URL__Recurring_Notification_URL__Pay_Account_Notification_URL": "Payment Notification URL, Recurring Notification URL, Pay Account Notification URL", + "Finish_Redirect_URL__Unfinish_Redirect_URL__Error_Redirect_URL": "Finish Redirect URL, Unfinish Redirect URL, Error Redirect URL", + "Status": "Status", + "Plan_Not_found": "Plan Not found", + "Failed_to_create_transaction_": "Failed to create transaction.", + "Seller_has_not_yet_setup_Xendit_payment_gateway": "Seller has not yet setup Xendit payment gateway", + "Admin_has_not_yet_setup_Xendit_payment_gateway__please_tell_admin": "Admin has not yet setup Xendit payment gateway, please tell admin", + "Buy_this__your_active_package_will_be_overwrite": "Buy this? your active package will be overwrite", + "You_already_have_unpaid_transaction__cancel_it_or_pay_it_": "You already have unpaid transaction, cancel it or pay it.", + "Transaction_Not_found": "Transaction Not found", + "Cancel_it_": "Cancel it?", + "expired": "expired", + "Check_for_Payment": "Check for Payment", + "Transaction_still_unpaid_": "Transaction still unpaid.", + "Paid_Date": "Paid Date", + "Transaction_has_been_paid_": "Transaction has been paid.", + "PAID": "PAID", + "CANCELED": "CANCELED", + "UNPAID": "UNPAID", + "PAY_NOW": "PAY NOW", + "Buy_Hotspot_Plan": "Buy Hotspot Plan", + "Buy_PPOE_Plan": "Buy PPOE Plan", + "Package": "Package", + "Order_Internet_Package": "Order Internet Package", + "Unknown_Command_": "Unknown Command.", + "Checking_payment": "Checking payment", + "Create_Transaction_Success": "Create Transaction Success", + "You_have_unpaid_transaction": "You have unpaid transaction", + "TripayPayment_Channel": "TripayPayment Channel", + "Payment_Channel": "Payment Channel", + "Payment_check_failed_": "Payment check failed.", + "Order_Package": "Order Package", + "Transactions": "Transactions", + "Payments": "Payments", + "History": "History", + "Order_History": "Order History", + "Gateway": "Gateway", + "Date_Done": "Date Done", + "Unpaid_Order": "Unpaid Order", + "Payment_Gateway_Not_Found": "Payment Gateway Not Found", + "Payment_Gateway_saved_successfully": "Payment Gateway saved successfully", + "ORDER": "ORDER", + "Package_History": "Package History", + "Buy_History": "Buy History", + "Activation_History": "Activation History", + "Buy_Package": "Buy Package", + "Email": "Email", + "Company_Footer": "Company Footer", + "Will_show_below_user_pages": "Will show below user pages", + "Request_OTP": "Request OTP", + "Verification_Code": "Verification Code", + "SMS_Verification_Code": "SMS Verification Code", + "Please_enter_your_email_address": "Please enter your email address", + "Failed_to_create_Paypal_transaction_": "Failed to create Paypal transaction.", + "Plugin": "Plugin", + "Plugin_Manager": "Plugin Manager", + "User_Notification": "User Notification", + "Expired_Notification": "Expired Notification", + "User_will_get_notification_when_package_expired": "User will get notification when package expired", + "Expired_Notification_Message": "Expired Notification Message", + "Payment_Notification": "Payment Notification", + "User_will_get_invoice_notification_when_buy_package_or_package_refilled": "User will get invoice notification when buy package or package refilled", + "Current_IP": "Current IP", + "Current_MAC": "Current MAC", + "Login_Status": "Login Status", + "Login_Request_successfully": "Login Request successfully", + "Logout_Request_successfully": "Logout Request successfully", + "Disconnect_Internet_": "Disconnect Internet?", + "Not_Online__Login_now_": "Not Online, Login now?", + "You_are_Online__Logout_": "You are Online, Logout?", + "Connect_to_Internet_": "Connect to Internet?", + "Your_account_not_connected_to_internet": "Your account not connected to internet", + "Balance": "Balance", + "Balance_System": "Balance System", + "Enable_System": "Enable System", + "Allow_Transfer": "Allow Transfer", + "Telegram_Notification": "Telegram Notification", + "SMS_OTP_Registration": "SMS OTP Registration", + "Whatsapp_Notification": "Whatsapp Notification", + "Tawk_to_Chat_Widget": "Tawk.to Chat Widget", + "Invoice": "Invoice", + "Country_Code_Phone": "Country Code Phone", + "Voucher_activation_menu_will_be_hidden": "Voucher activation menu will be hidden", + "Customer_can_deposit_money_to_buy_voucher": "Customer can deposit money to buy voucher", + "Allow_balance_transfer_between_customers": "Allow balance transfer between customers", + "Failed_to_create_transaction__": "Failed to create transaction. ", + "Failed_to_check_status_transaction__": "Failed to check status transaction. ", + "Disable_Voucher": "Disable Voucher", + "Reminder_Notification": "Reminder Notification", + "Reminder_Notification_Message": "Reminder Notification Message", + "Reminder_7_days": "Reminder 7 days", + "Reminder_3_days": "Reminder 3 days", + "Reminder_1_day": "Reminder 1 day", + "PPPOE_Password": "PPPOE Password", + "User_Cannot_change_this__only_admin__if_it_Empty_it_will_use_user_password": "User Cannot change this, only admin. if it Empty it will use user password", + "Invoice_Balance_Message": "Invoice Balance Message", + "Invoice_Notification_Payment": "Invoice Notification Payment", + "Balance_Notification_Payment": "Balance Notification Payment", + "Balance_Plans": "Balance Plans", + "Buy_Balance": "Buy Balance", + "Price": "Price", + "Validity": "Validity", + "Disable_auto_renewal_": "Disable auto renewal?", + "Auto_Renewal_On": "Auto Renewal On", + "Enable_auto_renewal_": "Enable auto renewal?", + "Auto_Renewal_Off": "Auto Renewal Off", + "Refill_Balance": "Refill Balance", + "Invoice_Footer": "Invoice Footer", + "Pay_With_Balance": "Pay With Balance", + "Pay_this_with_Balance__your_active_package_will_be_overwrite": "Pay this with Balance? your active package will be overwrite", + "Success_to_buy_package": "Success to buy package", + "Auto_Renewal": "Auto Renewal", + "View": "View", + "Back": "Back", + "Active": "Active", + "Transfer_Balance": "Transfer Balance", + "Send_your_balance_": "Send your balance?", + "Send": "Send", + "Cannot_send_to_yourself": "Cannot send to yourself", + "Sending_balance_success": "Sending balance success", + "From": "From", + "To": "To", + "insufficient_balance": "insufficient balance", + "Send_Balance": "Send Balance", + "Received_Balance": "Received Balance", + "Minimum_Balance_Transfer": "Minimum Balance Transfer", + "Minimum_Transfer": "Minimum Transfer", + "Company_Logo": "Company Logo", + "Expired_IP_Pool": "Expired IP Pool", + "Proxy": "Proxy", + "Proxy_Server": "Proxy Server", + "Proxy_Server_Login": "Proxy Server Login", + "Hotspot_Plan": "Hotspot Plan", + "PPPOE_Plan": "PPPOE Plan", + "UNKNOWN": "UNKNOWN", + "Are_You_Sure_": "Are You Sure?", + "Success_to_send_package": "Success to send package", + "Target_has_active_plan__different_with_current_plant_": "Target has active plan, different with current plant.", + "Recharge_a_friend": "Recharge a friend", + "Buy_for_friend": "Buy for friend", + "Buy_this_for_friend_account_": "Buy this for friend account?", + "Review_package_before_recharge": "Review package before recharge", + "Activate": "Activate", + "Deactivate": "Deactivate", + "Sync": "Sync", + "Failed_to_create_PaymeTrust_transaction_": "Failed to create PaymeTrust transaction.", + "Location": "Location", + "Voucher_Format": "Voucher Format", + "Service_Type": "Service Type", + "Others": "Others", + "PPPoE": "PPPoE", + "Hotspot": "Hotspot", + "Monthly_Registered_Customers": "Monthly Registered Customers", + "Total_Monthly_Sales": "Total Monthly Sales", + "Active_Users": "Active Users" +} \ No newline at end of file diff --git a/system/lan/turkish/common.lan.php b/system/lan/turkish/common.lan.php deleted file mode 100755 index d7d5dd59..00000000 --- a/system/lan/turkish/common.lan.php +++ /dev/null @@ -1,381 +0,0 @@ - PHPNuxBill b>, PHP ve Mikrotik API kullanılarak Mikrotik için bir faturalandırma Hotspot ve PPPOE olup, yönlendiriciyle iletişim kurar. Bu uygulamayla daha fazla kazanç elde ederseniz, lütfen bize bağış yapın.
Projeyi buradan izleyin '; -$_L['Invalid_Username_or_Password'] = 'Geçersiz kullanıcı adı veya şifre'; -$_L['Do_Not_Access'] = 'Bu sayfaya erişim izniniz yok'; -$_L['Incorrect_Current_Password'] = 'Yanlış Geçerli Şifre'; -$_L['Password_Changed_Successfully'] = 'Şifre başarıyla değiştirildi, Lütfen tekrar giriş yapın'; -$_L['All_field_is_required'] = 'Tüm alan gerekli'; -$_L['Voucher_Not_Valid'] = 'Kupon Geçerli Değil'; -$_L['Activation_Vouchers_Successfully'] = 'Aktivasyon Kuponları Başarıyla'; -$_L['Data_Not_Found'] = 'Veri bulunamadı'; -$_L['Search_by_Username'] = 'Kullanıcı Adına Göre Ara'; -$_L['Search_by_Name'] = 'İsme Göre Ara'; -$_L['Search_by_Code'] = 'Kod Makbuzuna Göre Ara'; -$_L['Search'] = 'Arama'; -$_L['Select_Customer'] = 'Bir müşteri seçin'; -$_L['Select_Routers'] = 'Router\'ları Seç'; -$_L['Select_Plans'] = 'Planları Seç'; -$_L['Select_Pool'] = 'Havuz Seç'; -$_L['Hrs'] = 'Saat'; -$_L['Mins'] = 'Dk'; -$_L['Days'] = 'Gün'; -$_L['Months'] = 'Ay'; -$_L['Add_Language'] = 'Dil Ekle'; -$_L['Name_Lang'] = 'Dil adı'; -$_L['Folder_Lang'] = 'Klasör adı'; -$_L['Translator'] = 'Çevirmen'; -$_L['Lang_already_exist'] = 'Dil Adı Zaten Var'; - -$_L['Payment_Gateway'] = 'Payment Gateway'; -$_L['Community'] = 'Community'; -$_L['1_user_can_be_used_for_many_devices'] = '1 user can be used for many devices?'; -$_L['Cannot_be_change_after_saved'] = 'Cannot be change after saved'; - -$_L['Explain_Coverage_of_router'] = 'Jelaskan Cakupan wilayah hotspot'; -$_L['Name_of_Area_that_router_operated'] = 'Nama Lokasi/Wilayah Router beroperasi'; -$_L['Payment_Notification_URL_Recurring_Notification_URL_Pay_Account_Notification_URL'] = 'Payment Notification URL, Recurring Notification URL, Pay Account Notification URL'; -$_L['Finish_Redirect_URL_Unfinish_Redirect_URL_Error_Redirect_URL'] = 'Finish Redirect URL, Unfinish Redirect URL, Error Redirect URL'; -$_L['Status'] = 'Status'; -$_L['Plan_Not_found'] = 'Plan Not found'; -$_L['Failed_to_create_transaction'] = 'Failed to create transaction.'; -$_L['Seller_has_not_yet_setup_Xendit_payment_gateway'] = 'Seller has not yet setup Xendit payment gateway'; -$_L['Admin_has_not_yet_setup_Xendit_payment_gateway_please_tell_admin'] = 'Admin has not yet setup Xendit payment gateway, please tell admin'; -$_L['Buy_this_your_active_package_will_be_overwrite'] = 'Buy this? your active package will be overwrite'; -$_L['You_already_have_unpaid_transaction_cancel_it_or_pay_it'] = 'You already have unpaid transaction, cancel it or pay it.'; -$_L['Transaction_Not_found'] = 'Transaction Not found'; -$_L['Cancel_it'] = 'Cancel it?'; -$_L['expired'] = 'expired'; -$_L['Check_for_Payment'] = 'Check for Payment'; -$_L['Transaction_still_unpaid'] = 'Transaction still unpaid.'; -$_L['Paid_Date'] = 'Paid Date'; -$_L['Transaction_has_been_paid'] = 'Transaction has been paid.'; -$_L['PAID'] = 'PAID'; -$_L['CANCELED'] = 'CANCELED'; -$_L['UNPAID'] = 'UNPAID'; -$_L['PAY_NOW'] = 'PAY NOW'; -$_L['Buy_Hotspot_Plan'] = 'Buy Hotspot Plan'; -$_L['Buy_PPOE_Plan'] = 'Buy PPOE Plan'; -$_L['Package'] = 'Package'; -$_L['Order_Internet_Package'] = 'Order Internet Package'; -$_L['Unknown_Command'] = 'Unknown Command.'; -$_L['Checking_payment'] = 'Checking payment'; -$_L['Create_Transaction_Success'] = 'Create Transaction Success'; -$_L['You_have_unpaid_transaction'] = 'You have unpaid transaction'; -$_L['TripayPayment_Channel'] = 'TripayPayment Channel'; -$_L['Payment_Channel'] = 'Payment Channel'; -$_L['Payment_check_failed'] = 'Payment check failed.'; -$_L['Order_Package'] = 'Order Package'; -$_L['Transactions'] = 'Transactions'; -$_L['Payments'] = 'Payments'; -$_L['History'] = 'History'; -$_L['Order_History'] = 'Order History'; -$_L['Gateway'] = 'Gateway'; -$_L['Date_Done'] = 'Date Done'; -$_L['Unpaid_Order'] = 'Unpaid Order'; -$_L['Payment_Gateway_Not_Found'] = 'Payment Gateway Not Found'; -$_L['Payment_Gateway_saved_successfully'] = 'Payment Gateway saved successfully'; -$_L['ORDER'] = 'ORDER'; -$_L['Package_History'] = 'Package History'; -$_L['Buy_History'] = 'Buy History'; -$_L['Activation_History'] = 'Activation History'; -$_L['Buy_Package'] = 'Buy Package'; -$_L['Email'] = 'Email'; -$_L['Company_Footer'] = 'Company Footer'; -$_L['Will_show_below_user_pages'] = 'Will show below user pages'; -$_L['Request_OTP'] = 'Request OTP'; -$_L['Verification_Code'] = 'Verification Code'; -$_L['SMS_Verification_Code'] = 'SMS Verification Code'; -$_L['Please_enter_your_email_address'] = 'Please enter your email address'; -$_L['Failed_to_create_Paypal_transaction'] = 'Failed to create Paypal transaction.'; -$_L['Plugin'] = 'Plugin'; -$_L['Plugin_Manager'] = 'Plugin Manager'; -$_L['User_Notification'] = 'User Notification'; -$_L['Expired_Notification'] = 'Expired Notification'; -$_L['User_will_get_notification_when_package_expired'] = 'User will get notification when package expired'; -$_L['Expired_Notification_Message'] = 'Expired Notification Message'; -$_L['bnameb_will_be_replaced_with_Customer_Name_bpackageb_will_be_replaced_with_Package_name'] = '[[name]] will be replaced with Customer Name. [[package]] will be replaced with Package name.'; -$_L['Payment_Notification'] = 'Payment Notification'; -$_L['User_will_get_invoice_notification_when_buy_package_or_package_refilled'] = 'User will get invoice notification when buy package or package refilled'; -$_L['Current_IP'] = 'Current IP'; -$_L['Current_MAC'] = 'Current MAC'; -$_L['Login_Status'] = 'Login Status'; -$_L['Login_Request_successfully'] = 'Login Request successfully'; -$_L['Logout_Request_successfully'] = 'Logout Request successfully'; -$_L['Disconnect_Internet'] = 'Disconnect Internet?'; -$_L['Not_Online_Login_now'] = 'Not Online, Login now?'; -$_L['You_are_Online_Logout'] = 'You are Online, Logout?'; -$_L['Connect_to_Internet'] = 'Connect to Internet?'; -$_L['Your_account_not_connected_to_internet'] = 'Your account not connected to internet'; -$_L['Balance'] = 'Balance'; -$_L['Balance_System'] = 'Balance System'; -$_L['Enable_System'] = 'Enable System'; -$_L['Allow_Transfer'] = 'Allow Transfer'; -$_L['Telegram_Notification'] = 'Telegram Notification'; -$_L['SMS_OTP_Registration'] = 'SMS OTP Registration'; -$_L['Whatsapp_Notification'] = 'Whatsapp Notification'; -$_L['Tawkto_Chat_Widget'] = 'Tawk.to Chat Widget'; -$_L['Invoice'] = 'Invoice'; -$_L['Country_Code_Phone'] = 'Country Code Phone'; -$_L['Voucher_activation_menu_will_be_hidden'] = 'Voucher activation menu will be hidden'; -$_L['Customer_can_deposit_money_to_buy_voucher'] = 'Customer can deposit money to buy voucher'; -$_L['Allow_balance_transfer_between_customers'] = 'Allow balance transfer between customers'; - -$_L['Failed_to_create_transaction_'] = 'Failed to create transaction. '; -$_L['Failed_to_check_status_transaction_'] = 'Failed to check status transaction. '; -$_L['Disable_Voucher'] = 'Disable Voucher'; -$_L['Reminder_Notification'] = 'Reminder Notification'; -$_L['Reminder_Notification_Message'] = 'Reminder Notification Message'; -$_L['Reminder_7_days'] = 'Reminder 7 days'; -$_L['Reminder_3_days'] = 'Reminder 3 days'; -$_L['Reminder_1_day'] = 'Reminder 1 day'; -$_L['PPPOE_Password'] = 'PPPOE Password'; -$_L['User_Cannot_change_this_only_admin_if_it_Empty_it_will_use_user_password'] = 'User Cannot change this, only admin. if it Empty it will use user password'; -$_L['Invoice_Balance_Message'] = 'Invoice Balance Message'; -$_L['Invoice_Notification_Payment'] = 'Invoice Notification Payment'; -$_L['Balance_Notification_Payment'] = 'Balance Notification Payment'; -$_L['Balance_Plans'] = 'Balance Plans'; -$_L['Buy_Balance'] = 'Buy Balance'; -$_L['Price'] = 'Price'; -$_L['Validity'] = 'Validity'; -$_L['Disable_auto_renewal'] = 'Disable auto renewal?'; -$_L['Auto_Renewal_On'] = 'Auto Renewal On'; -$_L['Enable_auto_renewal'] = 'Enable auto renewal?'; -$_L['Auto_Renewal_Off'] = 'Auto Renewal Off'; -$_L['Refill_Balance'] = 'Refill Balance'; -$_L['Invoice_Footer'] = 'Invoice Footer'; -$_L['Pay_With_Balance'] = 'Pay With Balance'; -$_L['Pay_this_with_Balance_your_active_package_will_be_overwrite'] = 'Pay this with Balance? your active package will be overwrite'; -$_L['Success_to_buy_package'] = 'Success to buy package'; -$_L['Auto_Renewal'] = 'Auto Renewal'; -$_L['View'] = 'View'; -$_L['Back'] = 'Back'; -$_L['Active'] = 'Active'; -$_L['Transfer_Balance'] = 'Transfer Balance'; -$_L['Send_your_balance'] = 'Send your balance?'; -$_L['Send'] = 'Send'; -$_L['Cannot_send_to_yourself'] = 'Cannot send to yourself'; -$_L['Sending_balance_success'] = 'Sending balance success'; -$_L['From'] = 'From'; -$_L['To'] = 'To'; -$_L['insufficient_balance'] = 'insufficient balance'; -$_L['Send_Balance'] = 'Send Balance'; -$_L['Received_Balance'] = 'Received Balance'; -$_L['Minimum_Balance_Transfer'] = 'Minimum Balance Transfer'; -$_L['Minimum_Transfer'] = 'Minimum Transfer'; -$_L['Company_Logo'] = 'Company Logo'; -$_L['Expired_IP_Pool'] = 'Expired IP Pool'; -$_L['Proxy'] = 'Proxy'; -$_L['Proxy_Server'] = 'Proxy Server'; -$_L['Proxy_Server_Login'] = 'Proxy Server Login'; -$_L['Hotspot_Plan'] = 'Hotspot Plan'; -$_L['PPPOE_Plan'] = 'PPPOE Plan'; -$_L['UNKNOWN'] = 'UNKNOWN'; -$_L['Are_You_Sure'] = 'Are You Sure?'; -$_L['Success_to_send_package'] = 'Success to send package'; -$_L['Target_has_active_plan_different_with_current_plant'] = 'Target has active plan, different with current plant.'; -$_L['Recharge_a_friend'] = 'Recharge a friend'; -$_L['Buy_for_friend'] = 'Buy for friend'; -$_L['Buy_this_for_friend_account'] = 'Buy this for friend account?'; -$_L['Review_package_before_recharge'] = 'Review package before recharge'; -$_L['Activate'] = 'Activate'; -$_L['Deactivate'] = 'Deactivate'; -$_L['Sync'] = 'Sync'; -$_L['Failed_to_create_PaymeTrust_transaction'] = 'Failed to create PaymeTrust transaction.'; -$_L['Location'] = 'Location'; -$_L['Voucher_Format'] = 'Voucher Format'; \ No newline at end of file diff --git a/system/lan/turkish/index.html b/system/lan/turkish/index.html deleted file mode 100755 index 97579708..00000000 --- a/system/lan/turkish/index.html +++ /dev/null @@ -1,8 +0,0 @@ - - -403 Forbidden - - -Directory access is forbidden.
- - \ No newline at end of file diff --git a/system/updates.json b/system/updates.json index 86796d35..cb0de143 100644 --- a/system/updates.json +++ b/system/updates.json @@ -6,34 +6,89 @@ "ALTER TABLE `tbl_customers_meta` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;" ], "2023.8.14": [ - "ALTER TABLE `tbl_customers` ADD `pppoe_password` varchar(45) NOT NULL DEFAULT '1' COMMENT 'For PPPOE Login' AFTER `password`;", + "ALTER TABLE `tbl_customers` ADD `pppoe_password` varchar(45) NOT NULL DEFAULT '' COMMENT 'For PPPOE Login' AFTER `password`;", "ALTER TABLE `tbl_plans` CHANGE `type` `type` ENUM('Hotspot','PPPOE','Balance') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;", "ALTER TABLE `tbl_transactions` CHANGE `type` `type` ENUM('Hotspot','PPPOE','Balance') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;", "ALTER TABLE `tbl_customers` ADD `auto_renewal` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'Auto renewall using balance' AFTER `balance`;" ], - "2023.8.23" : [ - "ALTER TABLE `tbl_customers` CHANGE `pppoe_password` `pppoe_password` VARCHAR(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT 'For PPPOE Login';" + "2023.8.23": [ + "ALTER TABLE `tbl_customers` CHANGE `pppoe_password` `pppoe_password` VARCHAR(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT 'For PPPOE Login';" ], - "2023.8.28" : [ + "2023.8.28": [ "ALTER TABLE `tbl_user_recharges` ADD `recharged_time` time NOT NULL DEFAULT '00:00:00' AFTER `recharged_on`;", "ALTER TABLE `tbl_transactions` ADD `recharged_time` time NOT NULL DEFAULT '00:00:00' AFTER `recharged_on`;" ], - "2023.9.5" : [ + "2023.9.5": [ "DROP TABLE `tbl_language`;", "ALTER TABLE `tbl_plans` ADD `pool_expired` varchar(40) NOT NULL DEFAULT '' AFTER `pool`;" ], - "2023.9.27" : [ + "2023.9.27": [ "ALTER TABLE `tbl_plans` CHANGE `type` `type` ENUM('Hotspot','PPPOE','Balance','Radius') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;", "ALTER TABLE `tbl_transactions` CHANGE `type` `type` ENUM('Hotspot','PPPOE','Balance','Radius') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;" ], - "2023.9.28" : [ + "2023.9.28": [ "ALTER TABLE `tbl_plans` CHANGE `type` `type` ENUM('Hotspot','PPPOE','Balance') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;", "ALTER TABLE `tbl_transactions` CHANGE `type` `type` ENUM('Hotspot','PPPOE','Balance') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;" ], - "2023.10.1" : [ + "2023.10.1": [ "ALTER TABLE `tbl_plans` ADD `is_radius` TINYINT(1) NOT NULL DEFAULT '0' COMMENT '1 is radius' AFTER `routers`; " ], - "2023.10.24" : [ + "2023.10.24": [ "ALTER TABLE `nas` ADD `routers` VARCHAR(32) NOT NULL DEFAULT '' AFTER `description`;" + ], + "2023.12.15": [ + "ALTER TABLE `tbl_customers` ADD `service_type` ENUM('Hotspot','PPPoE','Others') DEFAULT 'Others' COMMENT 'For selecting user type' AFTER `balance`;" + ], + "2024.1.11": [ + "ALTER TABLE `tbl_plans` ADD `allow_purchase` ENUM('yes','no') DEFAULT 'yes' COMMENT 'allow to show package in buy package page' AFTER `enabled`;" + ], + "2024.2.7": [ + "ALTER TABLE `tbl_voucher` ADD `generated_by` INT NOT NULL DEFAULT '0' COMMENT 'id admin' AFTER `status`;", + "ALTER TABLE `tbl_users` ADD `root` INT NOT NULL DEFAULT '0' COMMENT 'for sub account' AFTER `id`;" + ], + "2024.2.12": [ + "ALTER TABLE `tbl_users` CHANGE `user_type` `user_type` ENUM('SuperAdmin','Admin','Report','Agent','Sales') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;" + ], + "2024.2.15": [ + "ALTER TABLE `tbl_users` CHANGE `password` `password` VARCHAR(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;", + "ALTER TABLE `tbl_users` ADD `phone` VARCHAR(32) NOT NULL DEFAULT '' AFTER `password`, ADD `email` VARCHAR(128) NOT NULL DEFAULT '' AFTER `phone`, ADD `city` VARCHAR(64) NOT NULL DEFAULT '' COMMENT 'kota' AFTER `email`, ADD `subdistrict` VARCHAR(64) NOT NULL DEFAULT '' COMMENT 'kecamatan' AFTER `city`, ADD `ward` VARCHAR(64) NOT NULL DEFAULT '' COMMENT 'kelurahan' AFTER `subdistrict`;" + ], + "2024.2.16": [ + "ALTER TABLE `tbl_customers` ADD `created_by` INT NOT NULL DEFAULT '0' AFTER `auto_renewal`;" + ], + "2024.2.19": [ + "CREATE TABLE `tbl_customers_fields` (`id` INT PRIMARY KEY AUTO_INCREMENT, `customer_id` INT NOT NULL, `field_name` VARCHAR(255) NOT NULL, `field_value` VARCHAR(255) NOT NULL, FOREIGN KEY (customer_id) REFERENCES tbl_customers(id));" + ], + "2024.2.20" : [ + "ALTER TABLE `tbl_plans` ADD `list_expired` VARCHAR(32) NOT NULL DEFAULT '' COMMENT 'address list' AFTER `pool_expired`;", + "ALTER TABLE `tbl_bandwidth` ADD `burst` VARCHAR(128) NOT NULL DEFAULT '' AFTER `rate_up_unit`;" + ], + "2024.2.20.1" : [ + "DROP TABLE IF EXISTS `tbl_customers_meta`;" + ], + "2024.2.23" : [ + "ALTER TABLE `tbl_transactions` ADD `admin_id` INT NOT NULL DEFAULT '1' AFTER `type`;", + "ALTER TABLE `tbl_user_recharges` ADD `admin_id` INT NOT NULL DEFAULT '1' AFTER `type`;" + ], + "2024.3.3" : [ + "ALTER TABLE `tbl_plans` CHANGE `validity_unit` `validity_unit` ENUM('Mins','Hrs','Days','Months','Period') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;" + ], + "2024.3.12" : [ + "ALTER TABLE `tbl_plans` CHANGE `allow_purchase` `prepaid` ENUM('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'yes' COMMENT 'is prepaid';" + ], + "2024.3.14" : [ + "ALTER TABLE `tbl_transactions` ADD `note` VARCHAR(256) NOT NULL DEFAULT '' COMMENT 'for note' AFTER `type`;" + ], + "2024.3.19" : [ + "ALTER TABLE `tbl_customers` ADD `coordinates` VARCHAR(50) NOT NULL DEFAULT '' COMMENT 'Latitude and Longitude coordinates' AFTER `email`;" + ], + "2024.3.19.1" : [ + "ALTER TABLE `tbl_customers` ADD `account_type` ENUM('Business', 'Personal') DEFAULT 'Personal' COMMENT 'For selecting account type' AFTER `coordinates`;" + ], + "2024.3.19.2" : [ + "ALTER TABLE `tbl_plans` ADD `plan_type` ENUM('Business', 'Personal') DEFAULT 'Personal' COMMENT 'For selecting account type' ;" + ], + "2023.3.20": [ + "ALTER TABLE `tbl_customers` CHANGE `pppoe_password` `pppoe_password` VARCHAR(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT 'For PPPOE Login';" ] } \ No newline at end of file diff --git a/system/vendor/mpdf/mpdf/.github/CONTRIBUTING.md b/system/vendor/mpdf/mpdf/.github/CONTRIBUTING.md deleted file mode 100644 index eef6959a..00000000 --- a/system/vendor/mpdf/mpdf/.github/CONTRIBUTING.md +++ /dev/null @@ -1,53 +0,0 @@ -Contributing -============ - -Issue tracker -------------- - -The Issue tracker serves mainly as a place to report bugs and request new features. -Please do not abuse it as a general questions or troubleshooting location. - -General troubleshooting -------------- - -For these questions please use [Discussions](https://github.com/mpdf/mpdf/discussions). Add your enquiry -to appropriate category and as always, include a reproducible code example when applicable (see code example guidelines below). - -You can also use the [mpdf tag](https://stackoverflow.com/questions/tagged/mpdf) -at [Stack Overflow](https://stackoverflow.com/) -as the StackOverflow user base is more likely to answer you in a timely manner. -When doing so, make sure you comply to StackOverflow question guidelines. - -Bug reports -------------- - -* Bug reports **MUST** contain a small example in php/html that reproduces the bug. -* The code example **MUST** be reproducible by copy&paste assuming composer dependencies are installed. That means: - * No calling unrelated funcions, - * an actual final HTML code has to be present, pasting a template file is not enough, - * if the bug considers import or fonts, example source PDF/TTF/etc files have to be included. -* Failing to provide necessary information or not using the issue template will cause the issue to be closed until required information is provided. -* Please report one feature or one bug per issue. - -Feature requests -------------- - -Feature requests have to be labeled as such and have to include reasoning for the change in question. - - -Pull requests -------------- - -Pull requests should be always based on the default [development](https://github.com/mpdf/mpdf/tree/development) -branch except for backports to older versions. - -Guidelines: - -* Use an aptly named feature branch for the Pull request. -* Only files and lines affecting the scope of the Pull request must be affected. -* Make small, *atomic* commits that keep the smallest possible related code changes together. -* Code must be accompanied by a unit test testing expected behaviour whenever possible. -* To be incorporated, the PR should contain a change in the CHANGELOG.md file describing itself - -When updating a PR, do not create a new one, just `git push --force` to your former feature branch, the PR will -update itself. diff --git a/system/vendor/mpdf/mpdf/.github/FUNDING.yml b/system/vendor/mpdf/mpdf/.github/FUNDING.yml deleted file mode 100644 index 47601376..00000000 --- a/system/vendor/mpdf/mpdf/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -custom: https://www.paypal.me/mpdf diff --git a/system/vendor/mpdf/mpdf/.github/ISSUE_TEMPLATE/01_bug_report.yml b/system/vendor/mpdf/mpdf/.github/ISSUE_TEMPLATE/01_bug_report.yml deleted file mode 100644 index 0ce324aa..00000000 --- a/system/vendor/mpdf/mpdf/.github/ISSUE_TEMPLATE/01_bug_report.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Bug report 🐛 -description: The library does not work as expected -body: - - - type: checkboxes - attributes: - label: Guidelines - description: Please confirm this is a bug report and not general troubleshooting. - options: - - label: I understand that [if I fail to provide all required details, this issue may be closed without review](https://github.com/mpdf/mpdf/blob/development/.github/CONTRIBUTING.md). - required: true - - - type: textarea - attributes: - label: Description of the bug - validations: - required: true - - - type: input - attributes: - label: mPDF version - validations: - required: true - - - type: input - attributes: - label: PHP Version and environment (server type, cli provider etc., enclosing libraries and their respective versions) - validations: - required: true - - - type: textarea - attributes: - label: Reproducible PHP+CSS+HTML snippet suffering by the error - validations: - required: true diff --git a/system/vendor/mpdf/mpdf/.github/ISSUE_TEMPLATE/02_feature_request.yml b/system/vendor/mpdf/mpdf/.github/ISSUE_TEMPLATE/02_feature_request.yml deleted file mode 100644 index 88d9bdca..00000000 --- a/system/vendor/mpdf/mpdf/.github/ISSUE_TEMPLATE/02_feature_request.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: Feature request 🚀 -description: I would like to have a new functionality added -body: - - type: textarea - attributes: - label: Please describe the new functionality as best as you can. - validations: - required: true \ No newline at end of file diff --git a/system/vendor/mpdf/mpdf/.github/ISSUE_TEMPLATE/config.yml b/system/vendor/mpdf/mpdf/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 3c03ea0d..00000000 --- a/system/vendor/mpdf/mpdf/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: General questions and troubleshooting ❓ - url: https://github.com/mpdf/mpdf/discussions - about: You can use Github Discussions for general questions and troubleshooting. Please note that asking at Stack Overflow will probably be more successful. - - name: QA at Stack Overflow ❓ - url: https://stackoverflow.com/questions/tagged/mpdf - about: Ask at Stack Overflow for a greater chance of a quick and correct answer to your questions. Make sure to comply to SO rules, terms and conditions. diff --git a/system/vendor/mpdf/mpdf/.github/SECURITY.md b/system/vendor/mpdf/mpdf/.github/SECURITY.md deleted file mode 100644 index c4f92d31..00000000 --- a/system/vendor/mpdf/mpdf/.github/SECURITY.md +++ /dev/null @@ -1,6 +0,0 @@ -How to disclose potential security issues -============ - -As mPDF does not have a domain or a dedicated contact apart from its Github repository, to prevent -disclosing maintainers' contacts publicly, please create an Issue about the security issue with means to contact you. -We will reach out to you as soon as possible. diff --git a/system/vendor/mpdf/mpdf/.github/workflows/coverage.yml b/system/vendor/mpdf/mpdf/.github/workflows/coverage.yml deleted file mode 100644 index 45980f9d..00000000 --- a/system/vendor/mpdf/mpdf/.github/workflows/coverage.yml +++ /dev/null @@ -1,42 +0,0 @@ -# https://help.github.com/en/categories/automating-your-workflow-with-github-actions - -name: "Code coverage" - -on: - push: - branches: - - "development" - - "coverage" - -jobs: - - coverage: - - name: "Code coverage" - - runs-on: ${{ matrix.operating-system }} - - strategy: - matrix: - php-version: - - "7.4" - - operating-system: [ubuntu-latest] - - steps: - - name: "Checkout" - uses: "actions/checkout@v3" - - - name: "Install PHP" - uses: "shivammathur/setup-php@v2" - with: - coverage: "xdebug" - php-version: "${{ matrix.php-version }}" - extensions: "mbstring, gd, bcmath, bz2" - tools: composer:v2 - - - name: "Install dependencies" - run: "composer install --no-interaction --no-progress" - - - name: "Code coverage" - run: composer coverage diff --git a/system/vendor/mpdf/mpdf/.github/workflows/cs.yml b/system/vendor/mpdf/mpdf/.github/workflows/cs.yml deleted file mode 100644 index 1fdf0aa0..00000000 --- a/system/vendor/mpdf/mpdf/.github/workflows/cs.yml +++ /dev/null @@ -1,43 +0,0 @@ -# https://help.github.com/en/categories/automating-your-workflow-with-github-actions - -name: "Coding standard check" - -on: - pull_request: - push: - branches: - - "development" - - "test" - -jobs: - - cs: - - name: "Coding standard" - - runs-on: ${{ matrix.operating-system }} - - strategy: - matrix: - php-version: - - "7.4" - - operating-system: [ubuntu-latest] - - steps: - - name: "Checkout" - uses: "actions/checkout@v3" - - - name: "Install PHP" - uses: "shivammathur/setup-php@v2" - with: - coverage: "none" - php-version: "${{ matrix.php-version }}" - extensions: "mbstring" - tools: composer:v2 - - - name: "Install dependencies" - run: "composer install --no-interaction --no-progress" - - - name: "CS" - run: composer cs diff --git a/system/vendor/mpdf/mpdf/.github/workflows/tests.yml b/system/vendor/mpdf/mpdf/.github/workflows/tests.yml deleted file mode 100644 index 71d26dc1..00000000 --- a/system/vendor/mpdf/mpdf/.github/workflows/tests.yml +++ /dev/null @@ -1,53 +0,0 @@ -# https://help.github.com/en/categories/automating-your-workflow-with-github-actions - -name: "CI" - -on: - pull_request: - push: - branches: - - "master" - - "development" - - "test" - -jobs: - - tests: - - name: "Tests" - - runs-on: ${{ matrix.operating-system }} - - strategy: - fail-fast: false - matrix: - php-version: - - "5.6" - - "7.0" - - "7.1" - - "7.2" - - "7.3" - - "7.4" - - "8.0" - - "8.1" - - "8.2" - operating-system: [ubuntu-latest, windows-latest] - - steps: - - name: "Checkout" - uses: "actions/checkout@v3" - - - name: "Install PHP" - uses: "shivammathur/setup-php@v2" - with: - coverage: "none" - php-version: "${{ matrix.php-version }}" - extensions: "mbstring, gd, bcmath, bz2" - tools: composer:v2 - ini-values: error_reporting=-1 - - - name: "Install dependencies" - run: "composer install --no-interaction --no-progress" - - - name: "Tests" - run: composer test \ No newline at end of file diff --git a/system/vendor/mpdf/mpdf/.gitignore b/system/vendor/mpdf/mpdf/.gitignore deleted file mode 100644 index 0bfe817f..00000000 --- a/system/vendor/mpdf/mpdf/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -vendor/* -composer.lock diff --git a/system/vendor/mpdf/mpdf/CHANGELOG.md b/system/vendor/mpdf/mpdf/CHANGELOG.md deleted file mode 100644 index 97ae7c20..00000000 --- a/system/vendor/mpdf/mpdf/CHANGELOG.md +++ /dev/null @@ -1,786 +0,0 @@ -mPDF 8.1.x -=========================== - -New features ------------- - -* Service container for internal services -* Set /Lang entry for better accessibility when document language is available (@cuongmits, #1418) -* More verbose helper methods for `Output`: `OutputBinaryData`, `OutputHttpInline`, `OutputHttpDownload`, `OutputFile` (since v8.1.2) -* Set font-size to `auto` in textarea and input in active forms to resize the font-size (@ChrisB9, #1721) -* PHP 8.2 support in mPDF 8.1.3 -* Added support for `psr/log` v3 without dropping v2. (@markdorison, @apotek, @greg-1-anderson, #1857) - -Bugfixes --------- - -* Better exception message about fonts with MarkGlyphSets (Fix for #1408) -* Updated Garuda font with fixed "k" character (Fix for #1440) -* Testing and suppressing PNG file conversion errors -* Prevent hyphenation of urls starting with https and e-mail addresses (@HKandulla, #1634) -* Colorspace restrictor reads mode from Mpdf and works again (Fix for #1094) -* Prevent exception when multiple columns wrap to next page -* Update default `curlUserAgent` configuration variable from Firefox 13 to 108 - -mPDF 8.0.x -=========================== - -* Ability to customize User-Agent header in the HTTP requests sent by cURL (@samuelecat, #1229) -* Add Page Number Myanmar Language Support (@MinKyawNyunt, #1201) -* new `Mpdf\Exception\FontException` extending base `MpdfException` was introduced and is thrown on Font manipulation -* A bit cleaner exception messages for font-related errors -* Use atomic cache writing. (@PATROMO, #1186) -* Fix: "Undefined index: group" when calling MultiCell when using font without OTL data (@Kekos, #1213, #941) -* Add C128RAW barcode type to create any barcode (ex: subtype change in middle of barcode) (#1124) -* Add proxy support to curl -* Fixed date and time format in the informations dictionary (#1083, @peterdevpl) -* Checking allowed stream wrappers in CssManager -* PHP 7.4 support (until final 7.4 release with composer --ignore-platform-reqs) -* Improve debugging of remote content issues (@ribeirobreno) -* Added `exposeVersion` configuration variable allowing to hide mPDF version from Producer tag and HTTP headers -* Added the check for JPEG SOF header 0xFF 0xC1 (extended) (@jamiejones85) -* Allows setting `none` as zoom mode in `SetDisplayMode` method, so that OpenAction is not written (#602) -* Allowed image stream whitelist to be customised (#1005, thanks @jakejackson) -* Fixed parsing of top-left-bottom-right CSS rules with !important (#1009) -* Fixed skipping ordered list numbering with page-break-inside: avoid (#339) -* Compound classes selector support, like `.one.two` or `div.message.special` (#538, @peterdevpl) -* Fixed CMYK colors in text-shadow (#1115, @lexilya) -* Skip non supported wrappers when resolving paths (#1204, @MarkVaughn) -* Fixed SVGs using a style tag, has styles ignored ( Requires ext-dom ) (#450, @antman3351) -* Allows `{nb}`, `{nbpg}`, `{PAGENO}` and `{DATE ...}` substitution in body (#172 and #267, @Dasc3er) -* Cache now creates a dedicated subdirectory `/mpdf`. -* It is possible to disable automatic cache cleanup with `cacheCleanupInterval` config variable -* PHP 8.0 is supported since 8.0.10 (#1263) -* Fix: First header of named page is added twice (@antman3351, #1320) -* Added `curlExecutionTimeout` configuration variable allowing to `CURLOPT_TIMEOUT` when fetching remote content -* Fix: Not all combinations were generated for more than three compound classes (@JeppeKnockaert) -* Added `quiet_zone_left` and `quiet_zone_right` to barcodes which support quiet zones in order to customize its width -* Updated `CssManager` to use the `RemoteContentFetcher` class instead of `curl` natively (@greew) -* Added optional `continue2pages` parameter to `SetDocTemplate` method, allowing a template to continue the last 2 pages alternately (@bmg-ruudv) -* Ensure that all digits of a string are hexadecimal before decoding in ColorConverter (@derklaro) -* Fix: Using mpdf in phar package leads to weird errors (#1504, @sandreas) -* WEBP images support (#1525) - - -mPDF 8.0.0 -=========================== - -### 15/03/2019 - -* Updated FPDI dependency to version 2 (thanks a lot, @JanSlabon) - - removed `SetImportUse` method - - case of `ImportPage` method changed to `importPage` - - similarly, case of `setSourceFile` and `useTemplate` was changed to a lowercase first letter. - - signature of `importPage` changed - - returned value of `useTemplate` changed -* Moved QRCode generating code portions to external package _mpdf/qrcode_ - - This reduced package size considerably (ca 6MB) -* Fraction sizes without leading zeros allowed for font sizes (#973, thanks @peterdevpl) -* WriteHTML is now strict about used `$mode` parameter (#915, thanks, @tomtomau) -* Fixed regression in nested tables (#860, thanks, @machour) -* Scientific notation handling in CSS font sizes (#753, thanks, @peterdevpl) - - -mPDF 7.1.x -=========================== - -* PHAR security issue fixed (thanks, @jakejackson) -* Font temporary data saved as JSON instead of generating PHP files (thanks, @jakejackson) -* cURL handling enhancements (thanks, @jakejackson) -* SVG parsing fixes (thanks, @achretien) -* Write PDF content with *Writer service classes -* PHP 7.3 is supported -* Added myclabs/deepcopy dependency, fixed TOC page numbering (thanks, @jakejackson) -* Custom color for QR codes -* Added support for orientation config key -* Code and tests cleanups and enhancements - - PHPUnit dedicated assertions (thanks, @carusogabriel) - - WriteHTML part constants (thanks, @tomtomau) - - Various notice fixes (kudos to all respective authors) - -mPDF 7.0.x -=========================== - -* Allow passing file content or file path to `SetAssociatedFiles` (#558) -* Allowed ^1.4 and ^2.0 of paragon/random_compat to allow wider usage -* Fix of undefined _getImage function (#539) -* Code cleanup -* Better writable rights for temp dir validation (#534) -* Fix displaying dollar character in footer with core fonts (#520) -* Fixed missed code2utf call (#531) -* Refactored and cleaned-up classes and subnamespaces - - -mPDF 7.0.0 -=========================== - -### 19/10/2017 - -Backward incompatible changes ------------------------------ - -- PHP `^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0` is required. -- Entire project moved under `Mpdf` namespace - - Practically all classes renamed to use `PascalCase` and named to be more verbose - - Changed directory structure to comply to `PSR-4` -- Removed explicit require calls, replaced with Composer autoloading -- Removed configuration files - - All configuration now done via `__construct` parameter (see below) -- Changed `\Mpdf\Mpdf` constructor signature - - Class now accepts only single array `$config` parameter - - Array keys are former `config.php` and `config_fonts.php` properties - - Additionally, former constructor parameters can be used as keys -- `tempDir` directory now must be writable, otherwise an exception is thrown -- ICC profile is loaded as entire path to file (to prevent a need to write inside vendor directory) -- Moved examples to separate repository -- Moved `TextVars` constants to separate class -- Moved border constants to separate class -- `scriptToLang` and `langToFont` in separate interfaced class methods -- Will now throw an exception when `mbstring.func_overload` is set -- Moved Glyph operator `GF_` constants in separate `\Mpdf\Fonts\GlyphOperator` class -- All methods in Barcode class renamed to camelCase including public `dec_to_hex` and `hex_to_dec` -- Decimal conversion methods (to roman, cjk, etc.) were moved to classes in `\Mpdf\Conversion` namespace -- Images in PHP variables (``) were moved from direct Mpdf properties to `Mpdf::$imageVars` public property array -- Removed global `_SVG_AUTOFONT` and `_SVG_CLASSES` constants in favor of `svgAutoFont` and `svgClasses` configuration keys -- Moved global `_testIntersect`, `_testIntersectCircle` and `calc_bezier_bbox` fucntions inside `Svg` class as private methods. - - Changed names to camelCase without underscores and to `computeBezierBoundingBox` -- Security: Embedded files via `
` custom tag must be explicitly allowed via `allowAnnotationFiles` configuration key -- `fontDir` property of Mpdf class is private and must be accessed via configuration variable with array of paths or `AddFontDirectory` method -- QR code ` ` element now treats `\r\n` and `\n` as actual line breaks -- cURL is prefered over socket when downloading images. -- Removed globally defined functions from `functions.php` in favor of `\Mpdf\Utils` classes `PdfDate` and `UtfString`. - - Unused global functions were removed entirely. - - -Removed features ----------------- - -- Progressbar support -- JpGraph support -- `error_reporting` changes -- Timezone changes -- `compress.php` utility -- `_MPDF_PATH` and `_MPDF_URI` constants -- `_MPDF_TEMP_PATH` constant in favor of `tempDir` configuration variable -- `_MPDF_TTFONTDATAPATH` in favor of `tempDir` configuration variable -- `_MPDFK` constant in favor of `\Mpdf\Mpdf::SCALE` class constant -- `FONT_DESCRIPTOR` constant in favor of `fontDescriptor` configuration variable -- `_MPDF_SYSTEM_TTFONTS` constant in favor of `fontDir` configuration variable with array of paths or `AddFontDirectory` method -- HTML output of error messages and debugs -- Formerly deprecated methods - - -Fixes and code enhancements ----------------------------- - -- Fixed joining arab letters -- Fixed redeclared `unicode_hex` function -- Converted arrays to short syntax -- Refactored and tested color handling with potential conversion fixes in `hsl*()` color definitions -- Refactored `Barcode` class with separate class in `Mpdf\Barcode` namespace for each barcode type -- Fixed colsum calculation for different locales (by @flow-control in #491) -- Image type guessing from content separated to its own class - - -New features ------------- - -- Refactored caching (custom `Cache` and `FontCache` classes) -- Implemented `Psr\Log\LoggerAware` interface - - All debug and additional messages are now sent to the logger - - Messages can be filtered based on `\Mpdf\Log\Context` class constants -- `FontFileFinder` class allowing to specify multiple paths to search for fonts -- `MpdfException` now extends `ErrorException` to allow specifying place in code where error occured -- Generating font metrics moved to separate class -- Added `\Mpdf\Output\Destination` class with verbose output destination constants -- Availability to set custom default CSS file -- Availability to set custom hyphenation dictionary file -- Refactored code portions to new "separate" classes: - - `Mpdf\Color\*` classes - - `ColorConvertor` - - `ColorModeConvertor` - - `ColorSpaceRestrictor` - - `Mpdf\SizeConvertor` - - `Mpdf\Hyphenator` - - `Mpdf\Image\ImageProcessor` - - `Mpdf\Image\ImageTypeGuesser` - - `Mpdf\Conversion\*` classes -- Custom watermark angle with `watermarkAngle` configuration variable -- Custom document properties (idea by @zarubik in #142) -- PDF/A-3 associated files + additional xmp rdf (by @chab in #130) -- Additional font directories can be added via `addFontDir` method -- Introduced `cleanup` method which restores original `mb_` encoding settings (see #421) -- QR code ` ` element now treats `\r\n` and `\n` as actual line breaks -- Customizable following of 3xx HTTP redirects, validation of SSL certificates, cURL timeout. - - `curlFollowLocation` - - `curlAllowUnsafeSslRequests` - - `curlTimeout` -- QR codes can be generated without a border using `disableborder="1"` HTML attribute in ` ` tag - - -Git repository enhancements ---------------------------- - -- Added contributing guidelines -- Added Issue template - - -mPDF 6.1.0 -=========================== - -### 26/04/2016 - -- Composer updates - - First release officially supporting Composer - - Updated license in composer.json - - Chmod 777 on dirs `ttfontdata`, `tmp`, `graph_cache` after composer install -- Requiring PHP 5.4.0+ with Composer -- Code style - - Reformated (almost) all PHP files to keep basic code style - - Removed trailing whitespaces - - Converted all txt, php, css, and htm files to utf8 - - Removed closing PHP tags - - Change all else if calls to elseif -- Added base PHPUnit tests -- Added Travis CI integration with unit tests -- Changed all `mPDF::Error` and `die()` calls to throwing `MpdfException` -- PDF Import changes - - FPDI updated to 1.6.0 to fix incompatible licenses - - FPDI loaded from Composer or manually only -- Removed iccprofiles/CMYK directory -- Renamed example files: change spaces to underscores to make scripting easier -- Fixed `LEDGER` and `TABLOID` paper sizes -- Implemented static cache for mpdf function `ConvertColor`. -- Removed PHP4 style constructors -- Work with HTML tags separated to `Tag` class -- Fixed most Strict standards PHP errors -- Add config constant so we can define custom font data -- HTML - - fax & tel support in href attribute - - Check $html in `$mpdf->WriteHTML()` to see if it is an integer, float, string, boolean or - a class with `__toString()` and cast to a string, otherwise throw exception. -- PHP 7 - - Fix getting image from internal variable in PHP7 (4dcc2b4) - - Fix PHP7 Fatal error: `'break' not in the 'loop' or 'switch' context` (002bb8a) -- Fixed output file name for `D` and `I` output modes (issue #105, f297546) - -mPDF 6.0 -=========================== - -### 20/12/2014 - -New features / Improvements ---------------------------- -- Support for OpenTypeLayout tables / features for complex scripts and Advances Typography. -- Improved bidirectional text handling. -- Improved line-breaking, including for complex scripts e.g. Lao, Thai and Khmer. -- Updated page-breaking options. -- Automatic language mark-up and font selection using autoScriptToLang and autoLangToFont. -- Kashida for text-justification in arabic scripts. -- Index collation for non-ASCII characters. -- Index mark-up allowing control over layout using CSS. -- `{PAGENO}` and `{nbpg}` can use any of the number types as in list-style e.g. set in ` ` using pagenumstyle. -- CSS support for lists. -- Default stylesheet - `mpdf.css` - updated. - -Added CSS support ------------------ -- lang attribute selector e.g. :lang(fr), [lang="fr"] -- font-variant-position -- font-variant-caps -- font-variant-ligatures -- font-variant-numeric -- font-variant-alternates - Only [normal | historical-forms] supported (i.e. most are NOT supported) -- font-variant - as above, and except for: east-asian-variant-values, east-asian-width-values, ruby -- font-language-override -- font-feature-settings -- text-outline is now supported on TD/TH tags -- hebrew, khmer, cambodian, lao, and cjk-decimal recognised as values for "list-style-type" in numbered lists and page numbering. -- list-style-image and list-style-position -- transform (on ` ` only) -- text-decoration:overline -- image-rendering -- unicode-bidi (also `` tag) -- vertical-align can use lengths e.g. 0.5em -- line-stacking-strategy -- line-stacking-shift - -mPDF 5.7.4 -================ - -### 15/12/2014 - -Bug Fixes & Minor Additions ---------------------------- -- SVG images now support embedded images e.g. `
` -- SVG images now supports ` ` element e.g. ` `, and also ` ` -- SVG images now can use Autofont (see top of `classes/svg.php` file) -- SVG images now has limited support for CSS classes (see top of `classes/svg.php` file) -- SVG images - style inheritance improved -- SVG images - improved handling of comments and other extraneous code -- SVG images - fix to ensure opacity is reset before another element -- SVG images - font-size not resetting after a ` ` element -- SVG radial gradients bug (if the focus [fx,fy] lies outside circle defined by [cx,cy] and r) cf. pservers-grad-15-b.svg -- SVG allows spaces in attribute definitions in `