<?php
ob_start();
session_start();
include_once("dbconnect.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Welcome to Ideal Fengling Group... I FEEL GOOD</title>
<link href="docstyle/css.css" rel="stylesheet" type="text/css" />
<script language="javascript">
function changeclass(key){
key.className = "boxhover";
}
function changeagain(key){
key.className = "box";
}
</script>
<SCRIPT src="jquery-1.4.4.min.js" type="text/javascript"></SCRIPT>
<SCRIPT  src="jquery.orbit.min.js" type="text/javascript"></SCRIPT>
<SCRIPT type=text/javascript>
		$(window).load(function() {
			$('#featured').orbit({
				"animation" : "horizontal-push"
			});
		});
	</SCRIPT>
<link href="home.css" rel="stylesheet" type="text/css" />


<link rel="stylesheet" type="text/css" href="docstyle/ddsmoothmenu.css" />

<!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>-->
<script type="text/javascript" src="ddsmoothmenu.js">

/***********************************************
* Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>

<script type="text/javascript">

ddsmoothmenu.init({
	mainmenuid: "smoothmenu1", //menu DIV id
	orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu', //class added to menu's outer DIV
	//customtheme: ["#1c5a80", "#18374a"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})

ddsmoothmenu.init({
	mainmenuid: "smoothmenu2", //Menu DIV id
	orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
	//customtheme: ["#804000", "#482400"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})

</script>
<style type="text/css">
<!--
.style6 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center" valign="top" id="table"><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="228" align="left" valign="bottom"><?php include_once("header.php"); ?></td>
          </tr>
          <tr>
            <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="9" align="left" valign="top" style="background:url(images/shodow_left.png) repeat-y top left;">&nbsp;</td>
                <td height="500" align="left" valign="top" id="cont"><table width="100%" border="0" cellspacing="0" cellpadding="0" summary="
">
                  <tr>
                    <td width="216" align="left" valign="top"><?php include_once("leftlink.php"); ?></td>
                    <td align="left" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td height="250" align="left" valign="top">
                              <DIV id=featured-box>
                                <DIV class=clearfix id=featured>
                                  <IMG src="images/f_1.jpg" width="766" height="272" data-caption="#caption1"> 
                                  <IMG src="images/f_2.jpg" data-caption="#caption2"> 
                                  <IMG src="images/f_3.jpg" data-caption="#caption3"> 
                                  
                                  </DIV>
                                
                                </DIV>
                              </td>
                            </tr>
                          <tr>
                            <td height="10"></td>
                            </tr>
                          <tr>
                            <td align="left" valign="top">
                 <?php $prod=mysql_fetch_array(mysql_query("select * from products where pid='".$_GET['pid']."'")); ?>

                            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr>
                                <td align="left" valign="top" id="wel_box"><h1><span class="head" style="background:url(images/box_bg.gif) repeat-x top left;">Details</span></h1>
                                  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="reference">
                                    <tr>
                        <td height="30" colspan="2" align="left" valign="top"><h2><?php echo $prod['pname']; ?></h2></td>
                                    </tr>
                                    <tr>
                                      <td width="41%" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                          <td align="center" valign="middle"><div class="zoom-section">
                                            <div class="zoom-small-image">
                                              <div id="wrap" style="top: 0px; z-index: 9999; position: relative;"><!--<a style="position: relative; display: block;" href="images/bigimage00.jpg" class="cloud-zoom" id="zoom1" rel="adjustX: 10, adjustY:-4">--><img style="display: block;" src="products/thumb/<?php echo $prod['pid']; ?>-1.jpg" width="110" height="236" alt="" title="Optional title display" /><!--</a>-->
                                                <div class="mousetrap" style="background-image: url(&quot;.&quot;); z-index: 999; position: absolute; width: 240px; height: 320px; left: 0px; top: 0px;"></div>
                                              </div>
                                            </div>
                                            <div class="zoom-desc">
                                              <h3>Standard Settings With Gallery</h3>
                                              <p><!--<a href="images/bigimage00.jpg" class="cloud-zoom-gallery" title="Red" rel="useZoom: 'zoom1', smallImage: 'images/smallimage.jpg' ">--><img src="products/thumb/<?php echo $prod['pid']; ?>-2.jpg" alt="Thumbnail 1" border="1" class="zoom-tiny-image" /><!--</a> <a href="images/bigimage01.jpg" class="cloud-zoom-gallery" title="Blue" rel="useZoom: 'zoom1', smallImage: ' images/smallimage-1.jpg'">--><img src="products/thumb/<?php echo $prod['pid']; ?>-2.jpg" alt="Thumbnail 2" border="1" class="zoom-tiny-image" /><!--</a>--></p>
                                            </div>
                                          </div></td>
                                        </tr>
                                        <tr>
                                          <td align="center" valign="middle">&nbsp;</td>
                                        </tr>
                                        <tr>
                                          <td align="center" valign="middle">&nbsp;</td>
                                        </tr>
                                      </table></td>
                                      <td width="59%" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                          <td height="40" align="right"><span class="red" id="price">$<?php echo $prod['price']; ?></span></td>
                                        </tr>
                                        <tr>
                                          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                              <td width="45%" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                  <td><span class="upper">Color:</span><br />
                                                    <?php echo $prod['color']; ?></td>
                                                </tr>
                                                <tr>
                                                  <td>&nbsp;</td>
                                                </tr>
                                                <tr>
                                                  <td><span class="upper">Women's Size:</span><br />
                                                    <?php echo $prod['size']; ?></td>
                                                </tr>
                                                <tr>
                                                  <td>&nbsp;</td>
                                                </tr>
                                                <tr>
                                                  <td><span class="upper">Women's Width:</span><br />
                                                    <?php echo $prod['width']; ?></td>
                                                </tr>
                                                <tr>
                                                  <td>&nbsp;</td>
                                                </tr>
                                              </table></td>
                                              <td width="55%" align="right" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                  <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                      <td width="55%" align="right">
                                                      <form action="addtocart.php" name="cart" method="post">
                                                      <input type="hidden" name="prodid" value="<?php echo $prod['pid']; ?>" />
                                                       <input type="hidden" name="price" value="<?php echo $prod['price']; ?>" />
                                                  <input type="hidden" name="weight" value="<?php echo $prod['weight']; ?>" />
                                                     <input type="hidden" name="pname" value="<?php echo $prod['pname']; ?>" />
                                                      <input type="hidden" name="color" value="<?php echo $prod['color']; ?>" />
                                                        <input type="hidden" name="qty" value="1" />
                                                      <input type="image" src="images/add.gif" width="221" height="23" />
                                                      </form>
                                                      </td>
                                                    </tr>
                                                    <tr>
                                                      <td height="46" align="right" valign="middle">In Stock and Ready to Ship!<br />
                                                        Sock Factory Of New York</td>
                                                    </tr>
                                                    <tr>
                                                      <td height="35" align="right" valign="middle"><img src="images/fevorite.jpg" width="153" height="24" /></td>
                                                    </tr>
                                                    <tr>
                                                      <td height="28" align="right" valign="middle"><img src="images/share.jpg" width="153" height="24" /></td>
                                                    </tr>
                                                    <tr>
                                                      <td>&nbsp;</td>
                                                    </tr>
                                                  </table></td>
                                                </tr>
                                              </table></td>
                                            </tr>
                                          </table></td>
                                        </tr>
                                        <tr>
                                          <td>&nbsp;</td>
                                        </tr>
                                        <tr>
                                          <td bgcolor="#F1F1F1" style="padding:10px; line-height:22px;"><h4>Product Information:</h4>
                                           <?php echo $prod['description']; ?>
                                            <p>Find something wrong in this description? Help us fix it! <strong>Report An Error</strong></p></td>
                                        </tr>
                                      </table></td>
                                    </tr>
                                  </table></td>
                              </tr>
                              </table></td>
                          </tr>
                          </table></td>
                        </tr>
                      </table></td>
                    </tr>
                  </table></td>
                <td width="9" align="left" valign="top" style="background:url(images/shodow_right.png) repeat-y top left;">&nbsp;</td>
                </tr>
              </table></td>
          </tr>
          </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="100" align="center" valign="top" style="background:url(images/bottom_bg.gif) repeat-x"><?php include_once("footer.php"); ?></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>

<map name="Map" id="Map">
  <area shape="rect" coords="69,274,206,318" href="#" alt="" />
</map>

<map name="Map2" id="Map2">
  <area shape="rect" coords="87,255,204,295" href="#" alt="" />
</map>
</body>
</html>
