forked from as12334/dll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
m_CreditInfo.cs
171 lines (168 loc) · 8.09 KB
/
m_CreditInfo.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
using LotterySystem.Common;
using LotterySystem.Model;
using System;
using System.Data;
using System.Web;
using User.Web.WebBase;
public class m_CreditInfo : MemberPageBase_Mobile
{
protected DataTable car168DataTable = null;
protected DataTable cqscDataTable = null;
protected DataTable happycarDataTable = null;
protected DataTable jscarDataTable = null;
protected DataTable jscqscDataTable = null;
protected DataTable jsft2DataTable = null;
protected DataTable jsk3DataTable = null;
protected DataTable jspk10DataTable = null;
protected DataTable jssfcDataTable = null;
protected DataTable k8scDataTable = null;
protected decimal kc_credit = 0.0M;
protected string kc_iscash = "0";
protected string kc_kind = null;
protected decimal kc_usable_credit = 0.0M;
protected DataTable kl10DataTable = null;
protected DataTable kl8DataTable = null;
protected DataTable lotteryTable = null;
protected DataTable pcddDataTable = null;
protected DataTable pk10DataTable = null;
protected DataTable pkbjlDataTable = null;
protected decimal six_credit = 0.0M;
protected string six_iscash = "0";
protected string six_kind = null;
protected decimal six_usable_credit = 0.0M;
protected DataTable sixDataTable = null;
protected DataTable speed5DataTable = null;
protected DataTable ssc168DataTable = null;
protected string userName = null;
protected DataTable vrcarDataTable = null;
protected DataTable vrsscDataTable = null;
protected DataTable xyft5DataTable = null;
protected DataTable xyftoaDataTable = null;
protected DataTable xyftsgDataTable = null;
protected DataTable xyncDataTable = null;
protected void Page_Load(object sender, EventArgs e)
{
base.Response.Expires = 0;
base.IsUserLoginByMobile();
this.lotteryTable = base.GetLotteryList();
this.userName = HttpContext.Current.Session["user_name"].ToString();
cz_users _users = CallBLL.cz_users_bll.UserLogin(this.userName);
this.kc_kind = _users.get_kc_kind().Trim();
this.kc_credit = Convert.ToDecimal(_users.get_kc_credit());
this.kc_usable_credit = Convert.ToDecimal(_users.get_kc_usable_credit());
this.kc_iscash = _users.get_kc_iscash().ToString();
this.six_kind = _users.get_six_kind().Trim();
this.six_credit = Convert.ToDecimal(_users.get_six_credit());
this.six_usable_credit = Convert.ToDecimal(_users.get_six_usable_credit());
this.six_iscash = _users.get_six_iscash().ToString();
if (base.IsOpenBigLottery(2))
{
string str;
if (base.IsOpenLottery(0))
{
str = "86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,123,124,125,126,127,128,129,130,131,132,133,134,135,136";
this.kl10DataTable = CallBLL.cz_drawback_kl10_bll.GetDrawbackByPlayId(this.userName, str).Tables[0];
}
if (base.IsOpenLottery(1))
{
this.cqscDataTable = CallBLL.cz_drawback_cqsc_bll.GetDrawbackList(this.userName, "4,5,6,7,8,9,10,11,12,13,14,15").Tables[0];
}
if (base.IsOpenLottery(2))
{
this.pk10DataTable = CallBLL.cz_drawback_pk10_bll.GetDrawbackList(this.userName, "1,2,3,4,36,37,38").Tables[0];
}
if (base.IsOpenLottery(3))
{
this.xyncDataTable = CallBLL.cz_drawback_xync_bll.GetDrawbackList(this.userName, "86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,123,124,125,126,127,128,129,130,131,132,133,134,135,136").Tables[0];
}
if (base.IsOpenLottery(4))
{
this.jsk3DataTable = CallBLL.cz_drawback_jsk3_bll.GetDrawbackList(this.userName).Tables[0];
}
if (base.IsOpenLottery(5))
{
this.kl8DataTable = CallBLL.cz_drawback_kl8_bll.GetDrawbackList(this.userName).Tables[0];
}
if (base.IsOpenLottery(6))
{
this.k8scDataTable = CallBLL.cz_drawback_cqsc_bll.GetDrawbackList(this.userName, "4,5,6,7,8,9,10,11,12,13,14,15").Tables[0];
}
if (base.IsOpenLottery(7))
{
this.pcddDataTable = CallBLL.cz_drawback_pcdd_bll.GetDrawbackList(this.userName, "71009,71010,71011,71012").Tables[0];
}
if (base.IsOpenLottery(9))
{
this.xyft5DataTable = CallBLL.cz_drawback_xyft5_bll.GetDrawbackList(this.userName, "1,2,3,4,36,37,38").Tables[0];
}
if (base.IsOpenLottery(8))
{
this.pkbjlDataTable = CallBLL.cz_drawback_pkbjl_bll.GetDrawbackList(this.userName, "81001,81002,81003,81004").Tables[0];
}
if (base.IsOpenLottery(10))
{
this.jscarDataTable = CallBLL.cz_drawback_jscar_bll.GetDrawbackList(this.userName, "1,2,3,4,36,37,38").Tables[0];
}
if (base.IsOpenLottery(11))
{
this.speed5DataTable = CallBLL.cz_drawback_speed5_bll.GetDrawbackList(this.userName, "4,5,6,7,8,9,10,11,12,13,14,15").Tables[0];
}
if (base.IsOpenLottery(12))
{
this.jspk10DataTable = CallBLL.cz_drawback_jspk10_bll.GetDrawbackList(this.userName, "1,2,3,4,36,37,38").Tables[0];
}
if (base.IsOpenLottery(13))
{
this.jscqscDataTable = CallBLL.cz_drawback_jscqsc_bll.GetDrawbackList(this.userName, "4,5,6,7,8,9,10,11,12,13,14,15").Tables[0];
}
if (base.IsOpenLottery(14))
{
str = "86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,123,124,125,126,127,128,129,130,131,132,133,134,135,136";
this.jssfcDataTable = CallBLL.cz_drawback_jssfc_bll.GetDrawbackByPlayId(this.userName, str).Tables[0];
}
if (base.IsOpenLottery(15))
{
this.jsft2DataTable = CallBLL.cz_drawback_jsft2_bll.GetDrawbackList(this.userName, "1,2,3,4,36,37,38").Tables[0];
}
if (base.IsOpenLottery(0x10))
{
this.car168DataTable = CallBLL.cz_drawback_car168_bll.GetDrawbackList(this.userName, "1,2,3,4,36,37,38").Tables[0];
}
if (base.IsOpenLottery(0x11))
{
this.ssc168DataTable = CallBLL.cz_drawback_ssc168_bll.GetDrawbackList(this.userName, "4,5,6,7,8,9,10,11,12,13,14,15").Tables[0];
}
if (base.IsOpenLottery(0x12))
{
this.vrcarDataTable = CallBLL.cz_drawback_vrcar_bll.GetDrawbackList(this.userName, "1,2,3,4,36,37,38").Tables[0];
}
if (base.IsOpenLottery(0x13))
{
this.vrsscDataTable = CallBLL.cz_drawback_vrssc_bll.GetDrawbackList(this.userName, "4,5,6,7,8,9,10,11,12,13,14,15").Tables[0];
}
if (base.IsOpenLottery(20))
{
this.xyftoaDataTable = CallBLL.cz_drawback_xyftoa_bll.GetDrawbackList(this.userName, "1,2,3,4,36,37,38").Tables[0];
}
if (base.IsOpenLottery(0x15))
{
this.xyftsgDataTable = CallBLL.cz_drawback_xyftsg_bll.GetDrawbackList(this.userName, "1,2,3,4,36,37,38").Tables[0];
}
if (base.IsOpenLottery(0x16))
{
this.happycarDataTable = CallBLL.cz_drawback_happycar_bll.GetDrawbackList(this.userName, "1,2,3,4,36,37,38").Tables[0];
}
}
if (base.IsOpenBigLottery(1))
{
if (!FileCacheHelper.get_IsShowLM_B())
{
this.sixDataTable = CallBLL.cz_drawback_six_bll.User_GetDrawBackList(this.userName, "91060,91061,91062,91063,91064,91065").Tables[0];
}
else
{
this.sixDataTable = CallBLL.cz_drawback_six_bll.GetDrawBackList(this.userName).Tables[0];
}
}
}
}