-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser_profile.php
More file actions
48 lines (43 loc) · 1.63 KB
/
user_profile.php
File metadata and controls
48 lines (43 loc) · 1.63 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
<?php
include('db_connect_db_new.php');
session_start();
$r_id = $_SESSION['rid'];
$sql = "SELECT * FROM info_visitor WHERE ReceiptID = $r_id";
$re = mysqli_query($link, $sql);
$result = mysqli_fetch_array($re, MYSQLI_ASSOC);
?>
<html>
<head>
<meta content="text/html; charset=windows-1252" http-equiv="content-type">
<link rel="stylesheet" href="BootStrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/user_profile.css">
</head>
<body>
<div class="row">
<div class="col-sm-6">
<p style="width: 678px;" id="col-1">Date :<?php echo $result['Date']; ?>
Time in : <?php echo $result['TimeIN'] ?></p>
<br>
<span id="col-1" name="main">Name :
<?php echo $result['Name']; ?></span><br>
<span id="col-1" name="main">ID/Passport No :
<?php echo $result['idno']; ?></span><br>
<span id="col-1">Contact No :
<?php echo $result['Contact'] ?><br>
<span id="col-1">Purpose :
<?php echo $result['Purpose']; ?></span><br>
<span id="col-1">Meeting :
<?php echo $result['meetingTo']; ?></span><br>
<span id="col-1">Receipt ID :
<?php echo $result['ReceiptID']; ?></span><br>
</span>
<p style="width: 678px; padding-top:20px; font-weight: 600;">NOTE :PLEASE RETURN THIS WHEN YOU EXIT!!!</p>
</div>
</div>
<br>
<br>
<div> <button type="button" id="mybutton" class="hide-from-printer" onclick="window.print()" value="Print Badge">Print Badge</button>
<a type="button" id="button1" class="hide-from-printer" href="checkin.php">Back </a>
</div>
</body>
</html>