-
Notifications
You must be signed in to change notification settings - Fork 0
/
manager_msg.php.txt
executable file
·81 lines (67 loc) · 3.25 KB
/
manager_msg.php.txt
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
<?php
session_start();
?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>大学生职业发展协会 --- 后台管理系统 --- 意见和建议</title>
<link href="style.css" type="text/css" rel="stylesheet" media="screen">
</head>
<body>
<div id="header">
<div id="menu">
<div id="menu_logo"></div>
<div id="menu_word">大学生职业发展协会</div>
<div id="menu_bar">
<div class="menu_atom">
<ul>
<li><a href="index.php"><img src="image/menu_1.png" title="首页"></a></li>
<li><a href="about.php"><img src="image/menu_2.png" title="关于我们"></a></li>
<li><a href="linkus.php"><img src="image/menu_3.png" title="联系我们"></a></li>
<li><a href="manager.php"><img src="image/menu_4.png" title="管理员入口"></a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="content_manager">
<div id="content_manager_inside">
<div id="content_manager_inside_box">
<div class="content_manager_inside_box_title">职协后台管理系统</div>
</div>
<div id="content_manager_inside_main">
<?php
if(isset($_SESSION['scdaadmin'])){
/* 登录成功 */
echo "<div class='manager_deal_style'>意见箱 <a href='manager_deal.php'>返回</a></div><br /><br />";
include_once("header.php");
$query="select*from scdatext order by id desc";
$result=@mysql_query($query);
echo "<center><div class='manager_deal_style'>";
echo ('
<table border=1>
<tr><th>提交人</th><th>意见内容</th><th>联系方式</th><th>提交时间</th></tr>
');
while($row=@mysql_fetch_array($result,MYSQL_ASSOC)){
echo '<tr><td>'.$row[name].'</td><td>'.$row[texts].'</td><td>'.$row[contact].'</td><td>'.$row[time].'</td></tr>';
}
echo "</table></div></center>";
/* 登出 */
echo '<div class="logout" title="登出管理员系统"><a href="logout.php">登出</a></div>';
}else{
die ("请登录后再访问本页");
}
?>
</div>
<div id="content_manager_inside_bottom"></div>
</div>
</div>
<div id="footer">
<div id="footer_inside">
<div id="footer_left">Copyright 2011- 大学生职业发展协会</div>
<div id="footer_right"><a href="linkus.php">联系我们</a> | <a href="about.php">关于职协</a> 技术支持:北纬21工作室</div>
</div>
</div>
</body>
</html>