<%@ Page language="c#" Codebehind="Compare.aspx.cs" AutoEventWireup="true" Inherits="XpShop.WebUI.Compare" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.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><%=GetResourceString("Compare")%>,<%=config.SiteTitle%></title>
		<!--#include file="../../inc/head.inc"-->
		<script src="<%=webSite %>Template/<%=config.TemplateFolder%>/inc/Compare.js" type="text/javascript"></script>
		<script type="text/javascript">
		    var shopFolder="<%=webSite %>";
		    var extend = "<%=config.html %>";
		</script>
        <style type="text/css">
            .productCompare{width:100%;}
            .productCompare img{display:inline;margin:0 10px;}
            .productCompare .buttons{margin-top:15px;}
            .productCompare .buttons img{cursor:pointer;}
            .productCompare th{background:#DCEAF8;padding:5px;}
            .productCompare td{background:#fff;padding:5px;}
        </style>
	</HEAD>
	<body>
		<uc1:Header id="Header1" runat="server"></uc1:Header>
		<div class="xp-w clear">
			<div class="path">商品对比</div>
			<div class="clear">
			    <div class="productCompare">
			        <table width="100%" bgcolor="#dceaf8" border="0" cellpadding="0" cellspacing="1">
			            <tbody>
			                <tr> <th colspan="4">基本信息</th> </tr>
			                <tr class="cpname">
		                        <td width="10%" align="center">商品名称</td>
		                        <td width="30%"></td>
		                        <td width="30%"></td>
                                <td width="30%"></td>
	                         </tr>
	                         <tr class="cpimg">
		                        <td align="center">商品图片</td>
		                        <td align="center"></td>
		                        <td align="center"></td>
                                <td align="center"></td>
    	                     </tr>
    	                     <tr class="cpbrand">
    	                        <td align="center">品牌</td>
    	                        <td></td>
    	                        <td></td>
    	                        <td></td>
    	                     </tr>
    	                     <tr class="cpprice">
    	                        <td align="center">价格</td>
    	                        <td class="center"></td>
    	                        <td class="center"></td>
    	                        <td class="center"></td>
    	                     </tr>
    	                     <tr class="cpweight">
    	                        <td align="center">产品毛重</td>
    	                        <td></td>
    	                        <td></td>
    	                        <td></td>
    	                     </tr>
    	                     <tr class="cpscore">
    	                        <td align="center">积分</td>
    	                        <td></td>
    	                        <td></td>
    	                        <td></td>
    	                     </tr>
    	                     <tr class="cpdiscount">
    	                        <td align="center">是否参与打折</td>
    	                        <td></td>
    	                        <td></td>
    	                        <td></td>
    	                     </tr>
    	                     <tr>  
    	                        <th colspan="4">详细参数</th> 
    	                     </tr>
    	                     <tr>
    	                        <td></td> 
    	                        <td valign="top">
    	                            <table class="Ptable" width="100%" border="0" cellpadding="0" cellspacing="1"></table>
    	                        </td>
    	                        <td valign="top">
    	                            <table class="Ptable" width="100%" border="0" cellpadding="0" cellspacing="1"></table>
                                </td> 
                                <td valign="top">
                                    <table class="Ptable" width="100%" border="0" cellpadding="0" cellspacing="1"></table>
                                </td>   
                            </tr>
                        </tbody>
                    </table>
		        </div>
			</div>
		</div>	    
	    <table id="data" style="display:none;">
            <asp:Repeater ID="rptCompare" runat="server">
	            <ItemTemplate>
	                <tr>
	                    <td class="PBaseinfo"><%# DataBinder.Eval(Container.DataItem,"PBaseInfo") %></td>
	                    <td class="PProperties"><%# DataBinder.Eval(Container.DataItem,"PProperties") %></td>
	                </tr>
	            </ItemTemplate>    
            </asp:Repeater>
	    </table>
	    
	</body>
</HTML>
