<table>

    <?php
    if (!empty($basket->info['email'])) {
    ?>
        <tr>
            <td class="basket_item" width="150">Email</td>
            <td><?= clean_page($basket->info['email']) ?></td>
        </tr>
    <?php
    }

    if (!empty($basket->info['contact_no'])) {
    ?>
        <tr>
            <td class="basket_item">Contact Number</td>
            <td><?= clean_page($basket->info['contact_no']) ?></td>
        </tr>
    <?php
    }

    if (!empty($basket->address['billing']['firstname'])) {
    ?>
        <tr>
            <td class="basket_item" >Firstname</td>
            <td><?= clean_page($basket->address['billing']['firstname']) ?></td>
        </tr>
    <?php
    }

    if (!empty($basket->address['billing']['lastname'])) {
    ?>
        <tr>
            <td class="basket_item">Lastname</td>
            <td><?= clean_page($basket->address['billing']['lastname']) ?></td>
        </tr>
    <?php
    }

    if (!empty($basket->address['billing']['address1'])) {
    ?>
        <tr>
            <td class="basket_item">Address1</td>
            <td><?= clean_page($basket->address['billing']['address1']) ?></td>
        </tr>
    <?php
    }

    if (!empty($basket->address['billing']['address2'])) {
    ?>
        <tr>
            <td class="basket_item">Address2</td>
            <td><?= clean_page($basket->address['billing']['address2']) ?></td>
        </tr>
    <?php
    }

    if (!empty($basket->address['billing']['city'])) {
    ?>
        <tr>
            <td class="basket_item">City</td>
            <td><?= clean_page($basket->address['billing']['city']) ?></td>

        </tr>
    <?php
    }

    if (!empty($basket->address['billing']['country']) && !empty($basket->address['billing']['state'])) {
    ?>
        <tr>
            <td class="basket_item">State</td>
            <td><?= clean_page(CountryState::getNameByCode($basket->address['billing']['country'], $basket->address['billing']['state'])) ?></td>
        </tr>
    <?php
    }

    if (!empty($basket_countries[$basket->address['billing']['country']])) {
    ?>
        <tr>
            <td class="basket_item">Country</td>
            <td><?= clean_page($basket_countries[$basket->address['billing']['country']]) ?></td>
        </tr>
    <?php
    }

    if (!empty($basket->address['billing']['postcode'])) {
    ?>
        <tr>
            <td class="basket_item">Postcode</td>
            <td><?= clean_page($basket->address['billing']['postcode']) ?></td>
        </tr>
    <?php
    }
    ?>
</table>
