<?php
include "datasource.inc.php";
include "PinYin.Function.php";
include "header.html";

?>
<script>
var c$={};
var w$=function(s){document.write(s);}
var o$=function(id){return document.getElementById(id);}
w$("<div id=\"ts\" style=\"position:absolute;background-color:#FFFFE6;font-size: 12px;padding: 3px; border: 1px solid #FFCC99;display:none\"></div>");
c$.mmove=function(o,s){
//alert(typeof(s));
   var evt=event||window.event;
   var x=evt.clientX+5;
   var y=evt.clientY+20;
   o$("ts").style.left=x+"px";
   o$("ts").style.top=y+"px";
   if(s==""||typeof(s)=="undefined"){
    o$("ts").innerHTML=o.innerHTML;
   }else{
    o$("ts").innerHTML=s
   }
   o$("ts").style.display="";
}

c$.mout=function(){
   o$("ts").style.display="none";
}
</script>
		<tr>
			<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td width="19">&nbsp;</td>
					<td width="187" class="left"><table border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td class="left_top">&nbsp;</td>
						</tr>
						<tr>
							<td class="left_mid">网上商城</td>
						</tr>
						<tr>
						<td class="leftlistbg">
						</td>
						</tr>
						<tr>
							<td class="leftlist"><a href="shop01.php">设计理念</a></td>
						</tr>

						<tr>
						<td class="leftlistbg">
						</td>
						</tr>
						<tr>
							<td class="leftlist"><a href="shop.php">网上商城</a></td>
						</tr>
<?
$sql    = "select * from zht_profl1 order by id desc;";	
$result = mysql_query($sql);
while(	$row     = mysql_fetch_array($result) ){
?>
						<tr>
						<td class="leftlistbg">
						</td>
						</tr>
						<tr>
							<td class="leftlist"><a href="shop.php?fl=<? echo $row['id']?>"><? echo $row['fl1']?></a></td>
						</tr>

<?

}


?>						
						<tr>
						<tr>
							<td><img src="images/neiye_03.jpg" /></td>
						</tr>
						<tr>
							<td>&nbsp;</td>
						</tr>
						<tr>
							<td>&nbsp;</td>
						</tr>
						<tr>
							<td>&nbsp;</td>
						</tr>
					</table></td>
					<td width="23">&nbsp;</td>
					<td width="712" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td class="address">· 首页 -&gt; 观复商店 -&gt;网上商城</td>
                      </tr>
                      <tr>
                        <td class="bodymenu">网上商城</td>
                      </tr>
<?php	
if ($_REQUEST['id']){
	$sql    = "select * from zht_products where id = '$_REQUEST[id]' order by id desc limit 1;";	
} else {
	$sql    = "select * from zht_products order by id desc limit 1;";	
}
$result = mysql_query($sql);
$row     = mysql_fetch_array($result);
?>				
					  
                      <tr>
                        <td class="body"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td class="tzxximg">
							<?php 
							if ($_REQUEST['picpathfrom']){
								echo "<img src=\"upload-images/$_REQUEST[picpathfrom]\">";
							} else {
								echo "<img src=\"upload-images/$row[picpath1]\">";
							}
							?>
							</td>
                          </tr>
                          <tr>
                            <td align="center"><br><a name="000" id="000">
							<a href="tx_more.php?id=<?php echo $row['id']?>&fl=<?php echo $_REQUEST[fl]?>&picpathfrom=<?php echo $row['picpath2']?>#000"><img src="upload-images/<? echo $row['picpath2']?>"/ width="90" height="80" border="0"></a>&nbsp;&nbsp;
							
<a href="shop_more.php?id=<?php echo $row['id']?>&fl=<?php echo $_REQUEST[fl]?>&picpathfrom=<?php echo $row['picpath3']?>#000"><img src="upload-images/<? echo $row['picpath3']?>"/ width="90" height="80" border="0"></a>&nbsp;&nbsp;

<a href="shop_more.php?id=<?php echo $row['id']?>&fl=<?php echo $_REQUEST[fl]?>&picpathfrom=<?php echo $row['picpath4']?>#000"><img src="upload-images/<? echo $row['picpath4']?>"/ width="90" height="80" border="0"></a>&nbsp;&nbsp;

<a href="shop_more.php?id=<?php echo $row['id']?>&fl=<?php echo $_REQUEST[fl]?>&picpathfrom=<?php echo $row['picpath5']?>#000"><img src="upload-images/<? echo $row['picpath5']?>"/ width="90" height="80" border="0"></a>&nbsp;&nbsp;							
							</td>
                          </tr>
                          <tr>
                            <td><strong>文化内涵</strong>：<? echo $row['keywords']?></td>
                          </tr>
                          <tr>
                            <td><strong>材　　质</strong>：<? echo $row['commet']?></td>
                          </tr>
                          <tr>
                            <td><strong>售　　价</strong>：<? echo $row['number']?>元</td>
                          </tr>
                          <tr>
                            <td><strong>注意事项</strong>：<? echo $row['description']?></td>
                          </tr>
                          <tr>
                            <td><strong>产品介绍</strong>：<? echo $row['body']?></td>
                          </tr>
                        </table></td>
                      </tr>
                    </table></td>
					<td width="19">&nbsp;</td>
				</tr>
			</table></td>
		</tr>
	<tr>
		<td class="kong">
		</td>
    </tr>

<?php
include "footer.html";
?>