-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreader_index.php
More file actions
56 lines (53 loc) · 1.85 KB
/
reader_index.php
File metadata and controls
56 lines (53 loc) · 1.85 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
<?php
session_start();
$userid=$_SESSION['userid'];
include ('mysqli_connect.php');
$sql="select name from reader_card where reader_id={$userid}";
$res=mysqli_query($dbc,$sql);
$result=mysqli_fetch_array($res);
date_default_timezone_set("PRC");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>慈善管理系统||用户</title>
<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style>
body{
width: 100%;
overflow: hidden;
background: url("img/tree.jpg") no-repeat;
background-size:cover;
color: antiquewhite;
}
#gonggao{
position: absolute;
left: 40%;
top: 50%;
}
</style>
</head>
<body>
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">慈善管理系统||用户</a>
</div>
<div>
<ul class="nav navbar-nav">
<li class="active"><a href="reader_index.php">主页</a></li>
<li><a href="admin_gift_add.php">礼物捐赠</a></li>
<li><a href="admin_gift.php">礼物记录</a></li>
<li><a href="reader_info.php">个人信息</a></li>
<li><a href="reader_repass.php">密码修改</a></li>
<li><a href="index.php">退出</a></li>
</ul>
</div>
</div>
</nav>
<br/><br/><h3 style="text-align: center"><?php echo $result['name']; ?>号用户,欢迎登录慈善管理系统</h3><br/>
</body>
</html>