diff --git a/ui/ui/paymentgateway.tpl b/ui/ui/paymentgateway.tpl index 5fdf1150..14297297 100644 --- a/ui/ui/paymentgateway.tpl +++ b/ui/ui/paymentgateway.tpl @@ -10,10 +10,10 @@ {foreach $pgs as $pg} + {if in_array($pg, $actives)}checked{/if} value="{$pg}"> {ucwords($pg)} + class="btn btn-block btn-{if in_array($pg, $actives)}info{else}default{/if} text-left">{ucwords($pg)} + @@ -22,8 +22,8 @@ - + diff --git a/ui/ui/user-dashboard.tpl b/ui/ui/user-dashboard.tpl index f797accd..732f4414 100644 --- a/ui/ui/user-dashboard.tpl +++ b/ui/ui/user-dashboard.tpl @@ -53,10 +53,10 @@

{Lang::T('Announcement')}

- {$Announcement_Customer = "{$PAGES_PATH}/Announcement_Customer.html"} - {if file_exists($Announcement_Customer)} - {include file=$Announcement_Customer} - {/if} + {$Announcement_Customer = "{$PAGES_PATH}/Announcement_Customer.html"} + {if file_exists($Announcement_Customer)} + {include file=$Announcement_Customer} + {/if}
@@ -131,11 +131,8 @@ {Lang::T('Plan Name')} {$_bill['namebp']} - {if $_bill['status'] == 'on'} - {Lang::T('Deactivate')} - {else} - {Lang::T('expired')} + {if $_bill['status'] != 'on'} + {Lang::T('expired')} {/if} @@ -149,8 +146,6 @@ {Lang::T('Expires On')} {if $_bill['time'] ne ''}{Lang::dateAndTimeFormat($_bill['expiration'],$_bill['time'])}{/if}  - {Lang::T('Recharge')} {if $nux_ip} @@ -173,6 +168,18 @@ {/if} + + + {if $_bill['status'] == 'on'} + + {/if} + + + {Lang::T('Recharge')} + + {/foreach}