protected void Page_Load(object sender, EventArgs e)
        {
            string str         = BasePage.RequestString("Action");
            string redirecturl = "ADManage.aspx";

            if (!string.IsNullOrEmpty(str))
            {
                string id   = BasePage.RequestString("AdId");
                string str4 = str;
                if (str4 != null)
                {
                    if (!(str4 == "Delete"))
                    {
                        if (!(str4 == "Copy"))
                        {
                            if (!(str4 == "Passed"))
                            {
                                if (str4 == "CancelPassed")
                                {
                                    Advertisement.CancelPassed(id);
                                    BasePage.ResponseRedirect(redirecturl);
                                }
                                return;
                            }
                            Advertisement.Passed(id);
                            BasePage.ResponseRedirect(redirecturl);
                            return;
                        }
                    }
                    else
                    {
                        Advertisement.Delete(id);
                        BasePage.ResponseRedirect(redirecturl);
                        return;
                    }
                    if (Advertisement.CopyAdvertisement(id))
                    {
                        AdminPage.WriteSuccessMsg("复制广告成功!", redirecturl);
                    }
                    else
                    {
                        AdminPage.WriteErrMsg("复制广告失败!", redirecturl);
                    }
                }
            }
        }