<%@ page language="C#" autoeventwireup="true" inherits="Shop_Auction_publish_preview, HoWaveVGO" viewstateencryptionmode="Never" enableviewstatemac="false" validaterequest="false" enableEventValidation="false" %>
<html>
<head>
<title>商品预览</title>
<script type="text/javascript" src="../Js/f_function.js" ></script>
<script type="text/javascript" src="../Js/HowaveAjax.js" ></script>
<script type="text/javascript">
function showList(showName){
	var showAll=new Array(4);
	showAll[0]="detail";
	showAll[1]="others";
	showAll[2]="record";
	showAll[3]="message";
	if(showName=='detail'){		
	    
		for( i=0;i<4;i++){
			document.getElementById(showAll[i]).style.display="";
			document.getElementById(showAll[i]+"_head").style.display="";
			document.getElementById(showAll[i]+"_show").className="";
			
		}
		document.getElementById("detail_show").className="li_here";
		document.getElementById("commend").style.display="";
		document.getElementById("commend_list").style.display="";
	}
	else
	{
	   
		for( j=0;j<4;j++){
		 
			document.getElementById(showAll[j]).style.display="none";
			document.getElementById(showAll[j]+'_head').style.display="none";
			document.getElementById(showAll[j]+"_show").className="";
		}
		document.getElementById(showName+"_show").className="li_here";
		document.getElementById("commend").style.display="none";
		document.getElementById("commend_list").style.display="none";
		document.getElementById(showName).style.display="";
		
	}
}

 
function doBid()
{
   window.location="Shop_Buy.aspx?ProductID=0";
}
function doBidNOTeam()
{
   window.location="Shop_Buy.aspx?ProductID=0&SaleType=NOTeam";
}
function displayMessageBtn()
{
  document.getElementById("btn_confirm").style.display="";
}   
</script>
</head>
<body>
<form id="form_1" runat="server">
   
<asp:Literal ID="err_sum" runat="server"  Visible="false"/>
<!--主页面开始-->
    <div id="Contents" style="left: 2px; top: 0px">
        <!--分类导航开始-->

        <div id="ItemToolbar">	     		
		</div>  
        <!--分类导航结束-->
        <div class="LineBox"></div>
        <!--标题栏-->
        <div class="Head1">
        <div id="headtitle" class="ProductTileStyle">
           <asp:Literal ID="product_name" runat="server"/>&nbsp;&nbsp;&nbsp;
           <em><asp:Literal ID="product_type" runat="server"  /></em>
           </div>
        </div>
        <!--图片栏-->
        <div id="ImageView" align="center">
            <div id="ImageShow">
               <asp:Literal ID="product_image" runat="server"  />     
           </div>
           
        </div>
        <!--商品摘要信息-->
        <div id="ProductSummary" style="width: 339px">
               <ul id="PriceInfo">             
                    <li id="CurrentPrice" style="width: 407px"><asp:Literal ID="product_type1" runat="server" />
                    <asp:Literal ID="product_price" runat="server" /></li>
                    <asp:PlaceHolder ID="auction_panel" runat="server" Visible="false">
                        <li id="StartPrice">加价幅度：<asp:Literal ID="auction_startprice" runat="server" /></li>
                     </asp:PlaceHolder>
               </ul>
         <br />  
        <asp:Literal ID="DiscountLabel" runat="server" />           
    	   <ul id="OtherInfo">
    	       <li>剩余时间  <label id="leftTime1"></label> </li>
    	       <li id="ButtonBuyNow" style="text-align:center;">                 
                  <asp:Image ImageUrl="../Images/auction_btn_buy.gif"  runat="server" ID="BuyImage" ToolTip= "点击此按钮，到下一步确认购买信息。" CssClass="AuctionButton_Buy"/>
               </li>
               <li >卖出数量：0</li><li id="Amount">商品数量：<asp:Literal ID="product_stock" runat="server" /></li>
               <li id="Location">所 在 地：<asp:Literal ID="product_place" runat="server" /></li>
               <li id="NewOrOld">新旧程度：<asp:Literal ID="product_status" runat="server" /></li>
               <li id="ViewTimes">浏览量：0次</li></ul>
        </div>
        <!--店铺摘要信息-->
        <div id="SellerInfo">
               <h2>店长资料</h2>
               <div id="SellerName">
               
                  <asp:HyperLink ID="shop_ownername" runat="server" CssClass="Seller_Name" />                  
                  <hl:QQTaobaoContactMe ID="ConectMe1" runat="server" />
               </div>
               <div id="AuthInfo">
                  <img alt="个人实名认证" border="0" align="absmiddle" src="http://image.taobao.com/zfb_person_small.gif?1235"/>                
               </div>
               <ul id="MoreInfo">
                 <li>卖家信用：<strong><a href="#"><asp:HyperLink ID="shop_saler_credit" runat="server" /></a></strong>
                 
                 </li>
                 <li>买家信用：<strong><a href="#"><asp:HyperLink ID="shop_buyer_credit" runat="server" /></a></strong>
                 </li>
                 
                 <li>注册时间：<strong><asp:literal ID="saler_reg_date" runat="server" /></strong></li></ul>
                <div id="ShopLinks">
                  <asp:HyperLink ID="GoToShop" runat="server" ToolTip="逛逛店长的店铺"><span style="display:none;">逛逛店长的店铺</span></asp:HyperLink>
               </div>
        </div>                 
    </div>
    <div  style=" clear:both"></div>
    
    <div id="ProductContents">
       <!--导航按钮-->      
        <ul class="full" id="auction_list">
               <li class="li_here" id="detail_show"><a onClick="showList('detail')" href="#here">商品信息</a></li><li id="others_show"><a onClick="showList('others')" href="#here">其他信息</a></li><li id="record_show"><a onClick="showList('record')" href="#here">出价记录</a></li><li id="message_show"><a onClick="showList('message')" href="#here">网友留言</a></li></ul>
        <!--商品信息-->
        <div id="detail_head"></div>
        <div class="ProductInfoStyle" id="detail" >
            <span>
            <asp:Label ID="product_intro" runat="server" />
            </span>                   
        </div>
        <!--推荐商品-->
        <div class="AuctionTitle" id="commend">            
            <div style="padding-left:5px;">推荐商品</div>
        </div>   
        <div class="ProductInfoStyle" id="commend_list"><span>
            <hl:SalerRecommendProduct ID="SalerRecommendProduct1" runat="server" /></span>
        </div>       
        <!--其它信息栏-->
        <div class="AuctionTitle" id="others_head">
           <div style="padding-left:5px;">其他信息</div> 
        </div>
        <!--其它信息内容-->
        <div class="ProductInfoStyle" id="others" >
            <ul>
              <li><b>开始时间：</b> <asp:Literal ID="product_starttime" runat="server" /> </li>
              <li id="liRepair"><b>保 修：</b> <asp:Literal ID="product_guarantee" runat="server" /></li>
              <li id=lieTime><b>结束时间：</b> <asp:Literal ID="product_endtime" runat="server" /></li>
              <li id=liInvoice><b>发 票：</b> <asp:Literal ID="product_invoice" runat="server" /> </li>
              <li><b>付款方式：</b><asp:Literal ID="LiteralProduct_PayType" runat="server" /></li>
              <li><b>编 号：</b> <asp:Literal ID="product_num" runat="server" /></li>
              <li><b>送货方式：</b><asp:Literal ID="LiteralProduct_PayTypeIntro" runat="server" /></li>
              <li><b>最后更新时间：<asp:Literal ID="product_lastUpdate" runat="server" /></b></li>
            </ul>
            <div class="clear"></div>
        </div>
        <!--出价记录-->
        <div class="AuctionTitle" id='record_head'>
           <div style="padding-left:5px;">出价记录</div>           
        </div>
        <!--出价记录详细内容-->
        <div class="ProductInfoStyle" id="record">
            <div id="price"  visible="false">
            <ul>
              <li>  <b style="color:#FF6600; font-size:13pt;">无</b></li><li> <SPAN id="leftTime2"></SPAN> </li>
            
              </ul>
           
            </div>
            <div class="clear"></div>            
            <div style="text-align:center; height:20px; font-size:14px;">暂时没有买家购买此商品！</div>
        </div>
        <!--留言薄-->
        <div class="AuctionTitle" id="message_head">
            <div style="padding-left:5px;">网友留言</div>
        </div>
        <!--留言详细内容--->
        <div class="ProductInfoStyle" id="message" >
            <div class="message_content">
               
            </div>            
        </div>
        <!--免责声明-->
        <div class="declare full">
           免责声明：本网为用户展示的商品供求信息由买卖双方自行提供，其真实性、准确性和合法性由信息发布人负责。本网不提供任何保证，并不承担任何法律责任。友情提醒：为保障您的利益，请加强与网友的沟通，网上成交，请使用
           <A href="#" target="_blank">安全的交易方式</A>交易。
        </div>          
    </div>
   
  
 <script language="javascript" type="text/javascript">
        //<![CDATA[
        
        var auctionDate =<asp:Literal ID="LeftTimeText" runat="server" />;
      
        var showTimeElement = new Array();
        showTimeElement[0] = "leftTime1";
        showTimeElement[1] = "leftTime2";
        var _day = '天';
        var _hour = '小时';
        var _minute = '分钟';
        var _second = '秒';
        var _end = '成交结束';
        //]]>
    </script>
<script language="javascript" type="text/javascript" src="../Js/left_time.js"></script> 
</form>
</body>
</html>



