-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcashout.php
More file actions
43 lines (34 loc) · 1.16 KB
/
Copy pathcashout.php
File metadata and controls
43 lines (34 loc) · 1.16 KB
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
<?php
session_start();
$connection = mysqli_connect("localhost", "root", "", "platform");
@$id = $_SESSION['id'];
$sql = "SELECT * FROM platform_table WHERE id = '$id'";
$query = mysqli_query($connection, $sql);
$result = mysqli_fetch_array($query);
$username = $result["username"];
?>
<!DOCTYPE html>
<html>
<head><title>succesfull cashout page</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<meta name="viewport" content="width=device-width, scalable=no">
<style>
body{background: cyan;}
@keyframes anima{
from{opacity: 1.0;}
to{opacity: 0.1;}
}
#cn{margin: 5em auto; opacity: 0.8; animation: anima 1s infinite;}
#cls{font-size: 2em; position: absolute; top: 2em; text-align: center;}
</style>
</head>
<body>
<center><i class="fa fa-times" id="cls" onclick="cls1()"></i></center>
<center><h1 id="cn">Thank you <?php echo $username; ?> , payment is few seconds away</h1></center>
<script>
function cls1(){
document.getElementById("#").innerHTML = window.location.href = 'indexplatform.php';
}
</script>
</body>
</html>