This commit is contained in:
2022-03-24 21:23:01 -04:00
parent 928d064fbe
commit 2e63218e82
4 changed files with 53 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Wallet extends Users_Controller {
public function index() {
//
if (!isset($_SESSION['username']) or $_SESSION['username'] == '') {
redirect(home);
} else {
redirect(dash);
}
}
}
@@ -291,6 +291,26 @@ $server_name = 'https://'. $_SERVER['HTTP_HOST'];
</div>
</a>
<a href="/member/balance">
<div class="menu-item">
<span class="menu-link">
<span class="menu-icon">
<!--begin::Svg Icon | path: icons/duotune/general/gen025.svg-->
<span class="svg-icon svg-icon-2">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
<rect x="2" y="2" width="9" height="9" rx="2" fill="black" />
<rect opacity="0.3" x="13" y="2" width="9" height="9" rx="2" fill="black" />
<rect opacity="0.3" x="13" y="13" width="9" height="9" rx="2" fill="black" />
<rect opacity="0.3" x="2" y="13" width="9" height="9" rx="2" fill="black" />
</svg>
</span>
<!--end::Svg Icon-->
</span>
<span class="menu-title">my Wallet</span>
</span>
</div>
</a>
<div class="menu-item">
<div class="menu-content pt-8 pb-2">
<span class="menu-section text-muted text-uppercase fs-8 ls-1">Activities</span>
@@ -104,6 +104,20 @@ function getAddWithdrawButtons(){
}
?>
<tr style="background-color: aliceblue;">
<td>
<img src="/site3/assets/img/crypto-wallet.png">
</td>
<td class="text-start" colspan="2">
Claim your free WRENCH Token
</td>
<td class="text-end">
<?php
echo "<a href=\"/wallet/\" type=\"submit\" class=\"btn btn-sm btn-warning btn-xs btn-block\">Get Started</a>";
?>
</td>
</tr>
</tbody>
<!--end::Table body-->
</table>
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB