<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="50%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td class="head">Account Holder's Data </td>
      </tr>
      <tr>
        <td style="border:#de0011 1px solid; padding:5px;"><form id="form1" name="form1" method="post" action="" autocomplete="off">
          <table width="100%" border="0" cellspacing="1">
            <?php if($error_msg != "") { ?>
				<tr>
				<td colspan="2" class="error_msg"><?php echo $error_msg; ?></td></tr>
				<?php }?>
            <tr>
              <td width="23%">First Name </td>
              <td width="77%"><input name="firstname" type="text" id="firstname" value="<?php echo $curr_user['firstname']; ?>" /></td>
            </tr>
            <tr>
              <td>Last Name </td>
              <td><input name="lastname" type="text" id="lastname" value="<?php echo $curr_user['lastname']; ?>" /></td>
            </tr>
            <tr>
              <td>Gender</td>
              <td><?php echo $curr_user['gender']; ?></td>
            </tr>
            <tr>
              <td>Address</td>
              <td><input name="address" type="text" id="address" value="<?php echo $curr_user['address']; ?>" size="50" /></td>
            </tr>
            <tr>
              <td>City</td>
              <td><input name="city" type="text" id="city" value="<?php echo $curr_user['city']; ?>" /></td>
            </tr>
            <tr>
              <td>State</td>
              <td><input name="state" type="text" id="state" value="<?php echo $curr_user['state']; ?>" /></td>
            </tr>
            <tr>
              <td>ZIP</td>
              <td><input name="zip" type="text" id="zip" value="<?php echo $curr_user['zip']; ?>" /></td>
            </tr>
            <tr>
              <td>Country</td>
              <td><?php echo $curr_user['country']; ?></td>
            </tr>
            <tr>
              <td>Email</td>
              <td><input name="email" type="text" id="email" value="<?php echo $curr_user['email']; ?>" /></td>
            </tr>
            <tr>
              <td>Phone</td>
              <td><input name="phone" type="text" id="phone" value="<?php echo $curr_user['phone']; ?>" /></td>
            </tr>

            <tr>
              <td>Occupation</td>
              <td><input name="occupation" type="text" id="occupation" value="<?php echo $curr_user['occupation']; ?>" /></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td><input name="submit" type="submit" id="submit" value="Save" class="submit" />
                  <input name="Reset" type="reset" value="Reset" class="submit" />
                  <input name="Button" type="button" value="Cancel" onclick="location.search='r=personal_info';" class="submit" /></td>
            </tr>
          </table>
        </form></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td class="head">Important Information </td>
      </tr>
      <tr>
        <td bgcolor="#E8FFF8" style="border:#de0011 1px solid; padding:5px;">- For more information on how we protect your personal data, please read our privacy policy.<br />
              <br />
          - Be sure to provide us with a valid address, phone number and email incase we wish to contact you concerning your account.<br />
          <br />
          - To modify your photo identity, please email your new passport sized photograph to <a href="mailto:info@<?php echo $email_domain; ?>"><strong>info@<?php echo $email_domain; ?></strong></a></td>
      </tr>
    </table></td>
    <td width="50%" valign="top" style="padding-left:20px;"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td class="head">Picture Identification </td>
      </tr>
	  <tr>
        <td><img src="image.php?u=<?php echo base64_encode($curr_user['number']); ?>" height="226" width="211" style="border:1px solid #000000; margin-bottom:20px;" /></td>
      </tr>
	  
    </table></td>
  </tr>
</table>
