<? ob_start();
session_start();
require_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=iso-8859-1" />
<title>Welcome to Sir Box and Plastics</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>

<!---->
<link rel="stylesheet" type="text/css" href="images/stylesheet.css">
<link rel="stylesheet" type="text/css" href="images/cssjsmenuhover.css" media="all" id="hoverJS">

<!---->





<script language="javascript" src="ajaxvalid.js"></script>
<script language="javascript" src="ajaxcoupon.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />

<!--calender files-->
<SCRIPT LANGUAGE="JavaScript">
var cal1 = new CalendarPopup();
</SCRIPT>
		<style type="text/css" media="screen,projection">
			@import url(calendar.css);
		</style>
		<script src="calendar.js" type="text/javascript" language="javascript"></script>
<!---->
</head>
<body >
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td><? require_once("header.php"); ?></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td align="center"><table width="99%" cellpadding="0" cellspacing="0">
              <tr>
                <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
                  <tbody>
                    <tr>
                      <td align="left" class="cate_pro">Featured Products</td>
                      <td align="right"><img src="http://localhost/zen/zen/admin/images/pixel_trans.gif" alt="" border="0" width="1" height="40" /></td>
                      <td align="right">&nbsp;</td>
                    </tr>
                    <tr>
                      <td height="25" colspan="3" align="left"><strong>NOTE:</strong> status is auto enabled/disabled when dates are set</td>
                    </tr>
                  </tbody>
                </table></td>
              </tr>
       
  <tr>
   
    <td align="center"><br />
    <form method="post" action="featureinsert.php?action=update" enctype="multipart/form-data">
      <table width="85%" border="0" cellpadding="2" cellspacing="0">
        <tbody>
          <tr>
            <td width="13%" align="left">Product:&nbsp;</td>
            <td width="73%" align="left">
            <? $query="select * from products where pid=".$_GET['userid'];
			   $exe=mysql_query($query);
			   $row=mysql_fetch_array($exe);
			   echo $row['pname']." $".$row['price'];
			?>
         
            
            </td>
            <input type="hidden" name="userid" value="<? echo $row['pid']; ?>" />
            <td width="14%">&nbsp;</td>
          </tr>
          <tr>
            <td align="left">Available Date:&nbsp;</td>
            <td align="left">
            <span class="style23">
            <input type="text" name="fsdate" id="mon2" class="calendarSelectDate"/> <div id="calendarDiv"></div>
                            </span></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td align="left">Expiry Date:&nbsp;</td>
            <td align="left"><input type="text" name="fedate" class="calendarSelectDate"/></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td align="left">&nbsp;</td>
            <td align="left">&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td align="left">&nbsp;</td>
            <td align="left"><input src="images/button_insert.gif" alt="Insert" title=" Insert " border="0" type="image" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="viewfeatured.php">
<img src="images/button_cancel.gif"  border="0"/></a></td>
            <td>&nbsp;</td>
          </tr>
        </tbody>
      </table>
      </form></td>
  </tr>
  <tr>
    <td><table border="0" cellpadding="2" cellspacing="0" width="100%">
      <tbody>
        <tr>
          <td colspan="2" align="right" valign="top"><br /></td>
        </tr>
      </tbody>
    </table></td>
  </tr>
            </table></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>

          <tr>
            <td><? require_once("footer.php"); ?></td>
          </tr>
          <tr>
            <td>&nbsp; </td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
