示例#1
0
                </th>
                <th style="text-align: left;">
                    <input id="filter_name" name="filter_name" value="<?php 
echo @$state->filter_name;
?>
" size="25"/>
                </th>
                <th>
                    <input id="filter_code" name="filter_code" value="<?php 
echo @$state->filter_code;
?>
" size="15"/>
                </th>
                <th>
                    <?php 
echo TiendaSelect::country(@$state->filter_countryid, 'filter_countryid', $attribs, 'country_id', true);
?>
                </th>
            </tr>
            <tr>
                <th colspan="20" style="font-weight: normal;">
                    <div style="float: right; padding: 5px;"><?php 
echo @$this->pagination->getResultsCounter();
?>
</div>
                    <div style="float: left;"><?php 
echo @$this->pagination->getListFooter();
?>
</div>
                </th>
            </tr>
示例#2
0
				<?php 
        echo TiendaGrid::required();
        ?>
			<?php 
    }
    ?>
		</label>
		<?php 
    $url = "index.php?option=com_tienda&format=raw&controller=checkout&task=getzones&prefix={$this->form_prefix}&country_id=";
    $onchange = 'tiendaPutAjaxLoader( \'' . $this->form_prefix . 'zones_wrapper\' );tiendaDoTask( \'' . $url . '\'+document.getElementById(\'' . $this->form_prefix . 'country_id\').value, \'' . $this->form_prefix . 'zones_wrapper\', \'\', \'\', false, function() {tiendaCheckoutAutomaticShippingRatesUpdate( \'' . $this->form_prefix . 'country_id\' ); });';
    if ($one_page) {
        $onchange = 'tiendaPutAjaxLoader( \'' . $this->form_prefix . 'zones_wrapper\' );' . 'tiendaDoTask( \'' . $url . '\'+document.getElementById(\'' . $this->form_prefix . 'country_id\').value, \'' . $this->form_prefix . 'zones_wrapper\', \'\', \'\', false, ' . 'function() {tiendaCheckoutAutomaticShippingRatesUpdate( \'' . $this->form_prefix . 'country_id\' ); ' . '
			});';
    }
    $attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => $onchange);
    echo TiendaSelect::country($this->default_country_id, $this->form_prefix . 'country_id', $attribs, $this->form_prefix . 'country_id', false, true);
    ?>
	</div>
	<?php 
}
?>

	<?php 
if ($elements['city'][0]) {
    ?>
	<div>
		<label class="key" for="<?php 
    echo $this->form_prefix;
    ?>
city">
			<?php 
示例#3
0
?>
" />
				</td>
			</tr>
			<tr>
				<th style="width: 100px; text-align: right;" class="key">
				<?php 
echo JText::_('COUNTRY');
?>
				</th>
				<td>
				<?php 
// TODO Change this to use a task within the checkout controller rather than creating a new zones controller
$url = "index.php?option=com_tienda&format=raw&controller=pos&task=getzones&prefix=&country_id=";
$attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => 'tiendaDoTask( \'' . $url . '\'document.getElementById(\'country_id\').value, \'zones_wrapper\', \'\');');
echo TiendaSelect::country(@$row->country_id, 'country_id', $attribs, 'country_id', true, true);
?>
				</td>
			</tr>
			<tr>
				<th style="width: 100px; text-align: right;" class="key">
				<?php 
echo JText::_('ZONE');
?>
				</th>
				<td>
				<div id="zones_wrapper">
					<?php 
if (empty($row->zone_id)) {
    echo JText::_("SELECT COUNTRY FIRST");
} else {
示例#4
0
?>
" size="48" maxlength="250" />
                </td>
            </tr>
            <tr>
                <td style="width: 100px; text-align: right;" class="key">
                    <?php 
echo JText::_('COM_TIENDA_COUNTRY');
?>
:
                </td>
                <td>
                    <?php 
$url = "index.php?option=com_tienda&format=raw&controller=addresses&task=getzones&name=shop_zone&country_id=";
$attribs = array('onchange' => 'tiendaDoTask( \'' . $url . '\'+document.getElementById(\'shipping_country_id\').value, \'shipping_zones_wrapper\', \'\');');
echo TiendaSelect::country(@$row->orderinfo->shipping_country_id, 'shipping_country_id', $attribs, 'shipping_country_id', true);
?>
                </td>
            </tr>
            <tr>
                <td style="width: 100px; text-align: right;" class="key">
                    <?php 
echo JText::_('COM_TIENDA_ZONE');
?>
:
                </td>
                <td>
                    <div id="shipping_zones_wrapper">
                        <?php 
if (empty($row->orderinfo->shipping_zone_id)) {
    echo JText::_('COM_TIENDA_SELECT_COUNTRY_FIRST');
示例#5
0
                        <td>
                            <input type="text" name="billing_input_city" id="billing_input_city"
                            size="48" maxlength="250" value="" />
                        </td>
                    </tr>
                    <tr>
                        <th width="100" align="right" class="key">
                            <?php 
echo JText::_('COM_TIENDA_COUNTRY');
?>
:
                        </th>
                        <td><?php 
$url = "index.php?option=com_tienda&format=raw&controller=zones&task=filterzones&hookgeozone=false&idprefix=billing_input_&countryid=";
$attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => 'tiendaDoTask( \'' . $url . '\'+document.getElementById(\'billing_input_country_id\').value, \'billing_zones_wrapper\', \'\');');
echo TiendaSelect::country(0, 'billing_input_country_id', $attribs, 'billing_input_country_id', true);
?>
                        </td>
                    </tr>
                    <tr>
                        <th width="100" align="right" class="key">
                            <?php 
echo JText::_('COM_TIENDA_ZONE');
?>
:
                        </th>
                        <td>
                        <div id="billing_zones_wrapper"></div>
                        </td>
                    </tr>
                    <tr>
示例#6
0
文件: all.php 项目: annggeel/tienda
echo $this->row->get('shop_city', '');
?>
" size="25" />
                                                </td>
                                                <td></td>
                                            </tr>
                                            <tr>
                                                <th style="width: 25%;"><?php 
echo JText::_('COM_TIENDA_COUNTRY');
?>
                                                </th>
                                                <td><?php 
// TODO Change this to use a task within the checkout controller rather than creating a new zones controller
$url = "index.php?option=com_tienda&format=raw&controller=addresses&task=getzones&name=shop_zone&country_id=";
$attribs = array('onchange' => 'tiendaDoTask( \'' . $url . '\'+document.getElementById(\'shop_country\').value, \'zones_wrapper\', \'\');');
echo TiendaSelect::country($this->row->get('shop_country', ''), 'shop_country', $attribs, 'shop_country', true);
?>
                                                </td>
                                                <td></td>
                                            </tr>
                                            <tr>
                                                <th style="width: 25%;"><?php 
echo JText::_('COM_TIENDA_STATE_REGION');
?>
                                                </th>
                                                <td>
                                                    <div id="zones_wrapper">
                                                        <?php 
$shop_zone = $this->row->get('shop_zone', '');
if (empty($shop_zone)) {
    echo JText::_('COM_TIENDA_SELECT_COUNTRY_FIRST');
示例#7
0
文件: form.php 项目: annggeel/tienda
					</td>
					<td>
						<input type="text" name="code" id="code" size="10" maxlength="250" value="<?php 
echo @$row->code;
?>
" />
					</td>
				</tr>
				<tr>
					<td width="100" align="right" class="key">
						<label for="country_id">
						<?php 
echo JText::_('COM_TIENDA_COUNTRY');
?>
:
						</label>
					</td>
					<td>
						<?php 
echo TiendaSelect::country(@$row->country_id, 'country_id');
?>
					</td>
				</tr>
			</table>
			<input type="hidden" name="id" value="<?php 
echo @$row->zone_id;
?>
" />
			<input type="hidden" name="task" value="" />
	
</form>