-
Notifications
You must be signed in to change notification settings - Fork 0
/
Accessman_manager.php
126 lines (116 loc) · 5.45 KB
/
Accessman_manager.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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Accounts Page - Dashboard Template</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600">
<!-- https://fonts.google.com/specimen/Open+Sans -->
<link rel="stylesheet" href="css/fontawesome.min.css">
<!-- https://fontawesome.com/ -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- https://getbootstrap.com/ -->
<link rel="stylesheet" href="css/tooplate.css">
<style>
.tm-col-big {
width: 39%;
margin: auto;
}
</style>
</head>
<body class="bg03">
<div class="container">
<div class="row">
<div class="col-12">
<nav class="navbar navbar-expand-xl navbar-light bg-light">
<h1 class="tm-site-title mb-0">AccessBoard</h1>
<button class="navbar-toggler ml-auto mr-0" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link d-flex" href="login_for_manager.html">
<span>退出</span>
</a>
</li>
</ul>
</div>
</nav>
</div>
</div>
<!-- row -->
<div class="row tm-content-row tm-mt-big">
<div class="tm-col tm-col-big">
<div class="bg-white tm-block">
<div class="row">
<div class="col-12">
<h2 class="tm-block-title d-inline-block">Accounts</h2>
</div>
</div>
<ol class="tm-list-group tm-list-group-alternate-color tm-list-group-pad-big">
<?php
$conn = oci_connect("west_sys", "west123456", "westorcl");
$word = "select * from WEST_ACCESS";
$stat = oci_parse($conn, $word);
oci_execute($stat, OCI_DEFAULT);
while ($row = oci_fetch_array($stat)) {
?>
<li class="tm-list-group-item">
<?php
echo $row["SNO"] . " " . $row["ACCPLACE"];
?>
</li>
<?php
}
?>
</ol>
</div>
</div>
<div class="tm-col tm-col-big">
<div class="bg-white tm-block">
<div class="row">
<div class="col-12">
<h2 class="tm-block-title">Edit Sign</h2>
</div>
</div>
<div class="row">
<div class="col-12">
<form action="Access_chuli.php" class="tm-signup-form" method="POST">
<div class="form-group">
<label for="name">Stu sno</label>
<input placeholder="1704010622" id="name" name="name" type="text" class="form-control validate">
</div>
<div class="form-group">
<label for="password">AccPlace</label>
<input placeholder="CenterBuilding" id="password" name="place" type="text" class="form-control validate">
</div>
<div class="row">
<div class="col-12 col-sm-4">
<button type="submit" class="btn btn-primary" name="submit" value="update">Update
</button>
</div>
<div class="col-12 col-sm-8 tm-btn-right">
<button type="submit" class="btn btn-danger"name="submit" value="del">Delete data
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<footer class="row tm-mt-big">
<div class="col-12 font-weight-light text-center">
<p class="d-inline-block tm-bg-black text-white py-2 px-4">
Copyright © 2019.11.16 StudentDBMS Created by Codebells
</p>
</div>
</footer>
</div>
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>