<%@ Register TagPrefix="uc1" TagName="Footer" Src="../WebControls/Footer.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="../WebControls/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="UserLeft" Src="../WebControls/UserLeft.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="upcoin.aspx.vb" Inherits="LuckBet.upcoin"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>
			<% =webname%>
			|
			<% =Title%>
			| 卡密充值</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<meta content="<% =Keywords%>" name=Keywords>
		<meta content="<% =description%>" name=description>
		<LINK href="../Styles.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">
		<form id="Form1" method="post" runat="server">
			<TABLE id="top" height="29" cellSpacing="0" cellPadding="0" width="100%" align="center"
				border="0">
				<TR>
					<TD align="center"><uc1:header id="Header1" runat="server"></uc1:header></TD>
				</TR>
			</TABLE>
			<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="960" align="center" border="0">
				<TBODY>
					<TR>
						<TD vAlign="top" width="200">
							<uc1:UserLeft id="UserLeft1" runat="server"></uc1:UserLeft>
						</TD>
						<TD vAlign="top" align="center">
							<TABLE id="Table3" style="HEIGHT: 254px" cellSpacing="0" cellPadding="0" width="557" border="0">
								<TR>
									<TD class="font1" style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: #ffffff; HEIGHT: 32px"
										vAlign="middle" width="557" background="../Images/o2_03.gif" height="32">&nbsp;&nbsp;卡密充值</TD>
								</TR>
								<TR>
									<TD style="BACKGROUND-REPEAT: repeat-y" vAlign="top" align="center" background="../Images/o2_05.gif">
										<%IF Request.QueryString("act")<>1 Then%>
										<TABLE id="Table2" cellSpacing="1" cellPadding="5" width="91%" bgColor="#ebebeb" border="0">
											<TR>
												<TD style="WIDTH: 132px" align="right" bgColor="#ffffff">卡片类型：</TD>
												<TD bgColor="#ffffff">
													<asp:DropDownList id="ddltype" runat="server">
														<asp:ListItem Value="1">广告充值卡</asp:ListItem>
														<asp:ListItem Value="2">VIP钻石卡</asp:ListItem>
														<asp:ListItem Value="3,4">还魂机/7天乐</asp:ListItem>
													</asp:DropDownList></TD>
											</TR>
											<TR>
												<TD style="WIDTH: 132px" align="right" width="132" bgColor="#ffffff">充值卡卡号：</TD>
												<TD width="73%" bgColor="#ffffff"><LABEL><INPUT class="input2" id="kanumber" onblur="this.className='input2'" onfocus="this.className='input3'"
															size="40" name="kanumber" runat="server"> </LABEL>
												</TD>
											</TR>
											<TR>
												<TD style="WIDTH: 132px" align="right" bgColor="#ffffff">充值卡密码：</TD>
												<TD bgColor="#ffffff"><INPUT class="input2" id="kapassword" onblur="this.className='input2'" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px; HEIGHT: 22px"
														onfocus="this.className='input3'" type="password" size="71" name="kapassword" runat="server"></TD>
											</TR>
											<TR>
												<TD style="WIDTH: 132px" align="right" bgColor="#ffffff">验证码：</TD>
												<TD bgColor="#ffffff"><LABEL><SPAN class="gravefont">
															<asp:textbox id="txtValidateCode" runat="server" CssClass="textbox" Width="69px" BorderColor="Black"
																BorderWidth="1px"></asp:textbox><IMG style="WIDTH: 48px; CURSOR: pointer; HEIGHT: 24px" onclick="this.src='../Image.aspx?update=' + Math.random()"
																height="24" alt="验证码,看不清楚?请点击刷新验证码" src="../Image.aspx" width="48"></SPAN></LABEL></TD>
											</TR>
											<TR>
												<TD align="center" bgColor="#ffffff" colSpan="2"><INPUT id="Submit1" type="submit" value="提交充值" name="Submit" runat="server">
													<SPAN class="redfont">
														<BR>
														充值钻石卡或者黄金卡就可自动升级为认证会员参加兑奖 ！</SPAN></TD>
											</TR>
										</TABLE>
										<TABLE id="Table4" height="25" cellSpacing="0" cellPadding="0" width="523" border="0">
											<TR>
												<TD class="TDdashed" width="294"><IMG height="13" src="../images/laba.gif" width="11" align="absMiddle">
													您目前拥有<font color="red"><% =pubsql.Comma(pubsql.GetUserInfo("user_coin",UID))%>金币</font><IMG height="10" src="../images/icon3.gif" width="10">，<font color="red"><% =pubsql.Comma(pubsql.GetUserInfo("Remark",UID))%>积分</font><IMG height="14" src="../images/jf.gif" width="13" align="absMiddle">。</TD>
												<TD class="TDdashed" width="229">&nbsp;</TD>
											</TR>
										</TABLE>
										<TABLE id="Table5" cellSpacing="0" cellPadding="0" width="523" align="center" border="0">
											<TR>
												<TD></TD>
											</TR>
										</TABLE>
										<TABLE id="Table28" cellSpacing="0" cellPadding="0" width="523" border="0">
											<TR>
												<TD align="right">
													<asp:datalist id="DataList1" runat="server" Width="523px" RepeatDirection="Horizontal" RepeatColumns="1">
														<HeaderTemplate>
															<TABLE id="Table111" style="BORDER-RIGHT: #fad563 1px solid;  BORDER-TOP: #fad563 1px solid;  BORDER-LEFT: #fad563 1px solid; WIDTH: 523px;  BORDER-BOTTOM: #fad563 1px solid; HEIGHT: 31px"
																cellSpacing="0" cellPadding="0" width="523" border="1" borderColor="#fad563">
																<TR>
																	<TD align="center" width="200" background="../Images/bg.gif">说明</TD>
																	<TD align="center" width="123" background="../Images/bg.gif">来源</TD>
																	<TD align="center" width="100" background="../Images/bg.gif">金币</TD>
																	<TD align="center" width="100" background="../Images/bg.gif">时间</TD>
																</TR>
															</TABLE>
														</HeaderTemplate>
														<AlternatingItemStyle BackColor="#F7F7F7"></AlternatingItemStyle>
														<ItemTemplate>
															<TABLE id="Table128" style="BORDER-RIGHT: #fad563 1px solid; BORDER-LEFT: #fad563 1px solid; BORDER-BOTTOM: #fad563 1px solid; HEIGHT: 25px"
																borderColor="#fad563" cellSpacing="0" cellPadding="0" width="523" align="right" border="1">
																<TR>
																	<TD style="FONT-SIZE: 11pt" align="center" width="200"><%# databinder.eval(container.dataitem,"ac_note") %></TD>
																	<TD align="center" width="123">
																		<%# iif(databinder.eval(container.dataitem,"ac_type")="1","充值","") %>
																		<%# iif(databinder.eval(container.dataitem,"ac_type")="2","广告收入","") %>
																		<%# iif(databinder.eval(container.dataitem,"ac_type")="3","推荐会员","") %>
																		<%# iif(databinder.eval(container.dataitem,"ac_type")="4","在线充值","") %>
																		<%# iif(databinder.eval(container.dataitem,"ac_type")="5","其他","") %>
																	</TD>
																	<TD align="center" width="100">
																		<%# databinder.eval(container.dataitem,"ac_coin") %>
																		<IMG src="../Images/images_36.gif"></TD>
																	<TD align="center" width="100">
																		<%# databinder.eval(container.dataitem,"ac_date") %>
																	</TD>
																</TR>
															</TABLE>
														</ItemTemplate>
													</asp:datalist>
													<INPUT id="Current_" style="WIDTH: 24px; HEIGHT: 22px" type="hidden" size="1" name="Current_"
														runat="server"></TD>
											</TR>
											<TR>
												<TD style="HEIGHT: 32px" align="right" height="32"><FONT face="宋体">共有
														<asp:label id="lblcount" runat="server" Font-Names="Arial" Font-Bold="True" ForeColor="Red">1</asp:label>&nbsp;条&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
														当前第
														<asp:label id="lblpage" runat="server" Font-Names="Arial" Font-Bold="True" ForeColor="Red">1</asp:label>&nbsp;页&nbsp; 
														共
														<asp:label id="lblcountpage" runat="server" Font-Names="Arial" Font-Bold="True" ForeColor="Red">1</asp:label>&nbsp;页&nbsp;&nbsp;跳至
														<asp:dropdownlist id="ddlpage" runat="server" AutoPostBack="True"></asp:dropdownlist>&nbsp;&nbsp;
														<asp:linkbutton id="frist" Runat="server" CommandArgument="Frist" OnCommand="PagerButtonClick">首页</asp:linkbutton>&nbsp;&nbsp;
														<asp:linkbutton id="prePage" Runat="server" CommandArgument="pre" OnCommand="PagerButtonClick">上一页</asp:linkbutton>&nbsp;
														<asp:linkbutton id="nextPage" Runat="server" CommandArgument="next" OnCommand="PagerButtonClick">下一页</asp:linkbutton>&nbsp;
														<asp:linkbutton id="lastPage" Runat="server" CommandArgument="last" OnCommand="PagerButtonClick">尾页</asp:linkbutton>&nbsp;&nbsp;</FONT></TD>
											</TR>
										</TABLE>
										<%Else%>
										<table width="523" border="0" cellspacing="0" cellpadding="0" align="center">
											<tr>
												<td align="center">
													<P>&nbsp;</P>
													<P>充值成功！<br>
														<br>
														<%IF Request.QueryString("BeVip")="1" Then%>
														<span class="fontredB">恭喜您！！<br>
															您已经成为<% =pubsql.GetSiteInfo("webname")%>认证会员，请补充完成您的身份证、送货地址等必要信息！<br>
														</span><a href="upinfo.aspx">
															<br>
															补充个人信息&gt;&gt;</a>
														<%End IF%>
														<a href="upcoin.aspx">返回&gt;&gt;</a></P>
												</td>
											</tr>
										</table>
										<%End IF%>
									</TD>
								</TR>
								<TR>
									<TD height="13"><IMG height="14" src="../Images/o2_07.gif" width="557"></TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
			<TABLE id="bottom" cellSpacing="0" cellPadding="0" width="100%" border="0">
				<TR>
					<TD><uc1:footer id="Footer1" runat="server"></uc1:footer></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
