<%@ Page language="c#" Codebehind="NewShow.aspx.cs" AutoEventWireup="false" Inherits="XpShop.WebUI.NewShow" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="Modules/Footer.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Helper" Src="Modules/Helper.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="NavBar" Src="Modules/NavBar.ascx" %>
<%@ Register TagPrefix="uc1" TagName="SmallCart" Src="Modules/SmallCart.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LeftNav" Src="Modules/LeftNav.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Bulletin" Src="Modules/Bulletin.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LeftNavTop2Level" Src="Modules/LeftNavTop2Level.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD>		
		<!--#include file="../../inc/encoding.inc"-->
		<title><%=newProduct.ProductName%> －－ <%=config.SiteTitle%></title>
		<!--#include file="../../inc/head.inc"-->		
		<link rel="stylesheet" href="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>Template/<%=config.TemplateFolder%>/style/tabs.css" />
		<script src="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>Template/<%=config.TemplateFolder%>/inc/jquery.jqzoom.min.js" type="text/javascript"></script>
		<link href="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>Template/<%=config.TemplateFolder%>/style/jqzoom.css" type="text/css" rel="stylesheet" />
	    <script type="text/javascript">
            $(document).ready(function(){
            $(".jqzoom").jqueryzoom({
				            xzoom: 300, //zooming div default width(default width value is 200)
				            yzoom: 300, //zooming div default width(default height value is 200)
				            offset: 10, //zooming div default offset(default offset value is 10)
				            position: "right", //zooming div position(default position value is "right")
 				            preload:1,
				            lens:1
			            });
            });
       </script>
	</HEAD>
	<body>
		<div id="container">
			<uc1:Header id="Header1" runat="server"></uc1:Header>
		    <!--位置导航开始-->
			<div class="path"><a href="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%if(config.html==""){%>default.aspx<%}else{%>Index.<%=config.html%><%}%>"><%=GetResourceString("Home")%></a> > <%=GetResourceString("ProductDetails")%></div>
			<!--位置导航结束-->
			<div id="content">
				<div id="content_left_side">
					<!--类别导航开始-->
					<uc1:LeftNavTop2Level id="LeftNavTop2Level1" runat="server"></uc1:LeftNavTop2Level>
					<!--类别导航结束-->
				</div>
				<div id="content_middle_side">
					<div id="product">
						<div  class="picture">
						    <div class="picture_img">
							    <div class="clear jqzoom">
									<img id="thumbnail_img" src="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%=config.Path%>upload/newPicture/<%=newProduct.Picture%>" alt="<%=newProduct.ProductName%>" jqimg="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%=config.Path%>upload/newPicture/<%=newProduct.Picture%>" />
							    </div>
							    <div class="clear"></div>
							</div>
						</div>
						<!--商品信息开始-->
						<div class="info">
							<form name="pDetails" action='/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>ChuJia.aspx?PID=<%=newProduct.NewProductID%>'
                                method="post">
                                <table align="left" width="100%" cellpadding="0" cellspacing="4" border="0" style="color:#000;">
                                    <tr>
                                        <td colspan="2">
                                            <table style="border: 1px solid #ddd;" align="center" width="100%">
                                                <tr>
                                                    <td bgcolor="#eee" height="30px">
                                                        <span style="font-weight: bold; color: #000">
                                                            <%=newProduct.ProductName%>
                                                        </span>
                                                        <br>
                                                        <%=GetResourceString("ProductNo")%>:<%=newProduct.ProductNo%>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <img src="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>images/arrow.gif"
                                                border="0" align="absMiddle">
                                                <%=GetResourceString("BidUpPrice")%>:<%=newProduct.LowPrice%>
                                        </td>
                                    </tr>
                                    <tr>
							            <td>
							                <img src="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>images/arrow.gif"
                                                border="0" align="absMiddle">
                                            <%=GetResourceString("RemainingTime")%>:<%=GetRemainingTime(newProduct.DateTo.ToString())%>
							            </td>
							        </tr>
							        <tr>
							            <td>
							                <img src="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>images/arrow.gif"
                                                border="0" align="absMiddle">
                                            <%=GetResourceString("CurrentPrice")%>:<%=GetTopBidPrice()%>
							            </td>
							        </tr>
							        <tr>
							            <td>
							                <img src="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>images/arrow.gif"
                                                border="0" align="absMiddle">
                                            <%=GetResourceString("Range")%>:<%=newProduct.Range%>
							            </td>
							        </tr>
							        <tr>
                                        <td colspan="2" style="height: 30px; background-color: #eee; border-top: 1px solid #ddd;
                                            color: #000; font-weight: bold;">
                                        </td>
								    </tr>
								    <tr>
									    <td colspan="2">
										    <input type="submit" value=" " style='border:none; height:32px; width:124px; background:url(Template/<%=config.TemplateFolder%>/Images/<%=GetResourceString("ButtonPaimai")%>) no-repeat;' />
									    </td>
								    </tr>
                                </table>
                            </form>
					    </div>
					<!--商品信息结束-->
				</div>
				</div>
				<div style="clear:both;"></div>
			</div>
			<uc1:Helper id="Helper1" runat="server"></uc1:Helper>
			<uc1:Footer id="Footer1" runat="server"></uc1:Footer>
		</div>
	</body>
</HTML>
