-
Notifications
You must be signed in to change notification settings - Fork 1
/
confirmupdateprivatemsg.aspx.cs
53 lines (45 loc) · 2.03 KB
/
confirmupdateprivatemsg.aspx.cs
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
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using XDRecipe.Common.Utilities;
public partial class confirmupdateprivatemsg : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(Request.QueryString["mode"]))
{
string Mode = Server.UrlEncode(Request.QueryString["mode"]);
switch (Mode)
{
case "delete":
lblsuccess.Text = "Private Messages #: " + Server.UrlEncode(Request.QueryString["pid"]) + " Has Been Successfully Deleted";
break;
case "send":
lblsuccess.Text = "Your Private Message to " + Server.UrlEncode(Request.QueryString["username"]) + " Has Been Sent Successfully";
break;
case "reply":
lblsuccess.Text = "Your Private Message Reply to " + Server.UrlEncode(Request.QueryString["username"]) + " Has Been Sent Successfully";
break;
case "read":
lblsuccess.Text = "Private Message #: " + Server.UrlEncode(Request.QueryString["pid"]) + " Has Been Successfully Marked as Read";
break;
case "unread":
lblsuccess.Text = "Private Message #: " + Server.UrlEncode(Request.QueryString["pid"]) + " Has Been Successfully Marked as UnRead";
break;
case "block":
lblsuccess.Text = Server.UrlEncode(Request.QueryString["username"]) + " Has Been Successfully Blocked.";
break;
case "remove":
lblsuccess.Text = Server.UrlEncode(Request.QueryString["username"]) + " Has Been Successfully Removed From Your PM Block List.";
break;
}
}
}
}