Fix login, register, dashboard, + pengumuman

Tampilan login dan register diubah
Error include file diperbaiki
logout diperbaiki
penambahan pengumuman dan informasi saat registrasi
This commit is contained in:
Ibnu Maksum
2017-03-23 02:25:45 +07:00
parent 0f7268ba13
commit 24d7ef3f2d
15 changed files with 211 additions and 125 deletions

View File

@ -1,11 +1,11 @@
{include file="sections/user-header.tpl"}
<div class="row">
<div class="col-md-12">
<div class="dash-head clearfix mt15 mb20">
<div class="left">
<h4 class="mb5 text-light">{$_L['Welcome']}, {$_user['fullname']}</h4>
<p>{$_L['Welcome_Text_User']}</p>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">{$_L['Welcome']}, {$_user['fullname']}</div>
<div class="panel-body" style="height:296px;max-height:296px;overflow:scroll;">
<p>{$_L['Welcome_Text_User']}</p>
<ul>
<li> {$_L['Account_Information']}</li>
<li> <a href="{$_url}voucher/activation">{$_L['Voucher_Activation']}</a></li>
@ -14,33 +14,63 @@
<li> {$_L['Order_Voucher']}</li>
<li> {$_L['Private_Message']}</li>
</ul>
</div>
</div>
</div>
</div>
<div class="col-md-6">
<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>
</div>
</div>
<br>
<div class="row">
<div class="col-sm-12">
<div class="panel mb20 panel-primary panel-hovered">
<div class="col-sm-6">
<div class="panel panel-default table-condensed">
<div class="panel-heading">{$_L['Account_Information']}</div>
<table class="table table-striped table-bordered">
<tr>
<td class="small text-success text-uppercase text-normal">{$_L['Username']}</td>
<td class="small mb15">{$_bill['username']}</td>
</tr>
<tr>
<td class="small text-primary text-uppercase text-normal">{$_L['Plan_Name']}</td>
<td class="small mb15">{$_bill['namebp']}</td>
</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}&nbsp;</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}&nbsp;</td>
</tr>
</table>
</div>
</div>
<div class="col-sm-6">
<br class="visible-xs-inline visible-sm-inline">
<div class="panel panel-primary panel-hovered panel-stacked mb30">
<div class="panel-heading">{$_L['Voucher_Activation']}</div>
<div class="panel-body">
<div class="row">
<div class="col-sm-3">
<p class="small text-success text-uppercase text-normal">{$_L['Username']}</p>
<p class="small mb15">{$_bill['username']}</p>
</div>
<div class="col-sm-3">
<p class="small text-primary text-uppercase text-normal">{$_L['Plan_Name']}</p>
<p class="small mb15">{$_bill['namebp']}</p>
</div>
<div class="col-sm-3">
<p class="small text-info text-uppercase text-normal">{$_L['Created_On']}</p>
<p class="small mb15">{date($_c['date_format'], strtotime($_bill['recharged_on']))} {$_bill['time']}</p>
</div>
<div class="col-sm-3">
<p class="small text-danger text-uppercase text-normal">{$_L['Expires_On']}</p>
<p class="small mb15">{date($_c['date_format'], strtotime($_bill['expiration']))} {$_bill['time']}</p>
</div>
</div>
<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>
<div class="form-group">
<div align="center">
<button class="btn btn-success waves-effect waves-light" type="submit">{$_L['Recharge']}</button>
</div>
</div>
</form>
</div>
</div>
</div>