?>
</div>
			</td>
			<td><input type="text" class="text quantity number" name="qQuantity[<?php 
echo $this->_tpl_vars['currency'];
?>
][]" /></td></tr>
	</thead>
	<tbody>
		<tr><td class="groupColumn"><?php 
ob_start();
echo $this->_tpl_vars['currency'];
$this->_smarty_vars['capture']['default'] = ob_get_contents();
$this->assign('blockAsParamValue', ob_get_contents());
ob_end_clean();
echo smarty_function_selectfield(array('name' => "qGroup[" . $this->_tpl_vars['blockAsParamValue'] . "][]", 'options' => $this->_tpl_vars['userGroups']), $this);
?>
</td><td><input type="text" name="qPrice[<?php 
echo $this->_tpl_vars['currency'];
?>
][]" class="text qprice number" /></td></tr>
	</tbody>
</table>
<input type="hidden" class="hiddenValue" name="quantityPricing[<?php 
echo $this->_tpl_vars['currency'];
?>
]" />
</div>

<script type="text/javascript">
	new Backend.Product.QuantityPrice($('quantityPricing_<?php 
            $this->assign('label', ob_get_contents());
            ob_end_clean();
            ?>
				<?php 
            if ($this->_sections['parents']['index'] == 1) {
                $this->assign('tipIndex', '1');
            } else {
                $this->assign('tipIndex', '2');
            }
            ?>
				<label><?php 
            echo smarty_function_toolTip(array('label' => $this->_tpl_vars['label'], 'hint' => "_tip_parent_" . $this->_tpl_vars['tipIndex']), $this);
            ?>
:</label>
				<?php 
            echo smarty_function_selectfield(array('name' => "parent_" . $this->_sections['parents']['index'], 'options' => $this->_tpl_vars['themes'], 'blank' => true), $this);
            ?>

			</p>
		<?php 
        }
    }
    ?>
	</fieldset>

	<fieldset class="controls">
		<input type="hidden" name="id" value="<?php 
    echo $this->_tpl_vars['theme']['name'];
    ?>
" />
		<span class="progressIndicator" style="display: none;"></span>
		<legend><?php 
    echo smarty_function_translate(array('text' => '_presentation'), $this);
    ?>
</legend>

		<div style="float: left; width: 550px;">
			<p>
				<label for="productTheme_<?php 
    echo $this->_tpl_vars['product']['ID'];
    ?>
"><?php 
    echo smarty_function_toolTip(array('label' => '_theme'), $this);
    ?>
:</label>
				<?php 
    echo smarty_function_selectfield(array('name' => 'theme', 'id' => "productTheme_" . $this->_tpl_vars['product']['ID'], 'options' => $this->_tpl_vars['themes']), $this);
    ?>

			</p>
		</div>

		<div style="float: left;" id="productThemePreview_<?php 
    echo $this->_tpl_vars['product']['ID'];
    ?>
"></div>
		<div class="clear"></div>

		<p>
			<label></label>
			<?php 
    echo smarty_function_checkbox(array('name' => 'isVariationImages', 'class' => 'checkbox', 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_isVariationImages"), $this);
    ?>

		<?php 
    echo smarty_function_textfield(array('id' => "set_url_" . $this->_tpl_vars['categoryID'], 'name' => 'set_URL', 'class' => 'text', 'autocomplete' => "controller=backend.product field=URL"), $this);
    ?>

		<?php 
    echo smarty_function_selectfield(array('id' => "massForm_theme_" . $this->_tpl_vars['categoryID'], 'name' => 'theme', 'options' => $this->_tpl_vars['themes']), $this);
    ?>

		<?php 
    echo smarty_function_selectfield(array('id' => "massForm_shippingClass_" . $this->_tpl_vars['categoryID'], 'name' => 'shippingClass', 'options' => $this->_tpl_vars['shippingClasses']), $this);
    ?>

		<?php 
    echo smarty_function_selectfield(array('id' => "massForm_taxClass_" . $this->_tpl_vars['categoryID'], 'name' => 'taxClass', 'options' => $this->_tpl_vars['taxClasses']), $this);
    ?>

	</span>

	<input type="submit" value="<?php 
    echo is_array($_tmp = smarty_function_translate(array('text' => '_process', 'disableLiveTranslation' => 'true'), $this)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html');
    ?>
" class="submit" />
	<span class="massIndicator progressIndicator" style="display: none;"></span>

	<?php 
    $_block_content = ob_get_contents();
    ob_end_clean();
    $_block_repeat = false;
    echo smarty_block_form($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
<?php

/* Smarty version 2.6.26, created on 2015-12-01 16:51:53
   compiled from custom:backend/csvImport/profiles.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'custom:backend/csvImport/profiles.tpl', 2, false), array('function', 'selectfield', 'custom:backend/csvImport/profiles.tpl', 3, false))), $this);
?>
<div>
	<label><?php 
echo smarty_function_translate(array('text' => '_use_profile'), $this);
?>
</label>
	<?php 
echo smarty_function_selectfield(array('id' => 'profile', 'options' => $this->_tpl_vars['profiles']), $this);
?>

	<span class="delete" id="deleteProfile">&nbsp;</span>
</div>
        ?>
style="display: none;"<?php 
    }
    ?>
>
				<label><?php 
    echo smarty_function_translate(array('text' => '_country'), $this);
    ?>
</label>
				<?php 
    ob_start();
    echo smarty_function_uniqid(array('assign' => 'id_country'), $this);
    $this->_smarty_vars['capture']['default'] = ob_get_contents();
    $this->assign('blockAsParamValue', ob_get_contents());
    ob_end_clean();
    echo smarty_function_selectfield(array('name' => 'estimate_country', 'options' => $this->_tpl_vars['countries'], 'id' => $this->_tpl_vars['blockAsParamValue']), $this);
    ?>

			</p>

			<?php 
    if ($this->_tpl_vars['fields']['STATE']) {
        ?>
				<?php 
        $_smarty_tpl_vars = $this->_tpl_vars;
        $this->_smarty_include(array('smarty_include_tpl_file' => "custom:user/addressFormState.tpl", 'smarty_include_vars' => array('states' => $this->_tpl_vars['states'], 'notRequired' => true, 'prefix' => 'estimate_')));
        $this->_tpl_vars = $_smarty_tpl_vars;
        unset($_smarty_tpl_vars);
        ?>
			<?php 
    }
                                    echo $this->_tpl_vars['value'];
                                    ?>
</label>
							</p>
						<?php 
                                }
                            }
                            unset($_from);
                            ?>
							<div class="clear"></div>
						</div>
					<?php 
                        } else {
                            ?>
						<?php 
                            echo smarty_function_selectfield(array('options' => $this->_tpl_vars['values'][$this->_tpl_vars['fieldName']]['type'], 'name' => $this->_tpl_vars['fieldName'], 'id' => $this->_tpl_vars['fieldName']), $this);
                            ?>

					<?php 
                        }
                        ?>
				<?php 
                    }
                    ?>
				<div class="errorText hidden"></div>
			</fieldset>
			</p>
			</div>
		<?php 
                }
            } else {
        ?>
style="display: none;"<?php 
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_repeat = false;
        echo smarty_block_denied($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
    }
    array_pop($this->_tag_stack);
    ?>
>
		<div class="saveThemeSelector" style="float: right;">
			<?php 
    echo smarty_function_translate(array('text' => '_save_for_theme'), $this);
    ?>
: <?php 
    echo smarty_function_selectfield(array('name' => 'theme', 'options' => $this->_tpl_vars['themes'], 'blank' => true, 'id' => "theme_" . $this->_tpl_vars['tabid']), $this);
    ?>

		</div>

		<span class="progressIndicator" style="display: none;"></span>
		<input type="submit" class="submit" value="<?php 
    echo is_array($_tmp = smarty_function_translate(array('text' => '_save_template', 'disableLiveTranslation' => 'true'), $this)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html');
    ?>
" />
		<?php 
    echo smarty_function_translate(array('text' => '_or'), $this);
    ?>

		<a id="cancel_<?php 
    echo $this->_tpl_vars['tabid'];
    echo smarty_function_selectfield(array('name' => 'listStyle', 'id' => "listStyle_" . $this->_tpl_vars['categoryId'], 'options' => $this->_tpl_vars['listStyles']), $this);
    ?>

			</p>

			<div style="float: left; width: 550px;">
				<p>
					<label for="theme_<?php 
    echo $this->_tpl_vars['categoryId'];
    ?>
"><?php 
    echo smarty_function_toolTip(array('label' => '_theme'), $this);
    ?>
:</label>
					<?php 
    echo smarty_function_selectfield(array('name' => 'theme', 'id' => "theme_" . $this->_tpl_vars['categoryId'], 'options' => $this->_tpl_vars['themes']), $this);
    ?>

				</p>
			</div>

			<div style="float: left;" id="categoryThemePreview_<?php 
    echo $this->_tpl_vars['categoryId'];
    ?>
"></div>

		</fieldset>

		<?php 
    echo smarty_function_renderBlock(array('block' => "FORM-CATEGORY-BOTTOM"), $this);
    ?>
    } else {
        ?>
		<?php 
        if (!$this->_tpl_vars['disableNewOptionValues']) {
            ?>
			<?php 
            $field = $this->get_template_vars('field');
            $field['values']['other'] = $this->getApplication()->translate('_enter_other');
            $this->assign('field', $field);
            ?>
		<?php 
        }
        ?>
		<?php 
        echo $this->_tpl_vars['field']['valuePrefix_lang'];
        echo smarty_function_selectfield(array('id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['item']['ID'] . "_" . $this->_tpl_vars['fieldName'], 'name' => $this->_tpl_vars['prefix'] . $this->_tpl_vars['fieldName'], 'options' => $this->_tpl_vars['field']['values'], 'class' => 'select'), $this);
        echo $this->_tpl_vars['field']['valueSuffix_lang'];
        ?>

		<?php 
        if (!$this->_tpl_vars['disableNewOptionValues']) {
            ?>
			<?php 
            ob_start();
            echo $this->_tpl_vars['textFieldClass'];
            $this->_smarty_vars['capture']['default'] = ob_get_contents();
            $this->assign('blockAsParamValue', ob_get_contents());
            ob_end_clean();
            echo smarty_function_textfield(array('name' => $this->_tpl_vars['prefix'] . "other[" . $this->_tpl_vars['field']['ID'] . "]", 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['item']['ID'] . "_specItem_other_" . $this->_tpl_vars['field']['ID'], 'style' => "display: none", 'class' => "text " . $this->_tpl_vars['blockAsParamValue']), $this);
            ?>
	</fieldset>
</div>

<div class="couponLimitType field">
	
		<label for="couponLimitType"><span class="label"><?php 
ob_start();
echo smarty_function_toolTip(array('label' => "DiscountCondition.couponLimitType"), $this);
$this->_smarty_vars['capture']['default'] = ob_get_contents();
$this->assign('blockAsParamValue', ob_get_contents());
ob_end_clean();
echo smarty_function_translate(array('text' => $this->_tpl_vars['blockAsParamValue'] . "</span></label>"), $this);
?>

		<fieldset class="error"><?php 
echo smarty_function_selectfield(array('name' => 'couponLimitType', 'options' => $this->_tpl_vars['couponLimitTypes']), $this);
?>

	
	<div class="errorText hidden<?php 
$this->_tag_stack[] = array('error', array('for' => 'couponLimitType'));
$_block_repeat = true;
smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
    ob_start();
    ?>
 visible<?php 
    $_block_content = ob_get_contents();
    ob_end_clean();
    $_block_repeat = false;
    echo smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
>
		
			<label for="<?php 
    echo $this->_tpl_vars['prefix'];
    ?>
state_select"><span class="label"><?php 
    echo smarty_function_translate(array('text' => '_state'), $this);
    ?>
:</span></label>
			<fieldset class="error"><?php 
    ob_start();
    echo smarty_function_uniqid(array('assign' => 'id_state_select'), $this);
    $this->_smarty_vars['capture']['default'] = ob_get_contents();
    $this->assign('blockAsParamValue', ob_get_contents());
    ob_end_clean();
    echo smarty_function_selectfield(array('name' => $this->_tpl_vars['prefix'] . "state_select", 'style' => "display: none;", 'options' => $this->_tpl_vars['states'], 'id' => $this->_tpl_vars['blockAsParamValue']), $this);
    ?>

			<?php 
    ob_start();
    echo smarty_function_uniqid(array('assign' => 'id_state_text'), $this);
    $this->_smarty_vars['capture']['default'] = ob_get_contents();
    $this->assign('blockAsParamValue', ob_get_contents());
    ob_end_clean();
    echo smarty_function_textfield(array('name' => $this->_tpl_vars['prefix'] . "state_text", 'class' => 'text', 'id' => $this->_tpl_vars['blockAsParamValue']), $this);
    ?>

		
	<div class="errorText hidden<?php 
    $this->_tag_stack[] = array('error', array('for' => $this->_tpl_vars['prefix'] . "state_select"));
    $_block_repeat = true;
			<?php 
    if ($this->_tpl_vars['sortOptions'] && count($this->_tpl_vars['sortOptions']) > 1) {
        ?>
				<?php 
        echo smarty_function_translate(array('text' => '_sort_by'), $this);
        ?>

				<?php 
        $this->_tag_stack[] = array('form', array('handle' => $this->_tpl_vars['sortForm'], 'action' => 'self', 'method' => 'get'));
        $_block_repeat = true;
        smarty_block_form($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
				<?php 
            echo smarty_function_selectfield(array('id' => 'productSort', 'name' => 'sort', 'options' => $this->_tpl_vars['sortOptions'], 'onchange' => "this.form.submit();"), $this);
            ?>

				<?php 
            $_block_content = ob_get_contents();
            ob_end_clean();
            $_block_repeat = false;
            echo smarty_block_form($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
        }
        array_pop($this->_tag_stack);
        ?>
			<?php 
    }
    ?>
			&nbsp;
		</div>
    echo smarty_function_hidden(array('name' => 'ID'), $this);
    ?>

			<?php 
    echo smarty_function_hidden(array('name' => 'isCancelled'), $this);
    ?>

				<label for="order_<?php 
    echo $this->_tpl_vars['order']['ID'];
    ?>
_status" style="width: auto; float: none;"><?php 
    echo smarty_function_translate(array('text' => '_status'), $this);
    ?>
: </label>
				<?php 
    echo smarty_function_selectfield(array('options' => $this->_tpl_vars['statuses'], 'id' => "order_" . $this->_tpl_vars['order']['ID'] . "_status", 'name' => 'status', 'class' => 'status'), $this);
    ?>

				<div class="errorText hidden"></div>
		<?php 
    $_block_content = ob_get_contents();
    ob_end_clean();
    $_block_repeat = false;
    echo smarty_block_form($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
}
array_pop($this->_tag_stack);
?>
		<div class="order_acceptanceStatus" >
			<?php 
echo smarty_function_translate(array('text' => '_this_order_is'), $this);
?>
smarty_block_form($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
    ob_start();
    ?>
			<?php 
    if (is_array($_tmp = 'HIDE_SEARCH_CATS') ? $this->_run_mod_handler('config', true, $_tmp) : $this->_plugins['modifier']['config'][0][0]->config($_tmp)) {
        ?>
				<?php 
        echo smarty_function_hidden(array('name' => 'id', 'value' => '1'), $this);
        ?>

			<?php 
    } else {
        ?>
				<?php 
        echo smarty_function_selectfield(array('name' => 'id', 'options' => $this->_tpl_vars['categories']), $this);
        ?>

			<?php 
    }
    echo smarty_function_textfield(array('class' => 'text searchQuery', 'name' => 'q', 'placeholder' => "Search...", 'style' => "border: none; position: relative;"), $this);
    ?>

<input type="submit" class="submit" style="position: relative; right: 29px; border: none; background-image: url('upload/theme/IlluminataV3/searchicon.jpg'); background-position: right; background-repeat: no-repeat; background-color: white; color: gray;" value="|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" />
			<input type="hidden" name="cathandle" value="search" />
		<?php 
    $_block_content = ob_get_contents();
    ob_end_clean();
    $_block_repeat = false;
    echo smarty_block_form($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
}
<p class="required">
	
		<label for="<?php 
    echo $this->_tpl_vars['prefix'];
    ?>
country"><span class="label"><?php 
    echo smarty_function_translate(array('text' => '_country'), $this);
    ?>
:</span></label>
		<fieldset class="error"><?php 
    ob_start();
    echo smarty_function_uniqid(array('assign' => 'id_country'), $this);
    $this->_smarty_vars['capture']['default'] = ob_get_contents();
    $this->assign('blockAsParamValue', ob_get_contents());
    ob_end_clean();
    echo smarty_function_selectfield(array('name' => $this->_tpl_vars['prefix'] . "country", 'options' => $this->_tpl_vars['countries'], 'id' => $this->_tpl_vars['blockAsParamValue']), $this);
    ?>

		<span class="progressIndicator" style="display: none;"></span>
	
	<div class="errorText hidden<?php 
    $this->_tag_stack[] = array('error', array('for' => $this->_tpl_vars['prefix'] . "country"));
    $_block_repeat = true;
    smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
 visible<?php 
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_repeat = false;
echo smarty_function_selectfield(array('name' => $this->_tpl_vars['namePrefix'] . "countryID", 'options' => $this->_tpl_vars['countries'], 'id' => $this->_tpl_vars['idPrefix'] . "_countryID", 'class' => 'country'), $this);
?>

	<div class="errorText" style="display: none" ></div>
</fieldset>

<fieldset class="error">
	<label for="<?php 
echo $this->_tpl_vars['idPrefix'];
?>
_stateID"><?php 
echo smarty_function_translate(array('text' => '_state'), $this);
?>
</label>
	<?php 
echo smarty_function_selectfield(array('name' => $this->_tpl_vars['namePrefix'] . "stateID", 'options' => $this->_tpl_vars['states'], 'id' => $this->_tpl_vars['idPrefix'] . "_stateID", 'class' => 'state'), $this);
?>

	<?php 
echo smarty_function_textfield(array('name' => $this->_tpl_vars['namePrefix'] . "stateName", 'id' => $this->_tpl_vars['idPrefix'] . "_stateName", 'class' => 'text'), $this);
?>

</fieldset>

<fieldset class="error">
	<label for="<?php 
echo $this->_tpl_vars['idPrefix'];
?>
_city"><?php 
echo smarty_function_translate(array('text' => '_city'), $this);
?>
if ($this->_tpl_vars['taxClasses']) {
    ?>
	<p>
		<label for="product_<?php 
    echo $this->_tpl_vars['cat'];
    ?>
_<?php 
    echo $this->_tpl_vars['product']['ID'];
    ?>
_taxClassID"><?php 
    echo smarty_function_toolTip(array('label' => '_taxClass'), $this);
    ?>
:</label>
		<fieldset class="error">
			<?php 
    echo smarty_function_selectfield(array('options' => $this->_tpl_vars['taxClasses'], 'name' => 'taxClassID', 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_taxClassID", 'class' => 'taxClassID'), $this);
    ?>

			<div class="errorText hidden"></div>
		</fieldset>
	</p>
	<?php 
}
?>

	<p>
		<label for="product_<?php 
echo $this->_tpl_vars['cat'];
?>
_<?php 
echo $this->_tpl_vars['product']['ID'];
        }
    }
    unset($_from);
    ?>
			</div>

			<div class="clear"></div>

			<div class="applyTo">
				<p>
					<label><?php 
    echo smarty_function_translate(array('text' => '_apply_to'), $this);
    ?>
</label>
					<span><?php 
    echo smarty_function_selectfield(array('name' => 'type', 'class' => 'applyTo', 'options' => $this->_tpl_vars['applyToChoices']), $this);
    ?>
</span>
				</p>

				<div class="conditionContainer actionCondition">
					<ul class="conditionContainer root" style="display: none;"></ul>
				</div>
			</div>
		</li>
	<?php 
    $_block_content = ob_get_contents();
    ob_end_clean();
    $_block_repeat = false;
    echo smarty_block_form($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
}
_edit" class="orderAddress_edit error" style="display: none">
	<input name="orderID" type="hidden" value="<?php 
echo $this->_tpl_vars['order']['ID'];
?>
" />

	<fieldset class="error">
		<label for="<?php 
echo $this->_tpl_vars['type'];
?>
_existingAddress_select"><?php 
echo smarty_function_translate(array('text' => '_use_existing_address'), $this);
?>
</label>
		<?php 
echo smarty_function_selectfield(array('options' => $this->_tpl_vars['existingUserAddressOptions'], 'id' => $this->_tpl_vars['type'] . "_existingAddress_select", 'name' => 'existingUserAddress'), $this);
?>

	</fieldset>

	<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "custom:backend/user/address_edit.tpl", 'smarty_include_vars' => array('idPrefix' => $this->_tpl_vars['type'], 'states' => $this->_tpl_vars['states'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

	<fieldset class="controls">
		<span style="display: none;" class="progressIndicator"></span>

		<input type="submit" class="button submit" value="<?php 
	</fieldset>

	<fieldset id="delimiters">
		<legend><?php 
    echo smarty_function_translate(array('text' => '_set_delimiter'), $this);
    ?>
</legend>

		<p class="required">
			
				<label for="delimiter"><span class="label"><?php 
    echo smarty_function_translate(array('text' => '_delimiter'), $this);
    ?>
 </span></label>
				<fieldset class="error"><?php 
    echo smarty_function_selectfield(array('name' => 'delimiter', 'options' => $this->_tpl_vars['delimiters'], 'onchange' => "Backend.CsvImport.updatePreview()"), $this);
    ?>

				<span id="previewIndicator" class="progressIndicator" style="display: none;"></span>
			
	<div class="errorText hidden<?php 
    $this->_tag_stack[] = array('error', array('for' => 'delimiter'));
    $_block_repeat = true;
    smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
 visible<?php 
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_repeat = false;
<?php

/* Smarty version 2.6.26, created on 2015-12-01 10:48:41
   compiled from custom:product/block/quantity.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'config', 'custom:product/block/quantity.tpl', 1, false), array('modifier', 'default', 'custom:product/block/quantity.tpl', 2, false), array('function', 'textfield', 'custom:product/block/quantity.tpl', 2, false), array('function', 'selectfield', 'custom:product/block/quantity.tpl', 4, false))), $this);
if ($this->_tpl_vars['product']['isFractionalUnit'] || (is_array($_tmp = 'QUANT_FIELD_TYPE') ? $this->_run_mod_handler('config', true, $_tmp) : $this->_plugins['modifier']['config'][0][0]->config($_tmp)) == 'QUANT_INPUT') {
    ?>
	<?php 
    echo smarty_function_textfield(array('name' => is_array($_tmp = @$this->_tpl_vars['field']) ? $this->_run_mod_handler('default', true, $_tmp, 'count') : smarty_modifier_default($_tmp, 'count'), 'class' => 'text number'), $this);
    ?>

<?php 
} else {
    ?>
	<?php 
    echo smarty_function_selectfield(array('name' => is_array($_tmp = @$this->_tpl_vars['field']) ? $this->_run_mod_handler('default', true, $_tmp, 'count') : smarty_modifier_default($_tmp, 'count'), 'options' => $this->_tpl_vars['quantity'], 'class' => 'quantity', 'style' => "color: black"), $this);
    ?>

<?php 
}
	</p>

	<p class="required">
		<label for="user_<?php 
    echo $this->_tpl_vars['someUser']['UserGroup']['ID'];
    ?>
_<?php 
    echo $this->_tpl_vars['someUser']['ID'];
    ?>
_userGroup" class="user_userGroupLabel"><?php 
    echo smarty_function_translate(array('text' => '_user_group'), $this);
    ?>
</label>
		<fieldset class="error user_userGroup">
			<?php 
    echo smarty_function_selectfield(array('name' => 'UserGroup', 'options' => $this->_tpl_vars['availableUserGroups'], 'id' => "user_" . $this->_tpl_vars['someUser']['UserGroup']['ID'] . "_" . $this->_tpl_vars['someUser']['ID'] . "_userGroup"), $this);
    ?>

			<div class="errorText hidden"> </div>
		</fieldset>
	</p>

	<p class="required">
		<label for="user_<?php 
    echo $this->_tpl_vars['someUser']['UserGroup']['ID'];
    ?>
_<?php 
    echo $this->_tpl_vars['someUser']['ID'];
    ?>
_firstName"><?php 
    echo smarty_function_translate(array('text' => '_first_name'), $this);
							$('<?php 
                        echo $this->_tpl_vars['property']['id'];
                        ?>
').color = new jscolor.color($('<?php 
                        echo $this->_tpl_vars['property']['id'];
                        ?>
'), <?php 
                        echo '{adjust: false, required: false, hash: true, caps: false}';
                        ?>
);
						</script>
					<?php 
                    } elseif ('text-decoration' == $this->_tpl_vars['property']['type']) {
                        ?>
						<?php 
                        echo smarty_function_selectfield(array('options' => $this->_tpl_vars['textStyles']), $this);
                        ?>

					<?php 
                    } elseif ('font' == $this->_tpl_vars['property']['type']) {
                        ?>
						<div class="fontEntry">
							<?php 
                        echo smarty_function_textfield(array('name' => $this->_tpl_vars['property']['var'], 'id' => $this->_tpl_vars['property']['id'], 'class' => 'text'), $this);
                        ?>

						</div>
					<?php 
                    } elseif ('checkbox' == $this->_tpl_vars['property']['type']) {
                        ?>
						<?php