Esempio n. 1
0
        protected override void PageLoad()
        {
            //从Cookies中读取验证码并解密
            if (StringHelper.Decode(CookiesHelper.ReadCookieValue("SMSIsChecked"), "SMS") == "true")
            {
                checkCode = StringHelper.Decode(CookiesHelper.ReadCookieValue("SMSCheckCode"), "SMS");
            }

            if (string.IsNullOrEmpty(mobile))
            {
                mobile = base.UserMobile;
            }

            if (userID <= 0)
            {
                userID = base.UserID;
            }

            ProductInfo product = ProductBLL.ReadProduct(productID);

            if (product != null)
            {
                vu       = product.ProductNumber;
                videoDic = PolyvBLL.GetVideoDic(product.ProductNumber.Split('|')[0]);
            }
        }
Esempio n. 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (VideoListId < 0)
            {
                VideoListId = 0;
            }
            product   = ProductBLL.ReadProduct(CateId);
            videoDic  = PolyvBLL.GetVideoDic(product.ProductNumber.Split('|')[0]);
            checkCode = StringHelper.Decode(CookiesHelper.ReadCookieValue("SMSCheckCode"), "SMS");

            if (userID <= 0)
            {
                userID = base.UserID;
            }
        }
Esempio n. 3
0
        private Dictionary <string, string> ChangeVideo()
        {
            string vid = StringHelper.SearchSafe(RequestHelper.GetQueryString <string>("vid"));

            return(PolyvBLL.GetVideoDic(vid));
        }