-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhot.php
234 lines (224 loc) · 11.9 KB
/
hot.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<?php
ob_start();
session_start();
date_default_timezone_set("Asia/Jakarta");
include('config/koneksi.php');
$sid = session_id();
$sql_0 = mysqli_query($conn,"SELECT * FROM `tb_seo` WHERE cuid = 1") or die(mysqli_error());
$s0 = mysqli_fetch_array($sql_0);
$urlweb = $s0['urlweb'];
$urlwebs = $s0['urlweb'];
$pengguna = $s0['user'];
$sql_1a = mysqli_query($conn,"SELECT * FROM `tb_social` WHERE user = '$pengguna'") or die(mysqli_error());
$s1a = mysqli_fetch_array($sql_1a);
$sql_1b = mysqli_query($conn,"SELECT * FROM `tb_user` WHERE user = '$pengguna'") or die(mysqli_error());
$s1b = mysqli_fetch_array($sql_1b);
$ip = $_SERVER['REMOTE_ADDR'];
$date = date('Y-m-d');
$stat = mysqli_query($conn,"INSERT INTO `tb_stat` (`ip`, `date`, `hits`, `page`, `user`) VALUES ('$ip', '$date', 1, 'Beranda', '$pengguna')") or die (mysqli_error());
$hari = array('Senin','Selasa','Rabu','Kamis','Jumat','Sabtu','Minggu');
?>
<!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">
<title><?php echo $s0['instansi']; ?></title>
<meta name="description" content="<?php echo $s0['deskripsi']; ?>">
<meta name="keywords" content="<?php echo $s0['keyword']; ?>">
<meta property="og:title" content="<?php echo $s0['instansi']; ?>"/>
<meta property="og:description" content="<?php echo $s0['deskripsi']; ?>" />
<meta property="og:url" content="<?php echo $urlweb; ?>" />
<meta property="og:image" content="<?php echo $urlweb; ?>/upload/<?php echo $s0['image']; ?>" />
<meta name="resource-type" content="document" />
<meta http-equiv="content-type" content="text/html; charset=US-ASCII" />
<meta http-equiv="content-language" content="en-us" />
<meta name="author" content="<?php echo $urlweb; ?>" />
<meta name="contact" content="<?php echo $urlweb; ?>" />
<meta name="copyright" content="Copyright (c) <?php echo $urlweb; ?>. All Rights Reserved." />
<meta name="robots" content="index, nofollow">
<link rel="shortcut icon" type="image/x-icon" href="<?php echo $urlweb; ?>/upload/favicon.png">
<link rel="stylesheet" href="<?php echo $urlweb; ?>/assets/plugins/summernote/dist/summernote-bs4.css"/>
<!-- simplebar CSS-->
<link href="<?php echo $urlweb; ?>/assets/plugins/simplebar/css/simplebar.css" rel="stylesheet"/>
<!-- Bootstrap core CSS-->
<link href="<?php echo $urlweb; ?>/assets/css/bootstrap.min.css" rel="stylesheet"/>
<!--Data Tables -->
<link href="<?php echo $urlweb; ?>/assets/plugins/bootstrap-datatable/css/dataTables.bootstrap4.min.css" rel="stylesheet" type="text/css">
<link href="<?php echo $urlweb; ?>/assets/plugins/bootstrap-datatable/css/buttons.bootstrap4.min.css" rel="stylesheet" type="text/css">
<!-- animate CSS-->
<link href="<?php echo $urlweb; ?>/assets/css/animate.css" rel="stylesheet" type="text/css"/>
<!-- Icons CSS-->
<link href="<?php echo $urlweb; ?>/assets/css/icons.css" rel="stylesheet" type="text/css"/>
<!-- Custom Style-->
<?php include('style.php'); ?>
<link href="<?php echo $urlweb; ?>/assets/css/owl.carousel.css" rel="stylesheet"/>
<link href="<?php echo $urlweb; ?>/assets/css/owl.carousel.min.css" rel="stylesheet"/>
</head>
<body>
<!-- Start wrapper-->
<div id="wrapper">
<header>
<?php include('header.php'); ?>
</header>
<section class="d-block d-sm-none">
<?php if(!isset($_SESSION['user'])){ ?>
<div class="login-links-container">
<a href="<?php echo $urlweb; ?>/register/" class="btn_register">Register</a>
<a href="<?php echo $urlweb; ?>/login/" class="btn_login">Login</a>
</div>
<?php } else { ?>
<div class="login-links-container">
<a href="<?php echo $urlweb; ?>/register/" class="btn_register">Register</a>
<a href="<?php echo $urlweb; ?>/login/" class="btn_login">Login</a>
</div>
<?php } ?>
<div class="main-menu-outer-container">
<main>
<a href="<?php echo $urlweb; ?>/hot/" data-active="false">
<img loading="lazy" src="<?php echo $urlweb; ?>/upload/hot-games.svg" style="--image-src: url(<?php echo $urlweb; ?>/upload/hot-games-active.svg);">Hot Games</a>
<a href="<?php echo $urlweb; ?>/slot/" data-active="false">
<img loading="lazy" src="<?php echo $urlweb; ?>/upload/slots.svg" style="--image-src: url(<?php echo $urlweb; ?>/upload/slots-active.svg);">Slots</a>
<a href="<?php echo $urlweb; ?>/casino/" data-active="false">
<img loading="lazy" src="<?php echo $urlweb; ?>/upload/casino.svg" style="--image-src: url(<?php echo $urlweb; ?>/upload/casino-active.svg);">Live Casino</a>
<a href="<?php echo $urlweb; ?>/lotto/" data-active="false">
<img loading="lazy" src="<?php echo $urlweb; ?>/upload/others.svg" style="--image-src: url(<?php echo $urlweb; ?>/upload/others-active.svg);">Lottery</a>
<a href="<?php echo $urlweb; ?>/sport/" data-active="false">
<img loading="lazy" src="<?php echo $urlweb; ?>/upload/sports.svg" style="--image-src: url(<?php echo $urlweb; ?>/upload/sports-active.svg);">Sports</a>
<a href="<?php echo $urlweb; ?>/fishing/" data-active="false">
<img loading="lazy" src="<?php echo $urlweb; ?>/upload/crash-game.svg" style="--image-src: url(<?php echo $urlweb; ?>/upload/crash-game-active.svg);">Crash Game</a>
<a href="<?php echo $urlweb; ?>/arcade/" data-active="false">
<img loading="lazy" src="<?php echo $urlweb; ?>/upload/arcade.svg" style="--image-src: url(<?php echo $urlweb; ?>/upload/arcade-active.svg);">Arcade</a>
<a href="<?php echo $urlweb; ?>/poker/" data-active="false">
<img loading="lazy" src="<?php echo $urlweb; ?>/upload/poker.svg" style="--image-src: url(<?php echo $urlweb; ?>/upload/poker-active.svg);">Poker</a>
<a href="<?php echo $urlweb; ?>/esport/" data-active="false">
<img loading="lazy" src="<?php echo $urlweb; ?>/upload/e-sports.svg" style="--image-src: url(<?php echo $urlweb; ?>/upload/e-sports-active.svg);">E-Sports</a>
</main>
</div>
</section>
<section class="d-none d-sm-block">
<div class="container">
<div class="information">
<div data-section="title"><i class="fas fa-bullhorn"></i> Notice</div>
<div data-section="announcements">
<marquee class="text-white">
<?php echo $s0['news']; ?>
</marquee>
</div>
<div data-section="date"><?php echo date('d/m/Y H:i:s'); ?></div>
</div>
<div class="home-jackpot-container">
<div data-section="jackpot">
<a href="#" rel="nofollow">
<div class="progressive-jackpot" style="background-image: url(<?php echo $urlweb; ?>/upload/jackpot.gif);">
<picture>
<source srcset="<?php echo $urlweb; ?>/upload/jackpot-play-logo.webp" type="image/webp">
<source srcset="<?php echo $urlweb; ?>/upload/jackpot-play-logo.png" type="image/png">
<img alt="Jackpot Play" class="jackpot-play" loading="lazy" src="<?php echo $urlweb; ?>/upload/jackpot-play-logo.png">
</picture>
<div class="jackpot-container">
<span class="jackpot-currency jackpot_currency">IDR </span>
<span class="count-jack" id="counter1" data-progressive-jackpot-url="#">UPDATING</span>
</div>
</div>
</a>
</div>
<div data-section="lottery"></div>
</div>
</div>
</section>
<section class="mt-3 mb-5 d-none d-sm-block">
<div class="container">
<?php if(isset($_GET['slug'])){ ?>
<div class="card bg-dark" style="border-radius: 0;">
<?php
if(isset($_GET['slug'])){
$provider = $_GET['provider'];
$sql_provider = mysqli_query($conn,"SELECT * FROM `tb_provider` WHERE slug = '$provider'") or die(mysqli_error());
$sp = mysqli_fetch_array($sql_provider);
$providerID = $sp['providerid'];
$providerName = $sp['providerid'];
$where = "`provider` = '".$providerID."' AND";
$pageLink = 'slot/'.$provider.'/';
}
else {
$providerName = 'PragmaticPlay';
$where = "`provider` = 'PragmaticPlay' AND";
$pageLink = 'slot/?';
}
?>
<div class="card-header bg-warning text-center text-white text-uppercase" style="border-radius: 0;">
<strong><?php echo $providerName; ?></strong>
</div>
</div>
<?php } else { ?>
<div class="gameList">
<?php
$getProviders = mysqli_query($conn,"SELECT * FROM `tb_tripayapi` WHERE jenis = 'SL' ORDER BY cuid ASC") or die(mysqli_error());
while($gps = mysqli_fetch_array($getProviders)){
$providernya = $gps['provider'];
$sql_3 = mysqli_query($conn,"SELECT * FROM `tb_gamelist` WHERE `provider` = '$providernya' AND `datatype` = 'SL' ORDER BY rand()") or die(mysqli_error($conn));
$s3 = mysqli_fetch_array($sql_3);
?>
<div class="gameListColoumn text-center">
<a href="<?php echo $urlweb; ?>/slot/<?php echo $gps['provider']; ?>">
<div class="gameList_box" style="background: url('<?php echo $urlweb; ?>/<?php echo $s3['image']; ?>') no-repeat; background-size: 100% 100%; background-position: center center; border: 1px solid #fbeb8f; border-radius: 8px;">
</div>
<p class="mt-2" style="font-size: 0.75rem;"><?php echo $gps['provider']; ?></p>
</a>
</div>
<?php } ?>
</div>
<?php } ?>
</div>
</section>
<section class="mt-2 mb-5 d-block d-sm-none">
<div class="container">
<?php if(isset($_GET['slug'])){ ?>
<div class="card bg-dark" style="border-radius: 0;">
<?php
if(isset($_GET['slug'])){
$provider = $_GET['provider'];
$sql_provider = mysqli_query($conn,"SELECT * FROM `tb_provider` WHERE slug = '$provider'") or die(mysqli_error());
$sp = mysqli_fetch_array($sql_provider);
$providerID = $sp['providerid'];
$providerName = $sp['providerid'];
$where = "`provider` = '".$providerID."' AND";
$pageLink = 'slot/'.$provider.'/';
}
else {
$providerName = 'PragmaticPlay';
$where = "`provider` = 'PragmaticPlay' AND";
$pageLink = 'slot/?';
}
?>
<div class="card-header bg-warning text-center text-white text-uppercase" style="border-radius: 0;">
<strong><?php echo $providerName; ?></strong>
</div>
</div>
<?php } else { ?>
<div class="gameList">
<?php
$getProviders = mysqli_query($conn,"SELECT * FROM `tb_tripayapi` WHERE jenis = 'SL' ORDER BY cuid ASC") or die(mysqli_error());
while($gps = mysqli_fetch_array($getProviders)){
$providernya = $gps['provider'];
$sql_3 = mysqli_query($conn,"SELECT * FROM `tb_gamelist` WHERE `provider` = '$providernya' AND `datatype` = 'SL' ORDER BY rand()") or die(mysqli_error($conn));
$s3 = mysqli_fetch_array($sql_3);
?>
<div class="gameListColoumn text-center">
<a href="<?php echo $urlweb; ?>/slot/<?php echo $gps['provider']; ?>">
<div class="gameList_box" style="background: url('<?php echo $urlweb; ?>/<?php echo $s3['image']; ?>') no-repeat; background-size: 100% 100%; background-position: center center; border: 1px solid #fbeb8f; border-radius: 8px;">
</div>
<p class="mt-2" style="font-size: 0.75rem;"><?php echo $gps['provider']; ?></p>
</a>
</div>
<?php } ?>
</div>
<?php } ?>
</div>
</section>
<!--Start footer-->
<?php include('footer.php'); ?>
</body>
</html>