File: /www/exchange0old/exchange/cache/%%C7^C76^C76242A0%%countries.html.php
<?php /* Smarty version 2.6.19, created on 2024-06-18 12:34:30
compiled from ../admin/templates/common/countries.html */ ?>
<?php if ($this->_tpl_vars['country_name']): ?>
<?php $this->assign('select_id', $this->_tpl_vars['country_name']); ?>
<?php else: ?>
<?php $this->assign('select_id', 'country'); ?>
<?php endif; ?>
<select name="<?php echo $this->_tpl_vars['select_id']; ?>
" class="cmb_bx1" id="<?php echo $this->_tpl_vars['select_id']; ?>
" <?php if ($this->_tpl_vars['tabindex']): ?> tabindex="<?php echo $this->_tpl_vars['tabindex']; ?>
" <?php endif; ?> >
<option value="">Select</option>
<?php $_from = $this->_tpl_vars['countries']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['countryitem']):
?>
<option value="<?php echo $this->_tpl_vars['countryitem']['country_id']; ?>
" <?php if ($this->_tpl_vars['countryitem']['country_id'] == $this->_tpl_vars['active_country'] || $this->_tpl_vars['countryitem']['country_id'] == $this->_tpl_vars['errval'][$this->_tpl_vars['select_id']] || $this->_tpl_vars['countryitem']['country_id'] == $this->_tpl_vars['values'][$this->_tpl_vars['select_id']] || $this->_tpl_vars['countryitem']['country_id'] == $this->_tpl_vars['data']['address_country']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['countryitem']['country_name']; ?>
</option>
<?php endforeach; endif; unset($_from); ?>
</select>