-
Notifications
You must be signed in to change notification settings - Fork 1
/
about.php
207 lines (187 loc) · 6.73 KB
/
about.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>关于我们</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/nav.css" />
<link rel="stylesheet" type="text/css" href="css/about.css" />
<link href="img/logo.ico" rel="shortcut icon" />
</head>
<body>
<?php
if(isset($_COOKIE["username"])){
require 'nav.php';
}
else{
echo'<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">CloudNote</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="BeforeHomepage.html">CloudNote</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li>
<a href="BeforeHomepage.php">首页</a>
</li>
<li>
<a href="about.php">关于我们</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<li>
<a href="#" data-target="#login" data-toggle="modal"><span class="glyphicon glyphicon-user"></span> 登录</a>
</li>
</li>
</ul>
</div>
</div>
</nav>';
}
?>
<!--登陆模态框-->
<div class="modal fade" id="login" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="myModalLabel">登录</h4>
</div>
<div class="modal-body">
<!--
登录表单
-->
<form action="login.php" method="post">
<div class="panel panel-default zhucekuang">
<div class="panel-heading zhuce">登录</div>
<div class="panel-body">
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span>
<input type="text" class="form-control" placeholder="Username" name="Username">
</div>
<br />
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
<input type="password" class="form-control" placeholder="Password" name="Password">
</div>
<br />
<button type="submit" class="btn btn-info btn-lg btn-block">登录</button>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" data-target="#register" data-toggle="modal">去注册>></button>
</div>
</div>
</div>
</div>
<!--
注册模态框
-->
<div class="modal fade" id="register" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="myModalLabel">注册</h4>
</div>
<div class="modal-body">
<!--
注册表单
-->
<form action="register.php" method="post" id="zhuce">
<div class="panel panel-default zhucekuang">
<div class="panel-heading zhuce">注册</div>
<div class="panel-body">
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span>
<input type="text" class="form-control" placeholder="Username" name="username" />
</div>
<br />
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
<input type="password" class="form-control" placeholder="Password" name="password" />
</div>
<br />
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
<input type="password" class="form-control" placeholder="Comfirm Username" name="confirm">
</div>
<br />
<input type="button" class="btn btn-info btn-lg btn-block" value="注册" onclick="checkR()">
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" data-target="#login" data-toggle="modal">去登录>></button>
</div>
</div>
</div>
</div>
<!--介绍-->
<div class="jumbotron">
<h1>关于Cloudnote</h1>
<p>我一直期待的纯净,简单的云笔记。</p>
</div>
<!--联系我-->
<div id="contact">
<h2>关于我</h2>
<hr />
<p>wingstudio 许娜</p>
<p><span class="glyphicon glyphicon-earphone"></span> 电话:15828350242</p>
<p><span class="glyphicon glyphicon-envelope"></span> 邮箱:[email protected]</p>
<a href="https://mail.qq.com/" target="_blank"><button class="btn btn-info">去发邮件</button></a>
</div>
<hr />
<!--友情链接-->
<div class="container">
<div id="links" class="row">
<div id="title" class="col-lg-5 col-xs-12">
<div id="biaoti">
<div>
<div id="logo">
</div>
<h1>Cloudnote友情链接</h1>
</div>
</div>
</div>
<div id="linksss" class="col-lg-7 col-xs-12">
<div id="about">
<h4>关于我</h4>
<br />
<a href="http://www.wingstudio.org/">Wing Studio工作室</a>
</div>
<div id="friend">
<h4>友情链接</h4>
<br />
<a href="http://www.bootcss.com/">Bootstrap中文网</a>
<br />
<br />
<a href="http://simditor.tower.im/">Simditor编辑器</a>
</div>
</div>
</div>
</div>
<h6 class="banquan">© 2016 note.ratsui.cn </h6>
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript ">
function backtohome(){
location.href="BeforeHomepage.html ";
}
</script>
</body>
</html>