<%@ Page Language="vb" AutoEventWireup="false" Codebehind="PrizeCenter.aspx.vb" Inherits="LuckBet.sogo" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="../WebControls/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="sogoheader" Src="../WebControls/sogoheader.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="../WebControls/Footer.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>奖品商城 |
			<% =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">
		<script type="text/javascript">
			function viewCol(j) {
				for (var i = 1; i <= <% =typenum%>; i++) {
					var obj_str = eval("level" + i);
					if (i != j) {
						obj_str.style.display = "none";
					} else if (obj_str.style.display == "none") {
						obj_str.style.display = '';
					}
					else {
						obj_str.style.display = 'none';
					}
				}
			}
			viewCol(1);
		</script>
		<script language="javascript">
     <!--
      function Selecttype1()
      {
			var drpClass2=document.getElementById("ddlclass2");//分类二级
			var drpClass3=document.getElementById("ddlclass3");//分类三级
			for (var i=drpClass2.options.length;i>=0;i--)
			{
				drpClass2.remove(i);
			}
			for (var i=drpClass3.options.length;i>=0;i--)
			{
				drpClass3.remove(i);
			}
			var oHttpReq=new ActiveXObject("MSXML2.XMLHTTP");//发送请求
			var oDoc=new ActiveXObject("MSXML2.DOMDocument");//响应结果
			var Class1=document.getElementById("ddlclass1").value;
			oHttpReq.open("post","../admin/selectProKind.aspx?flag=1&Class1="+Class1,false);
			oHttpReq.setrequestheader("content-type","application/x-www-form-urlencoded");
			oHttpReq.send("");                  
			var result=oHttpReq.responseText;
			var newOption_0 = document.createElement("OPTION"); 
			newOption_0.text = "选择类型"; 
			newOption_0.value = '0'; 
			drpClass2.options.add(newOption_0);
			var newOption_1 = document.createElement("OPTION"); 
			newOption_1.text = "选择品牌"; 
			newOption_1.value = '0'; 
			drpClass3.options.add(newOption_1);
			oDoc.loadXML(result);
			var items1 = oDoc.selectNodes("//NewDataSet/Class/Name");
			var items2 = oDoc.selectNodes("//NewDataSet/Class/twoid");

			var itemsLength=items1.length;
			 
			for(i=0;i<itemsLength;i++)

			
			{
			var newOption = document.createElement("OPTION");
			newOption.text=items1[i].text;
			newOption.value=items2[i].text;
			drpClass2.options.add(newOption);
			
			} 
	  }
   
   
     function Selecttype2()
      {
         var drpClass3=document.getElementById("ddlClass3");
         for (var i=drpClass3.options.length;i>=0;i--)
         {
             drpClass3.remove(i);
         }
        
         var oHttpReq=new ActiveXObject("MSXML2.XMLHTTP");
         var oDoc=new ActiveXObject("MSXML2.DOMDocument");
         var Class1=document.getElementById("ddlClass1").value;
         var Class2=document.getElementById("ddlClass2").value;
         oHttpReq.open("post","../admin/selectProKind.aspx?flag=2&&Class1="+Class1+"&Class2="+Class2,false);
         oHttpReq.setrequestheader("content-type","application/x-www-form-urlencoded");
         oHttpReq.send("");                  
         var result=oHttpReq.responseText;
         var newOption_0 = document.createElement("OPTION"); 
         newOption_0.text = "选择品牌"; 
         newOption_0.value = '0'; 
         drpClass3.options.add(newOption_0);
         oDoc.loadXML(result);
         var items1 = oDoc.selectNodes("//NewDataSet/Class3/Name");
		 var items2 = oDoc.selectNodes("//NewDataSet/Class3/threeid");

			var itemsLength=items1.length;
			 
			for(i=0;i<itemsLength;i++)

			{
			var newOption = document.createElement("OPTION");
			newOption.text=items1[i].text;
			newOption.value=items2[i].text;
			drpClass3.options.add(newOption);
			
         //var items = oDoc.selectNodes("//NewDataSet/city/city");
		//for (var item = items.nextNode();item;item = items.nextNode())
		//{　
			
    　	//var areaName = item.selectSingleNode("city").nodeTypedValue;
    　	//var areaCode = item.selectSingleNode("threeid").nodeTypedValue;
		//var newOption = document.createElement("OPTION");　
    　	//newOption.text = areaName;　
    　	//newOption.value = areaCode;　
    　	//drp3.options.add(newOption);　
		}　
    }
   
-->
		</script>
	</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="100%" border="0">
				<TR>
					<TD><FONT face="宋体"><uc1:sogoheader id="Sogoheader1" runat="server"></uc1:sogoheader></FONT></TD>
				</TR>
			</TABLE>
			<TABLE id="Table8" cellSpacing="0" cellPadding="0" width="960" align="center">
				<TR>
					<TD width="28" background="../Images/sogo/seatch_title.gif" height="91"></TD>
					<TD width="919" background="../Images/sogo/seatch_bg.gif" height="91">
						<TABLE id="Table4" height="96%" cellSpacing="0" cellPadding="0" width="100%" border="0">
							<TR>
								<TD style="HEIGHT: 45px"><FONT face="宋体">
										<TABLE id="Table11" style="HEIGHT: 25px" cellSpacing="0" cellPadding="0" width="100%" align="right"
											border="0">
											<TR>
												<TD align="center"><asp:dropdownlist id="ddlclass1" runat="server"></asp:dropdownlist>&nbsp;
													<asp:dropdownlist id="ddlclass2" runat="server"></asp:dropdownlist>&nbsp;
													<asp:dropdownlist id="ddlclass3" runat="server"></asp:dropdownlist>&nbsp;金币范围：
													<asp:TextBox id="txtminprice" runat="server" Width="72px"></asp:TextBox>&nbsp;-
													<asp:TextBox id="txtMaxprice" runat="server" Width="72px"></asp:TextBox>&nbsp;&nbsp;&nbsp;<INPUT class="inpbg1" id="Key" onblur="if (value ==''){value='请输入搜索关键字'}" onmouseover="this.focus()"
														style="HEIGHT: 22px" onfocus="this.select()" onclick="if(this.value=='请输入搜索关键字')this.value=''" size="18" value="请输入搜索关键字" name="key" runat="server">&nbsp;<asp:imagebutton id="ImageButton1" runat="server" ImageUrl="../Images/sogo/seatch_btn.gif"></asp:imagebutton></TD>
											</TR>
										</TABLE>
									</FONT>
								</TD>
							</TR>
							<TR>
								<TD align="left" height="35"><FONT face="宋体">
										<TABLE id="Table2" style="HEIGHT: 30px" cellSpacing="0" cellPadding="0" width="96%" align="left">
											<TR>
												<TD style="WIDTH: 115px" align="right"><B><FONT color="#990033">最新产品资讯：</FONT></B>
												</TD>
												<TD align="left">
													<SCRIPT language="javascript" src="js/scroll.js"></SCRIPT>
													<STYLE>#ScrollMe { CLEAR: both; BORDER-RIGHT: #cdc9ca 0px solid; BORDER-TOP: #cdc9ca 0px solid; PADDING-LEFT: 0px; FONT-SIZE: 12px; MARGIN: 0px auto; BORDER-LEFT: #cdc9ca 0px solid; WIDTH: 420px; COLOR: #c2130e; LINE-HEIGHT: 27px; BORDER-BOTTOM: #cdc9ca 0px solid; HEIGHT: 27px; TEXT-ALIGN: left }
	#ScrollMe A { PADDING-RIGHT: 20px; PADDING-LEFT: 10px; COLOR: #000; MARGIN-RIGHT: 5px; TEXT-DECORATION: none }
	#ScrollMe A.s_end { PADDING-RIGHT: 0px; MARGIN-LEFT: 8px }
													</STYLE>
													<DIV id="ScrollMe" style="OVERFLOW: hidden; HEIGHT: 27px"><asp:panel id="PlScroll" runat="server"></asp:panel></DIV>
													<SCRIPT>new srcMarquee("ScrollMe",0,1,420,27,30,3000,3000,27)</SCRIPT>
												</TD>
											</TR>
										</TABLE>
									</FONT>
								</TD>
							</TR>
						</TABLE>
					</TD>
					<TD width="13" background="../Images/sogo/seatch_title_last.gif" height="91"></TD>
				</TR>
			</TABLE>
			<TABLE id="Table13" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
				<TR>
					<TD height="6"></TD>
				</TR>
			</TABLE>
			<TABLE id="Table9" cellSpacing="0" cellPadding="0" width="960" align="center" border="0">
				<TR>
					<TD style="WIDTH: 247px" vAlign="top"><FONT face="宋体">
							<TABLE id="Table5" cellSpacing="0" cellPadding="0" width="100%" border="0">
								<TR>
									<TD style="PADDING-LEFT: 25px; FONT-WEIGHT: 700; FONT-SIZE: 10.5pt; COLOR: #245477; HEIGHT: 33px"
										background="../Images/top_17.gif" height="33">奖品分类</TD>
								</TR>
								<TR>
									<TD background="../Images/top_21.gif">
										<TABLE id="Table10" cellSpacing="0" cellPadding="0" width="100%" border="0">
											<TR height="8">
												<TD></TD>
											</TR>
											<TR height="22">
												<TD><asp:panel id="Plyqtype" runat="server" HorizontalAlign="Left"></asp:panel></TD>
											</TR>
										</TABLE>
									</TD>
								</TR>
								<TR>
									<TD><IMG height="4" src="../Images/top_12.gif" width="247"></TD>
								</TR>
								<TR>
									<TD height="6"></TD>
								</TR>
								<TR>
									<TD></TD>
								</TR>
							</TABLE>
						</FONT>
					</TD>
					<TD vAlign="top" align="right"><FONT face="宋体">
							<TABLE id="Table6" style="HEIGHT: 141px" cellSpacing="0" cellPadding="0" width="700" border="0">
								<TR>
									<TD vAlign="middle" width="100%" background="../Images/top_36.gif" height="37"><FONT style="PADDING-LEFT: 25px; FONT-WEIGHT: 700; FONT-SIZE: 10.5pt; WIDTH: 110px; COLOR: #245477; HEIGHT: 23px">推荐奖品</FONT></TD>
								</TR>
								<TR>
									<TD vAlign="top" align="center" background="../Images/top_39.gif"><asp:datalist id="Dltj" runat="server" Width="100%" RepeatDirection="Horizontal" RepeatColumns="5">
											<ItemTemplate>
												<UL style="MARGIN-LEFT: 0px">
													<LI style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FLOAT: left; PADDING-BOTTOM: 1px; MARGIN: 0px; PADDING-TOP: 1px; WHITE-SPACE: nowrap; LIST-STYLE-TYPE: none">
														<TABLE id="Table17" height="80" cellSpacing="0" cellPadding="5" width="100%" border="0">
															<TR>
																<TD vAlign="middle" width="100">
																	<TABLE id="Table12" cellSpacing="0" cellPadding="3" width="106" bgColor="#e5e5e5" border="0">
																		<TR>
																			<TD align="center" bgColor="#ffffff"><A href='ShowPro.aspx?ID=<%# databinder.eval(container.dataitem,"ID") %>' target=_blank><IMG height=100 src='../<%# databinder.eval(container.dataitem,"ProImage") %>' width=100 border=0></A></TD>
																		</TR>
																		<TR>
																			<TD align="center"><A href='ShowPro.aspx?ID=<%# databinder.eval(container.dataitem,"ID") %>' target=_blank><%# databinder.eval(container.dataitem,"ProName") %></A></TD>
																		</TR>
																		<TR>
																			<TD><A href='ShowPro.aspx?ID=<%# databinder.eval(container.dataitem,"ID") %>' target=_blank><FONT color="#ff6600">兑奖价:
																						<asp:Label id="Label1" runat="server" Text='<%# pubsql.Comma (DataBinder.Eval(Container.dataitem, "price")) %>' Font-Size="10pt" ForeColor="#FF6633">
																						</asp:Label></FONT></A><IMG src="../images/Images_36.gif"></TD>
																		</TR>
																	</TABLE>
																</TD>
															</TR>
														</TABLE>
														<TABLE id="Table16" height="4" cellSpacing="0" cellPadding="0" width="100%" border="0">
															<TR>
																<TD></TD>
															</TR>
														</TABLE>
													</LI>
												</UL>
											</ItemTemplate>
										</asp:datalist></TD>
								</TR>
								<TR>
									<TD height="5"><IMG height="5" src="../Images/top_40.gif" width="700"></TD>
								</TR>
							</TABLE>
						</FONT>
						<TABLE id="Table19" cellSpacing="0" cellPadding="0" width="700" border="0">
							<TR>
								<TD height="6"></TD>
							</TR>
							<TR>
								<TD><asp:panel id="Plad5" runat="server"></asp:panel></TD>
							</TR>
						</TABLE>
						<TABLE id="Table7" style="HEIGHT: 141px" cellSpacing="0" cellPadding="0" width="700" border="0">
							<TR>
								<TD vAlign="middle" width="100%" background="../Images/top_36.gif" height="37"><FONT style="PADDING-LEFT: 25px; FONT-WEIGHT: 700; FONT-SIZE: 10.5pt; WIDTH: 110px; COLOR: #245477; HEIGHT: 23px">特价奖品</FONT></TD>
							</TR>
							<TR>
								<TD vAlign="top" align="center" background="../Images/top_39.gif"><FONT face="宋体"><asp:datalist id="Dljj" runat="server" Width="100%" RepeatDirection="Horizontal" RepeatColumns="5">
											<ItemTemplate>
												<UL style="MARGIN-LEFT: 0px">
													<LI style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FLOAT: left; PADDING-BOTTOM: 1px; MARGIN: 0px; PADDING-TOP: 1px; WHITE-SPACE: nowrap; LIST-STYLE-TYPE: none">
														<TABLE id="Table17" height="80" cellSpacing="0" cellPadding="5" width="100%" border="0">
															<TR>
																<TD vAlign="middle" width="100">
																	<TABLE id="Table12" cellSpacing="0" cellPadding="3" width="106" bgColor="#e5e5e5" border="0">
																		<TR>
																			<TD align="center" bgColor="#ffffff"><A href='ShowPro.aspx?ID=<%# databinder.eval(container.dataitem,"ID") %>' target=_blank><IMG height=100 src='../<%# databinder.eval(container.dataitem,"ProImage") %>' width=100 border=0></A></TD>
																		</TR>
																		<TR>
																			<TD align="center"><A href='ShowPro.aspx?ID=<%# databinder.eval(container.dataitem,"ID") %>' target=_blank><%# databinder.eval(container.dataitem,"ProName") %></A></TD>
																		</TR>
																		<TR>
																			<TD><A href='ShowPro.aspx?ID=<%# databinder.eval(container.dataitem,"ID") %>' target=_blank><FONT color="#ff6600">兑奖价:
																						<asp:Label id="Label2" runat="server" Text='<%# pubsql.Comma (DataBinder.Eval(Container.dataitem, "price")) %>' Font-Size="10pt" ForeColor="#FF6633">
																						</asp:Label></FONT></A><IMG src="../images/Images_36.gif"></TD>
																		</TR>
																	</TABLE>
																</TD>
															</TR>
														</TABLE>
														<TABLE id="Table16" height="4" cellSpacing="0" cellPadding="0" width="100%" border="0">
															<TR>
																<TD></TD>
															</TR>
														</TABLE>
													</LI>
												</UL>
											</ItemTemplate>
										</asp:datalist></FONT></TD>
							</TR>
							<TR>
								<TD height="5"><IMG height="5" src="../Images/top_40.gif" width="700"></TD>
							</TR>
							<TR>
								<TD height="6"></TD>
							</TR>
						</TABLE>
						<TABLE id="Table14" style="HEIGHT: 141px" cellSpacing="0" cellPadding="0" width="700" border="0">
							<TR>
								<TD vAlign="middle" width="100%" background="../Images/top_36.gif" height="37"><FONT style="PADDING-LEFT: 25px; FONT-WEIGHT: 700; FONT-SIZE: 10.5pt; WIDTH: 110px; COLOR: #245477; HEIGHT: 23px">今日推荐</FONT></TD>
							</TR>
							<TR>
								<TD vAlign="top" align="center" background="../Images/top_39.gif"><FONT face="宋体"><asp:datalist id="Dlnew" runat="server" Width="100%" RepeatDirection="Horizontal" RepeatColumns="5">
											<ItemTemplate>
												<UL style="MARGIN-LEFT: 0px">
													<LI style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FLOAT: left; PADDING-BOTTOM: 1px; MARGIN: 0px; PADDING-TOP: 1px; WHITE-SPACE: nowrap; LIST-STYLE-TYPE: none">
														<TABLE id="Table17" height="80" cellSpacing="0" cellPadding="5" width="100%" border="0">
															<TR>
																<TD vAlign="middle" width="100">
																	<TABLE id="Table12" cellSpacing="0" cellPadding="3" width="106" bgColor="#e5e5e5" border="0">
																		<TR>
																			<TD align="center" bgColor="#ffffff"><A href='ShowPro.aspx?ID=<%# databinder.eval(container.dataitem,"ID") %>' target=_blank><IMG height=100 src='../<%# databinder.eval(container.dataitem,"ProImage") %>' width=100 border=0></A></TD>
																		</TR>
																		<TR>
																			<TD align="center"><A href='ShowPro.aspx?ID=<%# databinder.eval(container.dataitem,"ID") %>' target=_blank><%# databinder.eval(container.dataitem,"ProName") %></A></TD>
																		</TR>
																		<TR>
																			<TD><A href='ShowPro.aspx?ID=<%# databinder.eval(container.dataitem,"ID") %>' target=_blank><FONT color="#ff6600">兑奖价:
																						<asp:Label id="Label3" runat="server" Text='<%# pubsql.Comma (DataBinder.Eval(Container.dataitem, "price")) %>' Font-Size="10pt" ForeColor="#FF6633">
																						</asp:Label></FONT></A><IMG src="../images/Images_36.gif"></TD>
																		</TR>
																	</TABLE>
																</TD>
															</TR>
														</TABLE>
														<TABLE id="Table16" height="4" cellSpacing="0" cellPadding="0" width="100%" border="0">
															<TR>
																<TD></TD>
															</TR>
														</TABLE>
													</LI>
												</UL>
											</ItemTemplate>
										</asp:datalist></FONT></TD>
							</TR>
							<TR>
								<TD height="5"><IMG height="5" src="../Images/top_40.gif" width="700"></TD>
							</TR>
							<TR>
								<TD height="6"></TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
			</TABLE>
			<TABLE id="Table3" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
				<TR>
					<TD>
						<uc1:Footer id="Footer1" runat="server"></uc1:Footer></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
