-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstu_transaction.php
More file actions
77 lines (75 loc) · 3.94 KB
/
stu_transaction.php
File metadata and controls
77 lines (75 loc) · 3.94 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
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
<?php
session_start();
include 'session_check.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Braintech Technologies</title>
<link rel="icon" href="admin_area/assets/img/icon.png" sizes="32x32" type="image/png">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
<link href="css/bootstrap.css" rel="stylesheet">
<link rel="stylesheet" href="css/components.css">
<link rel="stylesheet" href="css/icons.css">
<link rel="stylesheet" href="css/responsee.css">
<link rel="stylesheet" href="owl-carousel/owl.carousel.css">
<link rel="stylesheet" href="owl-carousel/owl.theme.css">
<!-- CUSTOM STYLE -->
<link rel="stylesheet" href="css/template-style.css">
<link href="https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield&display=swap" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
</head>
<body><center>
<div class="container-fluid padding">
<div class="row padding">
<div class="col-lg-6">
<div class="line">
<h2 class="text-extra-strong text-size-80 text-m-size-40 margin-bottom-40">Transaction Details</h2>
</div>
<p><table>
<tr><td>USER ID:</td><td><input type="text" name="uid" value="<?php echo($_SESSION['btt']['stu_id'])?>" readonly></td></tr>
<tr><td>NEME:</td><td><input type="text" name="n" value="<?php echo($_SESSION['btt']['name'])?>" readonly></td></tr>
</table></p>
<br>
</div>
<div class="col-lg-6">
<img src="<?php echo($_SESSION['btt']['photo'])?>" class="img-fluid" width="150px" height="auto">
</div>
</div>
</div></center>
<section>
<p><font size="4" color="black"><b><table border=2 align="center">
<tr><th>Transaction ID</th>
<th>Course Name</th>
<th>Transaction Date</th>
<th>Amount Paid</th>
</tr>
<?php
$id=$_SESSION['btt']['stu_id'];
$s=mysqli_query($con,"select * from student where stu_id='$id'");
while($r=mysqli_fetch_array($s))
{
?>
<tr><td><?php echo($r['name']);?></td>
<td><?php echo($r['stu_id']);?></td>
<td><?php echo($r['email']);?></td>
<td><?php echo($r['phone']);?></td>
</tr>
<?php
}
?>
</table></b></font></p>
</section>
<script type="text/javascript" src="js/responsee.js"></script>
<script type="text/javascript" src="owl-carousel/owl.carousel.js"></script>
<script type="text/javascript" src="js/template-scripts.js"></script>
</body>
</html>