-
Notifications
You must be signed in to change notification settings - Fork 0
/
cong.php
45 lines (45 loc) 路 1.94 KB
/
cong.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
<?php
session_start();
?>
<!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.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg=="
crossorigin="anonymous" referrerpolicy="no-referrer"/>
<link rel="stylesheet" href="CSS/cong.css">
<title>Document</title>
</head>
<body>
<?php include('nav.php')?>
<section class = "main">
<div class = "inside">
<div class = "inside2">
<div class = "text">
<?php
if ( $_SESSION['score'] > 5):
?>
<h1>馃帀馃帀Congratulations <span><?php echo $_SESSION['user'];?></span>馃帀馃帀</h1>
<div class = "paragraf">
<p style = "display:inline;">Your Score in Game Of <p style = "display:inline;"><?php echo $_SESSION['typofcn'];?></p> Is : <span style = "color : #10b14198; font-size:20px;"><?php echo $_SESSION['score'];?></span> And Good Luck !</p>
</div>
<?php endif; ?>
<?php
if ( $_SESSION['score'] < 5):
?>
<h1>馃槶馃槶Sorry <span><?php echo $_SESSION['user'];?></span>馃槶馃槶</h1>
<div class = "paragraf">
<p style = "display:inline;">Your Score in Game Of <p style = "display:inline;"><?php echo $_SESSION['typofcn'];?></p> Is : <span style = "color : #10b14198; font-size:20px;"><?php echo $_SESSION['score'];?></span> And Good Luck !</p>
</div>
<?php endif; ?>
<div class = "back">
<a href="check.php"><button><i class="fa-solid fa-caret-left"></i> Back</button></a>
</div>
</div>
</div>
</div>
</section>
</body>
</html>