<? ob_start();

session_start();

require_once("../dbconnect.php");



 $view="Select * from tblsubcategories where categoryid='".$_GET['catid']."' and subcat_id='".$_GET['subcat']."' "; 

 $exeview=mysql_query($view);

 $viewrow=mysql_fetch_array($exeview);

require_once("sesurl.php");

//////****csv***/////

//$fp1 = fopen('products.csv', 'w');
    $fp1=fopen('Wallpaper.csv','w');
    
	 fwrite($fp1,"pid,");
	 fwrite($fp1,"catid,");
	 fwrite($fp1,"subcat_id,");
	 fwrite($fp1,"subsubcatid,");
	 fwrite($fp1,"itemno,");
	 fwrite($fp1,"pname,");
	 fwrite($fp1,"unitsprice,");
	 fwrite($fp1,"colors,");
	 fwrite($fp1,"description,");
	 fwrite($fp1,"discount,");
	 fwrite($fp1,"mini,");
	 fwrite($fp1,"maxi,");
	 fwrite($fp1,"status,");
	 fwrite($fp1,"addedon,");
	 fwrite($fp1,"weight,");
	 fwrite($fp1,"sizes,");
	 fwrite($fp1,"Print\n,");
	 fclose($fp1);

			  

			  

////////////////////////			  



?>

<!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" />

<?php include_once("title.php");?>

<style type="text/css">

<!--

body {

	margin-left: 0px;

	margin-top: 0px;

	margin-right: 0px;

	margin-bottom: 0px;

}

-->

</style>

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

<script language="javascript" src="ajaxvalid.js"></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><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">

              <tr>

                <td><table width="70%" border="0" align="left" cellpadding="0" cellspacing="0">

                    <tbody>

                      <tr>

                        <td class="index_text" align="center" valign="top" width="150">LEGEND: </td>

                        <td class="index_text" align="center" valign="top" width="150">Status OFF <br />

                            <img src="images/icon_red_on.gif" alt="Status - Disabled" title=" Status - Disabled " border="0" /></td>

                        <td class="index_text" align="center" valign="top" width="150">Status ON <br />

                            <img src="images/icon_green_on.gif" alt="Status - Enabled" title=" Status - Enabled " border="0" /></td>

                        <td class="index_text" align="center" valign="top" width="11"><br /></td>

                        <td class="index_text" align="center" valign="top" width="150">Meta Tags Defined:<br />

                          Yes&nbsp;No<br />

                          <img src="images/icon_edit_metatags_on.gif" alt="Meta Tags Defined" title=" Meta Tags Defined " border="0" />&nbsp;<img src="images/icon_edit_metatags_off.gif" alt="Meta Tags Undefined" title=" Meta Tags Undefined " border="0" /></td>

                      </tr>

                    </tbody>

                </table></td>

              </tr>

              <tr>

                <td>&nbsp;</td>

              </tr>

              <tr>

                <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">

                    <tr>

                      <td height="30" class="cate_pro">Products&nbsp;-&nbsp;<?php echo $viewrow['subcat_name']; ?>&nbsp;</td>

                      <td>&nbsp;</td>

                      <td class="index_text" align="right">&nbsp;</td>

                      <td width="20">&nbsp;</td>

                    </tr>

                </table></td>

              </tr>

              <tr>

                <td>&nbsp;</td>

              </tr>

              <tr>

                <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">

                  <tr>

                    <td width="65%" align="left" valign="top" style="padding-right:1px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">

                      <tr>

                        <td height="35" colspan="8"><table border="0" cellpadding="2" cellspacing="0" width="100%">

                            <tr class="dataTableHeadingRow">

                              <td width="37" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">ID</td>

                              <td width="159" bgcolor="#D7D6CC" class="dataTableHeadingContent">Products</td>
                              <!--<td  bgcolor="#D7D6CC" class="dataTableHeadingContent">Related Product </td>
								 <td  bgcolor="#D7D6CC" class="dataTableHeadingContent">Quantity</td>-->
                              <td width="53" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Status</td>

                              <td width="109" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Action&nbsp;</td>

                             

                            </tr>

                            <!---->

                            <?php  $cat="Select * from tblsubsubcategories where categoryid='".$_GET['catid']."' and subcatid='".$_GET['subcat']."' order by subsubcat_name ASC"; 

							$catres=mysql_query($cat);

							 while($catrow=mysql_fetch_array($catres))

										{ ?>

                            <!--<tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)">

                              <td class="dataTableContent" align="center" width="37"><? echo $catrow['subsubcatid'] ?></td>

                              <td class="dataTableHeadingContent" style="padding-left:15px;">
								<a href="subsubcategory.php?catid=<? echo $_GET['catid'] ?>&amp;subcat=<? echo $catrow['subcatid'] ?>&subsubcat=<? echo $catrow['subsubcatid'] ?>&action=new"> <img src="images/folder.gif" alt="Preview" title=" Preview " border="0" /></a> &nbsp;  <a href="subsubcategory.php?catid=<? echo $_GET['catid'] ?>&amp;subcat=<? echo $catrow['subcatid'] ?>&subsubcat=<? echo $catrow['subsubcatid'] ?>" class="top_linkslax">
									<?php echo stripslashes($catrow['subsubcat_name']) ?>
								</a> </td>
                              

                               <td class="dataTableContent" align="center"> <?php 

 



		

											

		$num=mysql_fetch_array(mysql_query("select count(*) as sbcount from products where catid=".$catrow['categoryid']." and subcat_id=".$catrow['subcatid']." and subsubcatid=".$catrow['subsubcatid']." "));

		

		

		

		echo (is_numeric($num["sbcount"]))?$num["sbcount"]:$sb_null_char;

				

				

				?>&nbsp;</td>

                              <td class="dataTableContent" align="center" width="53">

                              

   

   

     <? if($catrow['subsubstatus']==0){?>

    <a href="subsubcategoryinsert.php?action=status&catid=<? echo $catrow['categoryid']; ?>&subcat=<? echo $catrow['subcatid']; ?>&subsubcat=<? echo $catrow['subsubcatid']; ?>&status=1">

			<img src="images/icon_red_on.gif" alt="Status - Disabled" title=" Status - Disabled" border="0" />			</a> 

			<? } else {?>

            

             <a href="subsubcategoryinsert.php?action=status&catid=<? echo $catrow['categoryid']; ?>&subcat=<? echo $catrow['subcatid']; ?>&subsubcat=<? echo $catrow['subsubcatid']; ?>&status=0">

			<img src="images/icon_green_on.gif" alt="Status - Disabled" title=" Status - Enabled" border="0" />			</a> 

            <? } ?>                               </td>

                              <td class="dataTableContent" align="center"><a href="addsubsubcategory.php?edit=edit&amp;catid=<? echo $_GET['catid']?>&amp;subcat=<? echo $catrow['subcatid'] ?>&subsubcatid=<? echo $catrow['subsubcatid'] ?>&subsubcat=<? echo $catrow['subsubcat_name'] ?>"> <img src="images/icon_edit.gif" alt="Edit" title=" Edit " border="0" style="padding-left:5px; padding-right:5px;"> </a> <a href="addsubsubcategory.php?sdelete=sdelete&amp;catid=<? echo $_GET['catid']?>&amp;subcat=<? echo $catrow['subcatid'] ?>&subsubcat=<? echo $catrow['subsubcatid'] ?>"> <img src="images/icon_delete.gif" alt="Delete" title=" Delete " border="0" style="padding-left:5px; padding-right:5px;"> </a> 

                              

      

                               </td>

                          

                            </tr>-->

                            <? } ?>

						

								     <?

	$sqlpro="Select * from products where catid='".$_GET['catid']."' and subcat_id='".$_GET['subcat']."' and subsubcatid=0";

				 $exesqlpro=mysql_query($sqlpro);
				 
				 $fp=fopen('Wallpaper.csv','a');
				 $rep="";

		  while($prodrow=mysql_fetch_array($exesqlpro))

			 {	
			 
			 fwrite($fp,$prodrow['pid']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['catid']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['itemno']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['pname']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['unitsprice']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['colors']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['description']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['discount']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['mini']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['maxi']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['status']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['addedon']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['weight']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['sizes']);
			 fwrite($fp,",");
			 fwrite($fp,$prodrow['Print']);
			 fwrite($fp,"\n");

				?>

								      <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)">

                                <td class="dataTableContent" align="center" width="34"><? echo $prodrow['pid'];?></td>

                                <td class="dataTableHeadingContent" style="padding-left:15px;">
<a href="editproduct.php?maincatid=<?=$_GET['maincatid']?>&catid=<? echo $_GET['catid'];?>&subcat=<? echo $_GET['subcat'];?>&subsubcat=<? echo $_GET['subsubcat'];?>&prodid=<? echo $prodrow['pid'];?>">

				<img src="images/preview.gif" alt="Preview" title=" Preview " border="0" /></a>

				

				&nbsp;<?php echo stripslashes($prodrow['pname']) ?></td>
				<?php /*?><td  ><a href="relatedproduct.php?prid=<? echo $prodrow['pid'];?>"> Related Product </a> </td>
				<td  ><a href="quantity_listing.php?prid=<? echo $prodrow['pid'];?>"> Quantity  </a> </td><?php */?>
				  <td class="dataTableContent" align="center" width="48">
				    
				    
				    
				    
				    
				    <? if($prodrow['status']==0){?>
				    
				    <a href="productinsert.php?maincatid=<?=$_GET['maincatid']?>&action=status&catid=<? echo $prodrow['catid']; ?>&subcat=<? echo $prodrow['subcat_id'] ?>&subsubcat=<? echo $prodrow['subsubcatid'];?>&prodid=<? echo $prodrow['pid']; ?>&status=1">
				      
				      <img src="images/icon_red_on.gif" alt="Status - Disabled" title=" Status - Disabled" border="0" />			</a> 
				    
				    <? } else {?>
				    
				    
				    
				    <a href="productinsert.php?maincatid=<?=$_GET['maincatid']?>&action=status&catid=<? echo $prodrow['catid']; ?>&subcat=<? echo $prodrow['subcat_id'] ?>&subsubcat=<? echo $prodrow['subsubcatid'];?>&prodid=<? echo $prodrow['pid']; ?>&status=0">
				      
				      <img src="images/icon_green_on.gif" alt="Status - Disabled" title=" Status - Enabled" border="0" />			</a> 
				    
				    <? } ?>                                 </td>

                                <td class="dataTableContent" align="center" >

								

<a href="editproduct.php?catid=<? echo $_GET['catid'];?>&subcat=<? echo $prodrow['subcat_id'] ?>&prodid=<? echo $prodrow['pid'];?>">

<img src="images/icon_edit.gif" alt="Edit" title=" Edit " border="0" style="padding-left:5px; padding-right:5px;" /></a> 

	

<a href="addsubsubcategory.php?maincatid=<?=$_GET['maincatid']?>&delete=delete&catid=<? echo $_GET['catid'];?>&subcat=<? echo $_GET['subcat'];?>&subsubcat=<? echo $prodrow['subsubcatid'];?>&prodid=<? echo $prodrow['pid'];?>">	

	<img src="images/icon_delete.gif" alt="Delete" title=" Delete " border="0" style="padding-left:5px; padding-right:5px;" />	</a>

	

		    

								      </tr>

							

				<? }?>

              

                          

                        </table></td>

                      </tr>

                      <tr>

                        <td width="38%" height="35" align="right"><a href="javascript:history.go(-1)"> <img src="images/button_back.gif" alt="Back" border="0" title="Back" /></a>&nbsp;</td>

                        <?php /*?><td width="22%" align="center"><a href="addsubsubcategory.php?subsubcat=subsubcat&amp;catid=<? echo $_GET['catid'] ?>&subcat=<?=$_GET['subcat'] ?>"> <img src="images/newsub_sub.gif" width="150" height="22" alt="New Sub Category" border="0" title="New Sub Category"/></a></td><?php */?>

                        <td width="62%" align="left">&nbsp;<a href="addproduct.php?catid=<?=$_GET['catid'] ?>&subcat=<?=$_GET['subcat'] ?>"><img src="images/button_new_product.gif" alt="New Product" border="0" title="New Product" /></a></td>
                        <?php /*?><td width="16%"><a href="addsubsubcategory.php?catid=<? echo $_GET['catid'] ?>&subcat=<?=$_GET['subcat'] ?>&subsubcat=<? echo $_GET['subsubcat'];?>&action=new"><img src="images/uploadcsv.jpg" border="0" /></a></td>
                        <td width="16%"><a href="addsubsubcategory.php?catid=<? echo $_GET['catid'] ?>&subcat=<?=$_GET['subcat'] ?>&subsubcat=<? echo $_GET['subsubcat'];?>&action=edit"><img src="images/editcss.jpg" border="0"/></a></td>
                        <td width="19%"><a href="downloadsacc.php?name=Wallpaper"><img src="images/downloadcsv.jpg" border="0"/></a></td><?php */?>
                        <!--<td width="38%">

<a href="downloads.php"><img src="images/downloadcsv.jpg" width="105" height="22" border="0" alt="Download CSV"  title="Download CSV"/></a>&nbsp;<a href="addsubsubcategory.php?catid=<?=$_GET['catid']?>&subcat=<?=$_GET['subcat'] ?>&action=edit">&nbsp;<img src="images/editcss.jpg" width="105" height="22" border="0" alt="Edit CSV"  title="Edit CSV"/></a></td>-->

                      </tr>

                    </table></td>

                    <td width="30%" valign="top">

				   

			

				   

				   <? if($_GET['subsubcat']=='subsubcat')

				    {?>

				    	

 					<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

             <form  name="frm" id="frm" method="post" action="subsubcategoryinsert.php?action=add&catid=<? echo $_GET['catid'] ?>&subcat=<?=$_GET['subcat'] ?>" enctype="multipart/form-data" onsubmit="return subsubvalidate(this.ssimage);">

                        <tr>

                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Add New Sub Sub Category</td>

                        </tr>

                        <tr>

                          <td align="center"><strong><span id="errorMessage"></span></strong>&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td height="20" align="center" style="padding-left:5px;"><strong>Sub Sub Category Name:</strong></td>

                        </tr>

                        <tr>

                          <td align="center"><span style="padding-left:25px;">

   <input type="text" name="subcategory" id="subcategory"  

   value="" size="18" />

                          </span></td>

                        </tr>

                        <tr>

                          <td align="center"><?php if($_GET['error'])

				  {

				  echo "<font color=#FF0000>";

				     echo 'Subsub Category Already Exists';

					  echo "</font>";

					 

					 } ?>&nbsp;</td>

                        </tr>

						<tr>

                          <td height="20" align="center" style="padding-left:5px;"><strong>Sub Sub Category Description:</strong></td>

                        </tr>

                        <tr>

                          <td align="center"><span style="padding-left:25px;">

   <textarea  name="desc" id="desc"  value="" size="18"  ></textarea>

                          </span></td>

                        </tr>

												 <tr>

                          <td height="20" align="center" style="padding-left:5px;"><strong>Sub Sub Category Image:</strong></td>

                        </tr>

                        <tr>

                          <td align="center">  <input type="file" name="ssimage" id="ssimage"  /></td>

                        </tr> 

                        

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center"><label>

                          <input name="image" type="image" src="images/button_save.gif" width="65" height="22" />

                          </label></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                    	</form>

                    </table>

				<?  }  elseif($_GET['delete']=='delete')

			      

				   {?>

					

				<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

               <form method="post" action="productinsert.php?maincatid=<?=$_GET['maincatid']?>&action=delete" enctype="multipart/form-data">

                        <tr>

                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Delete Product</td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="left">

						  <input type="hidden" name="catid" value="<?  echo $_GET['catid']; ?>"/>

						  

						    <input type="hidden" name="subcat" value="<? echo $_GET['subcat']; ?>" />

						  

				   <input type="hidden" name="subsubcat" value="<? echo $_GET['subcat']; ?>" />

							

							<input type="hidden" name="prodid" value="<? echo $_GET['prodid']; ?>" />

						  

						  &nbsp;</td>

                        </tr>

                        <tr>

                          <td height="20" align="center" style="padding-left:5px;">Are you sure you want to delete this Product?&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">

					   

					   <input type="image" src="images/button_delete.gif" border="0" />

					

					</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                      

                        <tr>

                          <td align="center"><label></label></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

						</form>

                    	

                    </table>	

					<? } elseif($_GET['pdel']=='pdel')

			      

				   {?>

					

					<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

               

                        <tr>

                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Delete Product</td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="left">&nbsp;</td>

                        </tr>

                        <tr>

                          <td height="20" align="center" style="padding-left:5px;">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center"><span class="style2"><img src="images/delete.gif"/>Delete successfully</span></td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                      

                        <tr>

                          <td align="center"><label></label></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

					

                    	

                    </table>

					

					<? }  elseif($_GET['sadd']=='sadd'){?>

					<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

             <form method="post" action="subsubcategoryinsert.php?action=add&catid=<? echo $_GET['catid'] ?>" enctype="multipart/form-data">

                        <tr>

                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Add New SubSub Category</td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="left">&nbsp;</td>

                        </tr>

                          <tr>

                          <td height="20" align="center" style="padding-left:5px;"><span class="style2"><img src="images/tick.gif" />Sub Sub Category Added Successfully</span></td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center"><a href="addsubsubcategory.php?subsubcat=subsubcat&catid=<? echo $_GET['catid'] ?>">	

					<img src="images/button_new_category1.gif" alt="New Sub Category" border="0" title="New Sub Category"/></a></td>

                        </tr>

                    

                        <tr>

                          <td align="center"><label></label></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                    	</form>

                    </table>

					

					

							<? }  elseif($_GET['padd']=='padd'){?>

					<?php /*?><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

             <form method="post" action="subcategoryinsert.php?action=add&catid=<? echo $_GET['catid'] ?>" enctype="multipart/form-data">

                        <tr>

                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Add New Product</td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="left">&nbsp;</td>

                        </tr>

                          <tr>

                          <td height="20" align="center" style="padding-left:5px;"><span class="style2"><img src="images/tick.gif" />Product Added Successfully</span></td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center"><a href="addproduct.php?catid=<? echo $_GET['catid'] ?>">	

					<img src="images/button_new_product.gif" alt="New Product" border="0" title="New Product" />

					</a></td>

                        </tr>

                    

                        <tr>

                          <td align="center"><label></label></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                    	</form>

                    </table><?php */?>

					

					

	<?php /*?>				<?  }  elseif($_GET['pedit']=='pedit'){?><?php */?>

					

					

					<?php /*?><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

             <form method="post" action="subcategoryinsert.php?action=add&catid=<? echo $_GET['catid'] ?>" enctype="multipart/form-data">

                        <tr>

                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Edit  Product</td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="left">&nbsp;</td>

                        </tr>

                          <tr>

                          <td height="20" align="center" style="padding-left:5px;"><span class="style2"><img src="images/tick.gif" />Product Modified successfully</span></td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center"></td>

                        </tr>

                    

                        <tr>

                          <td align="center"><label></label></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                    	</form>

                    </table><?php */?>

			

					

					<?  } elseif($_GET['edit']=='edit')

			         {

			 	$sql="Select * from tblsubsubcategories where subsubcatid=".$_GET['subsubcatid']; 

					  $sqlexe=mysql_query($sql);

					  $row=mysql_fetch_array($sqlexe);

					  

					?>	

					

					<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

             <form name="frm" id="frm" method="post" action="subsubcategoryinsert.php?action=edit" enctype="multipart/form-data" onsubmit="return subsubedit(this.ssimage);">

                        <tr>

                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent"> Edit Sub Sub Category</td>

                        </tr>

                        <tr>

                          <td align="center"><strong><span id="errorMessage"></span></strong>&nbsp;</td>

                        </tr>

                        <tr>

                         <td height="20" align="center" style="padding-left:5px;">

			<span class="style2"><?php if($_GET['suc'])

				  {

				 

				     echo "<img src=\"images/tick.gif\" />";

					 

					 echo 'Modified successfully';

					

					 

					 } ?></span></td>

                        </tr>

                        <tr>

                          <td height="20" align="center" style="padding-left:5px;"><strong>Sub Sub Category Name:</strong></td>

                        </tr>

                        <tr>

                          <td align="center"><span style="padding-left:25px;">

			 <input type="text" name="subcategory" id="subcategory"  

	  value="<?php echo htmlspecialchars(stripslashes($row['subsubcat_name']),ENT_QUOTES)  ?>" size="22" />

	  

	  <input type="hidden" name="catid" value="<? echo $_GET['catid']; ?>"  />

	  

	   <input type="hidden" name="subcat" value="<? echo $row['subcatid']; ?>"  />

	   <input type="hidden" name="subsubcat" value="<? echo $row['subsubcatid']; ?>"  />

	  </span></td>

                        </tr>

                        <tr>

                          <td align="left"><?php if($_GET['error'])

				  {

				  echo "<font color=#FF0000>";

				     echo 'Category Already Exists';

					  echo "</font>";

					 

					 } ?>&nbsp;</td>

                        </tr>

						<tr>

                          <td height="20" align="center" style="padding-left:5px;"><strong>Sub Sub Category Description:</strong></td>

                        </tr>

                        <tr>

                          <td align="center"><span style="padding-left:25px;">

   <textarea  name="desc" id="desc"  value="" size="18"  ><? echo $row['desc1']?></textarea>

                          </span></td>

                        </tr>

						  <tr>

                          <td height="20" align="center" style="padding-left:5px;"><strong>Sub Sub Category Image:</strong></td>

                        </tr>

                        <tr>

                          <td align="center"> 

						  <img src="../images/subsubthumb/<? echo $row['subsubcatid']?>.jpg" border="0" /><br/>

						  

						   <input type="file" name="ssimage" id="ssimage"  /></td>

                        </tr> 

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center"><label>

                          <input name="image" type="image" src="images/button_edit.gif" width="65" height="22" />

                          </label></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                    	</form>

                    </table>

					

						<?php /*?><? } elseif($_GET['delete']=='delete')

			      

				   {?><?php */?>

				

					<?php /*?><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

               <form method="post" action="productinsert.php?action=delete" enctype="multipart/form-data">

                        <tr>

                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Delete Product</td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="left">

						  <input type="hidden" name="catid" value="<?  echo $_GET['catid']; ?>"/>

						  

						 

							

							<input type="hidden" name="prodid" value="<? echo $_GET['prodid']; ?>" />

						  

						  &nbsp;</td>

                        </tr>

                        <tr>

                          <td height="20" align="center" style="padding-left:5px;">Are you sure you want to delete this Product?&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">

					   

					  

					   <input type="image" src="images/button_delete.gif" border="0" />

						

						

						

					</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                      

                        <tr>

                          <td align="center"><label></label></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

						</form>

                    	

                    </table><?php */?>

					

				<?php /*?>	<? } elseif($_GET['pdel']=='pdel')

			      

				   {?><?php */?>

					

					<?php /*?><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

               

                        <tr>

                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Delete Product</td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="left">&nbsp;</td>

                        </tr>

                        <tr>

                          <td height="20" align="center" style="padding-left:5px;">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center"><span class="style2"><img src="images/delete.gif"/>Delete successfully</span></td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                      

                        <tr>

                          <td align="center"><label></label></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

					

                    	

                    </table><?php */?>

					

					<? } elseif($_GET['sdelete']=='sdelete')

			         {?>

					

				<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

               <form method="post" action="subsubcategoryinsert.php?action=delete" enctype="multipart/form-data">

                        <tr>

                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Delete sub sub Category</td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="left">

						  <input type="hidden" name="catid" value="<?  echo $_GET['catid']; ?>"/>

						  <input type="hidden" name="subcat" value="<? echo $_GET['subcat']; ?>" />

						  <input type="hidden" name="subsubcat" value="<? echo $_GET['subsubcat']; ?>"  />

						  

						  &nbsp;</td>

                        </tr>

                        <tr>

                          <td height="20" align="center" style="padding-left:5px;">Are you sure you want to delete this sub sub category?&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">

					   

					  

					   <input type="image" src="images/button_delete.gif" border="0" />

						

						

						

					</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                      

                        <tr>

                          <td align="center"><label></label></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

						</form>

                    	

                    </table>	

					

					<? } elseif($_GET['cdel']=='cdel')

			      

				   {?>

					

					<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

               

                        <tr>

                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Delete Sub Sub Category</td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="left">&nbsp;</td>

                        </tr>

                        <tr>

                          <td height="20" align="center" style="padding-left:5px;">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center"><span class="style2"><img src="images/delete.gif"/>Delete successfully</span></td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                      

                        <tr>

                          <td align="center"><label></label></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

					

                    	

                    </table>

					

					<? } elseif($_GET['seo']=='seo')

					

					{?><?php } ?>

                    

         <!---->  
         <?php if($_GET['action']=='new') {?>
         <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">
       <form action="catimport1.php" name="upload" method="post" enctype="multipart/form-data"  onsubmit="return excellvalid(this.csv);">
                        <tr>
                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Upload CSV File</td>
                        </tr>
						 <tr>
                          <td align="center"><strong><span id="errorMessage"></span></strong></td>
                        </tr>
                        <tr>
                          <td>Upload CSV File For Bulk Uploading of Products</td>
                        </tr>
						 <tr>
                          <td align="left">&nbsp;</td>
                        </tr>
						
                          <tr>
                          <td height="20" align="center"><input type="file" name="csv" /></td>
                        </tr>
                        <tr>
                          <td align="center">&nbsp;</td>
                        </tr>
                        <tr>
                          <td align="center">
						
						<input type="hidden" name="catid" value="<? echo $_GET['catid']; ?>"  />
                        <input type="hidden" name="subcat" value="<? echo $_GET['subcat']; ?>"  />
		                
						<input type="hidden" name="prodid" value="<? echo $_GET['prodid']; ?>"  />
						<input type="image" name="zing" src="images/button_insert.gif" />
						</td>
                        </tr>
                    
                        <tr>
                          <td align="center"><label></label></td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                        </tr>
                    	</form>
                    </table> 
                    <?php } elseif($_GET['msg']!=""){?>
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">
             
                        <tr>
                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">csv file.Data inserted successfully</td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                        </tr>
                        <tr>
                          <td align="left">&nbsp;</td>
                        </tr>
                          <tr>
                          <td height="20" align="center" style="padding-left:5px;"><? echo $_GET['msg'];  ?> </td>
                        </tr>
                        <tr>
                          <td align="center">&nbsp;</td>
                        </tr>
                        <tr>
                          <td align="center"><a href="addsubsubcategory.php?catid=<?=$_GET['catid']?>&subcat=<?=$_GET['subcat'] ?>&subsubcat=<? echo $_GET['subsubcat'];?>&action=new"><img src="images/uploadcsv.jpg" width="105" height="22" border="0" alt="Upload CSV"  title="Upload CSV"/></a>
					</td>
                        </tr>
                    
                        <tr>
                          <td align="center"><label></label></td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                        </tr>
                    	
                    </table>
                    
<?php } elseif($_GET['action']=='edit'){?>


<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">
       <form action="editcatimport1.php" name="upload" method="post" enctype="multipart/form-data"  onsubmit="return excellvalid(this.csv);">
                        <tr>
                          <td height="17" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent">Edit CSV File</td>
                        </tr>
						 <tr>
                          <td align="center"><strong><span id="errorMessage"></span></strong></td>
                        </tr>
                        <tr>
                          <td>Upload CSV File For Bulk Uploading of Products</td>
                        </tr>
						 <tr>
                          <td align="left">&nbsp;</td>
                        </tr>
						
                          <tr>
                          <td height="20" align="center"><input type="file" name="csv" /></td>
                        </tr>
                        <tr>
                          <td align="center">&nbsp;</td>
                        </tr>
                        <tr>
                          <td align="center">
						 	<input type="hidden" name="catid" value="<? echo $_GET['catid']; ?>"  />
		   <input type="hidden" name="cattype" value="<? echo $_GET['t']; ?>" />
						  
				
							
	                 
       <input type="hidden" name="prodid" value="<? echo $_GET['prodid']; ?>"  />
				
							
						
						  
						  <input type="image" name="zing" src="images/button_insert.gif" />
						</td>
                        </tr>
                    
                        <tr>
                          <td align="center"><label></label></td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                        </tr>
                    	</form>
                    </table>
       <?php } elseif($_GET['1']!=""){ ?>             

         <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

     <form method="post" action="subsubcategoryinsert.php?action=metatag" enctype="multipart/form-data">

                        <tr>

                          <td height="18" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent"> Categories Meta Tags Definitions</td>

                        </tr>

                        <tr>

                          <td align="center"><strong><span id="errorMessage"></span></strong>&nbsp;</td>

                        </tr>

                       

                        <tr>

                          <td height="20" align="center" style="padding-left:5px;">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="left"><span style="padding-left:45px;">

			 <strong>Title:</strong>

			 <input type="text" name="mtitle" id="mtitle" size="22" />

	  

	  <input type="hidden" name="catid" value="<? echo $_GET['catid']; ?>"  />

       <input type="hidden" name="subcat" value="<? echo $_GET['subcat']; ?>"  />

      

      <input type="hidden" name="subsubcat" value="<? echo $_GET['subsubcat']; ?>"  />

                          </span></td>

                        </tr>

                        <tr>

                          <td align="left"></td>

                        </tr>

                        <tr>

                          <td align="left" style="padding-left:45px;"><strong>Keywords:</strong> </td>

                        </tr>

                        <tr>

                          <td align="right"><textarea name="mkeywords" id="mkeywords" wrap="soft" cols="35" rows="10"></textarea></td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                          <tr>

                          <td align="left" style="padding-left:45px;"><strong>Description: </strong></td>

                        </tr>

                        <tr>

                          <td align="right">

				<textarea name="mdescription" id="mdescription" wrap="soft" cols="35" rows="10"></textarea></td>

                        </tr>





                        <tr>

                          <td align="center">

                            <p>&nbsp;                              </p>

                            <p>

                            <input name="image" type="image" src="images/button_save.gif" width="65" height="22" />

                            

                                       

                              

    

                            

                            </p></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                    	</form>

                    </table>

					

				

                    <? } elseif($_GET['seoedit']=='seoedit')

					

					{

						

				  $sql="Select * from tblsubsubcategories where subsubcatid=".$_GET['subsubcat']; 

					  $sqlexe=mysql_query($sql);

					  $row=mysql_fetch_array($sqlexe);		

						

						

						?>

   <!---->

    

    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

     <form method="post" action="subsubcategoryinsert.php?action=metatag" enctype="multipart/form-data">

                        <tr>

                          <td height="18" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent"> SubsubCategories Meta Tags Definitions</td>

                        </tr>

                        <tr>

                          <td align="center"><strong><span id="errorMessage"></span></strong>&nbsp;</td>

                        </tr>

                       

                        <tr>

                          <td height="20" align="center" style="padding-left:5px;"><?php if($_GET['suc'])

				  {

				 

				     echo "<img src=\"images/tick.gif\" />";

					 

					echo 'Meta Tag Added Successfully';

					

					 

					 } ?>&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="left"><span style="padding-left:45px;">

			 <strong>Title:</strong>

			 <input type="text" name="mtitle" id="mtitle" size="22"

               value="<?php echo htmlspecialchars(stripslashes($row['subsubmtitle']),ENT_QUOTES)  ?>"/>

	  

		  <input type="hidden" name="catid" value="<? echo $_GET['catid']; ?>"  />

       <input type="hidden" name="subcat" value="<? echo $_GET['subcat']; ?>"  />

	   <input type="hidden" name="subsubcat" value="<? echo $_GET['subsubcat']; ?>"  />

                          </span></td>

                        </tr>

                        <tr>

                          <td align="left"></td>

                        </tr>

                        <tr>

                          <td align="left" style="padding-left:45px;"><strong>Keywords:</strong> </td>

                        </tr>

                        <tr>

                          <td align="right">

                    <textarea name="mkeywords" id="mkeywords" wrap="soft" cols="35" rows="10"><? echo stripslashes($row['subsubmkeywords']); ?>

</textarea></td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                          <tr>

                          <td align="left" style="padding-left:45px;"><strong>Description: </strong></td>

                        </tr>

                        <tr>

                          <td align="right">

				<textarea name="mdescription" id="mdescription" wrap="soft" cols="35" rows="10"><? echo stripslashes($row['subsubmdescription']); ?></textarea></td>

                        </tr>





                        <tr>

                          <td align="center">

                            <p>&nbsp;                              </p>

                            <p>

                            

                            

                              <input name="image" type="image" src="images/button_save.gif" width="65" height="22" />

                              

                    

                              

                            </p></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                    	</form>

                    </table>

    

    

	

	

    

    	<? } elseif($_GET['seop']=='seop')

					

					{?>

    

    

    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

     <form method="post" action="productinsert.php?action=metatag" enctype="multipart/form-data">

                        <tr>

                          <td height="18" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent"> Products Meta Tags Definitions</td>

                        </tr>

                        <tr>

                          <td align="center"><strong><span id="errorMessage"></span></strong>&nbsp;</td>

                        </tr>

                       

                        <tr>

                          <td height="20" align="center" style="padding-left:5px;">&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="left"><span style="padding-left:45px;">

			 <strong>Title:</strong>

			 <input type="text" name="mtitle" id="mtitle" size="22" />

	  

	  <input type="hidden" name="catid" value="<? echo $_GET['catid']; ?>"  />

	    <input type="hidden" name="subcat" value="<? echo $_GET['subcat']; ?>" />

						  

				

							<input type="hidden" name="subsubcat" id="subsubcat" value="<?=$_GET['subsubcat'];?>">

	                  <input type="hidden" name="subsubsubcat" id="subsubsubcat" value="<?=$_GET['subsubsubcat'];?>">

       <input type="hidden" name="prodid" value="<? echo $_GET['prodid']; ?>"  />

      

      

                          </span></td>

                        </tr>

                        <tr>

                          <td align="left"></td>

                        </tr>

                        <tr>

                          <td align="left" style="padding-left:45px;"><strong>Keywords:</strong> </td>

                        </tr>

                        <tr>

                          <td align="right"><textarea name="mkeywords" id="mkeywords" wrap="soft" cols="35" rows="10"></textarea></td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                          <tr>

                          <td align="left" style="padding-left:45px;"><strong>Description: </strong></td>

                        </tr>

                        <tr>

                          <td align="right">

				<textarea name="mdescription" id="mdescription" wrap="soft" cols="35" rows="10"></textarea></td>

                        </tr>





                        <tr>

                          <td align="center">

                            <p>&nbsp;                              </p>

                            <p>

                            <input name="image" type="image" src="images/button_save.gif" width="65" height="22" />

                            

                           

                              

    

                            

                            </p></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                    	</form>

                    </table>

    

       <? } elseif($_GET['seopedit']=='seopedit')

					

					{

						

				$sql="select * from products where pid=".$_GET['prodid'];

			 $result = mysql_query($sql) or die('Cannot get product. ' . mysql_error());

			 $row    = mysql_fetch_assoc($result);	

						

						

						?>

   

    

    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F2F1EE">

     <form method="post" action="productinsert.php?action=metatag" enctype="multipart/form-data">

                        <tr>

                          <td height="18" align="center" bgcolor="#D7D6CC" class="dataTableHeadingContent"> Products Meta Tags Definitions</td>

                        </tr>

                        <tr>

                          <td align="center"><strong><span id="errorMessage"></span></strong>&nbsp;</td>

                        </tr>

                       

                        <tr>

                          <td height="20" align="center" style="padding-left:5px;"><?php if($_GET['suc'])

				  {

				 

				     echo "<img src=\"images/tick.gif\" />";

					 

					echo 'Meta Tag Added Successfully';

					

					 

					 } ?>&nbsp;</td>

                        </tr>

                        <tr>

                          <td align="left"><span style="padding-left:45px;">

			 <strong>Title:</strong>

			 <input type="text" name="mtitle" id="mtitle" size="22"

               value="<?php echo htmlspecialchars(stripslashes($row['mtitle']),ENT_QUOTES)  ?>"/>

	  

		  <input type="hidden" name="catid" value="<? echo $_GET['catid']; ?>"  />

		    <input type="hidden" name="subcat" value="<? echo $_GET['subcat']; ?>" />

						  

				

							<input type="hidden" name="subsubcat" id="subsubcat" value="<?=$_GET['subsubcat'];?>">

	                  <input type="hidden" name="subsubsubcat" id="subsubsubcat" value="<?=$_GET['subsubsubcat'];?>">

       <input type="hidden" name="prodid" value="<? echo $_GET['prodid']; ?>"  />

                          </span></td>

                        </tr>

                        <tr>

                          <td align="left"></td>

                        </tr>

                        <tr>

                          <td align="left" style="padding-left:45px;"><strong>Keywords:</strong> </td>

                        </tr>

                        <tr>

                          <td align="right">

                    <textarea name="mkeywords" id="mkeywords" wrap="virtual" cols="35" rows="10">

                    <? echo stripslashes($row['mkeywords']); ?></textarea></td>

                        </tr>

                        <tr>

                          <td align="center">&nbsp;</td>

                        </tr>

                          <tr>

                          <td align="left" style="padding-left:45px;"><strong>Description: </strong></td>

                        </tr>

                        <tr>

                          <td align="right">

				<textarea name="mdescription" id="mdescription" wrap="soft" cols="35" rows="10">

                <? echo stripslashes($row['mdescription']); ?></textarea></td>

                        </tr>





                        <tr>

                          <td align="center">

                            <p>&nbsp;                              </p>

                            <p>

                            

                            

                              <input name="image" type="image" src="images/button_save.gif" width="65" height="22" />

                              

                                

                              

                            </p></td>

                        </tr>

                        <tr>

                          <td>&nbsp;</td>

                        </tr>

                    	</form>

                    </table>

      

					

					

					<? }  ?>

					

					

					

				

					        

                    

                    

                    

					

					

		</td>

                  </tr>

                </table></td>

              </tr>

              <tr>

                <td>&nbsp;</td>

              </tr>

            </table></td>

          </tr>

          <tr>

            <td>&nbsp;</td>

          </tr>



          <tr>

            <td><? require_once("footer.php"); ?></td>

          </tr>

          <tr>

            <td height="200">&nbsp; </td>

          </tr>

        </table></td>

      </tr>

    </table></td>

  </tr>

</table>

</body>

</html>

