tapi mau ganti ke paper admin aja
This commit is contained in:
parent
79c7ad1d98
commit
98fe44d8aa
@ -4,18 +4,19 @@
|
||||
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||
**/
|
||||
_auth();
|
||||
$ui->assign('_system_menu', 'order');
|
||||
$action = $routes['1'];
|
||||
$user = User::_info();
|
||||
$ui->assign('_user', $user);
|
||||
|
||||
switch ($action) {
|
||||
case 'voucher':
|
||||
$ui->assign('_system_menu', 'voucher');
|
||||
$ui->assign('_title', $_L['Order_Voucher']);
|
||||
run_hook('customer_view_order'); #HOOK
|
||||
$ui->display('user-order.tpl');
|
||||
break;
|
||||
case 'history':
|
||||
$ui->assign('_system_menu', 'history');
|
||||
$d = ORM::for_table('tbl_payment_gateway')
|
||||
->where('username', $user['username'])
|
||||
->find_many();
|
||||
@ -28,6 +29,7 @@ switch ($action) {
|
||||
break;
|
||||
case 'package':
|
||||
$ui->assign('_title', 'Order Plan');
|
||||
$ui->assign('_system_menu', 'package');
|
||||
$routers = ORM::for_table('tbl_routers')->find_many();
|
||||
$plans = ORM::for_table('tbl_plans')->where('enabled', '1')->find_many();
|
||||
$ui->assign('routers', $routers);
|
||||
|
@ -213,6 +213,7 @@ switch ($action) {
|
||||
break;
|
||||
|
||||
case 'list-activated':
|
||||
$ui->assign('_system_menu', 'list-activated');
|
||||
$paginator = Paginator::bootstrap('tbl_transactions', 'username', $user['username']);
|
||||
$d = ORM::for_table('tbl_transactions')->where('username', $user['username'])->offset($paginator['startpoint'])->limit($paginator['limit'])->order_by_desc('id')->find_many();
|
||||
|
||||
|
@ -23,8 +23,8 @@
|
||||
<a href="{$_url}bandwidth/add" class="btn btn-primary btn-block waves-effect"><i class="ion ion-android-add"> </i> {$_L['New_Bandwidth']}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$_L['BW_Name']}</th>
|
||||
|
@ -31,8 +31,8 @@
|
||||
<div class="panel-heading">Donasi</div>
|
||||
<div class="panel-body">Untuk pengembangan lebih baik, donasi ke iBNuX, donasi akan membantu terus
|
||||
pengembangan aplikasi</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-striped">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>BCA</td>
|
||||
@ -63,8 +63,8 @@
|
||||
<div class="panel-body">
|
||||
Donations will help to continue phpmixbill development
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-striped">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Bank Central Asia</td>
|
||||
|
@ -23,8 +23,8 @@
|
||||
<a href="{$_url}customers/add" class="btn btn-primary btn-block waves-effect"><i class="ion ion-android-add"> </i> {$_L['Add_Contact']}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-striped">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$_L['Username']}</th>
|
||||
|
@ -89,7 +89,7 @@
|
||||
<div class="panel panel-default mb20 panel-hovered project-stats table-responsive">
|
||||
<div class="panel-heading">Vouchers Stock</div>
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<div class="table-container">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -119,7 +119,7 @@
|
||||
<div class="panel panel-default mb20 panel-hovered project-stats table-responsive">
|
||||
<div class="panel-heading">{$_L['User_Expired_Today']}</div>
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<div class="table-container">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -5,15 +5,15 @@
|
||||
<div class="panel mb20 panel-default">
|
||||
<div class="panel-heading">{$_L['Database_Status']}</div>
|
||||
<div class="panel-body">
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<div class="col-md-9">{$_L['Total_Database_Size']}: {$dbsize} MB </div>
|
||||
<div class="col-md-3 text-right">
|
||||
<a href="{$_url}settings/dbbackup/" class="btn btn-primary btn-xs"><i class="fa fa-download"></i> {$_L['Download_Database_Backup']}</a>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-bordered is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="50%">{$_L['Table_Name']}</th>
|
||||
@ -34,7 +34,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -23,8 +23,8 @@
|
||||
<a href="{$_url}services/add" class="btn btn-primary btn-block waves-effect"><i class="ion ion-android-add"> </i> {$_L['New_Plan']}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$_L['Plan_Name']}</th>
|
||||
|
@ -23,8 +23,8 @@
|
||||
<a href="{$_url}pool/add" class="btn btn-primary btn-block waves-effect"><i class="ion ion-android-add"> </i> {$_L['New_Pool']}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
@ -23,8 +23,8 @@
|
||||
<a href="{$_url}services/pppoe-add" class="btn btn-primary btn-block waves-effect"><i class="ion ion-android-add"> </i> {$_L['New_Plan']}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$_L['Plan_Name']}</th>
|
||||
|
@ -23,8 +23,8 @@
|
||||
<a href="{$_url}prepaid/recharge" class="btn btn-primary btn-block waves-effect"><i class="ion ion-android-add"> </i> {$_L['Recharge_Account']}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table id="datatable" class="table table-striped table-bordered">
|
||||
<div class="table-container">
|
||||
<table id="datatable" class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$_L['Username']}</th>
|
||||
|
@ -23,8 +23,8 @@
|
||||
<div class="col-md-12">
|
||||
<div id="printable">
|
||||
<h4>{$_L['All_Transactions_at_Date']}: {date($_c['date_format'], strtotime($mdate))}</h4>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-condensed table-bordered" style="background: #ffffff">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-condensed is-bordered is-fullwidth" style="background: #ffffff">
|
||||
<th class="text-center">{$_L['Username']}</th>
|
||||
<th class="text-center">{$_L['Plan_Name']}</th>
|
||||
<th class="text-center">{$_L['Type']}</th>
|
||||
|
@ -23,8 +23,8 @@
|
||||
<div class="col-md-12">
|
||||
<div id="printable">
|
||||
<h4>{$_L['All_Transactions_at_Date']}: {date( $_c['date_format'], strtotime($fdate))} - {date( $_c['date_format'], strtotime($tdate))}</h4>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-condensed table-bordered" style="background: #ffffff">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-condensed is-bordered is-fullwidth" style="background: #ffffff">
|
||||
<th class="text-center">{$_L['Username']}</th>
|
||||
<th class="text-center">{$_L['Plan_Name']}</th>
|
||||
<th class="text-center">{$_L['Type']}</th>
|
||||
|
@ -18,8 +18,8 @@
|
||||
<a href="{$_url}export/pdf-by-date" class="btn btn-default"><i class="fa fa-file-pdf-o"></i>{$_L['Export_to_PDF']}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered invoice-table mb10">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-bordered is-fullwidth invoice-table mb10">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$_L['Username']}</th>
|
||||
|
@ -28,8 +28,8 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered invoice-table mb10">
|
||||
<div class="table-container">
|
||||
<table class="is is-bordered is-fullwidth invoice-table mb10">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$_L['Username']}</th>
|
||||
|
@ -24,8 +24,8 @@
|
||||
<a href="{$_url}routers/add" class="btn btn-primary btn-block waves-effect"><i class="ion ion-android-add"> </i> {$_L['New_Router']}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$_L['Router_Name']}</th>
|
||||
|
@ -1,35 +0,0 @@
|
||||
jQuery(function(){
|
||||
"use strict";
|
||||
function initSelect2(){
|
||||
$("#personSelect").select2(),
|
||||
$("#stateSelect").select2(),
|
||||
$("#multiSelect").select2(),
|
||||
$("#templatingSelect").select2({
|
||||
templateResult:function(state){
|
||||
return state.id?$('<span><img src="images/flags/'+state.element.value.toLowerCase()+'.png" class="img-flag" style="margin-right: 3px; height: 12px; width: 12px;"/> '+state.text+"</span>"):state.text},
|
||||
templateSelection:function(state){
|
||||
return $('<span><img src="images/flags/'+state.element.value.toLowerCase()+'.png" class="img-flag" style="margin-right: 3px; height: 12px; width: 12px;"/> '+state.text+"</span>")}
|
||||
})
|
||||
}
|
||||
function initColorpicker(){$("#colorpickerDemo").colorpicker(),$("#colorpickerDemo1").colorpicker()}
|
||||
function initTextEditor(){$("#textEditorDemo").summernote({height:300})}
|
||||
function initRangeSlider(){
|
||||
var ids=["#sliderEx1","#sliderEx2","#sliderEx3","#sliderEx4","#sliderEx5","#sliderEx6","#sliderEx7"];
|
||||
ids.forEach(function(id){
|
||||
$(id).slider()
|
||||
})
|
||||
}
|
||||
function initDatepicker(){
|
||||
$("#datepicker1").datepicker({autoclose:!0}),
|
||||
$("#datepicker2").datepicker({autoclose:!0}),
|
||||
$("#datepicker3").datepicker({todayHighlight:!0})
|
||||
}
|
||||
function _init(){
|
||||
initSelect2(),
|
||||
initColorpicker(),
|
||||
initTextEditor(),
|
||||
initRangeSlider(),
|
||||
initDatepicker()
|
||||
}
|
||||
_init()
|
||||
});
|
3
ui/ui/scripts/plugins/summernote.min.js
vendored
3
ui/ui/scripts/plugins/summernote.min.js
vendored
File diff suppressed because one or more lines are too long
@ -48,7 +48,6 @@
|
||||
<script src="ui/ui/scripts/plugins/select2.min.js"></script>
|
||||
<script src="ui/ui/scripts/plugins/bootstrap-colorpicker.min.js"></script>
|
||||
<script src="ui/ui/scripts/plugins/bootstrap-slider.min.js"></script>
|
||||
<script src="ui/ui/scripts/plugins/summernote.min.js"></script>
|
||||
<script src="ui/ui/scripts/plugins/bootstrap-datepicker.min.js"></script>
|
||||
<script src="ui/lib/js/bootbox.min.js"></script>
|
||||
<script src="ui/ui/scripts/app.js"></script>
|
||||
|
@ -10,14 +10,6 @@
|
||||
<link rel="stylesheet" href="ui/ui/fonts/ionicons/css/ionicons.min.css">
|
||||
<link rel="stylesheet" href="ui/ui/fonts/font-awesome/css/font-awesome.min.css">
|
||||
|
||||
<!-- Plugins -->
|
||||
<link rel="stylesheet" href="ui/ui/styles/plugins/waves.css">
|
||||
<link rel="stylesheet" href="ui/ui/styles/plugins/perfect-scrollbar.css">
|
||||
<link rel="stylesheet" href="ui/ui/styles/plugins/select2.css">
|
||||
<link rel="stylesheet" href="ui/ui/styles/plugins/bootstrap-colorpicker.css">
|
||||
<link rel="stylesheet" href="ui/ui/styles/plugins/bootstrap-slider.css">
|
||||
<link rel="stylesheet" href="ui/ui/styles/plugins/bootstrap-datepicker.css">
|
||||
<link rel="stylesheet" href="ui/ui/styles/plugins/summernote.css">
|
||||
|
||||
<!-- Css/Less Stylesheets -->
|
||||
<link rel="stylesheet" href="ui/ui/styles/bootstrap.min.css">
|
||||
|
@ -109,7 +109,7 @@
|
||||
{$_MENU_AFTER_ORDER}
|
||||
<li>
|
||||
<a href="{$_url}voucher/list-activated"
|
||||
class="has-icon {if $_system_menu eq 'voucher'}active{/if}">
|
||||
{if $_system_menu eq 'list-activated'}class="is-active router-link-active"{/if}>
|
||||
<span class="icon"><i class="ion ion-card"></i></span>
|
||||
<span class="text">{Lang::T('Buy History')}</span>
|
||||
</a>
|
||||
|
@ -1,469 +0,0 @@
|
||||
.note-editor {
|
||||
position: relative;
|
||||
border: 1px solid #eee;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.note-editor .note-dropzone {
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
display: none;
|
||||
color: #87cefa;
|
||||
background-color: white;
|
||||
border: 2px dashed #87cefa;
|
||||
opacity: .95;
|
||||
pointer-event: none;
|
||||
}
|
||||
|
||||
.note-editor .note-dropzone .note-dropzone-message {
|
||||
display: table-cell;
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.note-editor .note-dropzone.hover {
|
||||
color: #098ddf;
|
||||
border: 2px dashed #098ddf;
|
||||
}
|
||||
|
||||
.note-editor.dragover .note-dropzone {
|
||||
display: table;
|
||||
}
|
||||
|
||||
.note-editor .note-toolbar {
|
||||
background-color: #fff;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.note-editor.fullscreen {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1050;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.note-editor.fullscreen .note-editable {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.note-editor.fullscreen .note-resizebar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.note-editor.codeview .note-editable {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.note-editor.codeview .note-codable {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.note-editor .note-statusbar {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.note-editor .note-statusbar .note-resizebar {
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
cursor: ns-resize;
|
||||
border-top: 1px solid #a9a9a9;
|
||||
}
|
||||
|
||||
.note-editor .note-statusbar .note-resizebar .note-icon-bar {
|
||||
width: 20px;
|
||||
margin: 1px auto;
|
||||
border-top: 1px solid #a9a9a9;
|
||||
}
|
||||
|
||||
.note-editor .note-editable[contenteditable=true]:empty:not(:focus):before {
|
||||
color: #a9a9a9;
|
||||
content: attr(data-placeholder);
|
||||
}
|
||||
|
||||
.note-editor .note-editable {
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.note-editor .note-editable[contenteditable="false"] {
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
|
||||
.note-editor .note-codable {
|
||||
display: none;
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
margin-bottom: 0;
|
||||
font-family: Menlo,Monaco,monospace,sans-serif;
|
||||
font-size: 14px;
|
||||
color: #ccc;
|
||||
background-color: #222;
|
||||
border: 0;
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-ms-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.note-air-editor {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.note-popover .popover {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content a {
|
||||
display: inline-block;
|
||||
max-width: 200px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.note-popover .popover .arrow {
|
||||
left: 20px;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content,.note-toolbar {
|
||||
padding: 0 0 5px 5px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content>.btn-group,.note-toolbar>.btn-group {
|
||||
margin-top: 5px;
|
||||
margin-right: 5px;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .btn-group .note-table,.note-toolbar .btn-group .note-table {
|
||||
min-width: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .btn-group .note-table .note-dimension-picker,.note-toolbar .btn-group .note-table .note-dimension-picker {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher,.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher {
|
||||
position: absolute!important;
|
||||
z-index: 3;
|
||||
width: 10em;
|
||||
height: 10em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted,.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted {
|
||||
position: relative!important;
|
||||
z-index: 1;
|
||||
width: 5em;
|
||||
height: 5em;
|
||||
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC') repeat;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted,.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted {
|
||||
position: absolute!important;
|
||||
z-index: 2;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC') repeat;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-style h1,.note-toolbar .note-style h1,.note-popover .popover .popover-content .note-style h2,.note-toolbar .note-style h2,.note-popover .popover .popover-content .note-style h3,.note-toolbar .note-style h3,.note-popover .popover .popover-content .note-style h4,.note-toolbar .note-style h4,.note-popover .popover .popover-content .note-style h5,.note-toolbar .note-style h5,.note-popover .popover .popover-content .note-style h6,.note-toolbar .note-style h6,.note-popover .popover .popover-content .note-style blockquote,.note-toolbar .note-style blockquote {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-color .dropdown-toggle,.note-toolbar .note-color .dropdown-toggle {
|
||||
width: 20px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-color .dropdown-menu,.note-toolbar .note-color .dropdown-menu {
|
||||
min-width: 340px;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group,.note-toolbar .note-color .dropdown-menu .btn-group {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group:first-child,.note-toolbar .note-color .dropdown-menu .btn-group:first-child {
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-palette-title,.note-toolbar .note-color .dropdown-menu .btn-group .note-palette-title {
|
||||
margin: 2px 7px;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-color-reset,.note-toolbar .note-color .dropdown-menu .btn-group .note-color-reset {
|
||||
padding: 0 3px;
|
||||
margin: 3px;
|
||||
font-size: 11px;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-color-row,.note-toolbar .note-color .dropdown-menu .btn-group .note-color-row {
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-color-reset:hover,.note-toolbar .note-color .dropdown-menu .btn-group .note-color-reset:hover {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-para .dropdown-menu,.note-toolbar .note-para .dropdown-menu {
|
||||
min-width: 216px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-para .dropdown-menu>div:first-child,.note-toolbar .note-para .dropdown-menu>div:first-child {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .dropdown-menu,.note-toolbar .dropdown-menu {
|
||||
min-width: 90px;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .dropdown-menu.right,.note-toolbar .dropdown-menu.right {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .dropdown-menu.right::before,.note-toolbar .dropdown-menu.right::before {
|
||||
right: 9px;
|
||||
left: auto!important;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .dropdown-menu.right::after,.note-toolbar .dropdown-menu.right::after {
|
||||
right: 10px;
|
||||
left: auto!important;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .dropdown-menu li a i,.note-toolbar .dropdown-menu li a i {
|
||||
color: deepskyblue;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .dropdown-menu li a.checked i,.note-toolbar .dropdown-menu li a.checked i {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-fontsize-10,.note-toolbar .note-fontsize-10 {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-color-palette,.note-toolbar .note-color-palette {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-color-palette div .note-color-btn,.note-toolbar .note-color-palette div .note-color-btn {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
|
||||
.note-popover .popover .popover-content .note-color-palette div .note-color-btn:hover,.note-toolbar .note-color-palette div .note-color-btn:hover {
|
||||
border: 1px solid #000;
|
||||
}
|
||||
|
||||
.note-dialog>div {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.note-dialog .form-group {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.note-dialog .note-modal-form {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.note-dialog .note-image-dialog .note-dropzone {
|
||||
min-height: 100px;
|
||||
margin-bottom: 10px;
|
||||
font-size: 30px;
|
||||
line-height: 4;
|
||||
color: lightgray;
|
||||
text-align: center;
|
||||
border: 4px dashed lightgray;
|
||||
}
|
||||
|
||||
.note-dialog .note-help-dialog {
|
||||
font-size: 12px;
|
||||
color: #ccc;
|
||||
background: transparent;
|
||||
background-color: #222!important;
|
||||
border: 0;
|
||||
-webkit-opacity: .9;
|
||||
-khtml-opacity: .9;
|
||||
-moz-opacity: .9;
|
||||
opacity: .9;
|
||||
-ms-filter: alpha(opacity=90);
|
||||
filter: alpha(opacity=90);
|
||||
}
|
||||
|
||||
.note-dialog .note-help-dialog .modal-content {
|
||||
background: transparent;
|
||||
border: 1px solid white;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.note-dialog .note-help-dialog a {
|
||||
font-size: 12px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.note-dialog .note-help-dialog .title {
|
||||
padding-bottom: 5px;
|
||||
margin-bottom: 10px;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
border-bottom: white 1px solid;
|
||||
}
|
||||
|
||||
.note-dialog .note-help-dialog .modal-close {
|
||||
font-size: 14px;
|
||||
color: #dd0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.note-dialog .note-help-dialog .text-center {
|
||||
margin: 10px 0 0;
|
||||
}
|
||||
|
||||
.note-dialog .note-help-dialog .note-shortcut {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.note-dialog .note-help-dialog .note-shortcut-row {
|
||||
margin-right: -5px;
|
||||
margin-left: -5px;
|
||||
}
|
||||
|
||||
.note-dialog .note-help-dialog .note-shortcut-col {
|
||||
padding-right: 5px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.note-dialog .note-help-dialog .note-shortcut-title {
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
color: #dd0;
|
||||
}
|
||||
|
||||
.note-dialog .note-help-dialog .note-shortcut-key {
|
||||
font-family: "Courier New";
|
||||
color: #dd0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.note-handle .note-control-selection {
|
||||
position: absolute;
|
||||
display: none;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.note-handle .note-control-selection>div {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.note-handle .note-control-selection .note-control-selection-bg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: black;
|
||||
-webkit-opacity: .3;
|
||||
-khtml-opacity: .3;
|
||||
-moz-opacity: .3;
|
||||
opacity: .3;
|
||||
-ms-filter: alpha(opacity=30);
|
||||
filter: alpha(opacity=30);
|
||||
}
|
||||
|
||||
.note-handle .note-control-selection .note-control-handle {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.note-handle .note-control-selection .note-control-holder {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.note-handle .note-control-selection .note-control-sizing {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
background-color: white;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.note-handle .note-control-selection .note-control-nw {
|
||||
top: -5px;
|
||||
left: -5px;
|
||||
border-right: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.note-handle .note-control-selection .note-control-ne {
|
||||
top: -5px;
|
||||
right: -5px;
|
||||
border-bottom: 0;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
.note-handle .note-control-selection .note-control-sw {
|
||||
bottom: -5px;
|
||||
left: -5px;
|
||||
border-top: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
.note-handle .note-control-selection .note-control-se {
|
||||
right: -5px;
|
||||
bottom: -5px;
|
||||
cursor: se-resize;
|
||||
}
|
||||
|
||||
.note-handle .note-control-selection .note-control-selection-info {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 5px;
|
||||
margin: 5px;
|
||||
font-size: 12px;
|
||||
color: white;
|
||||
background-color: black;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-webkit-opacity: .7;
|
||||
-khtml-opacity: .7;
|
||||
-moz-opacity: .7;
|
||||
opacity: .7;
|
||||
-ms-filter: alpha(opacity=70);
|
||||
filter: alpha(opacity=70);
|
||||
}
|
@ -1,43 +1,45 @@
|
||||
{include file="sections/user-header.tpl"}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="panel mb20 panel-hovered panel-default">
|
||||
<div class="panel-heading">{$_L['List_Activated_Voucher']}</div>
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table id="datatable" class="table table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$_L['Username']}</th>
|
||||
<th>{$_L['Plan_Name']}</th>
|
||||
<th>{$_L['Plan_Price']}</th>
|
||||
<th>{$_L['Type']}</th>
|
||||
<th>{$_L['Created_On']}</th>
|
||||
<th>{$_L['Expires_On']}</th>
|
||||
<th>{$_L['Method']}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach $d as $ds}
|
||||
<tr>
|
||||
<td>{$ds['username']}</td>
|
||||
<td>{$ds['plan_name']}</td>
|
||||
<td>{$_c['currency_code']} {number_format($ds['price'],2,$_c['dec_point'],$_c['thousands_sep'])}</td>
|
||||
<td>{$ds['type']}</td>
|
||||
<td class="text-success">{date($_c['date_format'], strtotime($ds['recharged_on']))} {$ds['time']}</td>
|
||||
<td class="text-danger">{date($_c['date_format'], strtotime($ds['expiration']))} {$ds['time']}</td>
|
||||
<td>{$ds['method']}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{$paginator['contents']}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="panel mb20 panel-hovered panel-default">
|
||||
<div class="panel-heading">{$_L['List_Activated_Voucher']}</div>
|
||||
<div class="panel-body">
|
||||
<div class="table-container">
|
||||
<table id="datatable" class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$_L['Username']}</th>
|
||||
<th>{$_L['Plan_Name']}</th>
|
||||
<th>{$_L['Plan_Price']}</th>
|
||||
<th>{$_L['Type']}</th>
|
||||
<th>{$_L['Created_On']}</th>
|
||||
<th>{$_L['Expires_On']}</th>
|
||||
<th>{$_L['Method']}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach $d as $ds}
|
||||
<tr>
|
||||
<td>{$ds['username']}</td>
|
||||
<td>{$ds['plan_name']}</td>
|
||||
<td>{number_format($ds['price'],2,$_c['dec_point'],$_c['thousands_sep'])}</td>
|
||||
<td>{$ds['type']}</td>
|
||||
<td class="text-success">{date($_c['date_format'], strtotime($ds['recharged_on']))}
|
||||
{$ds['time']}</td>
|
||||
<td class="text-danger">{date($_c['date_format'], strtotime($ds['expiration']))}
|
||||
{$ds['time']}</td>
|
||||
<td>{$ds['method']}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{$paginator['contents']}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{include file="sections/user-footer.tpl"}
|
||||
{include file="sections/user-footer.tpl"}
|
@ -1,28 +1,30 @@
|
||||
{include file="sections/user-header.tpl"}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<div class="panel panel-default panel-hovered panel-stacked mb30">
|
||||
<div class="panel-heading">{$_L['Voucher_Activation']}</div>
|
||||
<div class="panel-body">
|
||||
<form class="form-horizontal" method="post" role="form" action="{$_url}voucher/activation-post" >
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{$_L['Code_Voucher']}</label>
|
||||
<div class="col-md-6">
|
||||
<input type="text" class="form-control" id="code" name="code" placeholder="{$_L['Enter_Voucher_Code']}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-2 col-lg-10">
|
||||
<button class="btn btn-success waves-effect waves-light" type="submit">{$_L['Recharge']}</button>
|
||||
Or <a href="{$_url}home">{$_L['Cancel']}</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<div class="panel panel-default panel-hovered panel-stacked mb30">
|
||||
<div class="panel-heading">{$_L['Voucher_Activation']}</div>
|
||||
<div class="panel-body">
|
||||
<form class="form-horizontal" method="post" role="form" action="{$_url}voucher/activation-post">
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{$_L['Code_Voucher']}</label>
|
||||
<div class="col-md-6">
|
||||
<input type="text" class="form-control" id="code" name="code"
|
||||
placeholder="{$_L['Enter_Voucher_Code']}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file="sections/user-footer.tpl"}
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-2 col-lg-10">
|
||||
<button class="btn btn-success waves-effect waves-light"
|
||||
type="submit">{$_L['Recharge']}</button>
|
||||
Or <a href="{$_url}home">{$_L['Cancel']}</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file="sections/user-footer.tpl"}
|
@ -1,41 +1,42 @@
|
||||
{include file="sections/user-header.tpl"}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<div class="panel panel-default panel-hovered panel-stacked mb30">
|
||||
<div class="panel-heading">{$_L['Change_Password']}</div>
|
||||
<div class="panel-body">
|
||||
<form class="form-horizontal" method="post" role="form" action="{$_url}accounts/change-password-post">
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{$_L['Current_Password']}</label>
|
||||
<div class="col-md-6">
|
||||
<input type="password" class="form-control" id="password" name="password">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{$_L['New_Password']}</label>
|
||||
<div class="col-md-6">
|
||||
<input type="password" class="form-control" id="npass" name="npass">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{$_L['Confirm_New_Password']}</label>
|
||||
<div class="col-md-6">
|
||||
<input type="password" class="form-control" id="cnpass" name="cnpass">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-2 col-lg-10">
|
||||
<button class="btn btn-success waves-effect waves-light" type="submit">{$_L['Save']}</button>
|
||||
Or <a href="{$_url}home">{$_L['Cancel']}</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<div class="panel panel-default panel-hovered panel-stacked mb30">
|
||||
<div class="panel-heading">{$_L['Change_Password']}</div>
|
||||
<div class="panel-body">
|
||||
<form class="form-horizontal" method="post" role="form" action="{$_url}accounts/change-password-post">
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{$_L['Current_Password']}</label>
|
||||
<div class="col-md-6">
|
||||
<input type="password" class="form-control" id="password" name="password">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{$_L['New_Password']}</label>
|
||||
<div class="col-md-6">
|
||||
<input type="password" class="form-control" id="npass" name="npass">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{$_L['Confirm_New_Password']}</label>
|
||||
<div class="col-md-6">
|
||||
<input type="password" class="form-control" id="cnpass" name="cnpass">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file="sections/user-footer.tpl"}
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-2 col-lg-10">
|
||||
<button class="btn btn-success waves-effect waves-light"
|
||||
type="submit">{$_L['Save']}</button>
|
||||
Or <a href="{$_url}home">{$_L['Cancel']}</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file="sections/user-footer.tpl"}
|
@ -1,10 +1,10 @@
|
||||
{include file="sections/user-header.tpl"}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="panel panel-default table-condensed">
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<div class="panel is-info">
|
||||
<div class="panel-heading">{$_L['Account_Information']}</div>
|
||||
<table class="table table-striped table-bordered">
|
||||
<table class="table is-narrow is-bordered is-striped is-narrow is-hoverable is-fullwidth">
|
||||
<tr>
|
||||
<td class="small text-success text-uppercase text-normal">{$_L['Username']}</td>
|
||||
<td class="small mb15">{$_bill['username']}</td>
|
||||
@ -15,54 +15,67 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="small text-info text-uppercase text-normal">{$_L['Created_On']}</td>
|
||||
<td class="small mb15">{if $_bill['time'] ne ''}{date($_c['date_format'], strtotime($_bill['recharged_on']))} {$_bill['time']}{/if} </td>
|
||||
<td class="small mb15">
|
||||
{if $_bill['time'] ne ''}{date($_c['date_format'], strtotime($_bill['recharged_on']))}
|
||||
{$_bill['time']}{/if} </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="small text-danger text-uppercase text-normal">{$_L['Expires_On']}</td>
|
||||
<td class="small mb15">{if $_bill['time'] ne ''}{date($_c['date_format'], strtotime($_bill['expiration']))} {$_bill['time']}{/if} </td>
|
||||
<td class="small mb15">
|
||||
{if $_bill['time'] ne ''}{date($_c['date_format'], strtotime($_bill['expiration']))}
|
||||
{$_bill['time']}{/if} </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
||||
<div class="panel is-info is-hovered is-stacked mb30">
|
||||
<div class="panel-heading">{$_L['Voucher_Activation']}</div>
|
||||
<div class="panel-body">
|
||||
<form class="form-horizontal" method="post" role="form" action="{$_url}voucher/activation-post" >
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">{$_L['Code_Voucher']}</label>
|
||||
<div class="col-md-6">
|
||||
<input type="text" class="form-control" id="code" name="code" placeholder="{$_L['Enter_Voucher_Code']}">
|
||||
</div>
|
||||
<div class="p-3">
|
||||
<form method="post" role="form" action="{$_url}voucher/activation-post">
|
||||
<div class="field has-addons is-expanded" align="center">
|
||||
<p class="control">
|
||||
<a class="button is-static is-fullwidth">
|
||||
{$_L['Code_Voucher']}
|
||||
</a>
|
||||
</p>
|
||||
<p class="control is-expanded">
|
||||
<input class="input" type="text" id="code" name="code"
|
||||
placeholder="{$_L['Enter_Voucher_Code']}">
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div align="center">
|
||||
<button class="btn btn-success waves-effect waves-light" type="submit">{$_L['Recharge']}</button>
|
||||
</div>
|
||||
<div class="form-group" align="center">
|
||||
<button class="button is-success is-small" type="submit">{$_L['Recharge']}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a class="btn btn-info btn-block btn-sm waves-effect waves-light" href="{$_url}order/voucher"><i class="ion ion-ios-cart"></i> {$_L['Order_Voucher']}</a>
|
||||
</div>
|
||||
{if $_c['payment_gateway'] != 'none' or $_c['payment_gateway'] == '' }
|
||||
<div class="panel-footer">
|
||||
<div class="btn-group btn-group-justified">
|
||||
<a href="{$_url}order/package" class="btn btn-primary"><i class="ion ion-ios-cart"></i> {Lang::T('Order Package')}</a>
|
||||
</div>
|
||||
<div class="panel-block columns">
|
||||
<div class="column">
|
||||
<a class="button is-info is-fullwidth is-small" href="{$_url}order/voucher">
|
||||
<span class="icon is-small"><i class="ion ion-ios-cart"></i></span>
|
||||
<span>{$_L['Order_Voucher']} </span>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{if $_c['payment_gateway'] != 'none' or $_c['payment_gateway'] == '' }
|
||||
<div class="column">
|
||||
<a href="{$_url}order/package" class="button is-link is-fullwidth is-small">
|
||||
<span class="icon is-small"><i class="ion ion-ios-cart"></i></span>
|
||||
<span>{Lang::T('Order Package')} </span>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="column">
|
||||
{if $unpaid }
|
||||
<div class="panel panel-danger panel-hovered panel-stacked mb30">
|
||||
<div class="panel is-danger">
|
||||
<div class="panel-heading">{Lang::T('Unpaid Order')}</div>
|
||||
<table class="table table-bordered table-striped">
|
||||
<table class="table is-narrow is-bordered is-striped is-narrow is-hoverable is-fullwidth">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{Lang::T('expired')}</td>
|
||||
<td>{date({$_c['date_format']}, strtotime($unpaid['expired_date']))} {date('H:i', strtotime($unpaid['expired_date']))} </td>
|
||||
<td>{date({$_c['date_format']}, strtotime($unpaid['expired_date']))}
|
||||
{date('H:i', strtotime($unpaid['expired_date']))} </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$_L['Plan_Name']}</td>
|
||||
@ -78,18 +91,20 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="panel-footer">
|
||||
<a class="btn btn-danger btn-block btn-sm waves-effect waves-light" href="{$_url}order/view/{$unpaid['id']}"><i class="ion ion-card"></i> {Lang::T('PAY NOW')}</a>
|
||||
<div class="panel-footer p-2">
|
||||
<a class="button is-danger is-fullwidth is-small" href="{$_url}order/view/{$unpaid['id']}">
|
||||
<span class="icon is-small"><i class="ion ion-card"></i></span>
|
||||
<span>{Lang::T('PAY NOW')}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
<br class="visible-xs-inline visible-sm-inline">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">{$_L['Announcement']}</div>
|
||||
<div class="panel-body" style="height:296px;max-height:296px;overflow:scroll;">
|
||||
{include file="$_path/../pages/Announcement.html"}
|
||||
</div>
|
||||
<div class="panel is-info">
|
||||
<div class="panel-heading">{$_L['Announcement']}</div>
|
||||
<div class="panel-block" style="max-height:296px;overflow:scroll;">
|
||||
{include file="$_path/../pages/Announcement.html"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{include file="sections/user-footer.tpl"}
|
||||
{include file="sections/user-footer.tpl"}
|
@ -3,10 +3,10 @@
|
||||
<div class="col-sm-12">
|
||||
<div class="panel mb20 panel-primary panel-hovered">
|
||||
<div class="panel-heading">{$_L['Order_Voucher']}</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-block">
|
||||
{include file="$_path/../pages/Order_Voucher.html"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{include file="sections/user-footer.tpl"}
|
||||
{include file="sections/user-footer.tpl"}
|
@ -5,8 +5,8 @@
|
||||
<div class="panel mb20 panel-hovered panel-default">
|
||||
<div class="panel-heading">{$_L['Order_History']}</div>
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table id="datatable" class="table table-striped table-bordered">
|
||||
<div class="table-container">
|
||||
<table id="datatable" class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$_L['Plan_Name']}</th>
|
||||
|
@ -8,19 +8,19 @@
|
||||
<div class="panel mb20 panel-info panel-hovered">
|
||||
<div class="panel-heading">{$router['name']}</div>
|
||||
{if $router['description'] != ''}
|
||||
<div class="panel-body">
|
||||
<div class="panel-block">
|
||||
{$router['description']}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="panel-body row">
|
||||
<div class="columns is-multiline p-2">
|
||||
{foreach $plans as $plan}
|
||||
{if $router['name'] eq $plan['routers']}
|
||||
<div class="col-sm-3">
|
||||
<div class="panel mb10 panel-default panel-hovered">
|
||||
<div class="column is-4">
|
||||
<div class="panel mb10 is-default panel-hovered">
|
||||
<div class="panel-heading"> {$plan['name_plan']}</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-striped">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{Lang::T('Type')}</td>
|
||||
@ -37,8 +37,10 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a href="{$_url}order/buy/{$router['id']}/{$plan['id']}" onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')" class="btn btn-sm btn-block btn-primary">Buy</a>
|
||||
<div class="panel-block">
|
||||
<a href="{$_url}order/buy/{$router['id']}/{$plan['id']}"
|
||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||
class="btn btn-sm btn-block btn-primary">Buy</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -49,4 +51,4 @@
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
{include file="sections/user-footer.tpl"}
|
||||
{include file="sections/user-footer.tpl"}
|
@ -12,8 +12,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-striped">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-bordered is-striped is-narrow is-fullwidth">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{Lang::T('Status')}</td>
|
||||
|
@ -23,8 +23,8 @@
|
||||
<a href="{$_url}settings/users-add" class="btn btn-primary btn-block waves-effect"><i class="ion ion-android-add"> </i> {$_L['Add_New_Administrator']}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-striped">
|
||||
<div class="table-container">
|
||||
<table class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$_L['Username']}</th>
|
||||
|
@ -6,12 +6,12 @@
|
||||
<div class="panel-heading">{$_L['Add_Voucher']}</div>
|
||||
<div class="panel-body">
|
||||
|
||||
<form class="form-horizontal" method="post" role="form" action="{$_url}prepaid/voucher-post" >
|
||||
<form class="form-horizontal" method="post" role="form" action="{$_url}prepaid/voucher-post" >
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{$_L['Type']}</label>
|
||||
<div class="col-md-6">
|
||||
<input type="radio" id="Hot" name="type" value="Hotspot"> {$_L['Hotspot_Plans']}
|
||||
<input type="radio" id="POE" name="type" value="PPPOE"> {$_L['PPPOE_Plans']}
|
||||
<input type="radio" id="Hot" name="type" value="Hotspot"> {$_L['Hotspot_Plans']}
|
||||
<input type="radio" id="POE" name="type" value="PPPOE"> {$_L['PPPOE_Plans']}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@ -30,28 +30,28 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{$_L['Number_of_Vouchers']}</label>
|
||||
<div class="col-md-6">
|
||||
<input type="text" class="form-control" name="numbervoucher" value="1">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{$_L['Length_Code']}</label>
|
||||
<div class="col-md-6">
|
||||
<input type="text" class="form-control" name="lengthcode" value="12">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-2 col-lg-10">
|
||||
<button class="btn btn-success waves-effect waves-light" type="submit">{$_L['Generate']}</button>
|
||||
<button class="btn btn-success waves-effect waves-light" type="submit">{$_L['Generate']}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,72 +1,78 @@
|
||||
{include file="sections/header.tpl"}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="panel panel-hovered mb20 panel-default">
|
||||
<div class="panel-heading">{$_L['Prepaid_Vouchers']}</div>
|
||||
<div class="panel-body">
|
||||
<div class="md-whiteframe-z1 mb20 text-center" style="padding: 15px">
|
||||
<div class="col-md-8">
|
||||
<form id="site-search" method="post" action="{$_url}prepaid/voucher/">
|
||||
<div class="input-group">
|
||||
<div class="input-group-addon">
|
||||
<span class="fa fa-search"></span>
|
||||
</div>
|
||||
<input type="text" name="code" class="form-control" placeholder="{$_L['Search_by_Code']}...">
|
||||
<div class="input-group-btn">
|
||||
<button class="btn btn-success">{$_L['Search']}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="btn-group btn-group-justified" role="group">
|
||||
<div class="btn-group" role="group">
|
||||
<a href="{$_url}prepaid/add-voucher" class="btn btn-primary btn-block waves-effect"><i class="ion ion-android-add"> </i> {$_L['Add_Voucher']}</a>
|
||||
</div>
|
||||
<div class="btn-group" role="group">
|
||||
<a href="{$_url}prepaid/print-voucher" target="print_voucher" class="btn btn-info"><i class="ion ion-android-print"> </i> Print</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table id="datatable" class="table table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>{$_L['Type']}</th>
|
||||
<th>{$_L['Routers']}</th>
|
||||
<th>{$_L['Plan_Name']}</th>
|
||||
<th>{$_L['Code_Voucher']}</th>
|
||||
<th>{$_L['Status_Voucher']}</th>
|
||||
<th>{$_L['Customers']}</th>
|
||||
<th>{$_L['Manage']}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach $d as $ds}
|
||||
<tr>
|
||||
<td>{$ds['id']}</td>
|
||||
<td>{$ds['type']}</td>
|
||||
<td>{$ds['routers']}</td>
|
||||
<td>{$ds['name_plan']}</td>
|
||||
<td>{$ds['code']}</td>
|
||||
<td align="center">{if $ds['status'] eq '0'} <label class="btn-tag btn-tag-success">Not Use</label> {else} <label class="btn-tag btn-tag-danger">Used</label> {/if}</td>
|
||||
<td align="center">{if $ds['user'] eq '0'} - {else} {$ds['user']} {/if}</td>
|
||||
<td>
|
||||
<a href="{$_url}prepaid/voucher-delete/{$ds['id']}" id="{$ds['id']}" class="btn btn-danger btn-sm cdelete">{$_L['Delete']}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{$paginator['contents']}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="panel panel-hovered mb20 panel-default">
|
||||
<div class="panel-heading">{$_L['Prepaid_Vouchers']}</div>
|
||||
<div class="panel-body">
|
||||
<div class="md-whiteframe-z1 mb20 text-center" style="padding: 15px">
|
||||
<div class="col-md-8">
|
||||
<form id="site-search" method="post" action="{$_url}prepaid/voucher/">
|
||||
<div class="input-group">
|
||||
<div class="input-group-addon">
|
||||
<span class="fa fa-search"></span>
|
||||
</div>
|
||||
<input type="text" name="code" class="form-control"
|
||||
placeholder="{$_L['Search_by_Code']}...">
|
||||
<div class="input-group-btn">
|
||||
<button class="btn btn-success">{$_L['Search']}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="btn-group btn-group-justified" role="group">
|
||||
<div class="btn-group" role="group">
|
||||
<a href="{$_url}prepaid/add-voucher" class="btn btn-primary btn-block waves-effect"><i
|
||||
class="ion ion-android-add"> </i> {$_L['Add_Voucher']}</a>
|
||||
</div>
|
||||
<div class="btn-group" role="group">
|
||||
<a href="{$_url}prepaid/print-voucher" target="print_voucher" class="btn btn-info"><i
|
||||
class="ion ion-android-print"> </i> Print</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-container">
|
||||
<table id="datatable" class="table is-narrow is-bordered is-striped is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>{$_L['Type']}</th>
|
||||
<th>{$_L['Routers']}</th>
|
||||
<th>{$_L['Plan_Name']}</th>
|
||||
<th>{$_L['Code_Voucher']}</th>
|
||||
<th>{$_L['Status_Voucher']}</th>
|
||||
<th>{$_L['Customers']}</th>
|
||||
<th>{$_L['Manage']}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach $d as $ds}
|
||||
<tr>
|
||||
<td>{$ds['id']}</td>
|
||||
<td>{$ds['type']}</td>
|
||||
<td>{$ds['routers']}</td>
|
||||
<td>{$ds['name_plan']}</td>
|
||||
<td>{$ds['code']}</td>
|
||||
<td align="center">{if $ds['status'] eq '0'} <label class="btn-tag btn-tag-success">Not
|
||||
Use</label> {else} <label class="btn-tag btn-tag-danger">Used</label>
|
||||
{/if}</td>
|
||||
<td align="center">{if $ds['user'] eq '0'} - {else} {$ds['user']} {/if}</td>
|
||||
<td>
|
||||
<a href="{$_url}prepaid/voucher-delete/{$ds['id']}" id="{$ds['id']}"
|
||||
class="btn btn-danger btn-sm cdelete">{$_L['Delete']}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{$paginator['contents']}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{include file="sections/footer.tpl"}
|
||||
{include file="sections/footer.tpl"}
|
Loading…
x
Reference in New Issue
Block a user