-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmsg.php
38 lines (36 loc) · 1.24 KB
/
msg.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
<?php
include("header.inc.php");
switch($_GET["m"]) {
case "register_success" :
$msg = "恭喜,帐号注册成功。<br />现在您可以使用您的用户名和密码登陆本系统了。<br />";
$href = "<a href='index.php'>返回</a>";
break;
case "update_success" :
$msg = "帐号信息更新成功。<br />";
$href = "<a href='account.php'>返回</a>";
break;
case "upload_success" :
$msg = "照片上传成功。<br />";
$href = "<a href='account.php'>返回</a>";
break;
case "del_success" :
$msg = "帐号信息删除成功,请返回。<br />";
$href = "<a href='admin.php'>返回</a>";
break;
case "mail_success" :
$msg = "修改密码确认邮件已经发送到您的信箱,请注意查收。<br />";
$href = "<a href='index.php'>返回</a>";
break;
case "login_error" :
$msg = "对不起,用户名或密码填写错误。<br />请返回重新填写。<br />";
$href = "<a href='login.php'>返回</a>";
break;
}
?>
<div class="alert alert-block">
<h4>提示</h4>
<?php echo $msg; ?>
<?php echo $href; ?>
</div>
</body>
</html>