2022-09-06 10:31:22 +07:00
|
|
|
{include file="sections/header.tpl"}
|
|
|
|
|
2023-08-30 09:55:39 +07:00
|
|
|
<form class="form-horizontal" method="post" role="form" action="{$_url}settings/app-post" enctype="multipart/form-data">
|
2022-09-06 10:31:22 +07:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12 col-md-12">
|
2022-10-17 11:57:39 +07:00
|
|
|
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
2023-08-09 10:50:02 +07:00
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="btn-group pull-right">
|
2023-08-14 11:24:27 +07:00
|
|
|
<button class="btn btn-primary btn-xs" title="save" type="submit"><span
|
|
|
|
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
|
2023-08-09 10:50:02 +07:00
|
|
|
</div>
|
|
|
|
{$_L['General_Settings']}
|
|
|
|
</div>
|
2022-09-06 10:31:22 +07:00
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{$_L['App_Name']}</label>
|
|
|
|
<div class="col-md-6">
|
2023-12-19 11:35:49 +07:00
|
|
|
<input type="text" required class="form-control" id="CompanyName" name="CompanyName"
|
2022-10-16 14:48:21 +07:00
|
|
|
value="{$_c['CompanyName']}">
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
2023-08-14 11:24:27 +07:00
|
|
|
<span class="help-block col-md-4">{$_L['App_Name_Help_Text']}</span>
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
2023-08-30 09:55:39 +07:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{Lang::T('Company Logo')}</label>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<input type="file" class="form-control" id="logo" name="logo" accept="image/*">
|
2023-09-13 10:00:26 +07:00
|
|
|
<span class="help-block">For PDF Reports | Best size 1078 x 200 | uploaded image will be
|
|
|
|
autosize</span>
|
2023-08-30 09:55:39 +07:00
|
|
|
</div>
|
|
|
|
<span class="help-block col-md-4">
|
|
|
|
<a href="./{$logo}" target="_blank"><img src="./{$logo}" height="48" alt="logo for PDF"></a>
|
|
|
|
</span>
|
|
|
|
</div>
|
2022-10-16 14:48:21 +07:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{Lang::T('Company Footer')}</label>
|
|
|
|
<div class="col-md-6">
|
2023-12-19 11:35:49 +07:00
|
|
|
<input type="text" required class="form-control" id="CompanyFooter" name="CompanyFooter"
|
2022-10-16 14:48:21 +07:00
|
|
|
value="{$_c['CompanyFooter']}">
|
|
|
|
</div>
|
2023-08-14 11:24:27 +07:00
|
|
|
<span class="help-block col-md-4">{Lang::T('Will show below user pages')}</span>
|
2022-10-16 14:48:21 +07:00
|
|
|
</div>
|
2022-09-06 10:31:22 +07:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{$_L['Address']}</label>
|
|
|
|
<div class="col-md-6">
|
2022-10-16 14:48:21 +07:00
|
|
|
<textarea class="form-control" id="address" name="address"
|
2023-03-06 14:49:26 +07:00
|
|
|
rows="3">{Lang::htmlspecialchars($_c['address'])}</textarea>
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
2023-08-14 11:24:27 +07:00
|
|
|
<span class="help-block col-md-4">{$_L['You_can_use_html_tag']}</span>
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{$_L['Phone_Number']}</label>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<input type="text" class="form-control" id="phone" name="phone" value="{$_c['phone']}">
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-01-16 10:32:59 +07:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label"><i class="glyphicon glyphicon-print"></i> Print Max Char</label>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<input type="number" required class="form-control" id="printer_cols" placeholder="37" name="printer_cols"
|
|
|
|
value="{$_c['printer_cols']}">
|
|
|
|
</div>
|
|
|
|
<span class="help-block col-md-4">For invoice print using Thermal Printer</span>
|
|
|
|
</div>
|
2023-10-12 16:15:50 +07:00
|
|
|
<div class="form-group">
|
2023-10-18 17:23:47 +07:00
|
|
|
<label class="col-md-2 control-label">Theme</label>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<select name="theme" id="theme" class="form-control">
|
|
|
|
<option value="default" {if $_c['theme'] eq 'default'}selected="selected" {/if}>Default
|
|
|
|
</option>
|
|
|
|
{foreach $themes as $theme}
|
|
|
|
<option value="{$theme}" {if $_c['theme'] eq $theme}selected="selected" {/if}>
|
|
|
|
{Lang::ucWords($theme)}</option>
|
|
|
|
{/foreach}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<p class="help-block col-md-4"><a
|
|
|
|
href="https://github.com/hotspotbilling/phpnuxbill/wiki/Themes" target="_blank">Theme
|
|
|
|
info</a></p>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">APP URL</label>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<input type="text" readonly class="form-control" value="{$app_url}">
|
|
|
|
</div>
|
|
|
|
<p class="help-block col-md-4">edit at config.php</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="btn-group pull-right">
|
|
|
|
<button class="btn btn-primary btn-xs" title="save" type="submit"><span
|
|
|
|
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
|
2023-10-12 16:15:50 +07:00
|
|
|
</div>
|
2023-10-18 17:23:47 +07:00
|
|
|
Voucher
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2023-09-29 13:58:22 +07:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{Lang::T('Disable Voucher')}</label>
|
2022-09-07 16:11:35 +07:00
|
|
|
<div class="col-md-6">
|
2023-09-29 13:58:22 +07:00
|
|
|
<select name="disable_voucher" id="disable_voucher" class="form-control">
|
|
|
|
<option value="no" {if $_c['disable_voucher'] == 'no'}selected="selected" {/if}>No
|
|
|
|
</option>
|
|
|
|
<option value="yes" {if $_c['disable_voucher'] == 'yes'}selected="selected" {/if}>Yes
|
|
|
|
</option>
|
2022-09-07 16:11:35 +07:00
|
|
|
</select>
|
|
|
|
</div>
|
2023-09-29 13:58:22 +07:00
|
|
|
<p class="help-block col-md-4">{Lang::T('Voucher activation menu will be hidden')}</p>
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
2022-09-08 14:00:46 +07:00
|
|
|
<div class="form-group">
|
2023-10-18 17:23:47 +07:00
|
|
|
<label class="col-md-2 control-label">{Lang::T('Voucher Format')}</label>
|
2022-09-08 14:00:46 +07:00
|
|
|
<div class="col-md-6">
|
2023-10-18 17:23:47 +07:00
|
|
|
<select name="voucher_format" id="voucher_format" class="form-control">
|
|
|
|
<option value="up" {if $_c['voucher_format'] == 'up'}selected="selected" {/if}>UPPERCASE
|
|
|
|
</option>
|
|
|
|
<option value="low" {if $_c['voucher_format'] == 'low'}selected="selected" {/if}>
|
|
|
|
lowercase
|
|
|
|
</option>
|
|
|
|
<option value="rand" {if $_c['voucher_format'] == 'rand'}selected="selected" {/if}>
|
|
|
|
RaNdoM
|
|
|
|
</option>
|
|
|
|
</select>
|
2022-09-08 14:00:46 +07:00
|
|
|
</div>
|
2023-10-18 17:23:47 +07:00
|
|
|
<p class="help-block col-md-4">UPPERCASE lowercase RaNdoM</p>
|
2022-09-08 14:00:46 +07:00
|
|
|
</div>
|
2023-12-19 11:35:49 +07:00
|
|
|
{if $_c['disable_voucher'] != 'yes'}
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{Lang::T('Disable Registration')}</label>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<select name="disable_registration" id="disable_registration" class="form-control">
|
|
|
|
<option value="no" {if $_c['disable_registration'] == 'no'}selected="selected" {/if}>No
|
|
|
|
</option>
|
|
|
|
<option value="yes" {if $_c['disable_registration'] == 'yes'}selected="selected" {/if}>
|
|
|
|
Yes
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<p class="help-block col-md-4">
|
|
|
|
{Lang::T('Customer just Login with Phone number and Voucher Code, Voucher will be password')}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">Redirect after Activation</label>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<input type="text" class="form-control" id="voucher_redirect" name="voucher_redirect"
|
|
|
|
placeholder="https://192.168.88.1/status" value="{$voucher_redirect}">
|
|
|
|
</div>
|
|
|
|
<p class="help-block col-md-4">
|
|
|
|
{Lang::T('After Customer activate voucher or login, customer will be redirected to this url')}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{/if}
|
2023-10-18 17:23:47 +07:00
|
|
|
</div>
|
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="btn-group pull-right">
|
|
|
|
<button class="btn btn-primary btn-xs" title="save" type="submit"><span
|
|
|
|
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
|
|
|
|
</div>
|
|
|
|
FreeRadius
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2023-07-18 16:30:12 +07:00
|
|
|
<div class="form-group">
|
2023-10-18 17:23:47 +07:00
|
|
|
<label class="col-md-2 control-label">Enable Radius</label>
|
2023-07-18 16:30:12 +07:00
|
|
|
<div class="col-md-6">
|
2023-10-17 16:51:53 +07:00
|
|
|
<select name="radius_enable" id="radius_enable" class="form-control text-muted">
|
2023-10-03 15:46:55 +07:00
|
|
|
<option value="0">No</option>
|
|
|
|
<option value="1" {if $_c['radius_enable']}selected="selected" {/if}>Yes</option>
|
2023-07-18 16:30:12 +07:00
|
|
|
</select>
|
|
|
|
</div>
|
2023-10-18 17:23:47 +07:00
|
|
|
<p class="help-block col-md-4"><a
|
|
|
|
href="https://github.com/hotspotbilling/phpnuxbill/wiki/FreeRadius"
|
|
|
|
target="_blank">Radius Instructions</a></p>
|
2023-07-18 16:30:12 +07:00
|
|
|
</div>
|
2023-10-12 14:33:37 +07:00
|
|
|
<div class="form-group">
|
2023-10-18 17:23:47 +07:00
|
|
|
<label class="col-md-2 control-label">Radius Client</label>
|
2023-10-12 14:33:37 +07:00
|
|
|
<div class="col-md-6">
|
|
|
|
<input type="text" class="form-control" name="radius_client" value="{$_c['radius_client']}">
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
2023-08-09 10:50:02 +07:00
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="btn-group pull-right">
|
2023-08-14 11:24:27 +07:00
|
|
|
<button class="btn btn-primary btn-xs" title="save" type="submit"><span
|
|
|
|
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
|
2023-08-09 10:50:02 +07:00
|
|
|
</div>
|
|
|
|
{Lang::T('Balance System')}
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{Lang::T('Enable System')}</label>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<select name="enable_balance" id="enable_balance" class="form-control">
|
|
|
|
<option value="no" {if $_c['enable_balance'] == 'no'}selected="selected" {/if}>No
|
|
|
|
</option>
|
|
|
|
<option value="yes" {if $_c['enable_balance'] == 'yes'}selected="selected" {/if}>Yes
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
2023-08-14 11:24:27 +07:00
|
|
|
<p class="help-block col-md-4">{Lang::T('Customer can deposit money to buy voucher')}</p>
|
2023-08-09 10:50:02 +07:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{Lang::T('Allow Transfer')}</label>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<select name="allow_balance_transfer" id="allow_balance_transfer" class="form-control">
|
|
|
|
<option value="no" {if $_c['allow_balance_transfer'] == 'no'}selected="selected" {/if}>
|
|
|
|
No</option>
|
|
|
|
<option value="yes" {if $_c['allow_balance_transfer'] == 'yes'}selected="selected"
|
|
|
|
{/if}>Yes</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
2023-08-14 11:24:27 +07:00
|
|
|
<p class="help-block col-md-4">{Lang::T('Allow balance transfer between customers')}</p>
|
2023-08-09 10:50:02 +07:00
|
|
|
</div>
|
2023-08-24 11:52:43 +07:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{Lang::T('Minimum Balance Transfer')}</label>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<input type="number" class="form-control" id="minimum_transfer" name="minimum_transfer"
|
|
|
|
value="{$_c['minimum_transfer']}">
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-08-09 10:50:02 +07:00
|
|
|
</div>
|
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="btn-group pull-right">
|
2023-08-14 11:24:27 +07:00
|
|
|
<button class="btn btn-primary btn-xs" title="save" type="submit"><span
|
|
|
|
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
|
2023-08-09 10:50:02 +07:00
|
|
|
</div>
|
|
|
|
{Lang::T('Telegram Notification')}
|
|
|
|
</div>
|
2022-09-06 10:31:22 +07:00
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">Telegram Bot Token</label>
|
|
|
|
<div class="col-md-6">
|
2023-10-18 17:23:47 +07:00
|
|
|
<input type="password" class="form-control" id="telegram_bot" name="telegram_bot"
|
|
|
|
onmouseleave="this.type = 'password'" onmouseenter="this.type = 'text'"
|
2022-10-16 14:48:21 +07:00
|
|
|
value="{$_c['telegram_bot']}" placeholder="123456:asdasgdkuasghddlashdashldhalskdklasd">
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-12-19 11:35:49 +07:00
|
|
|
<label class="col-md-2 control-label">Telegram User/Channel/Group ID</label>
|
2022-09-06 10:31:22 +07:00
|
|
|
<div class="col-md-6">
|
2022-10-16 14:48:21 +07:00
|
|
|
<input type="text" class="form-control" id="telegram_target_id" name="telegram_target_id"
|
|
|
|
value="{$_c['telegram_target_id']}" placeholder="12345678">
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-08-09 10:50:02 +07:00
|
|
|
<small id="emailHelp" class="form-text text-muted">You will get Payment and Error
|
|
|
|
notification</small>
|
|
|
|
</div>
|
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="btn-group pull-right">
|
2023-08-14 11:24:27 +07:00
|
|
|
<button class="btn btn-primary btn-xs" title="save" type="submit"><span
|
|
|
|
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
|
2023-08-09 10:50:02 +07:00
|
|
|
</div>
|
|
|
|
{Lang::T('SMS OTP Registration')}
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
2022-09-07 14:44:04 +07:00
|
|
|
<label class="col-md-2 control-label">SMS Server URL</label>
|
2022-09-06 10:31:22 +07:00
|
|
|
<div class="col-md-6">
|
2022-10-16 14:48:21 +07:00
|
|
|
<input type="text" class="form-control" id="sms_url" name="sms_url" value="{$_c['sms_url']}"
|
|
|
|
placeholder="https://domain/?param_number=[number]¶m_text=[text]&secret=">
|
2022-09-07 14:44:04 +07:00
|
|
|
</div>
|
2023-08-14 11:24:27 +07:00
|
|
|
<p class="help-block col-md-4">Must include <b>[text]</b> & <b>[number]</b>, it will be
|
|
|
|
replaced.
|
|
|
|
</p>
|
2022-09-07 14:44:04 +07:00
|
|
|
</div>
|
2023-12-11 14:12:12 +07:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">Or use Mikrotik SMS</label>
|
|
|
|
<div class="col-md-6">
|
2023-12-19 11:35:49 +07:00
|
|
|
<select class="form-control"
|
|
|
|
onchange="document.getElementById('sms_url').value = this.value">
|
2023-12-11 14:12:12 +07:00
|
|
|
<option value="">Select Router</option>
|
|
|
|
{foreach $r as $rs}
|
2023-12-19 11:35:49 +07:00
|
|
|
<option value="{$rs['name']}" {if $rs['name']==$_c['sms_url']}selected{/if}>
|
|
|
|
{$rs['name']}</option>
|
2023-12-11 14:12:12 +07:00
|
|
|
{/foreach}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<p class="help-block col-md-4">Must include <b>[text]</b> & <b>[number]</b>, it will be
|
|
|
|
replaced.
|
|
|
|
</p>
|
|
|
|
</div>
|
2023-08-09 10:50:02 +07:00
|
|
|
<small id="emailHelp" class="form-text text-muted">You can use WhatsApp in here too. <a
|
|
|
|
href="https://wa.nux.my.id/login" target="_blank">Free Server</a></small>
|
|
|
|
</div>
|
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="btn-group pull-right">
|
2023-08-14 11:24:27 +07:00
|
|
|
<button class="btn btn-primary btn-xs" title="save" type="submit"><span
|
|
|
|
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
|
2023-08-09 10:50:02 +07:00
|
|
|
</div>
|
|
|
|
{Lang::T('Whatsapp Notification')}
|
2022-09-07 14:44:04 +07:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">Whatsapp Server URL</label>
|
|
|
|
<div class="col-md-6">
|
2022-10-16 14:48:21 +07:00
|
|
|
<input type="text" class="form-control" id="wa_url" name="wa_url" value="{$_c['wa_url']}"
|
|
|
|
placeholder="https://domain/?param_number=[number]¶m_text=[text]&secret=">
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
2023-08-14 11:24:27 +07:00
|
|
|
<p class="help-block col-md-4">Must include <b>[text]</b> & <b>[number]</b>, it will be
|
|
|
|
replaced.
|
|
|
|
</p>
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
2023-08-14 11:24:27 +07:00
|
|
|
<small id="emailHelp" class="form-text text-muted">You can use WhatsApp in here too. <a
|
|
|
|
href="https://wa.nux.my.id/login" target="_blank">Free Server</a></small>
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
2023-08-09 10:50:02 +07:00
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="btn-group pull-right">
|
2023-08-14 11:24:27 +07:00
|
|
|
<button class="btn btn-primary btn-xs" title="save" type="submit"><span
|
|
|
|
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
|
2023-08-09 10:50:02 +07:00
|
|
|
</div>
|
|
|
|
{Lang::T('User Notification')}
|
|
|
|
</div>
|
2023-03-06 14:49:26 +07:00
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{Lang::T('Expired Notification')}</label>
|
|
|
|
<div class="col-md-6">
|
2023-08-09 10:50:02 +07:00
|
|
|
<select name="user_notification_expired" id="user_notification_expired"
|
|
|
|
class="form-control">
|
2023-03-06 14:49:26 +07:00
|
|
|
<option value="none">None</option>
|
2023-08-09 10:50:02 +07:00
|
|
|
<option value="wa" {if $_c['user_notification_expired'] == 'wa'}selected="selected"
|
|
|
|
{/if}>Whatsapp</option>
|
|
|
|
<option value="sms" {if $_c['user_notification_expired'] == 'sms'}selected="selected"
|
|
|
|
{/if}>SMS</option>
|
2023-03-06 14:49:26 +07:00
|
|
|
</select>
|
|
|
|
</div>
|
2023-08-14 11:24:27 +07:00
|
|
|
<p class="help-block col-md-4">{Lang::T('User will get notification when package expired')}</p>
|
2023-03-06 14:49:26 +07:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{Lang::T('Payment Notification')}</label>
|
|
|
|
<div class="col-md-6">
|
2023-08-09 10:50:02 +07:00
|
|
|
<select name="user_notification_payment" id="user_notification_payment"
|
|
|
|
class="form-control">
|
2023-03-06 14:49:26 +07:00
|
|
|
<option value="none">None</option>
|
2023-08-09 10:50:02 +07:00
|
|
|
<option value="wa" {if $_c['user_notification_payment'] == 'wa'}selected="selected"
|
|
|
|
{/if}>Whatsapp</option>
|
|
|
|
<option value="sms" {if $_c['user_notification_payment'] == 'sms'}selected="selected"
|
|
|
|
{/if}>SMS</option>
|
2023-03-06 14:49:26 +07:00
|
|
|
</select>
|
|
|
|
</div>
|
2023-08-14 11:24:27 +07:00
|
|
|
<p class="help-block col-md-4">
|
|
|
|
{Lang::T('User will get invoice notification when buy package or package refilled')}</p>
|
2023-03-06 14:49:26 +07:00
|
|
|
</div>
|
2022-09-07 15:07:40 +07:00
|
|
|
<div class="form-group">
|
2023-08-14 11:24:27 +07:00
|
|
|
<label class="col-md-2 control-label">{Lang::T('Reminder Notification')}</label>
|
2022-09-07 15:07:40 +07:00
|
|
|
<div class="col-md-6">
|
2023-08-14 11:24:27 +07:00
|
|
|
<select name="user_notification_reminder" id="user_notification_reminder"
|
|
|
|
class="form-control">
|
|
|
|
<option value="none">None</option>
|
|
|
|
<option value="wa" {if $_c['user_notification_reminder'] == 'wa'}selected="selected"
|
|
|
|
{/if}>Whatsapp</option>
|
|
|
|
<option value="sms" {if $_c['user_notification_reminder'] == 'sms'}selected="selected"
|
|
|
|
{/if}>SMS</option>
|
|
|
|
</select>
|
2022-09-07 15:07:40 +07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-08-09 10:50:02 +07:00
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="btn-group pull-right">
|
2023-08-14 11:24:27 +07:00
|
|
|
<button class="btn btn-primary btn-xs" title="save" type="submit"><span
|
|
|
|
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
|
2023-08-09 10:50:02 +07:00
|
|
|
</div>
|
2023-08-14 11:24:27 +07:00
|
|
|
{Lang::T('Tawk.to Chat Widget')}
|
2023-08-09 10:50:02 +07:00
|
|
|
</div>
|
2022-09-06 10:31:22 +07:00
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
2023-08-14 11:24:27 +07:00
|
|
|
<label class="col-md-2 control-label">https://tawk.to/chat/</label>
|
2022-09-06 10:31:22 +07:00
|
|
|
<div class="col-md-6">
|
2023-08-14 11:24:27 +07:00
|
|
|
<input type="text" class="form-control" id="tawkto" name="tawkto" value="{$_c['tawkto']}"
|
|
|
|
placeholder="62f1ca7037898912e961f5/1ga07df">
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
2023-08-14 11:24:27 +07:00
|
|
|
<p class="help-block col-md-4">From Direct Chat Link.</p>
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
2023-08-14 11:24:27 +07:00
|
|
|
<label class="col-md-2"></label>
|
|
|
|
<p class="col-md-6 help-block">/ip hotspot walled-garden<br>
|
|
|
|
add dst-host=tawk.to<br>
|
|
|
|
add dst-host=*.tawk.to</p>
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
2023-08-16 08:30:05 +07:00
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="btn-group pull-right">
|
|
|
|
<button class="btn btn-primary btn-xs" title="save" type="submit"><span
|
|
|
|
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
|
|
|
|
</div>
|
|
|
|
{Lang::T('Invoice')}
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{Lang::T('Invoice Footer')}</label>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<textarea class="form-control" id="note" name="note"
|
|
|
|
rows="3">{Lang::htmlspecialchars($_c['note'])}</textarea>
|
|
|
|
<span class="help-block">{$_L['You_can_use_html_tag']}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-09-13 10:00:26 +07:00
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="btn-group pull-right">
|
|
|
|
<button class="btn btn-primary btn-xs" title="save" type="submit"><span
|
|
|
|
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
|
|
|
|
</div>
|
|
|
|
{Lang::T('Proxy')}
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{Lang::T('Proxy Server')}</label>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<input type="text" class="form-control" id="http_proxy" name="http_proxy"
|
|
|
|
value="{$_c['http_proxy']}" placeholder="127.0.0.1:3128">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">{Lang::T('Proxy Server Login')}</label>
|
|
|
|
<div class="col-md-6">
|
2023-10-18 17:23:47 +07:00
|
|
|
<input type="password" class="form-control" id="http_proxyauth" name="http_proxyauth"
|
|
|
|
autocomplete="off" value="{$_c['http_proxyauth']}" placeholder="username:password"
|
|
|
|
onmouseleave="this.type = 'password'" onmouseenter="this.type = 'text'">
|
2023-09-13 10:00:26 +07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-01-18 15:41:24 +07:00
|
|
|
<div class="panel-heading" id="envato">
|
|
|
|
<div class="btn-group pull-right">
|
|
|
|
<button class="btn btn-primary btn-xs" title="save" type="submit"><span
|
|
|
|
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
|
|
|
|
</div>
|
|
|
|
Envato / Codecanyon
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 control-label">Envato Personal Token</label>
|
|
|
|
<div class="col-md-6">
|
2024-01-18 17:24:59 +07:00
|
|
|
<input type="password" class="form-control" id="envato_token" name="envato_token"
|
2024-01-18 15:41:24 +07:00
|
|
|
value="{$_c['envato_token']}" placeholder="BldWuBsxxxxxxxxxxxPDzPozHAPui">
|
|
|
|
</div>
|
|
|
|
<span class="help-block col-md-4"><a href="https://build.envato.com/create-token/" target="_blank">Create Token</a></span>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label col-md-offset-2 col-md-8" style="text-align: left;">Envato Permission<br>
|
|
|
|
- View and search Envato sites<br>
|
|
|
|
- Download the user's purchased items<br>
|
|
|
|
- List purchases the user has made<br><br>
|
|
|
|
<a href="https://codecanyon.net/category/php-scripts?term=phpnuxbill" target="_blank" class="btn btn-xs btn-primary">View MarketPlace</a>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
2023-07-18 16:30:12 +07:00
|
|
|
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<button class="btn btn-success btn-block waves-effect waves-light"
|
|
|
|
type="submit">{$_L['Save']}</button>
|
|
|
|
</div>
|
2023-08-09 10:50:02 +07:00
|
|
|
</div>
|
2023-07-18 16:30:12 +07:00
|
|
|
|
|
|
|
<pre>/ip hotspot walled-garden
|
2023-08-14 11:24:27 +07:00
|
|
|
add dst-host={$_domain}
|
|
|
|
add dst-host=*.{$_domain}</pre>
|
2023-10-17 16:51:53 +07:00
|
|
|
|
2023-10-18 17:23:47 +07:00
|
|
|
<pre>
|
2023-10-17 16:51:53 +07:00
|
|
|
# Expired Cronjob Every 5 Minutes
|
|
|
|
*/5 * * * * cd {$dir} && {$php} cron.php
|
|
|
|
|
2023-10-18 15:35:45 +07:00
|
|
|
# Expired Cronjob Every 1 Hour
|
2023-10-17 16:51:53 +07:00
|
|
|
0 * * * * cd {$dir} && {$php} cron.php
|
|
|
|
</pre>
|
2023-10-18 17:23:47 +07:00
|
|
|
<pre>
|
2023-10-17 16:51:53 +07:00
|
|
|
# Reminder Cronjob Every 7 AM
|
2023-10-25 15:27:26 +07:00
|
|
|
0 7 * * * cd {$dir} && {$php} cron_reminder.php
|
2023-10-17 16:51:53 +07:00
|
|
|
</pre>
|
2022-09-06 10:31:22 +07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2022-10-16 14:48:21 +07:00
|
|
|
{include file="sections/footer.tpl"}
|