add token to order plan
This commit is contained in:
parent
70de538f38
commit
bbed893759
@ -37,17 +37,17 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/radius/{$plan['id']}"
|
<a href="{$_url}order/gateway/radius/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/radius/{$plan['id']}"
|
<a href="{$_url}order/pay/radius/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/send/radius/{$plan['id']}"
|
<a href="{$_url}order/send/radius/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
||||||
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
@ -88,17 +88,17 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/radius/{$plan['id']}"
|
<a href="{$_url}order/gateway/radius/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/radius/{$plan['id']}"
|
<a href="{$_url}order/pay/radius/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/send/radius/{$plan['id']}"
|
<a href="{$_url}order/send/radius/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
||||||
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
@ -139,17 +139,17 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/pppoe/{$plan['id']}"
|
<a href="{$_url}order/gateway/pppoe/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwritten')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwritten')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/pppoe/{$plan['id']}"
|
<a href="{$_url}order/pay/pppoe/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwritten')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwritten')}')"
|
||||||
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/send/pppoe/{$plan['id']}"
|
<a href="{$_url}order/send/pppoe/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
||||||
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
@ -189,17 +189,17 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/hotspot/{$plan['id']}"
|
<a href="{$_url}order/gateway/hotspot/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwritten')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwritten')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/hotspot/{$plan['id']}"
|
<a href="{$_url}order/pay/hotspot/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwritten')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwritten')}')"
|
||||||
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/send/hotspot/{$plan['id']}"
|
<a href="{$_url}order/send/hotspot/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
||||||
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
@ -249,17 +249,17 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}"
|
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}"
|
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/send/{$router['id']}/{$plan['id']}"
|
<a href="{$_url}order/send/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
||||||
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
@ -298,17 +298,17 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}"
|
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}"
|
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/send/{$router['id']}/{$plan['id']}"
|
<a href="{$_url}order/send/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
||||||
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
@ -348,17 +348,17 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}"
|
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}"
|
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/send/{$router['id']}/{$plan['id']}"
|
<a href="{$_url}order/send/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
||||||
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
@ -395,17 +395,17 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}"
|
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}"
|
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
class="btn btn-sm btn-block btn-success">{Lang::T('Pay With Balance')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/send/{$router['id']}/{$plan['id']}"
|
<a href="{$_url}order/send/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
onclick="return confirm('{Lang::T('Buy this for friend account?')}')"
|
||||||
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user