<? 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" />
<?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" />
</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><table width="100%" border="0" cellspacing="0" cellpadding="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>
              <?php
			  
			  $res=mysql_fetch_array(mysql_query("select * from register where user_id=".$_GET['customer_id']));
			  ?>
                <td width="336" bgcolor="#f7f7ef"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="25" bgcolor="#D6D6CE" ><strong>Customer Details</strong> </td>
                  </tr>
                  <tr>
                    <td align="center"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                      
                      <tr>
                        <td width="117" height="19" class="index_text"><strong>First Name</strong></td>
                        <td width="810" class="index_text"><strong><?php echo $res['Fname'];?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>Last Name</strong></td>
                        <td class="index_text"><strong><?php echo $res['Lname'];?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>E-mail id</strong></td>
                        <td class="index_text"><strong><?php echo $res['Email'];?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>Billing Address</strong></td>
                        <td class="index_text"><strong><?php echo $res['billingaddress1'];?>,<?php echo $res['billingaddress2'];?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>City</strong></td>
                        <td class="index_text"><strong><?php echo $res['billingcity']?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>State/province</strong></td>
                        <td class="index_text"><strong><?php echo $res['billingstate']?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>Country</strong></td>
                        <td class="index_text"><strong><?php echo $res['billingcountry'];?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>Phone</strong></td>
                        <td class="index_text"><strong><?php echo $res['billingphone'];?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>Zip Code</strong></td>
                        <td class="index_text"><strong><?php echo $res['billingphone'];?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>Shipping Address</strong></td>
                        <td class="index_text"><strong><?php echo $res['shippingaddress1'];?>,<?php echo $res['shippingaddress2'];?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>Sipping City</strong></td>
                        <td class="index_text"><strong><?php echo $res['shippingcity'];?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>Shipping State</strong></td>
                        <td class="index_text"><strong><?php echo $res['shippingstate'];?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>Shipping Country</strong></td>
                        <td class="index_text"><strong><?php echo $res['shippingcountry'];?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>Shipping Phone</strong></td>
                        <td class="index_text"><strong><?php echo $res['shippingphone'];?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"><strong>Shipping Zip Code</strong></td>
                        <td class="index_text"><strong><?php echo $res['shippingzip'];?></strong></td>
                      </tr>
                      <tr>
                        <td height="22" class="index_text"></td>
                        <td class="index_text">&nbsp;</td>
                      </tr>

                    </table></td>
                  </tr>
                  <tr>
                    <td bgcolor="#D6D6CE">&nbsp;</td>
                  </tr>
                  
                  <tr>
                    <td height="10" bgcolor="#FFFFFF"></td>
                  </tr>
                </table></td>
                <td width="7"></td>
                
              </tr>
            </table></td>
          </tr>

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