<!-- start shipping address -->
<div id="shipping_details">
<b style="margin-bottom: 2px; display: block;"><?php echo $text_shipping_address; ?></b>
<div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px; margin-bottom: 10px;">
<table>
<tr>
<td width="150"><span class="required">*</span> <?php echo $entry_firstname; ?></td>
<td><input type="text" name="shipping_firstname" value="<?php echo $shipping_firstname; ?>" />
<?php if ($error_shipping_firstname) { ?>
<span class="error"><?php echo $error_shipping_firstname; ?></span>
<?php } ?></td>
</tr>
<tr>
<td><span class="required">*</span> <?php echo $entry_lastname; ?></td>
<td><input type="text" name="shipping_lastname" value="<?php echo $shipping_lastname; ?>" />
<?php if ($error_shipping_lastname) { ?>
<span class="error"><?php echo $error_shipping_lastname; ?></span>
<?php } ?></td>
</tr>
<tr>
<td width="150"><?php echo $entry_company; ?></td>
<td><input type="text" name="shipping_company" value="<?php echo $shipping_company; ?>" /></td>
</tr>
<tr>
<td><span class="required">*</span> <?php echo $entry_address_1; ?></td>
<td><input type="text" name="shipping_address_1" value="<?php echo $shipping_address_1; ?>" />
<?php if ($error_shipping_address_1) { ?>
<span class="error"><?php echo $error_shipping_address_1; ?></span>
<?php } ?></td>
</tr>
<tr>
<td><?php echo $entry_address_2; ?></td>
<td><input type="text" name="shipping_address_2" value="<?php echo $shipping_address_2; ?>" /></td>
</tr>
<tr>
<td><span class="required">*</span> <?php echo $entry_city; ?></td>
<td><input type="text" name="shipping_city" value="<?php echo $shipping_city; ?>" />
<?php if ($error_shipping_city) { ?>
<span class="error"><?php echo $error_shipping_city; ?></span>
<?php } ?></td>
</tr>
<tr>
<td id="shipping_postcode"><?php echo $entry_postcode; ?></td>
<td><input type="text" name="shipping_postcode" value="<?php echo $shipping_postcode; ?>" />
<?php if ($error_shipping_postcode) { ?>
<span class="error"><?php echo $error_shipping_postcode; ?></span>
<?php } ?></td>
</tr>
<tr>
<td><span class="required">*</span> <?php echo $entry_country; ?></td>
<td><select name="shipping_country_id" id="shipping_country_id" onchange="$('select[name=\'shipping_zone_id\']').load('index.php?route=checkout/guest_step_1/zone&country_id=' + this.value + '&zone_id=<?php echo $shipping_zone_id; ?>'); $('#shipping_postcode').load('index.php?route=checkout/guest_step_1/postcode&country_id=' + this.value);">
<option value="FALSE"><?php echo $text_select; ?></option>
<?php foreach ($countries as $country) { ?>
<?php if ($country['country_id'] == $shipping_country_id) { ?>
<option value="<?php echo $country['country_id']; ?>" selected="selected"><?php echo $country['name']; ?></option>
<?php } else { ?>
<option value="<?php echo $country['country_id']; ?>"><?php echo $country['name']; ?></option>
<?php } ?>
<?php } ?>
</select>
<?php if ($error_shipping_country) { ?>
<span class="error"><?php echo $error_shipping_country; ?></span>
<?php } ?></td>
</tr>
<tr>
<td><span class="required">*</span> <?php echo $entry_zone; ?></td>
<td><select name="shipping_zone_id">
</select>
<?php if ($error_shipping_zone) { ?>
<span class="error"><?php echo $error_shipping_zone; ?></span>
<?php } ?></td>
</tr>
</table>
</div>
</div>
<!-- end shipping address -->