diff --git a/system/boot.php b/system/boot.php index 1af47281..bd33ed8f 100644 --- a/system/boot.php +++ b/system/boot.php @@ -179,6 +179,27 @@ function _log($description, $type = '', $userid = '0') $d->save(); } + +function sendTelegram($txt) +{ + global $_c; + if(!empty($_c['telegram_bot']) && !empty($_c['telegram_target_id'])){ + file_get_contents('https://api.telegram.org/bot'.$_c['telegram_bot'].'/sendMessage?chat_id='.$_c['telegram_target_id'].'&text=' . urlencode($txt)); + } +} + + +function sendSMS($phone, $txt) +{ + global $_c; + if(!empty($_c['sms_url'])){ + $smsurl = str_replace('[number]',urlencode($phone),$_c['sms_url']); + $smsurl = str_replace('[text]',urlencode($txt),$smsurl); + file_get_contents($smsurl); + } +} + + function time_elapsed_string($datetime, $full = false) { $now = new DateTime; diff --git a/system/controllers/customers.php b/system/controllers/customers.php index e27f9eff..f8d317d7 100644 --- a/system/controllers/customers.php +++ b/system/controllers/customers.php @@ -1,14 +1,15 @@ assign('_title', $_L['Customers'].' - '. $config['CompanyName']); +$ui->assign('_title', $_L['Customers'] . ' - ' . $config['CompanyName']); $ui->assign('_system_menu', 'customers'); $action = $routes['1']; @@ -16,26 +17,27 @@ $admin = Admin::_info(); $ui->assign('_admin', $admin); use PEAR2\Net\RouterOS; + require_once 'system/autoload/PEAR2/Autoload.php'; -if($admin['user_type'] != 'Admin' AND $admin['user_type'] != 'Sales'){ - r2(U."dashboard",'e',$_L['Do_Not_Access']); +if ($admin['user_type'] != 'Admin' and $admin['user_type'] != 'Sales') { + r2(U . "dashboard", 'e', $_L['Do_Not_Access']); } switch ($action) { case 'list': $ui->assign('xfooter', ''); - $username = _post('username'); - if ($username != ''){ - $paginator = Paginator::bootstrap('tbl_customers','username','%'.$username.'%'); - $d = ORM::for_table('tbl_customers')->where_like('username','%'.$username.'%')->offset($paginator['startpoint'])->limit($paginator['limit'])->order_by_desc('id')->find_many(); - }else{ - $paginator = Paginator::bootstrap('tbl_customers'); - $d = ORM::for_table('tbl_customers')->offset($paginator['startpoint'])->limit($paginator['limit'])->order_by_desc('id')->find_many(); - } + $username = _post('username'); + if ($username != '') { + $paginator = Paginator::bootstrap('tbl_customers', 'username', '%' . $username . '%'); + $d = ORM::for_table('tbl_customers')->where_like('username', '%' . $username . '%')->offset($paginator['startpoint'])->limit($paginator['limit'])->order_by_desc('id')->find_many(); + } else { + $paginator = Paginator::bootstrap('tbl_customers'); + $d = ORM::for_table('tbl_customers')->offset($paginator['startpoint'])->limit($paginator['limit'])->order_by_desc('id')->find_many(); + } - $ui->assign('d',$d); - $ui->assign('paginator',$paginator); + $ui->assign('d', $d); + $ui->assign('paginator', $paginator); $ui->display('customers.tpl'); break; @@ -46,10 +48,10 @@ switch ($action) { case 'edit': $id = $routes['2']; $d = ORM::for_table('tbl_customers')->find_one($id); - if($d){ - $ui->assign('d',$d); + if ($d) { + $ui->assign('d', $d); $ui->display('customers-edit.tpl'); - }else{ + } else { r2(U . 'customers/list', 'e', $_L['Account_Not_Found']); } break; @@ -58,77 +60,80 @@ switch ($action) { $id = $routes['2']; $d = ORM::for_table('tbl_customers')->find_one($id); - if($d){ - $c = ORM::for_table('tbl_user_recharges')->where('username',$d['username'])->find_one(); - if ($c){ - $mikrotik = Router::_info($c['routers']); - if($c['type'] == 'Hotspot'){ - try { - $iport = explode(":",$mikrotik['ip_address']); - $client = new RouterOS\Client($iport[0], $mikrotik['username'], $mikrotik['password'],($iport[1])?$iport[1]:null); - } catch (Exception $e) { - die("Unable to connect to the router.
".$e->getMessage()); - } - $printRequest = new RouterOS\Request('/ip/hotspot/user/print'); - $printRequest->setArgument('.proplist', '.id'); - $printRequest->setQuery(RouterOS\Query::where('name', $c['username'])); - $id = $client->sendSync($printRequest)->getProperty('.id'); + if ($d) { + $c = ORM::for_table('tbl_user_recharges')->where('username', $d['username'])->find_one(); + if ($c) { + $mikrotik = Router::_info($c['routers']); + if ($c['type'] == 'Hotspot') { + try { + $iport = explode(":", $mikrotik['ip_address']); + $client = new RouterOS\Client($iport[0], $mikrotik['username'], $mikrotik['password'], ($iport[1]) ? $iport[1] : null); + } catch (Exception $e) { + die("Unable to connect to the router.
" . $e->getMessage()); + } + $printRequest = new RouterOS\Request('/ip/hotspot/user/print'); + $printRequest->setArgument('.proplist', '.id'); + $printRequest->setQuery(RouterOS\Query::where('name', $c['username'])); + $id = $client->sendSync($printRequest)->getProperty('.id'); - $setRequest = new RouterOS\Request('/ip/hotspot/user/remove'); - $setRequest->setArgument('numbers', $id); - $client->sendSync($setRequest); + $setRequest = new RouterOS\Request('/ip/hotspot/user/remove'); + $setRequest->setArgument('numbers', $id); + $client->sendSync($setRequest); - //remove hotspot active - $onlineRequest = new RouterOS\Request('/ip/hotspot/active/print'); - $onlineRequest->setArgument('.proplist', '.id'); - $onlineRequest->setQuery(RouterOS\Query::where('user', $c['username'])); - $id = $client->sendSync($onlineRequest)->getProperty('.id'); + //remove hotspot active + $onlineRequest = new RouterOS\Request('/ip/hotspot/active/print'); + $onlineRequest->setArgument('.proplist', '.id'); + $onlineRequest->setQuery(RouterOS\Query::where('user', $c['username'])); + $id = $client->sendSync($onlineRequest)->getProperty('.id'); - $removeRequest = new RouterOS\Request('/ip/hotspot/active/remove'); - $removeRequest->setArgument('numbers', $id); - $client->sendSync($removeRequest); + $removeRequest = new RouterOS\Request('/ip/hotspot/active/remove'); + $removeRequest->setArgument('numbers', $id); + $client->sendSync($removeRequest); + } else { - }else{ + try { + $iport = explode(":", $mikrotik['ip_address']); + $client = new RouterOS\Client($iport[0], $mikrotik['username'], $mikrotik['password'], ($iport[1]) ? $iport[1] : null); + } catch (Exception $e) { + die("Unable to connect to the router.
" . $e->getMessage()); + } + $printRequest = new RouterOS\Request('/ppp/secret/print'); + $printRequest->setArgument('.proplist', '.id'); + $printRequest->setQuery(RouterOS\Query::where('name', $c['username'])); + $id = $client->sendSync($printRequest)->getProperty('.id'); - try { - $iport = explode(":",$mikrotik['ip_address']); - $client = new RouterOS\Client($iport[0], $mikrotik['username'], $mikrotik['password'],($iport[1])?$iport[1]:null); - } catch (Exception $e) { - die("Unable to connect to the router.
".$e->getMessage()); - } - $printRequest = new RouterOS\Request('/ppp/secret/print'); - $printRequest->setArgument('.proplist', '.id'); - $printRequest->setQuery(RouterOS\Query::where('name', $c['username'])); - $id = $client->sendSync($printRequest)->getProperty('.id'); + $setRequest = new RouterOS\Request('/ppp/secret/remove'); + $setRequest->setArgument('numbers', $id); + $client->sendSync($setRequest); - $setRequest = new RouterOS\Request('/ppp/secret/remove'); - $setRequest->setArgument('numbers', $id); - $client->sendSync($setRequest); + //remove pppoe active + $onlineRequest = new RouterOS\Request('/ppp/active/print'); + $onlineRequest->setArgument('.proplist', '.id'); + $onlineRequest->setQuery(RouterOS\Query::where('name', $c['username'])); + $id = $client->sendSync($onlineRequest)->getProperty('.id'); - //remove pppoe active - $onlineRequest = new RouterOS\Request('/ppp/active/print'); - $onlineRequest->setArgument('.proplist', '.id'); - $onlineRequest->setQuery(RouterOS\Query::where('name', $c['username'])); - $id = $client->sendSync($onlineRequest)->getProperty('.id'); - - $removeRequest = new RouterOS\Request('/ppp/active/remove'); - $removeRequest->setArgument('numbers', $id); - $client->sendSync($removeRequest); - } - try{ - $d->delete(); - }catch(Exception $e){} - try{ - $c->delete(); - }catch(Exception $e){} - }else{ - try{ - $d->delete(); - }catch(Exception $e){} - try{ - $c->delete(); - }catch(Exception $e){} - } + $removeRequest = new RouterOS\Request('/ppp/active/remove'); + $removeRequest->setArgument('numbers', $id); + $client->sendSync($removeRequest); + } + try { + $d->delete(); + } catch (Exception $e) { + } + try { + $c->delete(); + } catch (Exception $e) { + } + } else { + try { + $d->delete(); + } catch (Exception $e) { + } + try { + $c->delete(); + } catch (Exception $e) { + } + } r2(U . 'customers/list', 's', $_L['User_Delete_Ok']); } @@ -140,38 +145,37 @@ switch ($action) { $password = _post('password'); $cpassword = _post('cpassword'); $address = _post('address'); - $phonenumber = _post('phonenumber'); + $phonenumber = _post('phonenumber'); $msg = ''; - if(Validator::Length($username,35,2) == false){ - $msg .= 'Username should be between 3 to 55 characters'. '
'; + if (Validator::Length($username, 35, 2) == false) { + $msg .= 'Username should be between 3 to 55 characters' . '
'; } - if(Validator::Length($fullname,36,2) == false){ - $msg .= 'Full Name should be between 3 to 25 characters'. '
'; + if (Validator::Length($fullname, 36, 2) == false) { + $msg .= 'Full Name should be between 3 to 25 characters' . '
'; } - if(!Validator::Length($password,35,2)){ - $msg .= 'Password should be between 3 to 35 characters'. '
'; - + if (!Validator::Length($password, 35, 2)) { + $msg .= 'Password should be between 3 to 35 characters' . '
'; } - if($password != $cpassword){ - $msg .= 'Passwords does not match'. '
'; + if ($password != $cpassword) { + $msg .= 'Passwords does not match' . '
'; } - $d = ORM::for_table('tbl_customers')->where('username',$username)->find_one(); - if($d){ - $msg .= $_L['account_already_exist']. '
'; + $d = ORM::for_table('tbl_customers')->where('username', $username)->find_one(); + if ($d) { + $msg .= $_L['account_already_exist'] . '
'; } - if($msg == ''){ + if ($msg == '') { $d = ORM::for_table('tbl_customers')->create(); $d->username = $username; $d->password = $password; $d->fullname = $fullname; $d->address = $address; - $d->phonenumber = $phonenumber; + $d->phonenumber = $username; $d->save(); r2(U . 'customers/list', 's', $_L['account_created_successfully']); - }else{ + } else { r2(U . 'customers/add', 'e', $msg); } break; @@ -182,128 +186,124 @@ switch ($action) { $password = _post('password'); $cpassword = _post('cpassword'); $address = _post('address'); - $phonenumber = _post('phonenumber'); + $phonenumber = _post('phonenumber'); $msg = ''; - if(Validator::Length($username,16,2) == false){ - $msg .= 'Username should be between 3 to 15 characters'. '
'; + if (Validator::Length($username, 16, 2) == false) { + $msg .= 'Username should be between 3 to 15 characters' . '
'; } - if(Validator::Length($fullname,26,2) == false){ - $msg .= 'Full Name should be between 3 to 25 characters'. '
'; + if (Validator::Length($fullname, 26, 2) == false) { + $msg .= 'Full Name should be between 3 to 25 characters' . '
'; } - if($password != ''){ - if(!Validator::Length($password,15,2)){ - $msg .= 'Password should be between 3 to 15 characters'. '
'; - + if ($password != '') { + if (!Validator::Length($password, 15, 2)) { + $msg .= 'Password should be between 3 to 15 characters' . '
'; } - if($password != $cpassword){ - $msg .= 'Passwords does not match'. '
'; + if ($password != $cpassword) { + $msg .= 'Passwords does not match' . '
'; } } $id = _post('id'); $d = ORM::for_table('tbl_customers')->find_one($id); - if($d){ - - }else{ - $msg .= $_L['Data_Not_Found']. '
'; + if (!$d) { + $msg .= $_L['Data_Not_Found'] . '
'; } - if($d['username'] != $username){ - $c = ORM::for_table('tbl_customers')->where('username',$username)->find_one(); - if($c){ - $msg .= $_L['account_already_exist']. '
'; + if ($d['username'] != $username) { + $c = ORM::for_table('tbl_customers')->where('username', $username)->find_one(); + if ($c) { + $msg .= $_L['account_already_exist'] . '
'; } } - if($msg == ''){ - $c = ORM::for_table('tbl_user_recharges')->where('username',$username)->find_one(); - if ($c){ - $mikrotik = Router::_info($c['routers']); - if($c['type'] == 'Hotspot'){ - try { - $iport = explode(":",$mikrotik['ip_address']); - $client = new RouterOS\Client($iport[0], $mikrotik['username'], $mikrotik['password'],($iport[1])?$iport[1]:null); - } catch (Exception $e) { - die("Unable to connect to the router.
".$e->getMessage()); - } - $printRequest = new RouterOS\Request('/ip/hotspot/user/print'); - $printRequest->setArgument('.proplist', '.id'); - $printRequest->setQuery(RouterOS\Query::where('name', $c['username'])); - $id = $client->sendSync($printRequest)->getProperty('.id'); + if ($msg == '') { + $c = ORM::for_table('tbl_user_recharges')->where('username', $username)->find_one(); + if ($c) { + $mikrotik = Router::_info($c['routers']); + if ($c['type'] == 'Hotspot') { + try { + $iport = explode(":", $mikrotik['ip_address']); + $client = new RouterOS\Client($iport[0], $mikrotik['username'], $mikrotik['password'], ($iport[1]) ? $iport[1] : null); + } catch (Exception $e) { + die("Unable to connect to the router.
" . $e->getMessage()); + } + $printRequest = new RouterOS\Request('/ip/hotspot/user/print'); + $printRequest->setArgument('.proplist', '.id'); + $printRequest->setQuery(RouterOS\Query::where('name', $c['username'])); + $id = $client->sendSync($printRequest)->getProperty('.id'); - $setRequest = new RouterOS\Request('/ip/hotspot/user/set'); - $setRequest->setArgument('numbers', $id); - $setRequest->setArgument('password', $password); - $client->sendSync($setRequest); + $setRequest = new RouterOS\Request('/ip/hotspot/user/set'); + $setRequest->setArgument('numbers', $id); + $setRequest->setArgument('password', $password); + $client->sendSync($setRequest); - //remove hotspot active - $onlineRequest = new RouterOS\Request('/ip/hotspot/active/print'); - $onlineRequest->setArgument('.proplist', '.id'); - $onlineRequest->setQuery(RouterOS\Query::where('user', $c['username'])); - $id = $client->sendSync($onlineRequest)->getProperty('.id'); + //remove hotspot active + $onlineRequest = new RouterOS\Request('/ip/hotspot/active/print'); + $onlineRequest->setArgument('.proplist', '.id'); + $onlineRequest->setQuery(RouterOS\Query::where('user', $c['username'])); + $id = $client->sendSync($onlineRequest)->getProperty('.id'); - $removeRequest = new RouterOS\Request('/ip/hotspot/active/remove'); - $removeRequest->setArgument('numbers', $id); - $client->sendSync($removeRequest); + $removeRequest = new RouterOS\Request('/ip/hotspot/active/remove'); + $removeRequest->setArgument('numbers', $id); + $client->sendSync($removeRequest); - $d->password = $password; - $d->save(); + $d->password = $password; + $d->save(); + } else { + try { + $iport = explode(":", $mikrotik['ip_address']); + $client = new RouterOS\Client($iport[0], $mikrotik['username'], $mikrotik['password'], ($iport[1]) ? $iport[1] : null); + } catch (Exception $e) { + die("Unable to connect to the router.
" . $e->getMessage()); + } + $printRequest = new RouterOS\Request('/ppp/secret/print'); + $printRequest->setArgument('.proplist', '.id'); + $printRequest->setQuery(RouterOS\Query::where('name', $c['username'])); + $id = $client->sendSync($printRequest)->getProperty('.id'); - }else{ - try { - $iport = explode(":",$mikrotik['ip_address']); - $client = new RouterOS\Client($iport[0], $mikrotik['username'], $mikrotik['password'],($iport[1])?$iport[1]:null); - } catch (Exception $e) { - die("Unable to connect to the router.
".$e->getMessage()); - } - $printRequest = new RouterOS\Request('/ppp/secret/print'); - $printRequest->setArgument('.proplist', '.id'); - $printRequest->setQuery(RouterOS\Query::where('name', $c['username'])); - $id = $client->sendSync($printRequest)->getProperty('.id'); + $setRequest = new RouterOS\Request('/ppp/secret/set'); + $setRequest->setArgument('numbers', $id); + $setRequest->setArgument('password', $password); + $client->sendSync($setRequest); - $setRequest = new RouterOS\Request('/ppp/secret/set'); - $setRequest->setArgument('numbers', $id); - $setRequest->setArgument('password', $password); - $client->sendSync($setRequest); + //remove pppoe active + $onlineRequest = new RouterOS\Request('/ppp/active/print'); + $onlineRequest->setArgument('.proplist', '.id'); + $onlineRequest->setQuery(RouterOS\Query::where('name', $c['username'])); + $id = $client->sendSync($onlineRequest)->getProperty('.id'); - //remove pppoe active - $onlineRequest = new RouterOS\Request('/ppp/active/print'); - $onlineRequest->setArgument('.proplist', '.id'); - $onlineRequest->setQuery(RouterOS\Query::where('name', $c['username'])); - $id = $client->sendSync($onlineRequest)->getProperty('.id'); + $removeRequest = new RouterOS\Request('/ppp/active/remove'); + $removeRequest->setArgument('numbers', $id); + $client->sendSync($removeRequest); - $removeRequest = new RouterOS\Request('/ppp/active/remove'); - $removeRequest->setArgument('numbers', $id); - $client->sendSync($removeRequest); - - $d->password = $password; - $d->save(); - } - $d->username = $username; - if($password != ''){ - $d->password = $password; - } - $d->fullname = $fullname; - $d->address = $address; - $d->phonenumber = $phonenumber; - $d->save(); - }else{ - $d->username = $username; - if($password != ''){ - $d->password = $password; - } - $d->fullname = $fullname; - $d->address = $address; - $d->phonenumber = $phonenumber; - $d->save(); - } + $d->password = $password; + $d->save(); + } + $d->username = $username; + if ($password != '') { + $d->password = $password; + } + $d->fullname = $fullname; + $d->address = $address; + $d->phonenumber = $phonenumber; + $d->save(); + } else { + $d->username = $username; + if ($password != '') { + $d->password = $password; + } + $d->fullname = $fullname; + $d->address = $address; + $d->phonenumber = $phonenumber; + $d->save(); + } r2(U . 'customers/list', 's', 'User Updated Successfully'); - }else{ - r2(U . 'customers/edit/'.$id, 'e', $msg); + } else { + r2(U . 'customers/edit/' . $id, 'e', $msg); } break; default: echo 'action not defined'; -} \ No newline at end of file +} diff --git a/system/controllers/disquss.php b/system/controllers/disquss.php deleted file mode 100644 index 877143bf..00000000 --- a/system/controllers/disquss.php +++ /dev/null @@ -1,23 +0,0 @@ - -* @copyright Copyright (C) 2014-2015 PHP Mikrotik Billing -* @license GNU General Public License version 2 or later; see LICENSE.txt -* @donate PayPal: me@ibnux.net -**/ -_admin(); -$ui->assign('_title', 'Disquss - '. $config['CompanyName']); -$ui->assign('_system_menu', 'disquss'); - -$admin = Admin::_info(); -$ui->assign('_admin', $admin); - -if($admin['user_type'] != 'Admin' AND $admin['user_type'] != 'Sales'){ - r2(U."dashboard",'e',$_L['Do_Not_Access']); -} - -switch ($action) { - default: - $ui->display('disquss.tpl'); -} \ No newline at end of file diff --git a/system/controllers/prepaid.php b/system/controllers/prepaid.php index 92366cec..8c885e18 100644 --- a/system/controllers/prepaid.php +++ b/system/controllers/prepaid.php @@ -190,6 +190,9 @@ switch ($action) { $t->routers = $server; $t->type = "Hotspot"; $t->save(); + sendTelegram( $c['username']." Activate Voucher Hotspot\n".$p['name_plan']. + "\nRouter: ".$v1['routers']. + "\nPrice: ".$p['price']); } else { try { $iport = explode(":", $mikrotik['ip_address']); @@ -282,6 +285,9 @@ switch ($action) { $t->routers = $server; $t->type = "Hotspot"; $t->save(); + sendTelegram( $c['username']." Activate Voucher Hotspot\n".$p['name_plan']. + "\nRouter: ".$v1['routers']. + "\nPrice: ".$p['price']); } } else { @@ -339,6 +345,9 @@ switch ($action) { $t->routers = $server; $t->type = "PPPOE"; $t->save(); + sendTelegram( $c['username']." Activate Voucher PPPOE\n".$p['name_plan']. + "\nRouter: ".$v1['routers']. + "\nPrice: ".$p['price']); } else { try { $iport = explode(":", $mikrotik['ip_address']); @@ -382,6 +391,9 @@ switch ($action) { $t->routers = $server; $t->type = "PPPOE"; $t->save(); + sendTelegram( $c['username']." Activate Voucher PPPOE\n".$p['name_plan']. + "\nRouter: ".$v1['routers']. + "\nPrice: ".$p['price']); } } $in = ORM::for_table('tbl_transactions')->where('username', $c['username'])->order_by_desc('id')->find_one(); diff --git a/system/controllers/voucher.php b/system/controllers/voucher.php index b236f6d5..3012b89a 100644 --- a/system/controllers/voucher.php +++ b/system/controllers/voucher.php @@ -143,6 +143,10 @@ switch ($action) { $t->routers = $v1['routers']; $t->type = "Hotspot"; $t->save(); + // Telegram to Admin + sendTelegram( $c['username']." Activate Voucher Hotspot\n".$p['name_plan']. + "\nRouter: ".$v1['routers']. + "\nPrice: ".$p['price']); } else { try { $iport = explode(":", $mikrotik['ip_address']); @@ -234,6 +238,10 @@ switch ($action) { $t->routers = $v1['routers']; $t->type = "Hotspot"; $t->save(); + // Telegram to Admin + sendTelegram( $c['username']." Activate Voucher Hotspot\n".$p['name_plan']. + "\nRouter: ".$v1['routers']. + "\nPrice: ".$p['price']); } $v1->status = "1"; @@ -291,6 +299,10 @@ switch ($action) { $t->routers = $v1['routers']; $t->type = "PPPOE"; $t->save(); + // Telegram to Admin + sendTelegram( $c['username']." Activate Voucher PPPOE\n".$p['name_plan']. + "\nRouter: ".$v1['routers']. + "\nPrice: ".$p['price']); } else { try { $iport = explode(":", $mikrotik['ip_address']); @@ -334,6 +346,9 @@ switch ($action) { $t->routers = $v1['routers']; $t->type = "PPPOE"; $t->save(); + sendTelegram( $c['username']." Activate Voucher PPPOE\n".$p['name_plan']. + "\nRouter: ".$v1['routers']. + "\nPrice: ".$p['price']); } $v1->status = "1"; diff --git a/ui/theme/default/app-settings.tpl b/ui/theme/default/app-settings.tpl index bef1ecf2..f4e93aff 100644 --- a/ui/theme/default/app-settings.tpl +++ b/ui/theme/default/app-settings.tpl @@ -26,7 +26,7 @@ -
+
- +
diff --git a/ui/theme/default/customers-add.tpl b/ui/theme/default/customers-add.tpl index bc359b9e..2f676a15 100644 --- a/ui/theme/default/customers-add.tpl +++ b/ui/theme/default/customers-add.tpl @@ -1,34 +1,34 @@ {include file="sections/header.tpl"} - +
{$_L['Add_Contact']}
- -
+ +
- +
- +
- +
- +
@@ -37,13 +37,7 @@
-
- -
- -
-
- +
@@ -56,6 +50,6 @@
- + {include file="sections/footer.tpl"} diff --git a/ui/theme/default/customers-edit.tpl b/ui/theme/default/customers-edit.tpl index c6b9b352..04d024a6 100644 --- a/ui/theme/default/customers-edit.tpl +++ b/ui/theme/default/customers-edit.tpl @@ -5,13 +5,13 @@
{$_L['Edit_Contact']}
- - + +
- +
diff --git a/ui/theme/default/disquss.tpl b/ui/theme/default/disquss.tpl deleted file mode 100644 index 4013b1f4..00000000 --- a/ui/theme/default/disquss.tpl +++ /dev/null @@ -1,27 +0,0 @@ -{include file="sections/header.tpl"} - -
-
-
-
Public Disquss
-
-
- - -
-
-
-
- -{include file="sections/footer.tpl"} diff --git a/ui/theme/default/recharge-user.tpl b/ui/theme/default/recharge-user.tpl index 0dd0af64..12dca58f 100644 --- a/ui/theme/default/recharge-user.tpl +++ b/ui/theme/default/recharge-user.tpl @@ -5,7 +5,7 @@
{$_L['Recharge_Account']}
- +
@@ -24,8 +24,8 @@
- {$_L['Hotspot_Plans']} - {$_L['PPPOE_Plans']} + {$_L['Hotspot_Plans']} + {$_L['PPPOE_Plans']}
@@ -36,7 +36,7 @@
- +
@@ -48,7 +48,7 @@
- + Or {$_L['Cancel']}
@@ -57,6 +57,6 @@
- + {include file="sections/footer.tpl"} diff --git a/ui/theme/default/recharge.tpl b/ui/theme/default/recharge.tpl index d5353cd8..1e81eaf9 100644 --- a/ui/theme/default/recharge.tpl +++ b/ui/theme/default/recharge.tpl @@ -5,7 +5,7 @@
{$_L['Recharge_Account']}
- +
@@ -20,8 +20,8 @@
- {$_L['Hotspot_Plans']} - {$_L['PPPOE_Plans']} + {$_L['Hotspot_Plans']} + {$_L['PPPOE_Plans']}
@@ -32,7 +32,7 @@
- +
@@ -44,7 +44,7 @@
- + Or {$_L['Cancel']}