using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CB.Entity; using CB.Common; using CB.Framework; using System.Text; using CB.Data; using CB.TrendChart.LotteryTrendChart; using System.Text.RegularExpressions; using CB.Entity.Frequency; using CB.TrendChart.FrequencyTrendChart; namespace CB.Wap.zs { public partial class list : WebPage { protected string hTitle = "", hDescription = "", hKeywords = ""; protected string chartData = "", chartName = ""; protected int hcid = 0; //彩种相关 protected string lotName = "", lotLogoCsss = ""; protected string ShowMenu = "", HideMenu = "", years = ""; protected string navStr = ""; protected string pcUrl = "http://www.55128.cn/zs/{0}_{1}.htm"; protected string first = "0", endqi = "0"; protected string searchYearHTML = ""; //当前日期 protected DateTime SearchTime = DateTime.Today; //选择期数 protected int Record = 50; /// /// 设置弹出框内容 /// protected string Setting = @"

走势图设置

期数
近50期近80期 近100期近200期
功能
搜索
"; /// /// 高频彩种特殊处理 /// protected bool HighFrequency = false; protected void Page_Load(object sender, EventArgs e) { try { InitData(); } catch (Exception ex) { var url = Request.Url.ToString(); CB.TrendTool.LogHelper.WriteLog(url + " => " + ex.ToString(), TrendTool.ExceptionType.ExceptionLog, true); } header1.ColumnName = lotName; } private void DealChartDataWithRazor(List list, int chartId, TrendChartInfo entity, LotteryInfo lottery, TrendChartSearchField chartSearch) { //if (null == list || 0 >= list.Count) // return; //modified by zizi,at 2016-5-18 //create viewbag var viewbag = new Dictionary(); var isUseRazorTemplate = true; Setting = ""; var rlist = CB.Data.Caches.GetTrendChartList(entity.Cid, entity.Tid, 0); var zr = new StringBuilder(rlist.Count * 100); if (null != rlist && 0 < rlist.Count) { var _index = 0; zr.Append("