-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3d9c1d1
Showing
3,625 changed files
with
395,692 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,265 @@ | ||
<?php | ||
require('php-includes/database.php'); | ||
include('php-includes/check-session.php'); | ||
|
||
$username = $_SESSION['username']; | ||
?> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no"> | ||
<title>Dashboard</title> | ||
<link rel="icon" type="image/x-icon" href="#"/> | ||
<link href="../layouts/modern-dark-menu/css/light/loader.css" rel="stylesheet" type="text/css" /> | ||
<link href="../layouts/modern-dark-menu/css/dark/loader.css" rel="stylesheet" type="text/css" /> | ||
<script src="../layouts/modern-dark-menu/loader.js"></script> | ||
<!-- BEGIN GLOBAL MANDATORY STYLES --> | ||
<link href="https://fonts.googleapis.com/css?family=Nunito:400,600,700" rel="stylesheet"> | ||
<link href="../src/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> | ||
<link href="../layouts/modern-dark-menu/css/light/plugins.css" rel="stylesheet" type="text/css" /> | ||
<link href="../layouts/modern-dark-menu/css/dark/plugins.css" rel="stylesheet" type="text/css" /> | ||
<!-- END GLOBAL MANDATORY STYLES --> | ||
|
||
<!-- BEGIN PAGE LEVEL PLUGINS/CUSTOM STYLES --> | ||
<link rel="stylesheet" type="text/css" href="../src/plugins/src/table/datatable/datatables.css"> | ||
<link rel="stylesheet" type="text/css" href="../src/assets/css/light/elements/alert.css"> | ||
<link rel="stylesheet" type="text/css" href="../src/assets/css/dark/elements/alert.css"> | ||
<link rel="stylesheet" type="text/css" href="../src/plugins/css/dark/table/datatable/dt-global_style.css"> | ||
<!-- END PAGE LEVEL PLUGINS/CUSTOM STYLES --> | ||
|
||
<style> | ||
body.dark .layout-px-spacing, .layout-px-spacing { | ||
min-height: calc(100vh - 155px) !important; | ||
} | ||
</style> | ||
<style> | ||
div:where(.swal2-container) h2:where(.swal2-title) { | ||
|
||
color: inherit !important; | ||
|
||
} | ||
.container { | ||
position: relative; | ||
overflow: hidden; | ||
width: 100%; | ||
padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */ | ||
} | ||
|
||
/* Then style the iframe to fit in the container div with full height and width */ | ||
.responsive-iframe { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
bottom: 0; | ||
right: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.num-wrapper > li { | ||
|
||
width: 50px; | ||
} | ||
.dropbtn { | ||
background-color: #04AA6D; | ||
color: white; | ||
padding: 16px; | ||
font-size: 16px; | ||
border: none; | ||
border-radius: 8px; | ||
} | ||
|
||
.dropdown { | ||
position: relative; | ||
display: inline-block; | ||
} | ||
|
||
.dropdown-content { | ||
display: none; | ||
position: absolute; | ||
background-color: #060818; | ||
min-width: 160px; | ||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | ||
z-index: 1; | ||
} | ||
|
||
.dropdown-content a { | ||
color: black; | ||
padding: 12px 16px; | ||
text-decoration: none; | ||
display: block; | ||
} | ||
|
||
.dropdown-content a:hover {background-color: #ff3333;} | ||
|
||
.dropdown:hover .dropdown-content {display: block;} | ||
|
||
.dropdown:hover .dropbtn {background-color: #3e8e41;} | ||
|
||
body.dark .btn-success { | ||
|
||
width: 100%; | ||
|
||
} | ||
body.dark .btn-danger { | ||
|
||
width: 100%; | ||
|
||
} | ||
</style> | ||
|
||
</head> | ||
<body class="layout-boxed"> | ||
|
||
<!-- BEGIN LOADER --> | ||
<div id="load_screen"> <div class="loader"> <div class="loader-content"> | ||
<div class="spinner-grow align-self-center"></div> | ||
</div></div></div> | ||
<!-- END LOADER --> | ||
|
||
<!-- BEGIN NAVBAR --> | ||
<?php include('php-includes/navbar.php');?> | ||
<!-- END NAVBAR --> | ||
|
||
<!-- BEGIN MAIN CONTAINER --> | ||
<div class="main-container " id="container"> | ||
|
||
<div class="overlay"></div> | ||
<div class="search-overlay"></div> | ||
|
||
<!-- BEGIN SIDEBAR --> | ||
<?php include('php-includes/sidebar.php');?> | ||
<!-- END SIDEBAR --> | ||
|
||
<!-- BEGIN CONTENT AREA --> | ||
<div id="content" class="main-content"> | ||
<div class="layout-px-spacing"> | ||
|
||
<div class="middle-content container-xxl p-0"> | ||
|
||
|
||
|
||
<!-- CONTENT AREA --> | ||
<div class="row layout-top-spacing"> | ||
|
||
<div class="col-xl-12 col-lg-12 col-sm-12 layout-spacing"> | ||
<div class="widget-content widget-content-area br-8"> | ||
<table id="zero-config" class="table table-striped dt-table-hover" style="width:100%"> | ||
<thead> | ||
<tr> | ||
<th>POS Username</th> | ||
<th>Sponsor</th> | ||
<th>Draw Time</th> | ||
<th>Winning Combinations</th> | ||
<th>Bet Amount</th> | ||
|
||
<th>Ticket Number</th> | ||
<th>Draw Date</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php | ||
$query = mysqli_query($con,"SELECT * FROM bets where status = 'Open' and username = '$username'"); | ||
if(mysqli_num_rows($query)>0){ | ||
while($row=mysqli_fetch_assoc($query)){ | ||
$username = $row['username']; | ||
$sponsor = $row['sponsor']; | ||
$game_time = $row['game_time']; | ||
$combinations = $row['combinations']; | ||
$bet_amount = $row['amount']; | ||
|
||
$ticket_number = $row['ticket_number']; | ||
$draw_date = $row['date_placed']; | ||
|
||
?> | ||
<tr> | ||
<td><?php echo $username; ?></td> | ||
<td><?php echo $sponsor; ?></td> | ||
<td><?php echo $game_time; ?></td> | ||
<td><?php echo $combinations; ?></td> | ||
<td> <?php echo "₱".number_format("$bet_amount",2);?></td> | ||
|
||
<td><?php echo $ticket_number; ?></td> | ||
<td><?php echo $draw_date; ?></td> | ||
|
||
</tr> | ||
<?php | ||
$i++; | ||
} | ||
mysqli_free_result($query); | ||
mysqli_close($con); | ||
} | ||
else{ | ||
?> | ||
<tr> | ||
<td colspan="15" align="center">No bets yet.</td> | ||
</tr> | ||
<?php | ||
} | ||
?> | ||
</tbody> | ||
<tfoot> | ||
<tr> | ||
<th>POS Username</th> | ||
<th>Sponsor</th> | ||
<th>Draw Time</th> | ||
<th>Winning Combinations</th> | ||
<th>Bet Amount</th> | ||
|
||
<th>Ticket Number</th> | ||
<th>Draw Date</th> | ||
</tr> | ||
</tfoot> | ||
</table> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<!-- CONTENT AREA --> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
|
||
|
||
</div> | ||
<!-- END CONTENT AREA --> | ||
</div> | ||
<!-- END MAIN CONTAINER --> | ||
|
||
<!-- BEGIN GLOBAL MANDATORY SCRIPTS --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> | ||
<script src="../src/bootstrap/js/bootstrap.bundle.min.js"></script> | ||
<script src="../src/plugins/src/perfect-scrollbar/perfect-scrollbar.min.js"></script> | ||
<script src="../src/plugins/src/mousetrap/mousetrap.min.js"></script> | ||
<script src="../src/plugins/src/waves/waves.min.js"></script> | ||
<script src="../layouts/modern-dark-menu/app.js"></script> | ||
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script> | ||
<!-- END GLOBAL MANDATORY SCRIPTS --> | ||
|
||
<!-- BEGIN PAGE LEVEL PLUGINS/CUSTOM SCRIPTS --> | ||
|
||
<!-- BEGIN PAGE LEVEL PLUGINS/CUSTOM SCRIPTS --> | ||
<script src="../src/plugins/src/table/datatable/datatables.js"></script> | ||
<script> | ||
$('#zero-config').DataTable({ | ||
"dom": "<'dt--top-section'<'row'<'col-12 col-sm-6 d-flex justify-content-sm-start justify-content-center'l><'col-12 col-sm-6 d-flex justify-content-sm-end justify-content-center mt-sm-0 mt-3'f>>>" + | ||
"<'table-responsive'tr>" + | ||
"<'dt--bottom-section d-sm-flex justify-content-sm-between text-center'<'dt--pages-count mb-sm-0 mb-3'i><'dt--pagination'p>>", | ||
"oLanguage": { | ||
"oPaginate": { "sPrevious": '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>', "sNext": '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg>' }, | ||
"sInfo": "Showing page _PAGE_ of _PAGES_", | ||
"sSearch": '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>', | ||
"sSearchPlaceholder": "Search...", | ||
"sLengthMenu": "Results : _MENU_", | ||
}, | ||
"stripeClasses": [], | ||
"lengthMenu": [7, 10, 20, 50], | ||
"pageLength": 10 | ||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"require": { | ||
"endroid/qr-code": "^4.8" | ||
} | ||
} |
Oops, something went wrong.