Esempio n. 1
0
        protected string GenerateHtml()
        {
            try
            {
                var surah = int.Parse(Request["surah"] ?? "1");
                var ayah  = int.Parse(Request["ayah"] ?? "1");

                return(HTMLParser.GetCorpusHtml(surah, ayah));
            }
            catch (Exception x)
            {
                return(x.Message);
            }
        }
Esempio n. 2
0
        protected string GenerateHtml()
        {
            try
            {
                var surah = int.Parse(Request["surah"] ?? "1");
                var ayah  = int.Parse(Request["ayah"] ?? "1");

                return(HTMLParser.GetCorpusHtml(surah, ayah,
                                                !(Request.Cookies["l"] != null && Request.Cookies["l"].Value == "1")));
            }
            catch (Exception x)
            {
                return(x.Message);
            }
        }