-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.php
58 lines (54 loc) · 2.12 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
<?php
require_once("includes/conn.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>天天创客</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="mobileoptimized" content="0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="pragram" content="no-cache">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="browsermode" content="application">
<link rel="stylesheet" href="Static/css/pintuer.css?d=20150710">
<link rel="stylesheet" href="Static/css/style.css?d=20150710">
<script type="text/javascript" src="Static/js/jquery.min.js"></script>
<script type="text/javascript" src="Static/js/pintuer.js?d=20150710"></script>
<script type="text/javascript" src="Static/js/respond.js"></script></head>
<body>
<div class="container">
<?php
require_once("top.php");
$sql1="select * from xiangguan where articleid=1 ";
$query1=$db->query($sql1);
$row1=$db->fetch_array($query1);
$sql2="select * from xiangguan where articleid=2 ";
$query2=$db->query($sql2);
$row2=$db->fetch_array($query2);
?> <div class="udd-body">
<div class="panel">
<div class="panel-head"><strong>关于天天创客!</strong></div>
<div class="panel-body bg-white">
<?php echo $row1['content']?>
</div>
</div>
<br />
<div class="panel">
<div class="panel-head"><strong>欢迎加入天天创客!</strong></div>
<div class="panel-body bg-white">
<?php echo $row2['content']?>
</div>
</div>
</div>
<?php
require_once("foot.php");
?>
</div>
</body>
</html>