-
Notifications
You must be signed in to change notification settings - Fork 0
/
messagedetails.php
54 lines (33 loc) · 1015 Bytes
/
messagedetails.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
<?php include_once('linkstart.php');
if (!is_login()) {
header("location: login.php?action=err&mes=你需要登录才能查看用户信息!");
exit;
}
show_head('状态信息');
echo '<!-- 导航条 -->';
show_bar();
echo '<!-- 导航条结束 -->
<!-- 主体部分 -->';
//print_r($user);
?>
<?php
echo '<div class="container">';
show_alert();
echo '</div>';
global $message;
if(!@$_GET['messageid'])
{
header("location: messagelist.php?action=err&mes=信息不存在!");
exit;
}
$message = get_message_by_id($_GET['messageid']);
show_message($message);
?>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="js/ie10-viewport-bug-workaround.js"></script>
</body>