<%@ Page Language="vb" AutoEventWireup="false" Codebehind="uptjuser.aspx.vb" Inherits="LuckBet.uptjuser"%>
<%@ Register TagPrefix="uc1" TagName="UserLeft" Src="../WebControls/UserLeft.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="../WebControls/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="../WebControls/Footer.ascx" %>
<!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">
				<TR>
					<TD vAlign="top" width="200">
						<uc1:UserLeft id="UserLeft1" runat="server"></uc1:UserLeft>
					</TD>
					<TD vAlign="top" align="center"><FONT face="宋体">
							<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">
										<TABLE id="Table2" style="WIDTH: 522px; HEIGHT: 32px" cellSpacing="0" cellPadding="0" width="522"
											align="center" border="0">
											<tr>
												<td style="HEIGHT: 95px" vAlign="top">
													<TABLE id="Table4" cellSpacing="0" cellPadding="0" width="522" border="0" style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; WIDTH: 522px; HEIGHT: 64px">
														<TR>
															<TD vAlign="bottom" colSpan="2" height="40"><IMG height="9" src="../images/dot.gif" width="9">
																推荐<font color="red">1位好友</font>加入<font color="blue"><% =pubsql.getsiteinfo("Webname")%></font>
																，当您推荐的好友成为正式会员后<font color="blue"><% =pubsql.getsiteinfo("Webname")%></font> 系统将自动为您加上<SPAN class="redfont"><% =pubsql.getsiteinfo("tjgetcoin")%></SPAN><img src='../images/icon3.gif' border="0">；推荐好友每充值一张100元不等的充值卡，您可得到10%的金币！（24小时内得到）<BR>
																赶快复制以下地址发送给好友注册<font color="blue"><% =pubsql.getsiteinfo("Webname")%></font> 会员！</TD>
														</TR>
														<tr>
															<script>
					function CopyToClipBoard()
					{ 
					var clipBoardContent=document.getElementById("tjurl").value; 
					window.clipboardData.setData("Text",clipBoardContent); 
					alert("推荐地址已复制到剪切板，您可以单击右键粘贴到QQ或MSN上！");
					} 
															</script>
															<td><INPUT id=tjurl type=text 
                        size=65 
                        value="<% =url%>" 
                        name=tjurl><INPUT type="button" value="复制推荐网址" style="CURSOR:pointer" onClick="CopyToClipBoard()"></td>
														</tr>
														<tr>
															<td style="HEIGHT: 30px" align="right"><a href="tongres.aspx" target="_blank"><font color="red">更多推荐方式请点击&gt;&gt;</font></a></td>
														</tr>
													</TABLE>
												</td>
											</tr>
											<TR>
												<TD>总共有&nbsp;
													<asp:label id="lblcount" runat="server" ForeColor="Red"></asp:label>&nbsp;条 记录
													<asp:label id="lblCurrentIndex" runat="server"></asp:label>&nbsp;
													<asp:label id="lblPageCount" runat="server"></asp:label></TD>
											</TR>
										</TABLE>
										<TABLE id="Table28" cellSpacing="0" cellPadding="0" width="523" border="0">
											<TR>
												<TD align="right">
													<asp:datagrid id="DataGrid1" runat="server" Width="100%" BorderStyle="None" BorderWidth="1px"
														BorderColor="#93BEE2" BackColor="White" PageSize="12" AllowPaging="True" DataKeyField="ID"
														AutoGenerateColumns="False" CellPadding="3">
														<SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
														<AlternatingItemStyle Font-Size="X-Small" BackColor="#E8F4FF"></AlternatingItemStyle>
														<ItemStyle Font-Size="X-Small" ForeColor="#003399" BackColor="White"></ItemStyle>
														<HeaderStyle Font-Size="X-Small" ForeColor="White" BackColor="#337FB2"></HeaderStyle>
														<Columns>
															<asp:TemplateColumn HeaderText="会员名">
																<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<%# databinder.eval(container.dataitem,"UserName") %>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="级别">
																<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:Label runat="server" ID="lblstate" name="lblstate"></asp:Label>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="获得金币">
																<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<%# iif(databinder.eval(container.dataitem,"user_type")<>2,"-","300") %>
																	<img src='../images/icon3.gif' border="0">
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="注册日期">
																<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:Label runat="server" Text='<%# databinder.eval(container.dataitem,"RegistTime") %>' ID="Label2">
																	</asp:Label>
																</ItemTemplate>
															</asp:TemplateColumn>
														</Columns>
														<PagerStyle NextPageText="上一页" PrevPageText="下一页" HorizontalAlign="Right" ForeColor="#003399"
															BackColor="#E8F4FF"></PagerStyle>
													</asp:datagrid></TD>
											</TR>
										</TABLE>
									</TD>
								</TR>
								<TR>
									<TD height="13"><IMG height="14" src="../Images/o2_07.gif" width="557"></TD>
								</TR>
							</TABLE>
						</FONT>
					</TD>
				</TR>
			</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>
