-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser_info.php
More file actions
60 lines (59 loc) · 2.76 KB
/
user_info.php
File metadata and controls
60 lines (59 loc) · 2.76 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
<?php
include_once 'connection/checkUser.php';
include_once 'database/User.php';
include_once 'parts/header.php';
?>
<body>
<div id="wrapper">
<?php include_once 'parts/nav.php';?>
<!-- Page Content -->
<div id="page-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">User Info</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="panel panel-default">
<div class="panel-heading">
Information
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-6">
<form role="form">
<?php
$results = User::getUser($_SESSION['user']);
?>
<div class="form-group">
<label>Username:</label>
<input class="form-control" id="disabledInput" type="text" placeholder="<?php echo $results[0]["USERNAME"];?>" disabled>
</div>
<div class="form-group">
<label>First Name</label>
<input class="form-control" id="disabledInput" type="text" placeholder="<?php echo $results[0]["FIRST_NAME"];?>" disabled>
</div>
<div class="form-group">
<label>Last Name</label>
<input class="form-control" id="disabledInput" type="text" placeholder="<?php echo $results[0]["LAST_NAME"];?>" disabled>
</div>
<input type=button class="btn btn-default" onClick="location='user_edit.php'" value='Edit'>
</form>
</div>
</div>
<!-- /.row (nested) -->
</div>
<!-- /.panel-body -->
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<?php
include_once 'parts/bottom.php';
include_once 'parts/footer.php';
?>