From b95788262d27ed7c69dcd580689e567ce492d4ca Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Tue, 12 Mar 2024 11:48:17 +0700 Subject: [PATCH] Change button --- ui/ui/paymentgateway.tpl | 10 +++++----- ui/ui/user-dashboard.tpl | 29 ++++++++++++++++++----------- 2 files changed, 23 insertions(+), 16 deletions(-) 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}