-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbank_table.php
36 lines (36 loc) · 1.19 KB
/
bank_table.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
require_once('class.php');
$dz = new dzTraderBankLogging();
($dz->IssetCheck('GET', 'hours')) ? $hours = $_GET['hours'] : $hours = 24;
($dz->IssetCheck('GET', 'limit')) ? $limit = $_GET['limit'] : $limit = 500;
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Transactions table from past <?php echo $hours; ?> hours</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.min.css"/>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-12">
<?php
if ($dz->mainViewSystem()) {//Is admin system in use or everyone can view
$dz->navBar('BANK_TABLE');
if ($dz::HAS_ATM) {
$dz->bankTablePreface($hours, $limit);
$dz->recentBankTable($hours, $limit);
}
$dz->footerText();
} else {
$dz->loginButtonPressed();//Login button was pressed
$dz->unAuthOutputs();//Not an admin OR login is required
}
?>
</div>
</div>
</div>
</body>
</html>