" /> <h2><?php echo Lang::txt('COM_STORE_ORDER_WILL_SHIP'); ?> </h2> <pre><?php echo isset($this->posted['name']) ? $this->escape($this->posted['name']) : $this->escape(User::get('name')); ?> <?php echo isset($this->posted['address']) ? $this->escape($this->posted['address']) : ''; ?> <?php echo isset($this->posted['country']) ? $this->escape($this->posted['country']) : $this->escape(\Hubzero\Geocode\Geocode::getcountry($this->xprofile->get('countryresident'))); ?> </pre> </fieldset> <fieldset> <h4><?php echo Lang::txt('COM_STORE_CONTACT_INFO'); ?> </h4> <p> <?php if (isset($this->posted['phone'])) { ?> <?php echo Lang::txt('Phone'); ?>
<label for="country"> <?php echo Lang::txt('COM_STORE_COUNTRY'); ?> <span class="required"><?php echo Lang::txt('COM_STORE_REQUIRED'); ?> </span> <select name="country" id="country" class="input-select"> <option value=""><?php echo Lang::txt('(select from list)'); ?> </option> <?php $countries = \Hubzero\Geocode\Geocode::countries(); $mycountry = isset($this->posted['country']) ? $this->posted['country'] : \Hubzero\Geocode\Geocode::getcountry($this->xprofile->get('countryresident')); foreach ($countries as $country) { ?> <option value="<?php echo $this->escape($country->name); ?> "<?php echo $country->name == $mycountry ? ' selected="selected"' : ''; ?> ><?php echo $this->escape($country->name); ?> </option> <?php } ?>