-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmsg.php
More file actions
36 lines (30 loc) · 758 Bytes
/
msg.php
File metadata and controls
36 lines (30 loc) · 758 Bytes
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
<?php
include("Languages/settings.php");
switch($_GET["m"])
{
case "register_success":
$msg=register_success_msg;
$href="<a href='index.php'>".back_msg."</a>";
break;
case "update_success":
$msg=update_success_msg;
$href="<a href='account.php'>".back_msg."</a>";
break;
case "upload_success":
$msg=upload_success_msg;
$href="<a href='account.php'>"."back_msg"."</a>";
break;
case "del_success":
$msg=del_success_msg;
$href="<a href='admin.php'>"."back_msg"."</a>";
break;
case "change_password_success":
$msg=change_password_msg;
$href="<a href='index.php'>"."back_msg"."</a>";
break;
case "login_error":
$msg=login_error_msg;
$href="<a href='Users/logout.php'>".back_msg."</a>";
break;
}
echo $msg.$href;