
<table width='100%' border='0' cellpadding='0' cellspacing='0'>
   <tr> 
    <td><table width='100%' border='0' cellspacing='0' cellpadding='0'>
        <tr> 
          <td height='22' colspan='2' class='accountlabPlanDataHTD'>
          &nbsp;&nbsp;<?php echo $BL->props->lang['personal_details']; ?></td>
        </tr>
        <tr> 
          <td height='18' class='accountlabAltDataTD'><?php echo $BL->props->lang['Email']; ?></td>
          <td class='accountlabAltDataTD'><?php echo $customer['email']; ?></td>
        </tr>
        <?php
        foreach($custom_fields as $cf){ 
            if($cf['field_name']!="country" && $cf['field_name']!="vat_no"){
        ?>
        <tr> 
          <td width='25%' height='18' class='accountlabDataTD'><?php echo $BL->props->parseLang($cf['field_name']); ?></td>
          <td class='accountlabDataTD'><?php echo $BL->getCustomerFieldValue($cf['field_name'],$customer['id']); ?></td>
        </tr>
        <?php }elseif($cf['field_name']=="country"){ ?>
        <tr> 
          <td width='25%' height='18' class='accountlabDataTD'><?php echo $BL->props->parseLang($cf['field_name']); ?></td>
          <td class='accountlabDataTD'><?php echo $BL->props->country[$BL->getCustomerFieldValue($cf['field_name'],$customer['id'])]; ?></td>
        </tr>
        <?php }elseif($cf['field_name']=="vat_no"){ ?>        
        <?php if ($BL->conf['en_vat']) { ?>
        <tr> 
          <td width='25%' height='18' class='accountlabDataTD'><?php echo $BL->props->parseLang($cf['field_name']); ?></td>
          <td class='accountlabDataTD'><?php echo $BL->getCustomerFieldValue($cf['field_name'],$customer['id']); ?></td>
        </tr>
        <?php } ?>
        <?php } ?>
        <?php } ?>
      </table>
      </td>
     </tr>
</table>