?> </strong><br/> <span style="font-family: Arial;"><?php echo smarty_function_localize(array('str' => 'Product ID'), $this); ?> : </span><strong style="font-family: Arial;"><?php echo $this->_tpl_vars['productid']; ?> </strong><br/> <span style="font-family: Arial;"><?php echo smarty_function_localize(array('str' => 'IP address'), $this); ?> : </span><strong style="font-family: Arial;"><?php echo $this->_tpl_vars['ip']; ?> </strong><br/> <span style="font-family: Arial;"><?php echo smarty_function_localize(array('str' => 'Referrer Url'), $this); ?> : </span><strong style="font-family: Arial;"><?php echo $this->_tpl_vars['refererurl']; ?> </strong><br/> <span style="font-family: Arial;"><?php echo smarty_function_localize(array('str' => 'Commission from this sale'), $this); ?> : </span><strong style="font-family: Arial;"><?php echo is_array($_tmp = $this->_tpl_vars['commission']) ? $this->_run_mod_handler('currency', true, $_tmp) : smarty_modifier_currency($_tmp); ?> </strong><br/><br/> </font>
function content_5642402b6dd149_25962955($_smarty_tpl) { if (!is_callable('smarty_modifier_currency')) { include 'C:\\Users\\jkeull\\Documents\\xampp\\htdocs\\shopware\\engine\\Library\\Enlight\\Template/Plugins\\modifier.currency.php'; } ?> <div class="product--price"> <span class="price--default is--nowrap<?php if ($_smarty_tpl->tpl_vars['sArticle']->value['has_pseudoprice']) { ?> is--discount<?php } ?> "> <?php if ($_smarty_tpl->tpl_vars['sArticle']->value['priceStartingFrom'] && !$_smarty_tpl->tpl_vars['sArticle']->value['liveshoppingData']) { $_smarty_tpl->smarty->_tag_stack[] = array('snippet', array('name' => 'ListingBoxArticleStartsAt', 'namespace' => 'frontend/listing/box_article')); $_block_repeat = true; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => 'ListingBoxArticleStartsAt', 'namespace' => 'frontend/listing/box_article'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> ab<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => 'ListingBoxArticleStartsAt', 'namespace' => 'frontend/listing/box_article'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php } ?> <?php echo smarty_modifier_currency($_smarty_tpl->tpl_vars['sArticle']->value['price']); ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('snippet', array('name' => "Star", 'namespace' => 'frontend/listing/box_article')); $_block_repeat = true; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => "Star", 'namespace' => 'frontend/listing/box_article'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> *<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => "Star", 'namespace' => 'frontend/listing/box_article'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </span> <?php if ($_smarty_tpl->tpl_vars['sArticle']->value['has_pseudoprice']) { ?> <span class="price--discount is--nowrap"> <?php echo smarty_modifier_currency($_smarty_tpl->tpl_vars['sArticle']->value['pseudoprice']); ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('snippet', array('name' => "Star", 'namespace' => 'frontend/listing/box_article')); $_block_repeat = true; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => "Star", 'namespace' => 'frontend/listing/box_article'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> *<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => "Star", 'namespace' => 'frontend/listing/box_article'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </span> <?php } ?> </div> <?php }
function content_56424015b70027_69586297($_smarty_tpl) { if (!is_callable('smarty_modifier_currency')) { include 'C:\\Users\\jkeull\\Documents\\xampp\\htdocs\\shopware\\engine\\Library\\Enlight\\Template/Plugins\\modifier.currency.php'; } ?> <div class="filter-panel filter--range facet--<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['facet']->value->getFacetName(), ENT_QUOTES, 'utf-8', true), "HTML-ENTITIES", 'utf-8'); ?> " data-filter-type="range" data-field-name="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['facet']->value->getFacetName(), ENT_QUOTES, 'utf-8', true), "HTML-ENTITIES", 'utf-8'); ?> "> <div class="filter-panel--flyout"> <label class="filter-panel--title"> <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['facet']->value->getLabel(), ENT_QUOTES, 'utf-8', true); ?> </label> <span class="filter-panel--icon"></span> <div class="filter-panel--content"> <?php $_smarty_tpl->tpl_vars['startMin'] = new Smarty_variable($_smarty_tpl->tpl_vars['facet']->value->getActiveMin(), null, 0); ?> <?php $_smarty_tpl->tpl_vars['startMax'] = new Smarty_variable($_smarty_tpl->tpl_vars['facet']->value->getActiveMax(), null, 0); ?> <?php $_smarty_tpl->tpl_vars['rangeMin'] = new Smarty_variable($_smarty_tpl->tpl_vars['facet']->value->getMin(), null, 0); ?> <?php $_smarty_tpl->tpl_vars['rangeMax'] = new Smarty_variable($_smarty_tpl->tpl_vars['facet']->value->getMax(), null, 0); ?> <?php $_smarty_tpl->tpl_vars['roundPretty'] = new Smarty_variable('true', null, 0); ?> <?php ob_start(); echo smarty_modifier_currency('0'); $_tmp1 = ob_get_clean(); $_smarty_tpl->tpl_vars['format'] = new Smarty_variable($_tmp1, null, 0); ?> <?php $_smarty_tpl->tpl_vars['stepCount'] = new Smarty_variable(100, null, 0); ?> <?php $_smarty_tpl->tpl_vars['stepCurve'] = new Smarty_variable('linear', null, 0); ?> <div class="range-slider" data-range-slider="true" data-roundPretty="<?php echo $_smarty_tpl->tpl_vars['roundPretty']->value; ?> " data-labelFormat="<?php echo $_smarty_tpl->tpl_vars['format']->value; ?> " data-stepCount="<?php echo $_smarty_tpl->tpl_vars['stepCount']->value; ?> " data-stepCurve="<?php echo $_smarty_tpl->tpl_vars['stepCurve']->value; ?> " data-startMin="<?php echo $_smarty_tpl->tpl_vars['startMin']->value; ?> " data-startMax="<?php echo $_smarty_tpl->tpl_vars['startMax']->value; ?> " data-rangeMin="<?php echo $_smarty_tpl->tpl_vars['rangeMin']->value; ?> " data-rangeMax="<?php echo $_smarty_tpl->tpl_vars['rangeMax']->value; ?> "> <input type="hidden" id="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['facet']->value->getMinFieldName(), ENT_QUOTES, 'utf-8', true), "HTML-ENTITIES", 'utf-8'); ?> " name="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['facet']->value->getMinFieldName(), ENT_QUOTES, 'utf-8', true), "HTML-ENTITIES", 'utf-8'); ?> " data-range-input="min" value="<?php echo $_smarty_tpl->tpl_vars['startMin']->value; ?> " <?php if (!$_smarty_tpl->tpl_vars['facet']->value->isActive() || $_smarty_tpl->tpl_vars['startMin']->value == 0) { ?> disabled="disabled" <?php } ?> /> <input type="hidden" id="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['facet']->value->getMaxFieldName(), ENT_QUOTES, 'utf-8', true), "HTML-ENTITIES", 'utf-8'); ?> " name="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['facet']->value->getMaxFieldName(), ENT_QUOTES, 'utf-8', true), "HTML-ENTITIES", 'utf-8'); ?> " data-range-input="max" value="<?php echo $_smarty_tpl->tpl_vars['startMax']->value; ?> " <?php if (!$_smarty_tpl->tpl_vars['facet']->value->isActive() || $_smarty_tpl->tpl_vars['startMax']->value == 0) { ?> disabled="disabled" <?php } ?> /> <div class="filter-panel--range-info"> <span class="range-info--min"> <?php $_smarty_tpl->smarty->_tag_stack[] = array('snippet', array('name' => "ListingFilterRangeFrom", 'namespace' => 'frontend/listing/listing_actions')); $_block_repeat = true; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => "ListingFilterRangeFrom", 'namespace' => 'frontend/listing/listing_actions'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> von<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => "ListingFilterRangeFrom", 'namespace' => 'frontend/listing/listing_actions'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </span> <label class="range-info--label" for="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['facet']->value->getMinFieldName(), ENT_QUOTES, 'utf-8', true), "HTML-ENTITIES", 'utf-8'); ?> " data-range-label="min"> <?php echo $_smarty_tpl->tpl_vars['startMin']->value; ?> </label> <span class="range-info--max"> <?php $_smarty_tpl->smarty->_tag_stack[] = array('snippet', array('name' => "ListingFilterRangeTo", 'namespace' => 'frontend/listing/listing_actions')); $_block_repeat = true; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => "ListingFilterRangeTo", 'namespace' => 'frontend/listing/listing_actions'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> bis<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => "ListingFilterRangeTo", 'namespace' => 'frontend/listing/listing_actions'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </span> <label class="range-info--label" for="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['facet']->value->getMaxFieldName(), ENT_QUOTES, 'utf-8', true), "HTML-ENTITIES", 'utf-8'); ?> " data-range-label="max"> <?php echo $_smarty_tpl->tpl_vars['startMax']->value; ?> </label> </div> </div> </div> </div> </div> <?php }
echo smarty_form_table_column($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?> <?php $this->_tag_stack[] = array('form_table_column', array('columnid' => 'balance', 'header' => "[AMOUNT_DUE]")); $_block_repeat = true; smarty_form_table_column($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <?php echo is_array($_tmp = $this->_tpl_vars['invoices']['balance']) ? $this->_run_mod_handler('currency', true, $_tmp) : smarty_modifier_currency($_tmp); ?> <?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat = false; echo smarty_form_table_column($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?> <?php $_block_content = ob_get_contents(); ob_end_clean();
?> <?php echo $this->_tpl_vars['actions']->count->all; ?> <br> <?php echo smarty_function_localize(array('str' => 'Commissions per Actions:'), $this); ?> <?php echo is_array($_tmp = $this->_tpl_vars['actions']->commission->all) ? $this->_run_mod_handler('currency', true, $_tmp) : smarty_modifier_currency($_tmp); ?> <br> <?php echo smarty_function_localize(array('str' => 'Total cost of Actions:'), $this); ?> <?php echo is_array($_tmp = $this->_tpl_vars['actions']->totalCost->all) ? $this->_run_mod_handler('currency', true, $_tmp) : smarty_modifier_currency($_tmp); ?> <br> <br> <?php echo smarty_function_localize(array('str' => 'All Commissions:'), $this); ?> <?php echo is_array($_tmp = $this->_tpl_vars['transactions']->commission->all) ? $this->_run_mod_handler('currency', true, $_tmp) : smarty_modifier_currency($_tmp); ?> <br> -----------------------------------<br> <br> <?php echo $this->_tpl_vars['commissionsList']->list;
function content_5642400ee39549_12769262($_smarty_tpl) { if (!is_callable('smarty_modifier_currency')) { include 'C:\\Users\\jkeull\\Documents\\xampp\\htdocs\\shopware\\engine\\Library\\Enlight\\Template/Plugins\\modifier.currency.php'; } ?> <li class="navigation--entry entry--notepad" role="menuitem"> <a href="<?php echo 'http://localhost/shopware/note'; ?> " title="<?php ob_start(); $_smarty_tpl->smarty->_tag_stack[] = array('snippet', array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkNotepad')); $_block_repeat = true; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkNotepad'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); echo "Merkzettel"; $_block_content = ob_get_clean(); $_block_repeat = false; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkNotepad'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); $_tmp1 = ob_get_clean(); echo htmlspecialchars($_tmp1, ENT_QUOTES, 'utf-8', true); ?> " class="btn"> <i class="icon--heart"></i> <?php if ($_smarty_tpl->tpl_vars['sNotesQuantity']->value > 0) { ?> <span class="badge notes--quantity"> <?php echo $_smarty_tpl->tpl_vars['sNotesQuantity']->value; ?> </span> <?php } ?> </a> </li> <li class="navigation--entry entry--account" role="menuitem"> <a href="<?php echo 'http://localhost/shopware/account'; ?> " title="<?php ob_start(); $_smarty_tpl->smarty->_tag_stack[] = array('snippet', array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkAccount')); $_block_repeat = true; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkAccount'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); echo "Mein Konto"; $_block_content = ob_get_clean(); $_block_repeat = false; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkAccount'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); $_tmp2 = ob_get_clean(); echo htmlspecialchars($_tmp2, ENT_QUOTES, 'utf-8', true); ?> " class="btn is--icon-left entry--link account--link"> <i class="icon--account"></i> <span class="account--display"> <?php $_smarty_tpl->smarty->_tag_stack[] = array('snippet', array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkAccount')); $_block_repeat = true; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkAccount'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> Mein Konto<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkAccount'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </span> </a> </li> <li class="navigation--entry entry--cart" role="menuitem"> <a class="btn is--icon-left cart--link" href="<?php echo 'http://localhost/shopware/checkout/cart'; ?> " title="<?php ob_start(); $_smarty_tpl->smarty->_tag_stack[] = array('snippet', array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkCart')); $_block_repeat = true; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkCart'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); echo "Warenkorb"; $_block_content = ob_get_clean(); $_block_repeat = false; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkCart'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); $_tmp3 = ob_get_clean(); echo htmlspecialchars($_tmp3, ENT_QUOTES, 'utf-8', true); ?> "> <span class="cart--display"> <?php if ($_smarty_tpl->tpl_vars['sUserLoggedIn']->value) { ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('snippet', array('name' => 'IndexLinkCheckout', 'namespace' => 'widgets/checkout/info')); $_block_repeat = true; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => 'IndexLinkCheckout', 'namespace' => 'widgets/checkout/info'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> Zur Kasse<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => 'IndexLinkCheckout', 'namespace' => 'widgets/checkout/info'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php } else { ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('snippet', array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkCart')); $_block_repeat = true; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkCart'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> Warenkorb<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('namespace' => 'widgets/checkout/info', 'name' => 'IndexLinkCart'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php } ?> </span> <span class="badge is--primary is--minimal cart--quantity<?php if ($_smarty_tpl->tpl_vars['sBasketQuantity']->value < 1) { ?> is--hidden<?php } ?> "><?php echo $_smarty_tpl->tpl_vars['sBasketQuantity']->value; ?> </span> <i class="icon--basket"></i> <span class="cart--amount"> <?php echo smarty_modifier_currency($_smarty_tpl->tpl_vars['sBasketAmount']->value); ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('snippet', array('name' => "Star", 'namespace' => 'widgets/checkout/info')); $_block_repeat = true; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => "Star", 'namespace' => 'widgets/checkout/info'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> *<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo Enlight_Components_Snippet_Resource::compileSnippetBlock(array('name' => "Star", 'namespace' => 'widgets/checkout/info'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </span> </a> <div class="ajax-loader"> </div> </li> <?php }
settype($_from, 'array'); } if (count($_from)) { foreach ($_from as $this->_tpl_vars['sale']) { ?> <tr> <td><?php echo $this->_tpl_vars['sale']->get('id'); ?> </td> <td><?php echo is_array($_tmp = $this->_tpl_vars['sale']->get('commission')) ? $this->_run_mod_handler('currency', true, $_tmp) : smarty_modifier_currency($_tmp); ?> </td> <td><?php echo is_array($_tmp = $this->_tpl_vars['sale']->get('totalcost')) ? $this->_run_mod_handler('currency', true, $_tmp) : smarty_modifier_currency($_tmp); ?> </td> <td><?php echo $this->_tpl_vars['sale']->get('orderid'); ?> </td> <td><?php echo $this->_tpl_vars['sale']->get('productid'); ?> </td> <td><?php echo is_array($_tmp = $this->_tpl_vars['sale']->get('dateinserted')) ? $this->_run_mod_handler('date', true, $_tmp) : smarty_modifier_date($_tmp); ?> </td> <td><?php
</td> <td class="action_cell">» <a href="manager_content.php?page=billing_add_payment"><?php echo smarty_echo(array('phrase' => 'ENTER_PAYMENT'), $this); ?> </a> </td> </tr> <tr> <th> <?php echo smarty_echo(array('phrase' => 'REVENUE_RECEIVED'), $this); ?> <?php echo $this->_tpl_vars['month']; ?> </th> <td> <?php echo is_array($_tmp = $this->_tpl_vars['payments_total']) ? $this->_run_mod_handler('currency', true, $_tmp) : smarty_modifier_currency($_tmp); ?> </td> </tr> </table> </div> <h2> <?php echo smarty_echo(array('phrase' => 'ACCOUNTS_SUMMARY'), $this); ?> </h2> <p/> <div class="properties"> <table style="width: 90%"> <tr> <th> <a href="manager_content.php?page=accounts_browse"><?php
<th><?php echo smarty_echo(array('phrase' => 'TAXES'), $this); ?> :</th> <td><?php echo is_array($_tmp = smarty_dbo_echo(array('dbo' => 'order', 'field' => 'taxtotal'), $this)) ? $this->_run_mod_handler('currency', true, $_tmp) : smarty_modifier_currency($_tmp); ?> </td> </tr> <tr> <th><?php echo smarty_echo(array('phrase' => 'TOTAL'), $this); ?> :</th> <td><?php echo is_array($_tmp = smarty_dbo_echo(array('dbo' => 'order', 'field' => 'total'), $this)) ? $this->_run_mod_handler('currency', true, $_tmp) : smarty_modifier_currency($_tmp); ?> </td> </tr> <tr> <th><?php echo smarty_form_description(array('field' => 'module'), $this); ?> </th> <td><?php echo smarty_form_element(array('field' => 'module'), $this); ?> </td> </tr> <?php if ($this->_tpl_vars['tos_required']) {