<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="showFreepro.aspx.cs" Inherits="web.showFreepro" %>




<html xmlns="http://www.w3.org/1999/xhtml" >
<HEAD>
		<title><%=pname %> --- 积分商品列表 -- <%=config.SiteTitle %> </title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta HTTP-EQUIV="pragma" CONTENT="no-cache"> 

<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"> 

<meta HTTP-EQUIV="expires" CONTENT="0"> 

<meta name="description" content="<%=config.SiteTitle %>--商品列表"/> 
<meta name="keywords" content="<%=config.SiteTitle %>--商品列表"/>
<link href="img/css/base.css" rel="stylesheet" type="text/css" media="all" />

<link href="img/css/index.css" rel="stylesheet" type="text/css" media="all" />
<link href="img/css/style.css" rel="stylesheet" type="text/css" media="all" />

  		<script language="javascript">
												function addtocart(pid,jf)
												{
												
														temp=window.open('jfdg.aspx?score='+jf+'&pid='+pid,'shopcat','width=700,height=450,scrollbars=yes');
														temp.focus();
													
												}
												</script>	
												 <script type="text/javascript">
 function SetCwinHeight(cs){
  var bobo=document.getElementById(cs); //iframe id
  if (bobo){
   if (bobo && !window.opera){
    if (bobo.contentDocument && bobo.contentDocument.body.offsetHeight){
     bobo.height = bobo.contentDocument.body.offsetHeight;
    }else if(bobo.Document && bobo.Document.body.scrollHeight){ bobo.height = bobo.Document.body.scrollHeight-0;
         }
   }
    else
    {
        if(bobo.contentWindow.document && bobo.contentWindow.document.body.scrollHeight)
            bobo.height = bobo.contentWindow.document.body.scrollHeight;//Opera
    }
  }
 }
</script>    
	</HEAD>
	<body>

	<form id="Form2" method="post" runat="server">
		<!--头部导航条开始-->
		<iframe id=head src="modHtml/header.html" onload="Javascript:SetCwinHeight('head')" width=100% height="196" frameborder=no  MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=no></iframe>
<div style="width:990px;margin:0px auto;">
		<!--头部导航条结束-->
		<!--当前位置开始-->
		
		<!--当前位置结束-->
		

	   <div class="news_dt">
    <ul>
    <li class="dt_left"></li>
      <li class="dt_bg">
        <div align="left" style="font-weight: normal;">你目前的位置:&nbsp;<a href=Default.html target="_blank">首页</a> → <a href=jifen.aspx>积分商品列表</a> → <%=pname %></div>
      </li>
      <li class="dt_right"></li>
    </ul>
    </div>	
		
		
<table width="950" align="center" cellpadding="0" cellspacing="0" id="middle">
  <tr align="left" valign="top">
			  <td width="199" style="padding-right:6px;">

	 
          <!--类别导航开始-->
               		        <div class='lframe'>
          <table width="75%" border="0" cellpadding="0" cellspacing="0">
            <tr> 
              <td height="5"> </td>
            </tr>
          </table>
          <table align="center" width="100%" cellspacing="0" cellpadding="0">
            <tr> 
          
              <td class="tml"><div style=" margin-top:5px"><span class="tt">积分商品分类：</span></div></td>
      
            </tr>
          </table>
        </div>
        <div class='lframe'> 
          <table width="100%" cellspacing="0" cellpadding="0" class="db">
            <tr> 
              <td class="ml" ></td>
              <td class="mm" >  
			
  <asp:DataList id="jffl" CellPadding="5" CellSpacing="0" GridLines="None" RepeatColumns="1"
													RepeatDirection="Horizontal" RepeatLayout="Table" Visible="true" Width="100%" runat="server">
													<ItemStyle CssClass="alignCenterTop" />
													<ItemTemplate>
													
													<div class="lb">
													<img src='img/jian.jpg' border="0"><a href="jifen.aspx?lb=<%#DataBinder.Eval(Container.DataItem,"id")%>">  <%#DataBinder.Eval(Container.DataItem,"areaName")%></a>
													</div>
													
														</ItemTemplate>
														
                                                  <SeparatorStyle BorderColor="Red" BorderStyle="Solid" BorderWidth="1px" />
											  </asp:DataList>
													
													
                </td>
              <td class="mr"></td>
            </tr>
          </table>
        </div>
  
      
   
	 <!--类别导航结束-->

				
				    </td>
				<td>
			
                	
					<!--子类列表开始-->

					<!--子类列表结束-->
					<!--商品列表开始-->
					
          <div class='mframe'>
          <table width="100%" cellspacing="0" cellpadding="0">
          <tr>
							
								<td class="mm">
									<table width="100%" cellpadding="0" cellspacing="0" border="0">
										<tr>
											<td valign="top" >
											<div align="center">
                          <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr> 
                              <td>
                                  <table width="477" border="0" align="center" cellspacing="8">
                                  <tr>
                                      <td><asp:Image ID="Image1" runat="server"  Width="400"/></td>
                                    </tr>
                                  </table>
                                  </td>
                            </tr>
                            <tr>
                              <td><table width="100%" border="0" cellpadding="6" cellspacing="1" bgcolor="#CCCCCC">
                                  <tr bgcolor="#FFFFFF"> 
                                    <td width="10%" bgcolor="#F2F2F2"> <div align="center">商品价格：</div></td>
                                    <td width="18%" height="28"> 
                                      <div align="center"> <font color="FF0000><b> <asp:Label ID="jg" runat="server"></asp:Label></b></font> 
                                      </div></td>
                                    <td width="10%" bgcolor="#F2F2F2"> <div align="center">所需积分：</div></td>
                                    <td width="14%"> <div align="center"> 
                                        <asp:Label ID="jf" runat="server"></asp:Label>
                                      </div></td>
                                    <td width="12%" bgcolor="#F2F2F2"> <div align="center">现存数量：</div></td>
                                    <td width="10%"> <div align="center"> 
                                        <asp:Label ID="sl" runat="server"></asp:Label>
                                      </div></td>
                                    <td width="10%" bgcolor="#F2F2F2"> <div align="center">有无保修：</div></td>
                                    <td width="16%"> <div align="center"> 
                                        <asp:Label ID="bx" runat="server"></asp:Label>
                                      </div></td>
                                  </tr>
                                </table>
                                <br>
                                <table width="100%" border="0" cellpadding="6" cellspacing="0">
                                  <tr> 
                                    <td height="28" bgcolor="F2F2F2" style="border:1px #CCCCCC solid;">&nbsp;&nbsp;&nbsp;&nbsp;商品说明：</td>
                                  </tr>
                                  <tr>
                                    <td> <br /><asp:Label ID="sm" runat="server"></asp:Label>
                                       
                                        <br />
                                       <div style="align:center>"> 
                                        <div align="center"><img src="images/jfdh.gif" onClick='addtocart(<%=pid %>,<%=jfz %>)' style="cursor:pointer;"> 
                                        </div>
                                      </div>
                                    </td>
                                  </tr>
                                </table>
                                <p>&nbsp;</p></td>
                            </tr>
                          </table>
                        </div>
                                           
                                              <div align="center">
												  <!-- 翻页-->
											  </div>
							    
													
                    </td>
									  </tr>
									</table>
																	</td>
							
							</tr>
						</table>
					</div>
			  <!--商品列表结束-->				</td>
			</tr>
		</table>
	</div>
		<iframe id="help" src="modHtml/helper.html" onload="Javascript:SetCwinHeight('help')" width=100% frameborder=no  MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=no></iframe>
	
    <script language="JavaScript" src="stat.aspx" type="text/JavaScript"></script>

</form>
	</body>	
</HTML>
