Ejemplo n.º 1
0
function smarty_function_list_classes($params, &$smarty)
{
    require_once $smarty->_get_plugin_filepath('function', 'cycle');
    $output = '';
    // get name
    if (!array_key_exists('name', $params) || empty($params['name'])) {
        $smarty->trigger_error("list_classes: missing 'name' parameter in '{$smarty->_smarty_debug_info[0]['filename']}'", E_USER_ERROR);
        return;
    } else {
        $name = $params['name'];
    }
    // get loop type
    if (!array_key_exists('type', $params)) {
        $type = 'foreach';
    } else {
        $type = $params['type'];
    }
    // get offset
    $offset = array_get($params, 'offset', 0);
    $values = $offset % 2 != 0 ? 'even,odd' : 'odd,even';
    // odd/even
    $output .= smarty_function_cycle(array_merge($params, array('values' => $values)), &$smarty);
    // first/last
    $loop = $smarty->_foreach[$name];
    if ($loop['iteration'] == 1) {
        $output .= ' first';
    } elseif ($loop['iteration'] == $loop['total']) {
        $output .= ' last';
    }
    return $output;
}
    function content_55c863d7caf528_80989612($_smarty_tpl)
    {
        if (!is_callable('smarty_function_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/function.cycle.php';
        }
        ?>
<div class="ow_wide ow_automargin">
<table class="ow_form ow_table_1 theme_controls">
   <tr class="ow_tr_first">
	   <th colspan="10" style="text-align: left;"><?php 
        echo smarty_function_text(array('key' => 'skadate+admin_license_info_cap'), $_smarty_tpl);
        ?>
</th>
   </tr>
   <?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['data']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
	<tr class="<?php 
            echo smarty_function_cycle(array('values' => 'ow_alt1,ow_alt2'), $_smarty_tpl);
            ?>
">
      <td class="ow_label"><?php 
            echo $_smarty_tpl->tpl_vars['key']->value;
            ?>
</td>
      <td class="ow_value"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
</td>
   </tr>
   <?php 
        }
        ?>
   <tr class="<?php 
        echo smarty_function_cycle(array('values' => 'ow_alt1,ow_alt2'), $_smarty_tpl);
        ?>
 ow_tr_last">
       <td colspan="2">    
           <?php 
        echo smarty_function_text(array('key' => 'skadate+admin_bottom_text'), $_smarty_tpl);
        ?>

       </td>
   </tr>
   <tr class="ow_tr_delimiter"><td></td></tr>
</table>
</div><?php 
    }
    function content_56619e62af08a5_21631663($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cycle')) {
            require_once 'C:\\xampp\\htdocs\\smarty\\libs\\plugins\\function.cycle.php';
        }
        $_smarty_tpl->properties['nocache_hash'] = '954756619e62a9a999_91817464';
        ?>
<table>
    <?php 
        $_from = $_smarty_tpl->tpl_vars['names']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['name'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['name']->_loop = false;
        foreach ($_from as $_smarty_tpl->tpl_vars['name']->value) {
            $_smarty_tpl->tpl_vars['name']->_loop = true;
            $foreach_name_Sav = $_smarty_tpl->tpl_vars['name'];
            ?>
        <tr bgcolor="<?php 
            echo smarty_function_cycle(array('values' => "#eeeeee,#dddddd"), $_smarty_tpl);
            ?>
"><td><?php 
            echo $_smarty_tpl->tpl_vars['name']->value;
            ?>
</td></tr>
    <?php 
            $_smarty_tpl->tpl_vars['name'] = $foreach_name_Sav;
        }
        ?>
</table>

<table>
    <?php 
        $_from = $_smarty_tpl->tpl_vars['users']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['user'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['user']->_loop = false;
        foreach ($_from as $_smarty_tpl->tpl_vars['user']->value) {
            $_smarty_tpl->tpl_vars['user']->_loop = true;
            $foreach_user_Sav = $_smarty_tpl->tpl_vars['user'];
            ?>
        <tr bgcolor="<?php 
            echo smarty_function_cycle(array('values' => "#aaaaaa,#bbbbbb"), $_smarty_tpl);
            ?>
"><td><?php 
            echo $_smarty_tpl->tpl_vars['user']->value['name'];
            ?>
</td><td><?php 
            echo $_smarty_tpl->tpl_vars['user']->value['phone'];
            ?>
</td></tr>
    <?php 
            $_smarty_tpl->tpl_vars['user'] = $foreach_user_Sav;
        }
        ?>
</table><?php 
    }
    function content_5653520ae28ee2_69194943($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cycle')) {
            include 'C:\\xampp\\htdocs\\flowershop\\tools\\smarty\\plugins\\function.cycle.php';
        }
        if (count($_smarty_tpl->tpl_vars['ad_modules']->value['not_installed'])) {
            ?>
<div class="bootstrap panel">
	<h3><i class="icon-certificate"></i> <?php 
            echo smartyTranslate(array('s' => 'You might be interested in'), $_smarty_tpl);
            ?>
</h3>
	<div class="row">
		<table id="tab_modules_list_not_installed" class="table">
			<?php 
            $_smarty_tpl->tpl_vars['module'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['module']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['ad_modules']->value['not_installed'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['module']->key => $_smarty_tpl->tpl_vars['module']->value) {
                $_smarty_tpl->tpl_vars['module']->_loop = true;
                ?>
				<?php 
                ob_start();
                echo smarty_function_cycle(array('values' => ",rowalt"), $_smarty_tpl);
                $_tmp2 = ob_get_clean();
                echo $_smarty_tpl->getSubTemplate('controllers/modules/tab_module_line.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('class_row' => $_tmp2), 0);
                ?>

			<?php 
            }
            ?>
		</table>
	</div>
</div>
<script type="text/javascript">
	$(document).ready(function(){
		$('.fancybox-quick-view').fancybox({
			type: 'ajax',
			autoDimensions: false,
			autoSize: false,
			width: 600,
			height: 'auto',
			helpers: {
				overlay: {
					locked: false
				}
			}
		});
	});
</script>
<?php 
        }
        ?>

<?php 
    }
        public function callBlock(Smarty_Internal_Template $_smarty_tpl)
        {
            ?>

    <a href="/user/create.html">Create</a>
    <h1>User List</h1>
    <table>
        <tr>
            <th>UserName</th>
            <th>Email</th>
            <th>-</th>
        </tr>
        <?php 
            $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['users']->value, 'user', false, 'key');
            foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['user']->value) {
                $_smarty_tpl->tpl_vars['user']->_loop = true;
                $__foreach_user_0_saved = $_smarty_tpl->tpl_vars['user'];
                ?>
            <tr style="background: <?php 
                echo smarty_function_cycle(array('values' => 'ligthblue,azure'), $_smarty_tpl);
                ?>
">
                <td><?php 
                echo $_smarty_tpl->tpl_vars['user']->value['usr_name'];
                ?>
</td>
                <td><?php 
                echo $_smarty_tpl->tpl_vars['user']->value['usr_email'];
                ?>
</td>
                <td>
                    <a href="edit/<?php 
                echo $_smarty_tpl->tpl_vars['user']->value['usr_id'];
                ?>
.html">Edit</a>
                    <a href="javascript:void(0)" onclick="ajaxDelete('user','default',<?php 
                echo $_smarty_tpl->tpl_vars['user']->value['usr_id'];
                ?>
)" id="<?php 
                echo $_smarty_tpl->tpl_vars['user']->value['usr_id'];
                ?>
">Delete</a>
                </td>
            </tr>
        <?php 
                $_smarty_tpl->tpl_vars['user'] = $__foreach_user_0_saved;
            }
            $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
            ?>
    </table>
<?php 
        }
    function content_4fba91b69f7552_58849611($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cycle')) {
            include '/home/content/94/2585794/html/Modules/DOM/uber_src/server/Smarty-3.1.8/libs/plugins/function.cycle.php';
        }
        ?>
hello

</br>


<table>
<?php 
        $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['p']->_loop = false;
        $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['people']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['p']->key => $_smarty_tpl->tpl_vars['p']->value) {
            $_smarty_tpl->tpl_vars['p']->_loop = true;
            $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['p']->key;
            ?>
<tr style= "background: <?php 
            echo smarty_function_cycle(array('values' => 'silver, gray'), $_smarty_tpl);
            ?>
">
<td><?php 
            echo $_smarty_tpl->tpl_vars['k']->value;
            ?>
 </td>
<td><?php 
            echo $_smarty_tpl->tpl_vars['p']->value;
            ?>
 </td>

</tr>
<?php 
        }
        ?>
</table><?php 
    }
            function smarty_template_function_displayReason($_smarty_tpl, $params)
            {
                $saved_tpl_vars = $_smarty_tpl->tpl_vars;
                foreach ($_smarty_tpl->smarty->template_functions['displayReason']['parameter'] as $key => $value) {
                    $_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);
                }
                foreach ($params as $key => $value) {
                    $_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);
                }
                ?>
	<?php 
                echo smarty_function_cycle(array('values' => 'row0,row1', 'assign' => 'rowCss'), $_smarty_tpl);
                ?>

	<li class="<?php 
                echo $_smarty_tpl->tpl_vars['rowCss']->value;
                ?>
" reasonId="<?php 
                echo $_smarty_tpl->tpl_vars['reason']->value->Id();
                ?>
">
		<span class="reason-description"><?php 
                echo $_smarty_tpl->tpl_vars['reason']->value->Description();
                ?>
</span>
		<div style="float:right">
			<a href="#" class="update edit"><?php 
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Edit'), $_smarty_tpl);
                ?>
</a> | <a href="#" class="update delete"><?php 
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Delete'), $_smarty_tpl);
                ?>
</a>
		</div>
	</li>
<?php 
                $_smarty_tpl->tpl_vars = $saved_tpl_vars;
                foreach (Smarty::$global_tpl_vars as $key => $value) {
                    if (!isset($_smarty_tpl->tpl_vars[$key])) {
                        $_smarty_tpl->tpl_vars[$key] = $value;
                    }
                }
            }
    function content_55a3c4e5ac6d98_58101968($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cycle')) {
            include '/opt/lampp/htdocs/booked/lib/Common/../../lib/external/Smarty/plugins/function.cycle.php';
        }
        ?>

<h3><?php 
        echo count($_smarty_tpl->tpl_vars['Attributes']->value);
        ?>
 <?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Attributes'), $_smarty_tpl);
        ?>
</h3>
<?php 
        if (count($_smarty_tpl->tpl_vars['Attributes']->value) > 0) {
            ?>
<table class="list">
	<tr>
		<th>ID</th>
		<th><?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'SortOrder'), $_smarty_tpl);
            ?>
</th>
		<th><?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'DisplayLabel'), $_smarty_tpl);
            ?>
</th>
		<th><?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Type'), $_smarty_tpl);
            ?>
</th>
		<th><?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Required'), $_smarty_tpl);
            ?>
</th>
		<th><?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'AppliesTo'), $_smarty_tpl);
            ?>
</th>
		<th><?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'ValidationExpression'), $_smarty_tpl);
            ?>
</th>
		<th><?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'PossibleValues'), $_smarty_tpl);
            ?>
</th>
		<th><?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Delete'), $_smarty_tpl);
            ?>
</th>
	</tr>
	<?php 
            $_smarty_tpl->tpl_vars['attribute'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['attribute']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['Attributes']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['attribute']->key => $_smarty_tpl->tpl_vars['attribute']->value) {
                $_smarty_tpl->tpl_vars['attribute']->_loop = true;
                ?>
		<?php 
                echo smarty_function_cycle(array('values' => 'row0,row1', 'assign' => 'rowCss'), $_smarty_tpl);
                ?>

		<tr class="<?php 
                echo $_smarty_tpl->tpl_vars['rowCss']->value;
                ?>
 editable" attributeId="<?php 
                echo $_smarty_tpl->tpl_vars['attribute']->value->Id();
                ?>
">
			<td><?php 
                echo $_smarty_tpl->tpl_vars['attribute']->value->Id();
                ?>
</td>
			<td><?php 
                echo $_smarty_tpl->tpl_vars['attribute']->value->SortOrder();
                ?>
</td>
			<td><?php 
                echo $_smarty_tpl->tpl_vars['attribute']->value->Label();
                ?>
</td>
			<td><?php 
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => $_smarty_tpl->tpl_vars['Types']->value[$_smarty_tpl->tpl_vars['attribute']->value->Type()]), $_smarty_tpl);
                ?>
</td>
			<td><?php 
                if ($_smarty_tpl->tpl_vars['attribute']->value->Required()) {
                    ?>
				<?php 
                    echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Yes'), $_smarty_tpl);
                    ?>

				<?php 
                } else {
                    ?>
				<?php 
                    echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'No'), $_smarty_tpl);
                    ?>

			<?php 
                }
                ?>
</td>
			<td><?php 
                if ($_smarty_tpl->tpl_vars['attribute']->value->UniquePerEntity()) {
                    ?>
				<?php 
                    echo $_smarty_tpl->tpl_vars['attribute']->value->EntityDescription();
                    ?>

				<?php 
                } else {
                    ?>
				<?php 
                    echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'All'), $_smarty_tpl);
                    ?>

			<?php 
                }
                ?>
</td>
			<td><?php 
                echo $_smarty_tpl->tpl_vars['attribute']->value->Regex();
                ?>
</td>
			<td><?php 
                echo $_smarty_tpl->tpl_vars['attribute']->value->PossibleValues();
                ?>
</td>
			<td align="center"><a href="#" class="update delete" attributeId="<?php 
                echo $_smarty_tpl->tpl_vars['attribute']->value->Id();
                ?>
"><?php 
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['html_image'][0][0]->PrintImage(array('src' => 'cross-button.png'), $_smarty_tpl);
                ?>
</a></td>
		</tr>
	<?php 
            }
            ?>
</table>
<?php 
        }
        ?>

<script type="text/javascript">
	var attributeList = new Object();

	<?php 
        $_smarty_tpl->tpl_vars['attribute'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['attribute']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['Attributes']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['attribute']->key => $_smarty_tpl->tpl_vars['attribute']->value) {
            $_smarty_tpl->tpl_vars['attribute']->_loop = true;
            ?>
		attributeList[<?php 
            echo $_smarty_tpl->tpl_vars['attribute']->value->Id();
            ?>
] = {
						id: <?php 
            echo $_smarty_tpl->tpl_vars['attribute']->value->Id();
            ?>
,
						label: "<?php 
            echo strtr($_smarty_tpl->tpl_vars['attribute']->value->Label(), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\\/"));
            ?>
",
						required: <?php 
            echo $_smarty_tpl->tpl_vars['attribute']->value->Required();
            ?>
,
						regex: "<?php 
            echo strtr($_smarty_tpl->tpl_vars['attribute']->value->Regex(), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\\/"));
            ?>
",
						possibleValues: "<?php 
            echo strtr($_smarty_tpl->tpl_vars['attribute']->value->PossibleValues(), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\\/"));
            ?>
",
						type: "<?php 
            echo $_smarty_tpl->tpl_vars['attribute']->value->Type();
            ?>
",
						sortOrder: "<?php 
            echo $_smarty_tpl->tpl_vars['attribute']->value->SortOrder();
            ?>
",
						entityId: "<?php 
            echo $_smarty_tpl->tpl_vars['attribute']->value->EntityId();
            ?>
",
						entityDescription: "<?php 
            echo strtr($_smarty_tpl->tpl_vars['attribute']->value->EntityDescription(), array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\\/"));
            ?>
"
					};
	<?php 
        }
        ?>

	$('#attributeList').data('list', attributeList);
</script><?php 
    }
/* Smarty version 2.6.28, created on 2015-08-04 04:56:09
   compiled from db:system_block_topusers.html */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'db:system_block_topusers.html', 3, false))), $this);
?>
<table cellspacing="1" class="outer">
  <?php 
$_from = $this->_tpl_vars['block']['users'];
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
if (count($_from)) {
    foreach ($_from as $this->_tpl_vars['user']) {
        ?>
  <tr class="<?php 
        echo smarty_function_cycle(array('values' => 'even,odd'), $this);
        ?>
 alignmiddle">
    <td><?php 
        echo $this->_tpl_vars['user']['rank'];
        ?>
</td>
    <td class="txtcenter">
      <?php 
        if ($this->_tpl_vars['user']['avatar'] != "") {
            ?>
      <img style="width:32px;" src="<?php 
            echo $this->_tpl_vars['user']['avatar'];
            ?>
" alt="<?php 
            echo $this->_tpl_vars['user']['name'];
    function content_569a531e198cc4_29171742($_smarty_tpl)
    {
        if (!is_callable('smarty_function_counter')) {
            include 'Z:\\domains\\localhost\\prestashop\\tools\\smarty\\plugins\\function.counter.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include 'Z:\\domains\\localhost\\prestashop\\tools\\smarty\\plugins\\function.cycle.php';
        }
        ?>
<div class="panel">
	<h3>
		<i class="icon-list-ul"></i>
		<?php 
        if (isset($_smarty_tpl->tpl_vars['panel_title']->value)) {
            echo htmlspecialchars($_smarty_tpl->tpl_vars['panel_title']->value, ENT_QUOTES, 'UTF-8', true);
        } else {
            echo smartyTranslate(array('s' => 'Modules list'), $_smarty_tpl);
        }
        ?>
	</h3>
	<div class="modules_list_container_tab row">
		<div class="col-lg-12">
			<?php 
        if (count($_smarty_tpl->tpl_vars['modules_list']->value)) {
            ?>
				<table class="table">
					<?php 
            echo smarty_function_counter(array('start' => 1, 'assign' => "count"), $_smarty_tpl);
            ?>

						<?php 
            $_smarty_tpl->tpl_vars['module'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['module']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['modules_list']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['module']->key => $_smarty_tpl->tpl_vars['module']->value) {
                $_smarty_tpl->tpl_vars['module']->_loop = true;
                ?>
							<?php 
                ob_start();
                echo smarty_function_cycle(array('values' => ",row alt"), $_smarty_tpl);
                $_tmp22 = ob_get_clean();
                echo $_smarty_tpl->getSubTemplate('controllers/modules/tab_module_line.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('class_row' => $_tmp22), 0);
                ?>

						<?php 
                echo smarty_function_counter(array(), $_smarty_tpl);
                ?>

					<?php 
            }
            ?>
				</table>
				<?php 
            if ($_smarty_tpl->tpl_vars['controller_name']->value == 'AdminPayment' && isset($_smarty_tpl->tpl_vars['view_all']->value)) {
                ?>
					<div class="panel-footer">
						<div class="col-lg-4 col-lg-offset-4">
							<a class="btn btn-default btn-block" href="index.php?tab=AdminModules&amp;token=<?php 
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab' => 'AdminModules'), $_smarty_tpl);
                ?>
&amp;filterCategory=payments_gateways">
								<i class="process-icon-payment"></i>
								<?php 
                echo smartyTranslate(array('s' => 'View all available payments solutions'), $_smarty_tpl);
                ?>

							</a>
						</div>
					</div>
				<?php 
            }
            ?>
			<?php 
        } else {
            ?>
				<table class="table">
					<tr>
						<td>
							<div class="alert alert-warning">
							<?php 
            if ($_smarty_tpl->tpl_vars['controller_name']->value == 'AdminPayment') {
                ?>
							<?php 
                echo smartyTranslate(array('s' => 'It seems there are no recommended payment solutions for your country.'), $_smarty_tpl);
                ?>
<br />
							<a class="_blank" href="https://www.prestashop.com/en/contact-us"><?php 
                echo smartyTranslate(array('s' => 'Do you think there should be one? Let us know!'), $_smarty_tpl);
                ?>
</a>
							<?php 
            } else {
                echo smartyTranslate(array('s' => 'No modules available in this section.'), $_smarty_tpl);
            }
            ?>
</div>
						</td>
					</tr>
				</table>
			<?php 
        }
        ?>
		</div>
	</div>
</div>
<script type="text/javascript">
	$(document).ready(function(){
		$('.fancybox-quick-view').fancybox({
			type: 'ajax',
			autoDimensions: false,
			autoSize: false,
			width: 600,
			height: 'auto',
			helpers: {
				overlay: {
					locked: false
				}
			}
		});
	});
</script>
<?php 
    }
    for ($this->_sections['func']['index'] = $this->_sections['func']['start'], $this->_sections['func']['iteration'] = 1; $this->_sections['func']['iteration'] <= $this->_sections['func']['total']; $this->_sections['func']['index'] += $this->_sections['func']['step'], $this->_sections['func']['iteration']++) {
        $this->_sections['func']['rownum'] = $this->_sections['func']['iteration'];
        $this->_sections['func']['index_prev'] = $this->_sections['func']['index'] - $this->_sections['func']['step'];
        $this->_sections['func']['index_next'] = $this->_sections['func']['index'] + $this->_sections['func']['step'];
        $this->_sections['func']['first'] = $this->_sections['func']['iteration'] == 1;
        $this->_sections['func']['last'] = $this->_sections['func']['iteration'] == $this->_sections['func']['total'];
        ?>
<a name="<?php 
        echo $this->_tpl_vars['functions'][$this->_sections['func']['index']]['function_dest'];
        ?>
" id="<?php 
        echo $this->_tpl_vars['functions'][$this->_sections['func']['index']]['function_dest'];
        ?>
"><!-- --></a>
<div class="<?php 
        echo smarty_function_cycle(array('values' => "evenrow,oddrow"), $this);
        ?>
">
	
	<div>
		<span class="method-title"><?php 
        echo $this->_tpl_vars['functions'][$this->_sections['func']['index']]['function_name'];
        ?>
</span> (line <span class="line-number"><?php 
        if ($this->_tpl_vars['functions'][$this->_sections['func']['index']]['slink']) {
            echo $this->_tpl_vars['functions'][$this->_sections['func']['index']]['slink'];
        } else {
            echo $this->_tpl_vars['functions'][$this->_sections['func']['index']]['line_number'];
        }
        ?>
</span>)
Ejemplo n.º 12
0
      <div class="product">
        <div class="productmain">
          <ul class="ui-grid-b">
          <?php 
if ($this->_tpl_vars['channel_focus_contents']) {
    ?>
			<?php 
    $_from = $this->_tpl_vars['channel_focus_contents'];
    if (!is_array($_from) && !is_object($_from)) {
        settype($_from, 'array');
    }
    if (count($_from)) {
        foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['a']) {
            ?>
          			<li class="ui-block-<?php 
            echo smarty_function_cycle(array('values' => "a,b,c"), $this);
            ?>
"><a href="<?php 
            echo $this->_tpl_vars['a']['link'];
            ?>
"  title="<?php 
            echo $this->_tpl_vars['a']['title'];
            ?>
">
                    <span><img src="<?php 
            echo $this->_tpl_vars['a']['thumb'];
            ?>
" /></span>
            <h2 style="width:130px;"><?php 
            echo $this->_tpl_vars['a']['title'];
            ?>
    function content_55bf501bb15b66_16214593($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cycle')) {
            include '/var/www/html/remote/lib/Common/../../lib/external/Smarty/plugins/function.cycle.php';
        }
        echo $_smarty_tpl->getSubTemplate('globalheader.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('cssFiles' => "css/reports.css,scripts/js/jqplot/jquery.jqplot.min.css"), 0);
        ?>


<h1><?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'MySavedReports'), $_smarty_tpl);
        ?>
 (<span id="reportCount"><?php 
        echo count($_smarty_tpl->tpl_vars['ReportList']->value);
        ?>
</span>)</h1>
<?php 
        if (count($_smarty_tpl->tpl_vars['ReportList']->value) == 0) {
            ?>
<h2 class="no-data" style="text-align: center;"><?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'NoSavedReports'), $_smarty_tpl);
            ?>
</h2><a
		href="<?php 
            echo $_smarty_tpl->tpl_vars['Path']->value;
            ?>
reports/<?php 
            echo Pages::REPORTS_GENERATE;
            ?>
"><?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'GenerateReport'), $_smarty_tpl);
            ?>
</a>
	<?php 
        } else {
            ?>
<div id="report-list">
	<ul>
		<?php 
            $_smarty_tpl->tpl_vars['report'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['report']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['ReportList']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['report']->key => $_smarty_tpl->tpl_vars['report']->value) {
                $_smarty_tpl->tpl_vars['report']->_loop = true;
                ?>
			<?php 
                echo smarty_function_cycle(array('values' => ',alt', 'assign' => 'rowCss'), $_smarty_tpl);
                ?>

			<li reportId="<?php 
                echo $_smarty_tpl->tpl_vars['report']->value->Id();
                ?>
" class="<?php 
                echo $_smarty_tpl->tpl_vars['rowCss']->value;
                ?>
"><span class="report-title"><?php 
                echo ($tmp = @$_smarty_tpl->tpl_vars['report']->value->ReportName()) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['untitled']->value : $tmp;
                ?>
</span>
				<span class="right"><span class="report-created-date"><?php 
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_date'][0][0]->FormatDate(array('date' => $_smarty_tpl->tpl_vars['report']->value->DateCreated()), $_smarty_tpl);
                ?>
</span>

				<span class="report-action"><a href="#"
													 class="runNow report"><?php 
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['html_image'][0][0]->PrintImage(array('src' => "control.png"), $_smarty_tpl);
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'RunReport'), $_smarty_tpl);
                ?>
</a></span>
				<span class="report-action"><a href="#"
													 class="emailNow report"><?php 
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['html_image'][0][0]->PrintImage(array('src' => "mail-send.png"), $_smarty_tpl);
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'EmailReport'), $_smarty_tpl);
                ?>
</a></span>
				<span class="report-action"><a href="#"
													 class="delete report"><?php 
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['html_image'][0][0]->PrintImage(array('src' => "cross-button.png"), $_smarty_tpl);
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Delete'), $_smarty_tpl);
                ?>
</a></span>
				</span>
			


			</li>
		<?php 
            }
            ?>
	</ul>
</div>
<?php 
        }
        ?>


<div id="resultsDiv">
</div>

<div id="emailSent" style="display:none" class="success">
<?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'ReportSent'), $_smarty_tpl);
        ?>

</div>

<div id="emailDiv" class="dialog" title="<?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'EmailReport'), $_smarty_tpl);
        ?>
">
	<form id="emailForm">
		<label for="emailTo"><?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Email'), $_smarty_tpl);
        ?>
</label> <input id="emailTo" type="text" <?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['formname'][0][0]->GetFormName(array('key' => 'email'), $_smarty_tpl);
        ?>

																  value="<?php 
        echo $_smarty_tpl->tpl_vars['UserEmail']->value;
        ?>
" class="textbox"/>
		<br/>
		<br/>
		<button type="button" id="btnSendEmail"
				class="button"><?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['html_image'][0][0]->PrintImage(array('src' => "mail-send.png"), $_smarty_tpl);
        ?>
 <?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'EmailReport'), $_smarty_tpl);
        ?>
</button>
		<button type="button" class="button cancel"><?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['html_image'][0][0]->PrintImage(array('src' => "slash.png"), $_smarty_tpl);
        ?>
 <?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Cancel'), $_smarty_tpl);
        ?>
</button>
		<span id="sendEmailIndicator" style="display:none"><?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Working'), $_smarty_tpl);
        ?>
</span>
	</form>
</div>

<div id="deleteDiv" class="dialog" title="<?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Delete'), $_smarty_tpl);
        ?>
">
	<div class="error" style="margin-bottom: 25px;">
		<h3><?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'DeleteWarning'), $_smarty_tpl);
        ?>
</h3>
	</div>
	<button type="button" id="btnDeleteReport"
			class="button"><?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['html_image'][0][0]->PrintImage(array('src' => "cross-button.png"), $_smarty_tpl);
        ?>
 <?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Delete'), $_smarty_tpl);
        ?>
</button>
	<button type="button" class="button cancel"><?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['html_image'][0][0]->PrintImage(array('src' => "slash.png"), $_smarty_tpl);
        ?>
 <?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Cancel'), $_smarty_tpl);
        ?>
</button>
</div>

<div id="indicator" style="display:none; text-align: center;">
	<h3><?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key' => 'Working'), $_smarty_tpl);
        ?>
</h3>
<?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['html_image'][0][0]->PrintImage(array('src' => "admin-ajax-indicator.gif"), $_smarty_tpl);
        ?>

</div>

<?php 
        echo $_smarty_tpl->getSubTemplate("Reports/chart.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>




<?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['jsfile'][0][0]->IncludeJavascriptFile(array('src' => "ajax-helpers.js"), $_smarty_tpl);
        ?>

<?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['jsfile'][0][0]->IncludeJavascriptFile(array('src' => "reports/saved-reports.js"), $_smarty_tpl);
        ?>

<?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['jsfile'][0][0]->IncludeJavascriptFile(array('src' => "reports/chart.js"), $_smarty_tpl);
        ?>


<script type="text/javascript">
	$(document).ready(function () {
		var reportOptions = {
			generateUrl:"<?php 
        echo $_SERVER['SCRIPT_NAME'];
        ?>
?<?php 
        echo QueryStringKeys::ACTION;
        ?>
=<?php 
        echo ReportActions::Generate;
        ?>
&<?php 
        echo QueryStringKeys::REPORT_ID;
        ?>
=",
			emailUrl:"<?php 
        echo $_SERVER['SCRIPT_NAME'];
        ?>
?<?php 
        echo QueryStringKeys::ACTION;
        ?>
=<?php 
        echo ReportActions::Email;
        ?>
&<?php 
        echo QueryStringKeys::REPORT_ID;
        ?>
=",
			deleteUrl:"<?php 
        echo $_SERVER['SCRIPT_NAME'];
        ?>
?<?php 
        echo QueryStringKeys::ACTION;
        ?>
=<?php 
        echo ReportActions::Delete;
        ?>
&<?php 
        echo QueryStringKeys::REPORT_ID;
        ?>
=",
			printUrl:"<?php 
        echo $_SERVER['SCRIPT_NAME'];
        ?>
?<?php 
        echo QueryStringKeys::ACTION;
        ?>
=<?php 
        echo ReportActions::PrintReport;
        ?>
&<?php 
        echo QueryStringKeys::REPORT_ID;
        ?>
=",
			csvUrl:"<?php 
        echo $_SERVER['SCRIPT_NAME'];
        ?>
?<?php 
        echo QueryStringKeys::ACTION;
        ?>
=<?php 
        echo ReportActions::Csv;
        ?>
&<?php 
        echo QueryStringKeys::REPORT_ID;
        ?>
="
		};

		var reports = new SavedReports(reportOptions);
		reports.init();
	});
</script>

<?php 
        echo $_smarty_tpl->getSubTemplate('globalfooter.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
    }
    function content_55d575f316fe42_13931440($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.form.php';
        }
        if (!is_callable('smarty_function_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/function.cycle.php';
        }
        if (!is_callable('smarty_function_label')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.label.php';
        }
        if (!is_callable('smarty_function_input')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.error.php';
        }
        if (!is_callable('smarty_function_desc')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.desc.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.submit.php';
        }
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>

<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'input_settings'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'input_settings'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <table class="ow_table_1 ow_form">
        <tr class="ow_tr_first">
            <th class="ow_name ow_txtleft" colspan="3">
                <span class="ow_section_icon ow_ic_file"><?php 
            echo smarty_function_text(array('key' => 'admin+user_input_settings_user_content'), $_smarty_tpl);
            ?>
</span>
            </th>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "user_input", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label" style="width: 30%;"><?php 
            echo smarty_function_label(array('name' => 'user_custom_html'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'user_custom_html'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'user_custom_html'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'user_custom_html'), $_smarty_tpl);
            ?>
</td>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "user_input", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
 ow_tr_last">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'user_rich_media'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'user_rich_media'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'user_rich_media'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'user_rich_media'), $_smarty_tpl);
            ?>
</td>
        </tr>
        <tr class="ow_tr_delimiter"><td></td></tr>
        <tr class="ow_tr_first">
            <th class="ow_name ow_txtleft" colspan="3">
                <span class="ow_section_icon ow_ic_comment"><?php 
            echo smarty_function_text(array('key' => 'admin+user_input_settings_comments'), $_smarty_tpl);
            ?>
</span>
            </th>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "comments", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
 ow_tr_last">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'comments_rich_media'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'comments_rich_media'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'comments_rich_media'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'comments_rich_media'), $_smarty_tpl);
            ?>
</td>
        </tr>
        <tr class="ow_tr_delimiter"><td></td></tr>
        <tr class="ow_tr_first">
            <th class="ow_name ow_txtleft" colspan="3">
                <span class="ow_section_icon ow_ic_picture"><?php 
            echo smarty_function_text(array('key' => 'admin+user_input_settings_rich_media'), $_smarty_tpl);
            ?>
</span>
            </th>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "rm", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'allow_photo_upload'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'allow_photo_upload'), $_smarty_tpl);
            ?>
<br /><?php 
            echo smarty_function_error(array('name' => 'allow_photo_upload'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"></td>
        </tr>
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "rm", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'max_upload_size'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'max_upload_size', 'style' => "width:30px;"), $_smarty_tpl);
            ?>
 MB  <span class="ow_small"><?php 
            echo smarty_function_text(array('key' => 'base+max_upload_filesize', 'value' => $_smarty_tpl->tpl_vars['maxUploadMaxFilesize']->value), $_smarty_tpl);
            ?>
</span><br /><?php 
            echo smarty_function_error(array('name' => 'max_upload_size'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"></td>
        </tr>
        <tr class=" ow_tr_last <?php 
            echo smarty_function_cycle(array('name' => "rm", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'resource_list'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'resource_list'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'resource_list'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'resource_list'), $_smarty_tpl);
            ?>
</td>
        </tr>
        <tr class="ow_tr_delimiter"><td></td></tr>
        <tr class="ow_tr_first">
            <th class="ow_name ow_txtleft" colspan="3">
                <span class="ow_section_icon ow_ic_picture"><?php 
            echo smarty_function_text(array('key' => 'admin+user_input_settings_attachments'), $_smarty_tpl);
            ?>
</span>
            </th>
        </tr>        
        <tr class="<?php 
            echo smarty_function_cycle(array('name' => "rm", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'attch_max_upload_size'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'attch_max_upload_size', 'style' => "width:30px;"), $_smarty_tpl);
            ?>
 MB  <span class="ow_small"><?php 
            echo smarty_function_text(array('key' => 'base+max_upload_filesize', 'value' => $_smarty_tpl->tpl_vars['maxUploadMaxFilesize']->value), $_smarty_tpl);
            ?>
</span><br /><?php 
            echo smarty_function_error(array('name' => 'attch_max_upload_size'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"></td>
        </tr>
        <tr class=" ow_tr_last <?php 
            echo smarty_function_cycle(array('name' => "rm", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl);
            ?>
">
            <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'attch_ext_list'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'attch_ext_list'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'attch_ext_list'), $_smarty_tpl);
            ?>
</td>
            <td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'attch_ext_list'), $_smarty_tpl);
            ?>
</td>
        </tr>
    </table>
    <div class="clearfix ow_stdmargin"><div class="ow_right"><?php 
            echo smarty_function_submit(array('name' => 'save', 'class' => 'ow_ic_save ow_positive'), $_smarty_tpl);
            ?>
</div></div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'input_settings'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
    function content_561f478adbbc49_09171227($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cycle')) {
            include 'C:\\xampp\\htdocs\\mangwale\\tools\\smarty\\plugins\\function.cycle.php';
        }
        ?>

<?php 
        if (isset($_smarty_tpl->tpl_vars['tab_modules_list']->value) && !empty($_smarty_tpl->tpl_vars['tab_modules_list']->value)) {
            ?>
	<div class="row row-margin-bottom">
		<div class="col-lg-12">
			<ul class="nav nav-pills">
				<?php 
            if (count($_smarty_tpl->tpl_vars['tab_modules_list']->value['not_installed'])) {
                ?>
					<li class="active">
						<a href="#tab_modules_list_not_installed" data-toggle="tab">
							<?php 
                echo smartyTranslate(array('s' => 'Not Installed'), $_smarty_tpl);
                ?>

						</a>
					</li>
				<?php 
            }
            ?>
				<?php 
            if (count($_smarty_tpl->tpl_vars['tab_modules_list']->value['installed'])) {
                ?>
					<li <?php 
                if (count($_smarty_tpl->tpl_vars['tab_modules_list']->value['not_installed']) == 0) {
                    ?>
class="active"<?php 
                }
                ?>
>
						<a href="#tab_modules_list_installed" data-toggle="tab">
							<?php 
                echo smartyTranslate(array('s' => 'Installed'), $_smarty_tpl);
                ?>

						</a>
					</li>
				<?php 
            }
            ?>
			</ul>
		</div>
	</div>
	<div id="modules_list_container_content" class="tab-content modal-content-overflow">
		<?php 
            if (count($_smarty_tpl->tpl_vars['tab_modules_list']->value['not_installed'])) {
                ?>
		<div class="tab-pane active" id="tab_modules_list_not_installed">
			<table id="tab_modules_list_not_installed" class="table">
				<?php 
                $_smarty_tpl->tpl_vars['module'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['module']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['tab_modules_list']->value['not_installed'];
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['module']->key => $_smarty_tpl->tpl_vars['module']->value) {
                    $_smarty_tpl->tpl_vars['module']->_loop = true;
                    ?>
					<?php 
                    ob_start();
                    echo smarty_function_cycle(array('values' => ",rowalt"), $_smarty_tpl);
                    $_tmp4 = ob_get_clean();
                    echo $_smarty_tpl->getSubTemplate('controllers/modules/tab_module_line.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('class_row' => $_tmp4), 0);
                    ?>

				<?php 
                }
                ?>
			</table>
		</div>
		<?php 
            }
            ?>
		<?php 
            if (count($_smarty_tpl->tpl_vars['tab_modules_list']->value['installed'])) {
                ?>
		<div class="tab-pane <?php 
                if (count($_smarty_tpl->tpl_vars['tab_modules_list']->value['not_installed']) == 0) {
                    ?>
active<?php 
                }
                ?>
" id="tab_modules_list_installed">
			<table id="tab_modules_list_installed" class="table">
				<?php 
                $_smarty_tpl->tpl_vars['module'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['module']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['tab_modules_list']->value['installed'];
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['module']->key => $_smarty_tpl->tpl_vars['module']->value) {
                    $_smarty_tpl->tpl_vars['module']->_loop = true;
                    ?>
					<?php 
                    ob_start();
                    echo smarty_function_cycle(array('values' => ",rowalt"), $_smarty_tpl);
                    $_tmp5 = ob_get_clean();
                    echo $_smarty_tpl->getSubTemplate('controllers/modules/tab_module_line.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('class_row' => $_tmp5), 0);
                    ?>

				<?php 
                }
                ?>
			</table>
		</div>
		<?php 
            }
            ?>
	</div>
<?php 
        }
        ?>
<div class="alert alert-addons row-margin-top">
	<a href="http://addons.prestashop.com/?utm_source=back-office&amp;utm_medium=dispatch&amp;utm_campaign=back-office-<?php 
        echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');
        ?>
&amp;utm_content=<?php 
        if ($_smarty_tpl->tpl_vars['host_mode']->value) {
            ?>
cloud<?php 
        } else {
            ?>
download<?php 
        }
        ?>
" onclick="return !window.open(this.href);"><?php 
        echo smartyTranslate(array('s' => 'More modules on addons.prestashop.com'), $_smarty_tpl);
        ?>
</a>
</div>
<?php 
    }
            $this->_sections['i']['total'] = 0;
        }
        if ($this->_sections['i']['show']) {
            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1; $this->_sections['i']['iteration'] <= $this->_sections['i']['total']; $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++) {
                $this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
                $this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
                $this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
                $this->_sections['i']['first'] = $this->_sections['i']['iteration'] == 1;
                $this->_sections['i']['last'] = $this->_sections['i']['iteration'] == $this->_sections['i']['total'];
                ?>
<table id="field_<?php 
                echo $this->_tpl_vars['fields'][$this->_sections['i']['index']]['id'];
                ?>
" width="100%" class="grid gridsort">
<tr class="<?php 
                echo smarty_function_cycle(array('values' => "row0,row1"), $this);
                ?>
">
<td width="100"><a href="javascript:geteditfieldform(<?php 
                echo $this->_tpl_vars['fields'][$this->_sections['i']['index']]['id'];
                ?>
)" title="Редактировать"><?php 
                echo $this->_tpl_vars['fields'][$this->_sections['i']['index']]['field'];
                ?>
</a></td>
<td><?php 
                echo $this->_tpl_vars['fields'][$this->_sections['i']['index']]['name'];
                ?>
</td>
<td width="200"><?php 
                echo $this->_tpl_vars['fields'][$this->_sections['i']['index']]['type'];
                        </td>
                        <td colspan="2"></td>
                    </tr>
                    <?php 
                    }
                }
                ?>
                <?php 
            }
            ?>
                <!-- Classic products -->
                <?php 
            if ($_smarty_tpl->tpl_vars['product']->value['product_quantity'] > $_smarty_tpl->tpl_vars['product']->value['customizationQuantityTotal']) {
                ?>
                    <tr style='background-color: <?php 
                echo smarty_function_cycle(array('values' => "#eeeeee,#d0d0d0"), $_smarty_tpl);
                ?>
'>
                        <?php 
                if ($_smarty_tpl->getVariable('return_allowed')->value) {
                    ?>
<td class="order_cb"><input type="checkbox" id="cb_<?php 
                    echo intval($_smarty_tpl->tpl_vars['product']->value['id_order_detail']);
                    ?>
" name="ids_order_detail[<?php 
                    echo intval($_smarty_tpl->tpl_vars['product']->value['id_order_detail']);
                    ?>
]" value="<?php 
                    echo intval($_smarty_tpl->tpl_vars['product']->value['id_order_detail']);
                    ?>
" /></td><?php 
            ?>
                        Thank you, field display settings were updated successfully.
                      <?php 
        }
        ?>
                    </td>
                </tr>
                <?php 
    }
    ?>
                <?php 
    if (count($_from = (array) $this->_tpl_vars['fields'])) {
        foreach ($_from as $this->_tpl_vars['field_name'] => $this->_tpl_vars['field_title']) {
            ?>
                <?php 
            echo smarty_function_cycle(array('values' => $this->_tpl_vars['cycle'], 'assign' => 'row_color'), $this);
            ?>

                <tr>
                    <td bgcolor="<?php 
            echo $this->_tpl_vars['cell_color'];
            ?>
" align="center" class="default_white" width="150">
                        <?php 
            echo $this->_tpl_vars['field_title'];
            ?>
 Field:
                    </td>
                    <td bgcolor="<?php 
            echo $this->_tpl_vars['row_color'];
            ?>
    $this->_sections['includes']['total'] = 0;
}
if ($this->_sections['includes']['show']) {
    for ($this->_sections['includes']['index'] = $this->_sections['includes']['start'], $this->_sections['includes']['iteration'] = 1; $this->_sections['includes']['iteration'] <= $this->_sections['includes']['total']; $this->_sections['includes']['index'] += $this->_sections['includes']['step'], $this->_sections['includes']['iteration']++) {
        $this->_sections['includes']['rownum'] = $this->_sections['includes']['iteration'];
        $this->_sections['includes']['index_prev'] = $this->_sections['includes']['index'] - $this->_sections['includes']['step'];
        $this->_sections['includes']['index_next'] = $this->_sections['includes']['index'] + $this->_sections['includes']['step'];
        $this->_sections['includes']['first'] = $this->_sections['includes']['iteration'] == 1;
        $this->_sections['includes']['last'] = $this->_sections['includes']['iteration'] == $this->_sections['includes']['total'];
        ?>
<a name="<?php 
        echo $this->_tpl_vars['includes'][$this->_sections['includes']['index']]['include_file'];
        ?>
"><!-- --></a>
<div style="background='<?php 
        echo smarty_function_cycle(array('values' => "#ffffff,#eeeeee"), $this);
        ?>
'">
<h4>
  <img src="<?php 
        echo $this->_tpl_vars['subdir'];
        ?>
media/images/file.png" border="0" /> <strong class="Property"><?php 
        echo $this->_tpl_vars['includes'][$this->_sections['includes']['index']]['include_value'];
        ?>
</strong> (line <span class="linenumber"><?php 
        if ($this->_tpl_vars['includes'][$this->_sections['includes']['index']]['slink']) {
            echo $this->_tpl_vars['includes'][$this->_sections['includes']['index']]['slink'];
        } else {
            echo $this->_tpl_vars['includes'][$this->_sections['includes']['index']]['line_number'];
        }
Ejemplo n.º 20
0
                                foreach ($_from as $this->_tpl_vars['gkey'] => $this->_tpl_vars['gitem']) {
                                    ?>
					<?php 
                                    echo $this->_tpl_vars['gitem']['label'];
                                    ?>

					<?php 
                                    echo $this->_tpl_vars['gitem']['html'];
                                    if ($this->_tpl_vars['gitem']['required']) {
                                        ?>
<span class="required">*</span><?php 
                                    }
                                    ?>
					<?php 
                                    if ($this->_tpl_vars['element']['separator']) {
                                        echo smarty_function_cycle(array('values' => $this->_tpl_vars['element']['separator']), $this);
                                    }
                                    ?>
				<?php 
                                }
                            }
                            unset($_from);
                            ?>
			<?php 
                        } else {
                            ?>
				<?php 
                            echo $this->_tpl_vars['element']['html'];
                            ?>

			<?php 
    function content_5204bde19b5300_71661654($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cycle')) {
            include '/homepages/26/d480780604/htdocs/lib/smarty/plugins/function.cycle.php';
        }
        if (!is_callable('smarty_cms_modifier_cms_date_format')) {
            include '/homepages/26/d480780604/htdocs/plugins/modifier.cms_date_format.php';
        }
        if (!is_callable('smarty_modifier_replace')) {
            include '/homepages/26/d480780604/htdocs/lib/smarty/plugins/modifier.replace.php';
        }
        if (!isset($_smarty_tpl->tpl_vars['noform']->value)) {
            ?>

<script type="text/javascript">
var refresh_url = '<?php 
            echo $_smarty_tpl->tpl_vars['refresh_url']->value;
            ?>
'+'&showtemplate=false';
refresh_url = refresh_url.replace(/amp;/g,'');
// <![CDATA[
  function enable_action_buttons() {
    var files = $("#filesarea input[type='checkbox'].fileselect").filter(':checked').length;
    var dirs = $("#filesarea input[type='checkbox'].dir").filter(':checked:').length;
    var arch = $("#filesarea input[type='checkbox'].archive").filter(':checked:').length;
    var imgs = $("#filesarea input[type='checkbox'].image").filter(':checked:').length;
    $('.filebtn').attr('disabled','disabled');
    if( jQuery.ui ) $('.filebtn').button( "option", "disabled", true ).addClass('disabled');
    if( files == 0 &&  dirs == 0 ) {
      // nothing selected, enable anything with select_none
      $('#btn_newdir').removeAttr('disabled').removeClass('disabled');
      if( jQuery.ui ) $('#btn_newdir').button( "option", "disabled", false );
    }
    else if( files == 1 ) {
      // 1 selected, enable anything with select_one
      $('#btn_rename').removeAttr('disabled').removeClass('disabled');
      if( jQuery.ui ) $('#btn_rename').button( "option", "disabled", false );

      $('#btn_move').removeAttr('disabled').removeClass('disabled');
      if( jQuery.ui ) $('#btn_move').button( "option", "disabled", false );
   
      $('#btn_delete').removeAttr('disabled').removeClass('disabled');
      if( jQuery.ui ) $('#btn_delete').button( "option", "disabled", false );
   
      if( dirs == 0 ) {
        // one selected, it's not a directory
        $('#btn_copy').removeAttr('disabled').removeClass('disabled');
        if( jQuery.ui ) $('#btn_copy').button( "option", "disabled", false );
      }
      if( arch == 1 ) {
	// one selected, it's an archive.
        $('#btn_unpack').removeAttr('disabled').removeClass('disabled');
        if( jQuery.ui ) $('#btn_unpack').button( "option", "disabled", false );
      }
      if( imgs == 1 ) {
        $('#btn_thumb').removeAttr('disabled').removeClass('disabled');
        if( jQuery.ui ) $('#btn_thumb').button( "option", "disabled", false );
      }
    }
    else if( files > 1 && dirs == 0 ) {
      // multiple files selected
      $('#btn_delete').removeAttr('disabled').removeClass('disabled');
      if( jQuery.ui ) $('#btn_delete').button( "option", "disabled", false );

      $('#btn_copy').removeAttr('disabled').removeClass('disabled');
      if( jQuery.ui ) $('#btn_copy').button( "option", "disabled", false );

      $('#btn_move').removeAttr('disabled').removeClass('disabled');
      if( jQuery.ui ) $('#btn_move').button( "option", "disabled", false );
    }
    else if( files > 1 && dirs > 0 ) {
      // multiple selected, at least one dir.
      $('#btn_delete').removeAttr('disabled').removeClass('disabled');
      if( jQuery.ui ) $('#btn_delete').button( "option", "disabled", false );

      $('#btn_move').removeAttr('disabled').removeClass('disabled');
      if( jQuery.ui ) $('#btn_move').button( "option", "disabled", false );
    }
  }

  $(document).ready(function(){
    enable_action_buttons(); 
    $('#refresh').unbind('click');
    $('#refresh').live('click',function(){
      // ajaxy reload for the files area.
      $('#filesarea').load(refresh_url);
      return false;
    });

    $(this).live('dropzone_chdir',function(e,data){
      // if change dir via the dropzone, make sure filemanager refreshes.
      location.reload();
    });

    $("#filesarea input[type='checkbox'].fileselect").live('change',function(e){
      // find the parent row
      e.stopPropagation();
      var t = $(this).attr('checked');
      if( t ) {
        $(this).closest('tr').addClass('selected');
      }
      else {
        $(this).closest('tr').removeClass('selected');
      }
      enable_action_buttons();
    });

    $('#tagall').live('change',function(event){
      if( $(this).attr('checked') == 'checked' ) {
        $('#filesarea input:checkbox.fileselect').attr('checked','checked').trigger('change');
      }
      else {
        $('#filesarea input:checkbox.fileselect').removeAttr('checked').trigger('change');
      }
    });

    $('td.clickable').live('click',function(){
      var t = $(this).parent().find(':checkbox:').attr('checked');
      if( t != 'checked' ) {
        $(this).parent().find(':checkbox:').attr('checked','checked').trigger('change');
      }
      else {
        $(this).parent().find(':checkbox:').removeAttr('checked').trigger('change');
      }
    });
  });
// ]]>
</script>

<h3><?php 
            echo $_smarty_tpl->tpl_vars['currentpath']->value;
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['path']->value;
            ?>
</h3>

<div>
  <?php 
            echo $_smarty_tpl->tpl_vars['formstart']->value;
            ?>


<div>
  <fieldset>
    <input type="submit" id="btn_newdir" name="<?php 
            echo $_smarty_tpl->tpl_vars['actionid']->value;
            ?>
fileactionnewdir" value="<?php 
            echo $_smarty_tpl->tpl_vars['mod']->value->Lang('newdir');
            ?>
" class="filebtn"/>
    <input type="submit" id="btn_rename" name="<?php 
            echo $_smarty_tpl->tpl_vars['actionid']->value;
            ?>
fileactionrename" value="<?php 
            echo $_smarty_tpl->tpl_vars['mod']->value->Lang('rename');
            ?>
" class="filebtn"/>
    <input type="submit" id="btn_delete" name="<?php 
            echo $_smarty_tpl->tpl_vars['actionid']->value;
            ?>
fileactiondelete" value="<?php 
            echo $_smarty_tpl->tpl_vars['mod']->value->Lang('delete');
            ?>
" class="filebtn"/> 
    <input type="submit" id="btn_move" name="<?php 
            echo $_smarty_tpl->tpl_vars['actionid']->value;
            ?>
fileactionmove" value="<?php 
            echo $_smarty_tpl->tpl_vars['mod']->value->Lang('move');
            ?>
" class="filebtn"/> 
    <input type="submit" id="btn_copy" name="<?php 
            echo $_smarty_tpl->tpl_vars['actionid']->value;
            ?>
fileactioncopy" value="<?php 
            echo $_smarty_tpl->tpl_vars['mod']->value->Lang('copy');
            ?>
" class="filebtn"/> 
    <input type="submit" id="btn_unpack" name="<?php 
            echo $_smarty_tpl->tpl_vars['actionid']->value;
            ?>
fileactionunpack" value="<?php 
            echo $_smarty_tpl->tpl_vars['mod']->value->Lang('unpack');
            ?>
" class="filebtn" onclick="return confirm('<?php 
            echo $_smarty_tpl->tpl_vars['confirm_unpack']->value;
            ?>
');"/>
    <input type="submit" id="btn_thumb" name="<?php 
            echo $_smarty_tpl->tpl_vars['actionid']->value;
            ?>
fileactionthumb" value="<?php 
            echo $_smarty_tpl->tpl_vars['mod']->value->Lang('thumbnail');
            ?>
" class="filebtn"/>
  </fieldset>

</div>
<?php 
            echo $_smarty_tpl->tpl_vars['hiddenpath']->value;
            ?>

<?php 
        }
        ?>

  <div id="filesarea">  
  <table width="100%" class="pagetable" cellspacing="0">
  <thead>
  <tr>
    <th class="pageicon">&nbsp;</th>
    <th><?php 
        echo $_smarty_tpl->tpl_vars['filenametext']->value;
        ?>
</th>

    <th class="pageicon"><?php 
        echo $_smarty_tpl->tpl_vars['fileinfotext']->value;
        ?>
</th>
    <th class="pageicon"><?php 
        echo $_smarty_tpl->tpl_vars['fileownertext']->value;
        ?>
</th>
    <th class="pageicon"><?php 
        echo $_smarty_tpl->tpl_vars['filepermstext']->value;
        ?>
</th>
    <th class="pageicon" style="text-align:right;"><?php 
        echo $_smarty_tpl->tpl_vars['filesizetext']->value;
        ?>
</th>
    <th class="pageicon">&nbsp;</th>
    <th class="pageicon"><?php 
        echo $_smarty_tpl->tpl_vars['filedatetext']->value;
        ?>
</th>
    
    <th class="pageicon">
     <input type="checkbox" name="tagall" value="tagall" id="tagall"/>
    </th>
  </tr>
  </thead>
  <tbody>
  <?php 
        $_smarty_tpl->tpl_vars['file'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['file']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['files']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['file']->key => $_smarty_tpl->tpl_vars['file']->value) {
            $_smarty_tpl->tpl_vars['file']->_loop = true;
            ?>
	<?php 
            echo smarty_function_cycle(array('values' => "row1,row2", 'assign' => 'rowclass'), $_smarty_tpl);
            ?>

  <tr class="<?php 
            echo $_smarty_tpl->tpl_vars['rowclass']->value;
            ?>
">    
    <td valign="middle"><?php 
            if (isset($_smarty_tpl->tpl_vars['file']->value->thumbnail) && $_smarty_tpl->tpl_vars['file']->value->thumbnail != '') {
                echo $_smarty_tpl->tpl_vars['file']->value->thumbnail;
            } else {
                echo $_smarty_tpl->tpl_vars['file']->value->iconlink;
            }
            ?>
</td>
    <td class="clickable" valign="middle"><?php 
            echo $_smarty_tpl->tpl_vars['file']->value->txtlink;
            ?>
</td>

    <td class="clickable" style="padding-right:8px;" valign="middle"><?php 
            echo $_smarty_tpl->tpl_vars['file']->value->fileinfo;
            ?>
</td>
    <td class="clickable" style="padding-right:8px;" valign="middle"><?php 
            if (isset($_smarty_tpl->tpl_vars['file']->value->fileowner)) {
                echo $_smarty_tpl->tpl_vars['file']->value->fileowner;
            } else {
                ?>
&nbsp;<?php 
            }
            ?>
</td>
    <td class="clickable" style="padding-right:8px;" valign="middle"><?php 
            echo $_smarty_tpl->tpl_vars['file']->value->filepermissions;
            ?>
</td>
    <td class="clickable" style="padding-right:2px;text-align:right;" valign="middle"><?php 
            echo $_smarty_tpl->tpl_vars['file']->value->filesize;
            ?>
</td>
    <td class="clickable" style="padding-right:8px;" valign="middle"><?php 
            if (isset($_smarty_tpl->tpl_vars['file']->value->filesizeunit)) {
                echo $_smarty_tpl->tpl_vars['file']->value->filesizeunit;
            } else {
                ?>
&nbsp;<?php 
            }
            ?>
</td>
    <td class="clickable" style="padding-right:8px;" valign="middle"><?php 
            echo smarty_modifier_replace(smarty_modifier_replace(smarty_cms_modifier_cms_date_format($_smarty_tpl->tpl_vars['file']->value->filedate), " ", "&nbsp;"), "-", "&minus;");
            ?>
</td>
    <td>
      <?php 
            if (!isset($_smarty_tpl->tpl_vars['file']->value->noCheckbox)) {
                ?>
      <input type="checkbox" name="<?php 
                echo $_smarty_tpl->tpl_vars['actionid']->value;
                ?>
selall[]" value="<?php 
                echo $_smarty_tpl->tpl_vars['file']->value->urlname;
                ?>
" class="fileselect <?php 
                echo $_smarty_tpl->tpl_vars['file']->value->type;
                ?>
" <?php 
                if (isset($_smarty_tpl->tpl_vars['file']->value->checked)) {
                    ?>
checked="checked"<?php 
                }
                ?>
/>
      <?php 
            }
            ?>
    </td>
  
  </tr>
  <?php 
        }
        ?>
  </tbody>
  <tfoot>
  <tr>
    <td>&nbsp;</td>
    <td colspan="7"><?php 
        echo $_smarty_tpl->tpl_vars['countstext']->value;
        ?>
</td>
  </tr>
  </tfoot>
  </table>
  </div>

<?php 
        if (!isset($_smarty_tpl->tpl_vars['noform']->value)) {
            ?>
  
  <?php 
            echo $_smarty_tpl->tpl_vars['formend']->value;
            ?>

</div>
<?php 
        }
        ?>
  
<?php 
    }
    function content_54929852564993_25531542($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php';
        }
        if (!is_callable('smarty_function_label')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.label.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_desc')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.desc.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        ?>
<div class="ow_stdmargin">
<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'maintenance'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'maintenance'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

<table class="ow_table_1 ow_form">
    <tr class="ow_tr_first">
        <th class="ow_name ow_txtleft" colspan="3">
            <span class="ow_section_icon ow_ic_gear_wheel"><?php 
            echo smarty_function_text(array('key' => "admin+maintenance_section_label"), $_smarty_tpl);
            ?>
</span>
        </th>
    </tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('values' => 'ow_alt2,ow_alt1'), $_smarty_tpl);
            ?>
">
		<td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'maintenance_enable'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'maintenance_enable'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'maintenance_enable'), $_smarty_tpl);
            ?>
</td>
	</tr>
	<tr class="<?php 
            echo smarty_function_cycle(array('values' => 'ow_alt2,ow_alt1'), $_smarty_tpl);
            ?>
 ow_tr_last">
		<td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'maintenance_text'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'maintenance_text'), $_smarty_tpl);
            ?>
</td>
		<td class="ow_desc"><?php 
            echo smarty_function_desc(array('name' => 'maintenance_text'), $_smarty_tpl);
            ?>
</td>
	</tr>
</table>
<div class="clearfix"><div class="ow_right"><?php 
            echo smarty_function_submit(array('name' => 'save', 'class' => 'ow_button ow_ic_save ow_positive'), $_smarty_tpl);
            ?>
</div></div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'maintenance'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

</div><?php 
    }
    if ($this->_sections['row']['total'] == 0) {
        $this->_sections['row']['show'] = false;
    }
} else {
    $this->_sections['row']['total'] = 0;
}
if ($this->_sections['row']['show']) {
    for ($this->_sections['row']['index'] = $this->_sections['row']['start'], $this->_sections['row']['iteration'] = 1; $this->_sections['row']['iteration'] <= $this->_sections['row']['total']; $this->_sections['row']['index'] += $this->_sections['row']['step'], $this->_sections['row']['iteration']++) {
        $this->_sections['row']['rownum'] = $this->_sections['row']['iteration'];
        $this->_sections['row']['index_prev'] = $this->_sections['row']['index'] - $this->_sections['row']['step'];
        $this->_sections['row']['index_next'] = $this->_sections['row']['index'] + $this->_sections['row']['step'];
        $this->_sections['row']['first'] = $this->_sections['row']['iteration'] == 1;
        $this->_sections['row']['last'] = $this->_sections['row']['iteration'] == $this->_sections['row']['total'];
        ?>
   <tr bgcolor="<?php 
        echo smarty_function_cycle(array('values' => "#f4f4f4,#e8e8e8"), $this);
        ?>
" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href='?com=unidadestur&do=view&utid=<?php 
        echo $this->_tpl_vars['ut'][$this->_sections['row']['index']]['utid'];
        ?>
'">
      <td><?php 
        echo $this->_sections['row']['iteration'];
        ?>
</td>
     <!--<td><?php 
        echo $this->_tpl_vars['m'][$this->_sections['row']['index']]['id'];
        ?>
</td> -->
      <td><?php 
        echo $this->_tpl_vars['ut'][$this->_sections['row']['index']]['nombre'];
           <th style="text-align:center;" rowspan="2"><input type="checkbox" onclick="$('#list_table input:checkbox').attr('checked', this.checked);" ></th>
        </tr>
        <tr bgcolor="#FF9933">
           <th>情報表示場所フォルダ</th>
           <th>表示終了日時</th>
        </tr>
        <?php 
    $_from = $this->_tpl_vars['infoStatusList'];
    if (!is_array($_from) && !is_object($_from)) {
        settype($_from, 'array');
    }
    if (count($_from)) {
        foreach ($_from as $this->_tpl_vars['val']) {
            ?>
            <?php 
            echo smarty_function_cycle(array('values' => "#CCCCCC,", 'assign' => 'tr_tag'), $this);
            ?>

            <?php 
            if ($this->_tpl_vars['val']['not_display_flag']) {
                ?>
                <?php 
                $this->assign('tr_tag', "#FF3333");
                ?>
            <?php 
            }
            ?>
            <?php 
            if ($this->_tpl_vars['val']['is_copy']) {
                ?>
                <?php 
    }
}
unset($_from);
echo '</tr>';
echo smarty_function_counter(array('start' => 0, 'skip' => 1, 'print' => false), $this);
echo '';
$_from = $this->_tpl_vars['rows'];
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
if (count($_from)) {
    foreach ($_from as $this->_tpl_vars['row']) {
        echo '<tr id=\'rowid';
        echo $this->_tpl_vars['row']['contact_id'];
        echo '\' class="';
        echo smarty_function_cycle(array('values' => "odd-row,even-row"), $this);
        echo '">';
        $this->assign('cbName', $this->_tpl_vars['row']['checkbox']);
        echo '<td>';
        echo $this->_tpl_vars['form'][$this->_tpl_vars['cbName']]['html'];
        echo '</td>';
        if ($this->_tpl_vars['context'] == 'smog') {
            echo '';
            if ($this->_tpl_vars['row']['status'] == 'Pending') {
                echo '<td class="status-pending"}>';
            } elseif ($this->_tpl_vars['row']['status'] == 'Removed') {
                echo '<td class="status-removed">';
            } else {
                echo '<td>';
            }
            echo '';
    function content_55b27435ea9f66_79945606($_smarty_tpl)
    {
        if (!is_callable('smarty_block_script')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.script.php';
        }
        if (!is_callable('smarty_block_style')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.style.php';
        }
        if (!is_callable('smarty_function_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/function.cycle.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php';
        }
        if (!is_callable('smarty_function_user_link')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.user_link.php';
        }
        if (!is_callable('smarty_function_age')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.age.php';
        }
        if (!is_callable('smarty_function_format_date')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.format_date.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.block_decorator.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('script', array());
        $_block_repeat = true;
        echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

	<?php 
            $_smarty_tpl->tpl_vars['btn'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['btn']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['buttons']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['btn']->key => $_smarty_tpl->tpl_vars['btn']->value) {
                $_smarty_tpl->tpl_vars['btn']->_loop = true;
                ?>
	   <?php 
                if (!empty($_smarty_tpl->tpl_vars['btn']->value['js'])) {
                    ?>
	       <?php 
                    echo $_smarty_tpl->tpl_vars['btn']->value['js'];
                    ?>

	   <?php 
                }
                ?>
	<?php 
            }
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_script(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('style', array());
        $_block_repeat = true;
        echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


    .user_list_thumb {
        width: 55px;
        height: 45px;
    }
    
    .user_list_thumb img {
        width: 45px;
        height: 45px;
    }
    
    #user-list-form .ow_lbutton {
        cursor: default;
    }

<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


<?php 
        if ($_smarty_tpl->tpl_vars['users']->value) {
            ?>

<?php 
            if (isset($_smarty_tpl->tpl_vars['search']->value)) {
                ?>
    <div class="ow_anno ow_std_margin ow_nocontent"><?php 
                echo smarty_function_text(array('key' => "admin+user_search_result", 'for' => $_smarty_tpl->tpl_vars['search']->value), $_smarty_tpl);
                ?>
</div>
<?php 
            }
            ?>

<div class="clearfix ow_smallmargin">
    <div class="ow_left"><?php 
            echo $_smarty_tpl->tpl_vars['paging']->value;
            ?>
</div>
    <?php 
            if ($_smarty_tpl->tpl_vars['total']->value) {
                ?>
<div class="ow_right"><?php 
                echo smarty_function_text(array('key' => 'admin+found_users', 'count' => $_smarty_tpl->tpl_vars['total']->value), $_smarty_tpl);
                ?>
</div><?php 
            }
            ?>
</div>

<form id="user-list-form" method="post" action="<?php 
            if ($_smarty_tpl->tpl_vars['action']->value) {
                echo $_smarty_tpl->tpl_vars['action']->value;
            }
            ?>
">
<table class="ow_table_2">
<tr class="ow_tr_first">
    <th width="1"></td>
    <th><?php 
            echo smarty_function_text(array('key' => 'admin+user'), $_smarty_tpl);
            ?>
</th>
    <th><?php 
            echo smarty_function_text(array('key' => 'admin+user_status'), $_smarty_tpl);
            ?>
</th>
    <th><?php 
            echo smarty_function_text(array('key' => 'admin+joined'), $_smarty_tpl);
            ?>
</th>
</tr>
<?php 
            $_smarty_tpl->tpl_vars['user'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['user']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['users']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['user']->key => $_smarty_tpl->tpl_vars['user']->value) {
                $_smarty_tpl->tpl_vars['user']->_loop = true;
                ?>
    <?php 
                $_smarty_tpl->_capture_stack[0][] = array('default', 'userId', null);
                ob_start();
                echo $_smarty_tpl->tpl_vars['user']->value->id;
                list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
                if (!empty($_capture_buffer)) {
                    if (isset($_capture_assign)) {
                        $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                    }
                    if (isset($_capture_append)) {
                        $_smarty_tpl->append($_capture_append, ob_get_contents());
                    }
                    Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
                } else {
                    $_smarty_tpl->capture_error();
                }
                ?>
    <?php 
                $_smarty_tpl->_capture_stack[0][] = array('default', 'username', null);
                ob_start();
                echo $_smarty_tpl->tpl_vars['userNameList']->value[$_smarty_tpl->tpl_vars['userId']->value];
                list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
                if (!empty($_capture_buffer)) {
                    if (isset($_capture_assign)) {
                        $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                    }
                    if (isset($_capture_append)) {
                        $_smarty_tpl->append($_capture_append, ob_get_contents());
                    }
                    Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
                } else {
                    $_smarty_tpl->capture_error();
                }
                ?>
    <tr class="<?php 
                echo smarty_function_cycle(array('values' => 'ow_alt1,ow_alt2'), $_smarty_tpl);
                ?>
">
        <td><?php 
                if (!in_array($_smarty_tpl->tpl_vars['user']->value->id, $_smarty_tpl->tpl_vars['adminList']->value)) {
                    ?>
<input type="checkbox" value="<?php 
                    echo $_smarty_tpl->tpl_vars['user']->value->id;
                    ?>
" name="users[<?php 
                    echo $_smarty_tpl->tpl_vars['user']->value->id;
                    ?>
]" /><?php 
                }
                ?>
</td>
        <td>
            <div class="clearfix">
                <div class="ow_left ow_txtleft user_list_thumb"><?php 
                echo smarty_function_decorator(array('name' => 'avatar_item', 'data' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['userId']->value]), $_smarty_tpl);
                ?>
</div>
                <div class="ow_left ow_txtleft">
                    <?php 
                echo smarty_function_user_link(array('name' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['userId']->value]['title'], 'username' => $_smarty_tpl->tpl_vars['userNameList']->value[$_smarty_tpl->tpl_vars['userId']->value]), $_smarty_tpl);
                ?>
<br />
                    <span class="ow_small">
                    <?php 
                if (!empty($_smarty_tpl->tpl_vars['sexList']->value[$_smarty_tpl->tpl_vars['userId']->value])) {
                    ?>
                        <?php 
                    echo $_smarty_tpl->tpl_vars['sexList']->value[$_smarty_tpl->tpl_vars['userId']->value];
                    ?>

                    <?php 
                }
                ?>
                    <?php 
                if (!empty($_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['userId']->value]['birthdate'])) {
                    ?>
                        <?php 
                    echo smarty_function_age(array('dateTime' => $_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['userId']->value]['birthdate']), $_smarty_tpl);
                    ?>

                    <?php 
                }
                ?>
                    <?php 
                if (!empty($_smarty_tpl->tpl_vars['sexList']->value[$_smarty_tpl->tpl_vars['userId']->value]) || !empty($_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['userId']->value]['birthdate'])) {
                    ?>
<br /><?php 
                }
                ?>
                    <?php 
                if (!empty($_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['userId']->value]['email'])) {
                    ?>
                        <span class="ow_remark"><?php 
                    echo $_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['userId']->value]['email'];
                    ?>
</span>
                    <?php 
                }
                ?>
                    </span>
                    <?php 
                if ($_smarty_tpl->tpl_vars['onlineStatus']->value) {
                    ?>
                    <div class="ow_small">
                        <?php 
                    if (!empty($_smarty_tpl->tpl_vars['onlineStatus']->value[$_smarty_tpl->tpl_vars['userId']->value]) && $_smarty_tpl->tpl_vars['onlineStatus']->value[$_smarty_tpl->tpl_vars['userId']->value]) {
                        ?>
                            <span class="ow_lbutton ow_green"><?php 
                        echo smarty_function_text(array('key' => 'base+activity_online'), $_smarty_tpl);
                        ?>
</span>
                        <?php 
                    } elseif ($_smarty_tpl->tpl_vars['user']->value->activityStamp) {
                        ?>
                            <?php 
                        echo smarty_function_text(array('key' => 'base+activity_stamp'), $_smarty_tpl);
                        ?>
 <span class="ow_remark"><?php 
                        echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['user']->value->activityStamp), $_smarty_tpl);
                        ?>
</span>
                        <?php 
                    }
                    ?>
                    </div>
                    <?php 
                }
                ?>
                </div>
            </div>
        </td>
        <td>
            <?php 
                if ($_smarty_tpl->tpl_vars['suspendedList']->value[$_smarty_tpl->tpl_vars['userId']->value]) {
                    ?>
<div><span class="ow_lbutton ow_red"><?php 
                    echo smarty_function_text(array('key' => 'admin+user_status_suspended'), $_smarty_tpl);
                    ?>
</span></div><?php 
                }
                ?>
            <?php 
                if ($_smarty_tpl->tpl_vars['unverifiedList']->value[$_smarty_tpl->tpl_vars['userId']->value]) {
                    ?>
<div><span class="ow_lbutton"><?php 
                    echo smarty_function_text(array('key' => 'admin+user_status_unverified'), $_smarty_tpl);
                    ?>
</span></div><?php 
                }
                ?>
            <?php 
                if ($_smarty_tpl->tpl_vars['unapprovedList']->value[$_smarty_tpl->tpl_vars['userId']->value]) {
                    ?>
<div><span class="ow_lbutton"><?php 
                    echo smarty_function_text(array('key' => 'admin+user_status_unapproved'), $_smarty_tpl);
                    ?>
</span></div><?php 
                }
                ?>
        </td>
        <td class="ow_small"><?php 
                if ($_smarty_tpl->tpl_vars['user']->value->joinStamp) {
                    echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['user']->value->joinStamp), $_smarty_tpl);
                }
                ?>
</td>
    </tr>
<?php 
            }
            ?>
<tr class="ow_alt1 ow_tr_last">
     <td><input type="checkbox" id="check-all" /></th>
     <td colspan="3" class="ow_txtleft">
         <?php 
            echo smarty_function_text(array('key' => 'base+check_all'), $_smarty_tpl);
            ?>
 | <?php 
            echo smarty_function_text(array('key' => 'base+with_selected'), $_smarty_tpl);
            ?>

         
         <?php 
            $_smarty_tpl->tpl_vars['btn'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['btn']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['buttons']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['btn']->key => $_smarty_tpl->tpl_vars['btn']->value) {
                $_smarty_tpl->tpl_vars['btn']->_loop = true;
                ?>
            <?php 
                echo smarty_function_decorator(array('name' => 'button_list_item', 'type' => 'submit', 'buttonName' => $_smarty_tpl->tpl_vars['btn']->value['name'], 'label' => $_smarty_tpl->tpl_vars['btn']->value['label'], 'id' => $_smarty_tpl->tpl_vars['btn']->value['id'], 'class' => $_smarty_tpl->tpl_vars['btn']->value['class']), $_smarty_tpl);
                ?>

         <?php 
            }
            ?>
     </td>
</tr>
</table>

<div class="ow_hidden" id="delete-user-confirm">
<div class="ow_stdmargin ow_center">
    <div class="ow_stdmargin">
        <?php 
            echo smarty_function_text(array('key' => "admin+confirm_delete_users"), $_smarty_tpl);
            ?>

    </div>
	
	<?php 
            echo smarty_function_decorator(array('name' => "button", 'type' => "submit", 'id' => "button-confirm-user-delete", 'class' => "ow_ic_delete ow_red", 'langLabel' => "base+delete_user_delete_button"), $_smarty_tpl);
            ?>

</div>
</div>

</form>

<?php 
            echo $_smarty_tpl->tpl_vars['paging']->value;
            ?>


<?php 
        } else {
            ?>
    <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'box', 'addClass' => 'ow_stdmargin clearfix ow_italic ow_center'));
            $_block_repeat = true;
            echo smarty_block_block_decorator(array('name' => 'box', 'addClass' => 'ow_stdmargin clearfix ow_italic ow_center'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

        <?php 
                echo smarty_function_text(array('key' => 'admin+no_users'), $_smarty_tpl);
                ?>

    <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_block_decorator(array('name' => 'box', 'addClass' => 'ow_stdmargin clearfix ow_italic ow_center'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

<?php 
        }
    }
            }
            $_smarty_tpl->tpl_vars['tv']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['tv']->iteration = 0;
            $_smarty_tpl->tpl_vars['tv']->index = -1;
            if ($_smarty_tpl->tpl_vars['tv']->total > 0) {
                foreach ($_from as $_smarty_tpl->tpl_vars['tv']->key => $_smarty_tpl->tpl_vars['tv']->value) {
                    $_smarty_tpl->tpl_vars['tv']->iteration++;
                    $_smarty_tpl->tpl_vars['tv']->index++;
                    $_smarty_tpl->tpl_vars['tv']->first = $_smarty_tpl->tpl_vars['tv']->index === 0;
                    $_smarty_tpl->tpl_vars['tv']->last = $_smarty_tpl->tpl_vars['tv']->iteration === $_smarty_tpl->tpl_vars['tv']->total;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']['tv']['first'] = $_smarty_tpl->tpl_vars['tv']->first;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']['tv']['last'] = $_smarty_tpl->tpl_vars['tv']->last;
                    if ($_smarty_tpl->getVariable('tv')->value->type != "hidden") {
                        ?>
    <div class="x-form-item x-tab-item <?php 
                        echo smarty_function_cycle(array('values' => ",alt"), $_smarty_tpl);
                        ?>
 modx-tv<?php 
                        if ($_smarty_tpl->getVariable('smarty')->value['foreach']['tv']['first']) {
                            ?>
 tv-first<?php 
                        }
                        if ($_smarty_tpl->getVariable('smarty')->value['foreach']['tv']['last']) {
                            ?>
 tv-last<?php 
                        }
                        ?>
" id="tv<?php 
                        echo $_smarty_tpl->getVariable('tv')->value->id;
                        ?>
-tr">
    function content_55574da0bb3348_35565948($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_date_format')) {
            include '/home/matej/webapps/webshop/tools/smarty/plugins/modifier.date_format.php';
        }
        if (!is_callable('smarty_function_math')) {
            include '/home/matej/webapps/webshop/tools/smarty/plugins/function.math.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include '/home/matej/webapps/webshop/tools/smarty/plugins/function.cycle.php';
        }
        echo $_smarty_tpl->getSubTemplate((string) $_smarty_tpl->tpl_vars['tpl_dir']->value . "./errors.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

<?php 
        if (count($_smarty_tpl->tpl_vars['errors']->value) == 0) {
            ?>
	<?php 
            if (!isset($_smarty_tpl->tpl_vars['priceDisplayPrecision']->value)) {
                ?>
		<?php 
                $_smarty_tpl->tpl_vars['priceDisplayPrecision'] = new Smarty_variable(2, null, 0);
                ?>
	<?php 
            }
            ?>
	<?php 
            if (!$_smarty_tpl->tpl_vars['priceDisplay']->value || $_smarty_tpl->tpl_vars['priceDisplay']->value == 2) {
                ?>
		<?php 
                $_smarty_tpl->tpl_vars['productPrice'] = new Smarty_variable($_smarty_tpl->tpl_vars['product']->value->getPrice(true, @constant('NULL'), $_smarty_tpl->tpl_vars['priceDisplayPrecision']->value), null, 0);
                ?>
		<?php 
                $_smarty_tpl->tpl_vars['productPriceWithoutReduction'] = new Smarty_variable($_smarty_tpl->tpl_vars['product']->value->getPriceWithoutReduct(false, @constant('NULL')), null, 0);
                ?>
	<?php 
            } elseif ($_smarty_tpl->tpl_vars['priceDisplay']->value == 1) {
                ?>
		<?php 
                $_smarty_tpl->tpl_vars['productPrice'] = new Smarty_variable($_smarty_tpl->tpl_vars['product']->value->getPrice(false, @constant('NULL'), $_smarty_tpl->tpl_vars['priceDisplayPrecision']->value), null, 0);
                ?>
		<?php 
                $_smarty_tpl->tpl_vars['productPriceWithoutReduction'] = new Smarty_variable($_smarty_tpl->tpl_vars['product']->value->getPriceWithoutReduct(true, @constant('NULL')), null, 0);
                ?>
	<?php 
            }
            ?>
    <?php 
            if (isset($_smarty_tpl->tpl_vars['compared_products']->value)) {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('comparedProductsIds' => $_smarty_tpl->tpl_vars['compared_products']->value), $_smarty_tpl);
            }
            ?>
<div itemscope itemtype="http://schema.org/Product">
    <div class="primary_block_wrap">
	<div class="primary_block row">
		<?php 
            if (isset($_smarty_tpl->tpl_vars['adminActionDisplay']->value) && $_smarty_tpl->tpl_vars['adminActionDisplay']->value) {
                ?>
			<div id="admin-action">
				<p><?php 
                echo smartyTranslate(array('s' => 'This product is not visible to your customers.'), $_smarty_tpl);
                ?>

					<input type="hidden" id="admin-action-product-id" value="<?php 
                echo $_smarty_tpl->tpl_vars['product']->value->id;
                ?>
" />
					<input type="submit" value="<?php 
                echo smartyTranslate(array('s' => 'Publish'), $_smarty_tpl);
                ?>
" name="publish_button" class="exclusive" />
					<input type="submit" value="<?php 
                echo smartyTranslate(array('s' => 'Back'), $_smarty_tpl);
                ?>
" name="lnk_view" class="exclusive" />
				</p>
				<p id="admin-action-result"></p>
			</div>
		<?php 
            }
            ?>
		<?php 
            if (isset($_smarty_tpl->tpl_vars['confirmation']->value) && $_smarty_tpl->tpl_vars['confirmation']->value) {
                ?>
			<p class="confirmation">
				<?php 
                echo $_smarty_tpl->tpl_vars['confirmation']->value;
                ?>

			</p>
		<?php 
            }
            ?>
		<!-- left infos-->
		<div class="pb-left-column col-xs-12 col-sm-4 col-md-5">
			<!-- product img-->
			<div id="image-block" class="clearfix">
				<?php 
            if ($_smarty_tpl->tpl_vars['product']->value->new) {
                ?>
					<span class="new-box">
						<span class="new-label"><?php 
                echo smartyTranslate(array('s' => 'New'), $_smarty_tpl);
                ?>
</span>
					</span>
				<?php 
            }
            ?>
				<?php 
            if ($_smarty_tpl->tpl_vars['product']->value->on_sale) {
                ?>
					<span class="sale-box no-print<?php 
                if (!$_smarty_tpl->tpl_vars['product']->value->new) {
                    ?>
 no-new<?php 
                }
                ?>
">
						<span class="sale-label"><?php 
                echo smartyTranslate(array('s' => 'Sale!'), $_smarty_tpl);
                ?>
</span>
					</span>
				<?php 
            } elseif ($_smarty_tpl->tpl_vars['product']->value->specificPrice && $_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction'] && $_smarty_tpl->tpl_vars['productPriceWithoutReduction']->value > $_smarty_tpl->tpl_vars['productPrice']->value) {
                ?>
					<span class="discount"><?php 
                echo smartyTranslate(array('s' => 'Reduced price!'), $_smarty_tpl);
                ?>
</span>
				<?php 
            }
            ?>
				<?php 
            if ($_smarty_tpl->tpl_vars['have_image']->value) {
                ?>
					<span id="view_full_size">
						<?php 
                if ($_smarty_tpl->tpl_vars['jqZoomEnabled']->value && $_smarty_tpl->tpl_vars['have_image']->value && !$_smarty_tpl->tpl_vars['content_only']->value) {
                    ?>
							<a class="jqzoom" title="<?php 
                    if (!empty($_smarty_tpl->tpl_vars['cover']->value['legend'])) {
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['cover']->value['legend'], ENT_QUOTES, 'UTF-8', true);
                    } else {
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->name, ENT_QUOTES, 'UTF-8', true);
                    }
                    ?>
" rel="gal1" href="<?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getImageLink($_smarty_tpl->tpl_vars['product']->value->link_rewrite, $_smarty_tpl->tpl_vars['cover']->value['id_image'], 'thickbox_default'), ENT_QUOTES, 'UTF-8', true);
                    ?>
" itemprop="url">
								<img itemprop="image" src="<?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getImageLink($_smarty_tpl->tpl_vars['product']->value->link_rewrite, $_smarty_tpl->tpl_vars['cover']->value['id_image'], 'large_default'), ENT_QUOTES, 'UTF-8', true);
                    ?>
" title="<?php 
                    if (!empty($_smarty_tpl->tpl_vars['cover']->value['legend'])) {
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['cover']->value['legend'], ENT_QUOTES, 'UTF-8', true);
                    } else {
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->name, ENT_QUOTES, 'UTF-8', true);
                    }
                    ?>
" alt="<?php 
                    if (!empty($_smarty_tpl->tpl_vars['cover']->value['legend'])) {
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['cover']->value['legend'], ENT_QUOTES, 'UTF-8', true);
                    } else {
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->name, ENT_QUOTES, 'UTF-8', true);
                    }
                    ?>
"/>
							</a>
                            <?php 
                    if (!$_smarty_tpl->tpl_vars['content_only']->value && $_smarty_tpl->tpl_vars['jqZoomEnabled']->value) {
                        ?>
								<span class="span_link no-print"><i class="fa fa-search"></i>&nbsp;<?php 
                        echo smartyTranslate(array('s' => 'Mouse over to zoom in'), $_smarty_tpl);
                        ?>
</span>
							<?php 
                    }
                    ?>
						<?php 
                } else {
                    ?>
							<img id="bigpic" itemprop="image" src="<?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getImageLink($_smarty_tpl->tpl_vars['product']->value->link_rewrite, $_smarty_tpl->tpl_vars['cover']->value['id_image'], 'large_default'), ENT_QUOTES, 'UTF-8', true);
                    ?>
" title="<?php 
                    if (!empty($_smarty_tpl->tpl_vars['cover']->value['legend'])) {
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['cover']->value['legend'], ENT_QUOTES, 'UTF-8', true);
                    } else {
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->name, ENT_QUOTES, 'UTF-8', true);
                    }
                    ?>
" alt="<?php 
                    if (!empty($_smarty_tpl->tpl_vars['cover']->value['legend'])) {
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['cover']->value['legend'], ENT_QUOTES, 'UTF-8', true);
                    } else {
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->name, ENT_QUOTES, 'UTF-8', true);
                    }
                    ?>
" width="<?php 
                    echo $_smarty_tpl->tpl_vars['largeSize']->value['width'];
                    ?>
" height="<?php 
                    echo $_smarty_tpl->tpl_vars['largeSize']->value['height'];
                    ?>
"/>
							<?php 
                    if (!$_smarty_tpl->tpl_vars['content_only']->value && $_smarty_tpl->tpl_vars['jqZoomEnabled']->value) {
                        ?>
								<span class="span_link no-print"><i class="fa fa-search"></i>&nbsp;<?php 
                        echo smartyTranslate(array('s' => 'Mouse over to zoom in'), $_smarty_tpl);
                        ?>
</span>
							<?php 
                    }
                    ?>
						<?php 
                }
                ?>
					</span>
				<?php 
            } else {
                ?>
					<span id="view_full_size">
						<img itemprop="image" src="<?php 
                echo $_smarty_tpl->tpl_vars['img_prod_dir']->value;
                echo $_smarty_tpl->tpl_vars['lang_iso']->value;
                ?>
-default-large_default.jpg" id="bigpic" alt="" title="<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->name, ENT_QUOTES, 'UTF-8', true);
                ?>
" width="<?php 
                echo $_smarty_tpl->tpl_vars['largeSize']->value['width'];
                ?>
" height="<?php 
                echo $_smarty_tpl->tpl_vars['largeSize']->value['height'];
                ?>
"/>
						<?php 
                if (!$_smarty_tpl->tpl_vars['content_only']->value) {
                    ?>
							<span class="span_link">
								<i class="fa fa-search"></i>&nbsp;<?php 
                    echo smartyTranslate(array('s' => 'Mouse over to zoom in'), $_smarty_tpl);
                    ?>

							</span>
						<?php 
                }
                ?>
					</span>
				<?php 
            }
            ?>
			</div> <!-- end image-block -->
			<?php 
            if (isset($_smarty_tpl->tpl_vars['images']->value) && count($_smarty_tpl->tpl_vars['images']->value) > 0) {
                ?>
				<!-- thumbnails -->
				<div id="views_block" class="clearfix <?php 
                if (isset($_smarty_tpl->tpl_vars['images']->value) && count($_smarty_tpl->tpl_vars['images']->value) < 2) {
                    ?>
hidden<?php 
                }
                ?>
">
					<?php 
                if (isset($_smarty_tpl->tpl_vars['images']->value) && count($_smarty_tpl->tpl_vars['images']->value) > 2) {
                    ?>
						<span class="view_scroll_spacer">
							<a id="view_scroll_left" class="" title="<?php 
                    echo smartyTranslate(array('s' => 'Other views'), $_smarty_tpl);
                    ?>
" href="javascript:{}">
								<?php 
                    echo smartyTranslate(array('s' => 'Previous'), $_smarty_tpl);
                    ?>

							</a>
						</span>
					<?php 
                }
                ?>
					<div id="thumbs_list">
						<ul id="thumbs_list_frame">
						<?php 
                if (isset($_smarty_tpl->tpl_vars['images']->value)) {
                    ?>
							<?php 
                    $_smarty_tpl->tpl_vars['image'] = new Smarty_Variable();
                    $_smarty_tpl->tpl_vars['image']->_loop = false;
                    $_from = $_smarty_tpl->tpl_vars['images']->value;
                    if (!is_array($_from) && !is_object($_from)) {
                        settype($_from, 'array');
                    }
                    $_smarty_tpl->tpl_vars['image']->total = $_smarty_tpl->_count($_from);
                    $_smarty_tpl->tpl_vars['image']->iteration = 0;
                    foreach ($_from as $_smarty_tpl->tpl_vars['image']->key => $_smarty_tpl->tpl_vars['image']->value) {
                        $_smarty_tpl->tpl_vars['image']->_loop = true;
                        $_smarty_tpl->tpl_vars['image']->iteration++;
                        $_smarty_tpl->tpl_vars['image']->last = $_smarty_tpl->tpl_vars['image']->iteration === $_smarty_tpl->tpl_vars['image']->total;
                        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['thumbnails']['last'] = $_smarty_tpl->tpl_vars['image']->last;
                        ?>
								<?php 
                        $_smarty_tpl->tpl_vars['imageIds'] = new Smarty_variable((string) $_smarty_tpl->tpl_vars['product']->value->id . "-" . (string) $_smarty_tpl->tpl_vars['image']->value['id_image'], null, 0);
                        ?>
								<?php 
                        if (!empty($_smarty_tpl->tpl_vars['image']->value['legend'])) {
                            ?>
									<?php 
                            $_smarty_tpl->tpl_vars['imageTitle'] = new Smarty_variable(htmlspecialchars($_smarty_tpl->tpl_vars['image']->value['legend'], ENT_QUOTES, 'UTF-8', true), null, 0);
                            ?>
								<?php 
                        } else {
                            ?>
									<?php 
                            $_smarty_tpl->tpl_vars['imageTitle'] = new Smarty_variable(htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->name, ENT_QUOTES, 'UTF-8', true), null, 0);
                            ?>
								<?php 
                        }
                        ?>
								<li id="thumbnail_<?php 
                        echo $_smarty_tpl->tpl_vars['image']->value['id_image'];
                        ?>
"<?php 
                        if ($_smarty_tpl->getVariable('smarty')->value['foreach']['thumbnails']['last']) {
                            ?>
 class="last"<?php 
                        }
                        ?>
>
									<a<?php 
                        if ($_smarty_tpl->tpl_vars['jqZoomEnabled']->value && $_smarty_tpl->tpl_vars['have_image']->value && !$_smarty_tpl->tpl_vars['content_only']->value) {
                            ?>
 href="javascript:void(0);" rel="{gallery: 'gal1', smallimage: '<?php 
                            echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getImageLink($_smarty_tpl->tpl_vars['product']->value->link_rewrite, $_smarty_tpl->tpl_vars['imageIds']->value, 'large_default'), ENT_QUOTES, 'UTF-8', true);
                            ?>
',largeimage: '<?php 
                            echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getImageLink($_smarty_tpl->tpl_vars['product']->value->link_rewrite, $_smarty_tpl->tpl_vars['imageIds']->value, 'thickbox_default'), ENT_QUOTES, 'UTF-8', true);
                            ?>
'}"<?php 
                        } else {
                            ?>
 href="<?php 
                            echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getImageLink($_smarty_tpl->tpl_vars['product']->value->link_rewrite, $_smarty_tpl->tpl_vars['imageIds']->value, 'thickbox_default'), ENT_QUOTES, 'UTF-8', true);
                            ?>
"	data-fancybox-group="other-views" class="fancybox<?php 
                            if ($_smarty_tpl->tpl_vars['image']->value['id_image'] == $_smarty_tpl->tpl_vars['cover']->value['id_image']) {
                                ?>
 shown<?php 
                            }
                            ?>
"<?php 
                        }
                        ?>
 title="<?php 
                        echo $_smarty_tpl->tpl_vars['imageTitle']->value;
                        ?>
">
										<img class="img-responsive" id="thumb_<?php 
                        echo $_smarty_tpl->tpl_vars['image']->value['id_image'];
                        ?>
" src="<?php 
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getImageLink($_smarty_tpl->tpl_vars['product']->value->link_rewrite, $_smarty_tpl->tpl_vars['imageIds']->value, 'medium_default'), ENT_QUOTES, 'UTF-8', true);
                        ?>
" alt="<?php 
                        echo $_smarty_tpl->tpl_vars['imageTitle']->value;
                        ?>
" title="<?php 
                        echo $_smarty_tpl->tpl_vars['imageTitle']->value;
                        ?>
"  itemprop="image" />
									</a>
								</li>
							<?php 
                    }
                    ?>
						<?php 
                }
                ?>
						</ul>
					</div> <!-- end thumbs_list -->
					<?php 
                if (isset($_smarty_tpl->tpl_vars['images']->value) && count($_smarty_tpl->tpl_vars['images']->value) > 2) {
                    ?>
						<a id="view_scroll_right" title="<?php 
                    echo smartyTranslate(array('s' => 'Other views'), $_smarty_tpl);
                    ?>
" href="javascript:{}">
							<?php 
                    echo smartyTranslate(array('s' => 'Next'), $_smarty_tpl);
                    ?>

						</a>
					<?php 
                }
                ?>
				</div> <!-- end views-block -->
				<!-- end thumbnails -->
			<?php 
            }
            ?>
			<?php 
            if (isset($_smarty_tpl->tpl_vars['images']->value) && count($_smarty_tpl->tpl_vars['images']->value) > 1) {
                ?>
				<p class="resetimg clear no-print">
					<span id="wrapResetImages" style="display: none;">
						<a href="<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getProductLink($_smarty_tpl->tpl_vars['product']->value), ENT_QUOTES, 'UTF-8', true);
                ?>
" name="resetImages">
							<i class="icon-repeat"></i>
							<?php 
                echo smartyTranslate(array('s' => 'Display all pictures'), $_smarty_tpl);
                ?>

						</a>
					</span>
				</p>
			<?php 
            }
            ?>
		</div> <!-- end pb-left-column -->
		<!-- end left infos-->
		<!-- center infos -->
		<div class="pb-center-column col-xs-12 col-sm-7">
            <h1 itemprop="name"><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->name, ENT_QUOTES, 'UTF-8', true);
            ?>
</h1>
			<?php 
            if ($_smarty_tpl->tpl_vars['product']->value->online_only) {
                ?>
				<p class="online_only"><?php 
                echo smartyTranslate(array('s' => 'Online only'), $_smarty_tpl);
                ?>
</p>
			<?php 
            }
            ?>
			<?php 
            if (isset($_smarty_tpl->tpl_vars['HOOK_EXTRA_RIGHT']->value) && $_smarty_tpl->tpl_vars['HOOK_EXTRA_RIGHT']->value) {
                echo $_smarty_tpl->tpl_vars['HOOK_EXTRA_RIGHT']->value;
            }
            ?>
            <p id="product_reference"<?php 
            if (empty($_smarty_tpl->tpl_vars['product']->value->reference) || !$_smarty_tpl->tpl_vars['product']->value->reference) {
                ?>
 style="display: none;"<?php 
            }
            ?>
>
				<label><?php 
            echo smartyTranslate(array('s' => 'Product code:'), $_smarty_tpl);
            ?>
 </label>
				<span class="editable" itemprop="sku">#<?php 
            if (!isset($_smarty_tpl->tpl_vars['groups']->value)) {
                echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->reference, ENT_QUOTES, 'UTF-8', true);
            }
            ?>
</span>
			</p>
			<?php 
            if ($_smarty_tpl->tpl_vars['product']->value->condition) {
                ?>
			<p id="product_condition">
				<label><?php 
                echo smartyTranslate(array('s' => 'Condition:'), $_smarty_tpl);
                ?>
 </label>
				<?php 
                if ($_smarty_tpl->tpl_vars['product']->value->condition == 'new') {
                    ?>
					<link itemprop="itemCondition" href="http://schema.org/NewCondition"/>
					<span class="editable"><?php 
                    echo smartyTranslate(array('s' => 'New'), $_smarty_tpl);
                    ?>
</span>
				<?php 
                } elseif ($_smarty_tpl->tpl_vars['product']->value->condition == 'used') {
                    ?>
					<link itemprop="itemCondition" href="http://schema.org/UsedCondition"/>
					<span class="editable"><?php 
                    echo smartyTranslate(array('s' => 'Used'), $_smarty_tpl);
                    ?>
</span>
				<?php 
                } elseif ($_smarty_tpl->tpl_vars['product']->value->condition == 'refurbished') {
                    ?>
					<link itemprop="itemCondition" href="http://schema.org/RefurbishedCondition"/>
					<span class="editable"><?php 
                    echo smartyTranslate(array('s' => 'Refurbished'), $_smarty_tpl);
                    ?>
</span>
				<?php 
                }
                ?>
			</p>
			<?php 
            }
            ?>
            <?php 
            if ($_smarty_tpl->tpl_vars['display_qties']->value == 1 && !$_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value && $_smarty_tpl->tpl_vars['PS_STOCK_MANAGEMENT']->value && $_smarty_tpl->tpl_vars['product']->value->available_for_order) {
                ?>
				<!-- number of item in stock -->
				<p id="pQuantityAvailable"<?php 
                if ($_smarty_tpl->tpl_vars['product']->value->quantity <= 0) {
                    ?>
 style="display: none;"<?php 
                }
                ?>
>
					<span id="quantityAvailable"><?php 
                echo intval($_smarty_tpl->tpl_vars['product']->value->quantity);
                ?>
</span>
					<span <?php 
                if ($_smarty_tpl->tpl_vars['product']->value->quantity > 1) {
                    ?>
 style="display: none;"<?php 
                }
                ?>
 id="quantityAvailableTxt"><?php 
                echo smartyTranslate(array('s' => 'Item'), $_smarty_tpl);
                ?>
</span>
					<span <?php 
                if ($_smarty_tpl->tpl_vars['product']->value->quantity == 1) {
                    ?>
 style="display: none;"<?php 
                }
                ?>
 id="quantityAvailableTxtMultiple"><?php 
                echo smartyTranslate(array('s' => 'Items'), $_smarty_tpl);
                ?>
</span>
				</p>
			<?php 
            }
            ?>
			<?php 
            if ($_smarty_tpl->tpl_vars['PS_STOCK_MANAGEMENT']->value) {
                ?>
				<!-- availability -->
				<p id="availability_statut"<?php 
                if ($_smarty_tpl->tpl_vars['product']->value->quantity <= 0 && !$_smarty_tpl->tpl_vars['product']->value->available_later && $_smarty_tpl->tpl_vars['allow_oosp']->value || $_smarty_tpl->tpl_vars['product']->value->quantity > 0 && !$_smarty_tpl->tpl_vars['product']->value->available_now || !$_smarty_tpl->tpl_vars['product']->value->available_for_order || $_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value) {
                    ?>
 style="display: none;"<?php 
                }
                ?>
>
					<span id="availability_label"><?php 
                echo smartyTranslate(array('s' => 'Availability:'), $_smarty_tpl);
                ?>
</span>
					<span id="availability_value"<?php 
                if ($_smarty_tpl->tpl_vars['product']->value->quantity <= 0 && !$_smarty_tpl->tpl_vars['allow_oosp']->value) {
                    ?>
 class="warning_inline"<?php 
                }
                ?>
><?php 
                if ($_smarty_tpl->tpl_vars['product']->value->quantity <= 0) {
                    if ($_smarty_tpl->tpl_vars['allow_oosp']->value) {
                        echo $_smarty_tpl->tpl_vars['product']->value->available_later;
                    } else {
                        echo smartyTranslate(array('s' => 'This product is no longer in stock'), $_smarty_tpl);
                    }
                } else {
                    echo $_smarty_tpl->tpl_vars['product']->value->available_now;
                }
                ?>
</span>
				</p>
				<?php 
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->smartyHook(array('h' => "displayProductDeliveryTime", 'product' => $_smarty_tpl->tpl_vars['product']->value), $_smarty_tpl);
                ?>

				<p class="warning_inline" id="last_quantities"<?php 
                if ($_smarty_tpl->tpl_vars['product']->value->quantity > $_smarty_tpl->tpl_vars['last_qties']->value || $_smarty_tpl->tpl_vars['product']->value->quantity <= 0 || $_smarty_tpl->tpl_vars['allow_oosp']->value || !$_smarty_tpl->tpl_vars['product']->value->available_for_order || $_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value) {
                    ?>
 style="display: none"<?php 
                }
                ?>
 ><?php 
                echo smartyTranslate(array('s' => 'Warning: Last items in stock!'), $_smarty_tpl);
                ?>
</p>
			<?php 
            }
            ?>
			<p id="availability_date"<?php 
            if ($_smarty_tpl->tpl_vars['product']->value->quantity > 0 || !$_smarty_tpl->tpl_vars['product']->value->available_for_order || $_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value || !isset($_smarty_tpl->tpl_vars['product']->value->available_date) || $_smarty_tpl->tpl_vars['product']->value->available_date < smarty_modifier_date_format(time(), '%Y-%m-%d')) {
                ?>
 style="display: none;"<?php 
            }
            ?>
>
				<span id="availability_date_label"><?php 
            echo smartyTranslate(array('s' => 'Availability date:'), $_smarty_tpl);
            ?>
</span>
				<span id="availability_date_value"><?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['dateFormat'][0][0]->dateFormat(array('date' => $_smarty_tpl->tpl_vars['product']->value->available_date, 'full' => false), $_smarty_tpl);
            ?>
</span>
			</p>
			<!-- Out of stock hook -->
			<div id="oosHook"<?php 
            if ($_smarty_tpl->tpl_vars['product']->value->quantity > 0) {
                ?>
 style="display: none;"<?php 
            }
            ?>
>
				<?php 
            echo $_smarty_tpl->tpl_vars['HOOK_PRODUCT_OOS']->value;
            ?>

			</div>
			<?php 
            if ($_smarty_tpl->tpl_vars['product']->value->description_short || count($_smarty_tpl->tpl_vars['packItems']->value) > 0) {
                ?>
				<div id="short_description_block">
					<?php 
                if ($_smarty_tpl->tpl_vars['product']->value->description_short) {
                    ?>
						<div id="short_description_content" class="rte align_justify" itemprop="description"><?php 
                    echo $_smarty_tpl->tpl_vars['product']->value->description_short;
                    ?>
</div>
					<?php 
                }
                ?>

					<?php 
                if ($_smarty_tpl->tpl_vars['product']->value->description) {
                    ?>
						<p class="buttons_bottom_block">
							<a href="javascript:{}" class="button">
								<?php 
                    echo smartyTranslate(array('s' => 'More details'), $_smarty_tpl);
                    ?>

							</a>
						</p>
					<?php 
                }
                ?>
					<!--<?php 
                if (count($_smarty_tpl->tpl_vars['packItems']->value) > 0) {
                    ?>
						<div class="short_description_pack">
						<h3><?php 
                    echo smartyTranslate(array('s' => 'Pack content'), $_smarty_tpl);
                    ?>
</h3>
							<?php 
                    $_smarty_tpl->tpl_vars['packItem'] = new Smarty_Variable();
                    $_smarty_tpl->tpl_vars['packItem']->_loop = false;
                    $_from = $_smarty_tpl->tpl_vars['packItems']->value;
                    if (!is_array($_from) && !is_object($_from)) {
                        settype($_from, 'array');
                    }
                    foreach ($_from as $_smarty_tpl->tpl_vars['packItem']->key => $_smarty_tpl->tpl_vars['packItem']->value) {
                        $_smarty_tpl->tpl_vars['packItem']->_loop = true;
                        ?>

							<div class="pack_content">
								<?php 
                        echo $_smarty_tpl->tpl_vars['packItem']->value['pack_quantity'];
                        ?>
 x <a href="<?php 
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getProductLink($_smarty_tpl->tpl_vars['packItem']->value['id_product'], $_smarty_tpl->tpl_vars['packItem']->value['link_rewrite'], $_smarty_tpl->tpl_vars['packItem']->value['category']), ENT_QUOTES, 'UTF-8', true);
                        ?>
"><?php 
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['packItem']->value['name'], ENT_QUOTES, 'UTF-8', true);
                        ?>
</a>
								<p><?php 
                        echo $_smarty_tpl->tpl_vars['packItem']->value['description_short'];
                        ?>
</p>
							</div>
							<?php 
                    }
                    ?>
						</div>
					<?php 
                }
                ?>
-->
				</div> <!-- end short_description_block -->
			<?php 
            }
            ?>
		</div>
		<!-- end center infos-->
		<!-- pb-right-column-->
		<div class="pb-right-column col-xs-12 col-sm-7 col-md-7">
			<?php 
            if ($_smarty_tpl->tpl_vars['product']->value->show_price && !isset($_smarty_tpl->tpl_vars['restricted_country_mode']->value) || isset($_smarty_tpl->tpl_vars['groups']->value) || $_smarty_tpl->tpl_vars['product']->value->reference || isset($_smarty_tpl->tpl_vars['HOOK_PRODUCT_ACTIONS']->value) && $_smarty_tpl->tpl_vars['HOOK_PRODUCT_ACTIONS']->value) {
                ?>
			<!-- add to cart form-->
			<form id="buy_block"<?php 
                if ($_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value && !isset($_smarty_tpl->tpl_vars['groups']->value) && $_smarty_tpl->tpl_vars['product']->value->quantity > 0) {
                    ?>
 class="hidden"<?php 
                }
                ?>
 action="<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('cart'), ENT_QUOTES, 'UTF-8', true);
                ?>
" method="post">
				<!-- hidden datas -->
				<p class="hidden">
					<input type="hidden" name="token" value="<?php 
                echo $_smarty_tpl->tpl_vars['static_token']->value;
                ?>
" />
					<input type="hidden" name="id_product" value="<?php 
                echo intval($_smarty_tpl->tpl_vars['product']->value->id);
                ?>
" id="product_page_product_id" />
					<input type="hidden" name="add" value="1" />
					<input type="hidden" name="id_product_attribute" id="idCombination" value="" />
				</p>
				<div class="box-info-product">
					<div class="content_prices clearfix">
						<?php 
                if ($_smarty_tpl->tpl_vars['product']->value->show_price && !isset($_smarty_tpl->tpl_vars['restricted_country_mode']->value) && !$_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value) {
                    ?>
							
                            <!-- prices -->
							<div class="price">
                                <label><?php 
                    echo smartyTranslate(array('s' => 'Price'), $_smarty_tpl);
                    ?>
</label>
								<p class="our_price_display" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
									<?php 
                    if ($_smarty_tpl->tpl_vars['product']->value->quantity > 0) {
                        ?>
<link itemprop="availability" href="http://schema.org/InStock"/><?php 
                    }
                    ?>
									<?php 
                    if ($_smarty_tpl->tpl_vars['priceDisplay']->value >= 0 && $_smarty_tpl->tpl_vars['priceDisplay']->value <= 2) {
                        ?>
										<span id="our_price_display" itemprop="price"><?php 
                        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price' => $_smarty_tpl->tpl_vars['productPrice']->value), $_smarty_tpl);
                        ?>
</span>
										<!--<?php 
                        if ($_smarty_tpl->tpl_vars['tax_enabled']->value && (isset($_smarty_tpl->tpl_vars['display_tax_label']->value) && $_smarty_tpl->tpl_vars['display_tax_label']->value == 1 || !isset($_smarty_tpl->tpl_vars['display_tax_label']->value))) {
                            ?>
											<?php 
                            if ($_smarty_tpl->tpl_vars['priceDisplay']->value == 1) {
                                echo smartyTranslate(array('s' => 'tax excl.'), $_smarty_tpl);
                            } else {
                                echo smartyTranslate(array('s' => 'tax incl.'), $_smarty_tpl);
                            }
                            ?>
										<?php 
                        }
                        ?>
-->
										<meta itemprop="priceCurrency" content="<?php 
                        echo $_smarty_tpl->tpl_vars['currency']->value->iso_code;
                        ?>
" />
										<?php 
                        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->smartyHook(array('h' => "displayProductPriceBlock", 'product' => $_smarty_tpl->tpl_vars['product']->value, 'type' => "price"), $_smarty_tpl);
                        ?>

									<?php 
                    }
                    ?>
								</p>
                                <p id="old_price"<?php 
                    if ((!$_smarty_tpl->tpl_vars['product']->value->specificPrice || !$_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction']) && $_smarty_tpl->tpl_vars['group_reduction']->value == 0) {
                        ?>
 class="hidden"<?php 
                    }
                    ?>
>
									<?php 
                    if ($_smarty_tpl->tpl_vars['priceDisplay']->value >= 0 && $_smarty_tpl->tpl_vars['priceDisplay']->value <= 2) {
                        ?>
										<?php 
                        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->smartyHook(array('h' => "displayProductPriceBlock", 'product' => $_smarty_tpl->tpl_vars['product']->value, 'type' => "old_price"), $_smarty_tpl);
                        ?>

										<span id="old_price_display"><?php 
                        if ($_smarty_tpl->tpl_vars['productPriceWithoutReduction']->value > $_smarty_tpl->tpl_vars['productPrice']->value) {
                            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price' => $_smarty_tpl->tpl_vars['productPriceWithoutReduction']->value), $_smarty_tpl);
                        }
                        ?>
</span>
										<!-- <?php 
                        if ($_smarty_tpl->tpl_vars['tax_enabled']->value && $_smarty_tpl->tpl_vars['display_tax_label']->value == 1) {
                            if ($_smarty_tpl->tpl_vars['priceDisplay']->value == 1) {
                                echo smartyTranslate(array('s' => 'tax excl.'), $_smarty_tpl);
                            } else {
                                echo smartyTranslate(array('s' => 'tax incl.'), $_smarty_tpl);
                            }
                        }
                        ?>
 -->
									<?php 
                    }
                    ?>
								</p>
								<p id="reduction_percent" <?php 
                    if (!$_smarty_tpl->tpl_vars['product']->value->specificPrice || $_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction_type'] != 'percentage') {
                        ?>
 style="display:none;"<?php 
                    }
                    ?>
>
									<span id="reduction_percent_display">
										<?php 
                    if ($_smarty_tpl->tpl_vars['product']->value->specificPrice && $_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction_type'] == 'percentage') {
                        ?>
-<?php 
                        echo $_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction'] * 100;
                        ?>
%<?php 
                    }
                    ?>
									</span>
								</p>
								<p id="reduction_amount" <?php 
                    if (!$_smarty_tpl->tpl_vars['product']->value->specificPrice || $_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction_type'] != 'amount' || floatval($_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction']) == 0) {
                        ?>
 style="display:none"<?php 
                    }
                    ?>
>
									<span id="reduction_amount_display">
									<?php 
                    if ($_smarty_tpl->tpl_vars['product']->value->specificPrice && $_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction_type'] == 'amount' && floatval($_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction']) != 0) {
                        ?>
										-<?php 
                        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price' => $_smarty_tpl->tpl_vars['productPriceWithoutReduction']->value - floatval($_smarty_tpl->tpl_vars['productPrice']->value)), $_smarty_tpl);
                        ?>

									<?php 
                    }
                    ?>
									</span>
								</p>

								<?php 
                    if ($_smarty_tpl->tpl_vars['priceDisplay']->value == 2) {
                        ?>
									<br />
									<span id="pretaxe_price">
										<span id="pretaxe_price_display"><?php 
                        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price' => $_smarty_tpl->tpl_vars['product']->value->getPrice(false, @constant('NULL'))), $_smarty_tpl);
                        ?>
</span>
										<?php 
                        echo smartyTranslate(array('s' => 'tax excl.'), $_smarty_tpl);
                        ?>

									</span>
								<?php 
                    }
                    ?>
							</div> <!-- end prices -->
                            
							<?php 
                    if (count($_smarty_tpl->tpl_vars['packItems']->value) && $_smarty_tpl->tpl_vars['productPrice']->value < $_smarty_tpl->tpl_vars['product']->value->getNoPackPrice()) {
                        ?>
								<p class="pack_price"><?php 
                        echo smartyTranslate(array('s' => 'Instead of'), $_smarty_tpl);
                        ?>
 <span style="text-decoration: line-through;"><?php 
                        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price' => $_smarty_tpl->tpl_vars['product']->value->getNoPackPrice()), $_smarty_tpl);
                        ?>
</span></p>
							<?php 
                    }
                    ?>
							<?php 
                    if ($_smarty_tpl->tpl_vars['product']->value->ecotax != 0) {
                        ?>
								<p class="price-ecotax"><?php 
                        echo smartyTranslate(array('s' => 'Including'), $_smarty_tpl);
                        ?>
 <span id="ecotax_price_display"><?php 
                        if ($_smarty_tpl->tpl_vars['priceDisplay']->value == 2) {
                            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['convertAndFormatPrice'][0][0]->convertAndFormatPrice($_smarty_tpl->tpl_vars['ecotax_tax_exc']->value);
                        } else {
                            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['convertAndFormatPrice'][0][0]->convertAndFormatPrice($_smarty_tpl->tpl_vars['ecotax_tax_inc']->value);
                        }
                        ?>
</span> <?php 
                        echo smartyTranslate(array('s' => 'for ecotax'), $_smarty_tpl);
                        ?>

									<?php 
                        if ($_smarty_tpl->tpl_vars['product']->value->specificPrice && $_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction']) {
                            ?>
									<br /><?php 
                            echo smartyTranslate(array('s' => '(not impacted by the discount)'), $_smarty_tpl);
                            ?>

									<?php 
                        }
                        ?>
								</p>
							<?php 
                    }
                    ?>
							<?php 
                    if (!empty($_smarty_tpl->tpl_vars['product']->value->unity) && $_smarty_tpl->tpl_vars['product']->value->unit_price_ratio > 0.0) {
                        ?>
								<?php 
                        echo smarty_function_math(array('equation' => "pprice / punit_price", 'pprice' => $_smarty_tpl->tpl_vars['productPrice']->value, 'punit_price' => $_smarty_tpl->tpl_vars['product']->value->unit_price_ratio, 'assign' => 'unit_price'), $_smarty_tpl);
                        ?>

								<p class="unit-price"><span id="unit_price_display"><?php 
                        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price' => $_smarty_tpl->tpl_vars['unit_price']->value), $_smarty_tpl);
                        ?>
</span> <?php 
                        echo smartyTranslate(array('s' => 'per'), $_smarty_tpl);
                        ?>
 <?php 
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->unity, ENT_QUOTES, 'UTF-8', true);
                        ?>
</p>
								<?php 
                        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->smartyHook(array('h' => "displayProductPriceBlock", 'product' => $_smarty_tpl->tpl_vars['product']->value, 'type' => "unit_price"), $_smarty_tpl);
                        ?>

							<?php 
                    }
                    ?>
						<?php 
                }
                ?>
 
						<?php 
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->smartyHook(array('h' => "displayProductPriceBlock", 'product' => $_smarty_tpl->tpl_vars['product']->value, 'type' => "weight"), $_smarty_tpl);
                ?>

						<div class="clearBoth"></div>
					</div> <!-- end content_prices -->
                <div id="box-product" class="col-sm-12">
                    
                    <?php 
                echo $_smarty_tpl->tpl_vars['HOOK_OVIC_CATEGORYSIZECHART']->value;
                ?>

                    <div class="product_attributes clearfix">
						<!-- minimal quantity wanted -->
						<p id="minimal_quantity_wanted_p"<?php 
                if ($_smarty_tpl->tpl_vars['product']->value->minimal_quantity <= 1 || !$_smarty_tpl->tpl_vars['product']->value->available_for_order || $_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value) {
                    ?>
 style="display: none;"<?php 
                }
                ?>
>
							<?php 
                echo smartyTranslate(array('s' => 'This product is not sold individually. You must select at least'), $_smarty_tpl);
                ?>
 <b id="minimal_quantity_label"><?php 
                echo $_smarty_tpl->tpl_vars['product']->value->minimal_quantity;
                ?>
</b> <?php 
                echo smartyTranslate(array('s' => 'quantity for this product.'), $_smarty_tpl);
                ?>

						</p>
						<?php 
                if (isset($_smarty_tpl->tpl_vars['groups']->value)) {
                    ?>
							<!-- attributes -->
							<div id="attributes">
								<div class="clearfix"></div>
								<?php 
                    $_smarty_tpl->tpl_vars['group'] = new Smarty_Variable();
                    $_smarty_tpl->tpl_vars['group']->_loop = false;
                    $_smarty_tpl->tpl_vars['id_attribute_group'] = new Smarty_Variable();
                    $_from = $_smarty_tpl->tpl_vars['groups']->value;
                    if (!is_array($_from) && !is_object($_from)) {
                        settype($_from, 'array');
                    }
                    foreach ($_from as $_smarty_tpl->tpl_vars['group']->key => $_smarty_tpl->tpl_vars['group']->value) {
                        $_smarty_tpl->tpl_vars['group']->_loop = true;
                        $_smarty_tpl->tpl_vars['id_attribute_group']->value = $_smarty_tpl->tpl_vars['group']->key;
                        ?>
									<?php 
                        if (count($_smarty_tpl->tpl_vars['group']->value['attributes'])) {
                            ?>
										<fieldset class="attribute_fieldset">
											<label class="attribute_label<?php 
                            if ($_smarty_tpl->tpl_vars['group']->value['group_type'] == 'color') {
                                ?>
 label_color<?php 
                            }
                            ?>
" <?php 
                            if ($_smarty_tpl->tpl_vars['group']->value['group_type'] != 'color' && $_smarty_tpl->tpl_vars['group']->value['group_type'] != 'radio') {
                                ?>
for="group_<?php 
                                echo intval($_smarty_tpl->tpl_vars['id_attribute_group']->value);
                                ?>
"<?php 
                            }
                            ?>
><?php 
                            echo htmlspecialchars($_smarty_tpl->tpl_vars['group']->value['name'], ENT_QUOTES, 'UTF-8', true);
                            ?>
&nbsp;</label>
											<?php 
                            $_smarty_tpl->tpl_vars["groupName"] = new Smarty_variable("group_" . (string) $_smarty_tpl->tpl_vars['id_attribute_group']->value, null, 0);
                            ?>
											<div class="attribute_list">
												<?php 
                            if ($_smarty_tpl->tpl_vars['group']->value['group_type'] == 'select') {
                                ?>
													<select name="<?php 
                                echo $_smarty_tpl->tpl_vars['groupName']->value;
                                ?>
" id="group_<?php 
                                echo intval($_smarty_tpl->tpl_vars['id_attribute_group']->value);
                                ?>
" class="form-control attribute_select no-print">
														<?php 
                                $_smarty_tpl->tpl_vars['group_attribute'] = new Smarty_Variable();
                                $_smarty_tpl->tpl_vars['group_attribute']->_loop = false;
                                $_smarty_tpl->tpl_vars['id_attribute'] = new Smarty_Variable();
                                $_from = $_smarty_tpl->tpl_vars['group']->value['attributes'];
                                if (!is_array($_from) && !is_object($_from)) {
                                    settype($_from, 'array');
                                }
                                foreach ($_from as $_smarty_tpl->tpl_vars['group_attribute']->key => $_smarty_tpl->tpl_vars['group_attribute']->value) {
                                    $_smarty_tpl->tpl_vars['group_attribute']->_loop = true;
                                    $_smarty_tpl->tpl_vars['id_attribute']->value = $_smarty_tpl->tpl_vars['group_attribute']->key;
                                    ?>
															<option value="<?php 
                                    echo intval($_smarty_tpl->tpl_vars['id_attribute']->value);
                                    ?>
"<?php 
                                    if (isset($_GET[$_smarty_tpl->tpl_vars['groupName']->value]) && intval($_GET[$_smarty_tpl->tpl_vars['groupName']->value]) == $_smarty_tpl->tpl_vars['id_attribute']->value || $_smarty_tpl->tpl_vars['group']->value['default'] == $_smarty_tpl->tpl_vars['id_attribute']->value) {
                                        ?>
 selected="selected"<?php 
                                    }
                                    ?>
 title="<?php 
                                    echo htmlspecialchars($_smarty_tpl->tpl_vars['group_attribute']->value, ENT_QUOTES, 'UTF-8', true);
                                    ?>
"><?php 
                                    echo htmlspecialchars($_smarty_tpl->tpl_vars['group_attribute']->value, ENT_QUOTES, 'UTF-8', true);
                                    ?>
</option>
														<?php 
                                }
                                ?>
													</select>
                                                <?php 
                            } elseif ($_smarty_tpl->tpl_vars['group']->value['group_type'] == 'radio') {
                                ?>
													<ul>
														<?php 
                                $_smarty_tpl->tpl_vars['group_attribute'] = new Smarty_Variable();
                                $_smarty_tpl->tpl_vars['group_attribute']->_loop = false;
                                $_smarty_tpl->tpl_vars['id_attribute'] = new Smarty_Variable();
                                $_from = $_smarty_tpl->tpl_vars['group']->value['attributes'];
                                if (!is_array($_from) && !is_object($_from)) {
                                    settype($_from, 'array');
                                }
                                foreach ($_from as $_smarty_tpl->tpl_vars['group_attribute']->key => $_smarty_tpl->tpl_vars['group_attribute']->value) {
                                    $_smarty_tpl->tpl_vars['group_attribute']->_loop = true;
                                    $_smarty_tpl->tpl_vars['id_attribute']->value = $_smarty_tpl->tpl_vars['group_attribute']->key;
                                    ?>
															<li>
                                                                <input type="radio" id="<?php 
                                    echo $_smarty_tpl->tpl_vars['id_attribute']->value;
                                    ?>
" class="attribute_radio" name="<?php 
                                    echo htmlspecialchars($_smarty_tpl->tpl_vars['groupName']->value, ENT_QUOTES, 'UTF-8', true);
                                    ?>
" value="<?php 
                                    echo $_smarty_tpl->tpl_vars['id_attribute']->value;
                                    ?>
" <?php 
                                    if ($_smarty_tpl->tpl_vars['group']->value['default'] == $_smarty_tpl->tpl_vars['id_attribute']->value) {
                                        ?>
 checked="checked"<?php 
                                    }
                                    ?>
 />
																<label class="label_radio <?php 
                                    if ($_smarty_tpl->tpl_vars['group']->value['default'] == $_smarty_tpl->tpl_vars['id_attribute']->value) {
                                        ?>
 checked<?php 
                                    }
                                    ?>
" for="<?php 
                                    echo $_smarty_tpl->tpl_vars['id_attribute']->value;
                                    ?>
"><?php 
                                    echo htmlspecialchars($_smarty_tpl->tpl_vars['group_attribute']->value, ENT_QUOTES, 'UTF-8', true);
                                    ?>
</label>
															</li>
														<?php 
                                }
                                ?>
													</ul>
												<?php 
                            } elseif ($_smarty_tpl->tpl_vars['group']->value['group_type'] == 'color') {
                                ?>
													<ul id="color_to_pick_list" class="clearfix">
														<?php 
                                $_smarty_tpl->tpl_vars["default_colorpicker"] = new Smarty_variable('', null, 0);
                                ?>
														<?php 
                                $_smarty_tpl->tpl_vars['group_attribute'] = new Smarty_Variable();
                                $_smarty_tpl->tpl_vars['group_attribute']->_loop = false;
                                $_smarty_tpl->tpl_vars['id_attribute'] = new Smarty_Variable();
                                $_from = $_smarty_tpl->tpl_vars['group']->value['attributes'];
                                if (!is_array($_from) && !is_object($_from)) {
                                    settype($_from, 'array');
                                }
                                foreach ($_from as $_smarty_tpl->tpl_vars['group_attribute']->key => $_smarty_tpl->tpl_vars['group_attribute']->value) {
                                    $_smarty_tpl->tpl_vars['group_attribute']->_loop = true;
                                    $_smarty_tpl->tpl_vars['id_attribute']->value = $_smarty_tpl->tpl_vars['group_attribute']->key;
                                    ?>
															<?php 
                                    $_smarty_tpl->tpl_vars['img_color_exists'] = new Smarty_variable(file_exists($_smarty_tpl->tpl_vars['col_img_dir']->value . $_smarty_tpl->tpl_vars['id_attribute']->value . '.jpg'), null, 0);
                                    ?>
															<li<?php 
                                    if ($_smarty_tpl->tpl_vars['group']->value['default'] == $_smarty_tpl->tpl_vars['id_attribute']->value) {
                                        ?>
 class="selected"<?php 
                                    }
                                    ?>
>
																<a href="<?php 
                                    echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getProductLink($_smarty_tpl->tpl_vars['product']->value), ENT_QUOTES, 'UTF-8', true);
                                    ?>
" id="color_<?php 
                                    echo intval($_smarty_tpl->tpl_vars['id_attribute']->value);
                                    ?>
" name="<?php 
                                    echo htmlspecialchars($_smarty_tpl->tpl_vars['colors']->value[$_smarty_tpl->tpl_vars['id_attribute']->value]['name'], ENT_QUOTES, 'UTF-8', true);
                                    ?>
" class="color_pick<?php 
                                    if ($_smarty_tpl->tpl_vars['group']->value['default'] == $_smarty_tpl->tpl_vars['id_attribute']->value) {
                                        ?>
 selected<?php 
                                    }
                                    ?>
"<?php 
                                    if (!$_smarty_tpl->tpl_vars['img_color_exists']->value && isset($_smarty_tpl->tpl_vars['colors']->value[$_smarty_tpl->tpl_vars['id_attribute']->value]['value']) && $_smarty_tpl->tpl_vars['colors']->value[$_smarty_tpl->tpl_vars['id_attribute']->value]['value']) {
                                        ?>
 style="background:<?php 
                                        echo htmlspecialchars($_smarty_tpl->tpl_vars['colors']->value[$_smarty_tpl->tpl_vars['id_attribute']->value]['value'], ENT_QUOTES, 'UTF-8', true);
                                        ?>
;"<?php 
                                    }
                                    ?>
 title="<?php 
                                    echo htmlspecialchars($_smarty_tpl->tpl_vars['colors']->value[$_smarty_tpl->tpl_vars['id_attribute']->value]['name'], ENT_QUOTES, 'UTF-8', true);
                                    ?>
">
																	<?php 
                                    if ($_smarty_tpl->tpl_vars['img_color_exists']->value) {
                                        ?>
																		<img src="<?php 
                                        echo $_smarty_tpl->tpl_vars['img_col_dir']->value;
                                        echo intval($_smarty_tpl->tpl_vars['id_attribute']->value);
                                        ?>
.jpg" alt="<?php 
                                        echo htmlspecialchars($_smarty_tpl->tpl_vars['colors']->value[$_smarty_tpl->tpl_vars['id_attribute']->value]['name'], ENT_QUOTES, 'UTF-8', true);
                                        ?>
" title="<?php 
                                        echo htmlspecialchars($_smarty_tpl->tpl_vars['colors']->value[$_smarty_tpl->tpl_vars['id_attribute']->value]['name'], ENT_QUOTES, 'UTF-8', true);
                                        ?>
" width="20" height="20" />
																	<?php 
                                    }
                                    ?>
																</a>
															</li>
															<?php 
                                    if ($_smarty_tpl->tpl_vars['group']->value['default'] == $_smarty_tpl->tpl_vars['id_attribute']->value) {
                                        ?>
																<?php 
                                        $_smarty_tpl->tpl_vars['default_colorpicker'] = new Smarty_variable($_smarty_tpl->tpl_vars['id_attribute']->value, null, 0);
                                        ?>
															<?php 
                                    }
                                    ?>
														<?php 
                                }
                                ?>
													</ul>
													<input type="hidden" class="color_pick_hidden" name="<?php 
                                echo htmlspecialchars($_smarty_tpl->tpl_vars['groupName']->value, ENT_QUOTES, 'UTF-8', true);
                                ?>
" value="<?php 
                                echo intval($_smarty_tpl->tpl_vars['default_colorpicker']->value);
                                ?>
" />
												<?php 
                            }
                            ?>
											</div> <!-- end attribute_list -->
										</fieldset>
									<?php 
                        }
                        ?>
								<?php 
                    }
                    ?>
							</div> <!-- end attributes -->
						<?php 
                }
                ?>
					</div> <!-- end product_attributes -->
                    <div class="box-cart-bottom">
						<!-- quantity wanted -->
						<?php 
                if (!$_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value) {
                    ?>
					 	<p id="quantity_wanted_p"<?php 
                    if (!$_smarty_tpl->tpl_vars['allow_oosp']->value && $_smarty_tpl->tpl_vars['product']->value->quantity <= 0 || !$_smarty_tpl->tpl_vars['product']->value->available_for_order || $_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value) {
                        ?>
 style="display: none;"<?php 
                    }
                    ?>
>
							<label><?php 
                    echo smartyTranslate(array('s' => 'Qty'), $_smarty_tpl);
                    ?>
</label>
							<a href="#" data-field-qty="qty" class="btn btn-default button-minus product_quantity_down">
								<span>-</span>
							</a>
                            <input type="text" name="qty" id="quantity_wanted" class="text" value="<?php 
                    if (isset($_smarty_tpl->tpl_vars['quantityBackup']->value)) {
                        echo intval($_smarty_tpl->tpl_vars['quantityBackup']->value);
                    } else {
                        if ($_smarty_tpl->tpl_vars['product']->value->minimal_quantity > 1) {
                            echo $_smarty_tpl->tpl_vars['product']->value->minimal_quantity;
                        } else {
                            ?>
1<?php 
                        }
                    }
                    ?>
" />    
							<a href="#" data-field-qty="qty" class="btn btn-default button-plus product_quantity_up">
								<span>+</span>
							</a>
							<span class="clearfix"></span>
						</p>
						<?php 
                }
                ?>
						<p id="add_to_cart" class="buttons_bottom_block no-print <?php 
                if (!$_smarty_tpl->tpl_vars['allow_oosp']->value && $_smarty_tpl->tpl_vars['product']->value->quantity <= 0 || !$_smarty_tpl->tpl_vars['product']->value->available_for_order || isset($_smarty_tpl->tpl_vars['restricted_country_mode']->value) && $_smarty_tpl->tpl_vars['restricted_country_mode']->value || $_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value) {
                    ?>
 unvisible<?php 
                }
                ?>
">
							<button type="submit" name="Submit" class="exclusive">
								<span><i class="fa fa-shopping-cart"></i><?php 
                if ($_smarty_tpl->tpl_vars['content_only']->value && (isset($_smarty_tpl->tpl_vars['product']->value->customization_required) && $_smarty_tpl->tpl_vars['product']->value->customization_required)) {
                    echo smartyTranslate(array('s' => 'Customize'), $_smarty_tpl);
                } else {
                    echo smartyTranslate(array('s' => 'Add to Cart'), $_smarty_tpl);
                }
                ?>
</span>
							</button>
						</p>
						<?php 
                if (isset($_smarty_tpl->tpl_vars['HOOK_PRODUCT_ACTIONS']->value) && $_smarty_tpl->tpl_vars['HOOK_PRODUCT_ACTIONS']->value) {
                    echo $_smarty_tpl->tpl_vars['HOOK_PRODUCT_ACTIONS']->value;
                }
                ?>
                        <a class="add_to_compare" id="add_to_compare" href="javascript:void(0)" data-id-product="<?php 
                echo intval($_smarty_tpl->tpl_vars['product']->value->id);
                ?>
" title="<?php 
                echo smartyTranslate(array('s' => 'Add to compare'), $_smarty_tpl);
                ?>
"><i class="fa fa-toggle-on"></i></a>
					</div> <!-- end box-cart-bottom -->
                <?php 
                if (!$_smarty_tpl->tpl_vars['content_only']->value) {
                    ?>
				<!-- usefull links-->
				<ul id="usefull_link_block" class="clearfix no-print">
					<?php 
                    if ($_smarty_tpl->tpl_vars['HOOK_EXTRA_LEFT']->value) {
                        echo $_smarty_tpl->tpl_vars['HOOK_EXTRA_LEFT']->value;
                    }
                    ?>
					<li class="print">
						<a href="javascript:print();" title="<?php 
                    echo smartyTranslate(array('s' => 'Print'), $_smarty_tpl);
                    ?>
">
							<i class="fa fa-print"></i>
						</a>
					</li>
					<?php 
                    if ($_smarty_tpl->tpl_vars['have_image']->value && !$_smarty_tpl->tpl_vars['jqZoomEnabled']->value) {
                    }
                    ?>
				</ul>
    			<?php 
                }
                ?>
                
            </div>
				</div> <!-- end box-info-product -->
			</form>
			<?php 
            }
            ?>
		</div> <!-- end pb-right-column-->
       
	</div> <!-- end primary_block -->
 </div>
<div class="row">
     <div id="tab-container" class="col-xs-12">
        <!-- Nav tabs -->
        <ul id="product-tabs" class="nav nav-tabs" role="tablist">
            <?php 
            if (isset($_smarty_tpl->tpl_vars['product']->value) && $_smarty_tpl->tpl_vars['product']->value->description) {
                ?>
                <li class="active"><a href="#descripntion-tab" role="tab" data-toggle="tab"><?php 
                echo smartyTranslate(array('s' => 'Product Details'), $_smarty_tpl);
                ?>
</a></li><?php 
            }
            ?>
            <?php 
            if (isset($_smarty_tpl->tpl_vars['features']->value) && $_smarty_tpl->tpl_vars['features']->value) {
                ?>
                <li <?php 
                if (!isset($_smarty_tpl->tpl_vars['product']->value->description)) {
                    ?>
class="active"<?php 
                }
                ?>
><a href="#table-data-sheet" role="tab" data-toggle="tab"><?php 
                echo smartyTranslate(array('s' => 'Information'), $_smarty_tpl);
                ?>
</a></li><?php 
            }
            ?>
            <?php 
            if (isset($_smarty_tpl->tpl_vars['quantity_discounts']->value) && count($_smarty_tpl->tpl_vars['quantity_discounts']->value) > 0) {
                ?>
                <li <?php 
                if (!isset($_smarty_tpl->tpl_vars['product']->value->description) && !isset($_smarty_tpl->tpl_vars['features']->value)) {
                    ?>
class="active"<?php 
                }
                ?>
><a href="#quantityDiscount-tab" role="tab" data-toggle="tab"><?php 
                echo smartyTranslate(array('s' => 'Discounts'), $_smarty_tpl);
                ?>
</a></li><?php 
            }
            ?>
            <?php 
            if ($_smarty_tpl->tpl_vars['HOOK_PRODUCT_TAB']->value) {
                ?>
                <?php 
                echo $_smarty_tpl->tpl_vars['HOOK_PRODUCT_TAB']->value;
                ?>

            <?php 
            }
            ?>
        </ul>

        <!-- Tab panes -->
        <div id="product-tab-content" class="tab-content">
          <?php 
            if (isset($_smarty_tpl->tpl_vars['product']->value) && $_smarty_tpl->tpl_vars['product']->value->description) {
                ?>
            <div class="tab-pane active fade in" id="descripntion-tab">
                <?php 
                echo $_smarty_tpl->tpl_vars['product']->value->description;
                ?>

            </div>
		  <?php 
            }
            ?>
          <?php 
            if (isset($_smarty_tpl->tpl_vars['features']->value) && $_smarty_tpl->tpl_vars['features']->value) {
                ?>
            <div class="tab-pane fade in" id="table-data-sheet">
				<table class="table-data-sheet">
					<?php 
                $_smarty_tpl->tpl_vars['feature'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['feature']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['features']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['feature']->key => $_smarty_tpl->tpl_vars['feature']->value) {
                    $_smarty_tpl->tpl_vars['feature']->_loop = true;
                    ?>
					<tr class="<?php 
                    echo smarty_function_cycle(array('values' => "odd,even"), $_smarty_tpl);
                    ?>
">
						<?php 
                    if (isset($_smarty_tpl->tpl_vars['feature']->value['value'])) {
                        ?>
						<td><?php 
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['feature']->value['name'], ENT_QUOTES, 'UTF-8', true);
                        ?>
</td>
						<td><?php 
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['feature']->value['value'], ENT_QUOTES, 'UTF-8', true);
                        ?>
</td>
						<?php 
                    }
                    ?>
					</tr>
					<?php 
                }
                ?>
				</table>
            </div>
          <?php 
            }
            ?>
          <?php 
            if (isset($_smarty_tpl->tpl_vars['quantity_discounts']->value) && count($_smarty_tpl->tpl_vars['quantity_discounts']->value) > 0) {
                ?>
    			<!-- quantity discount -->
    			<div class="tab-pane fade in" id="quantityDiscount-tab">
    					<table class="std table-product-discounts">
    						<thead>
    							<tr>
    								<th><?php 
                echo smartyTranslate(array('s' => 'Quantity'), $_smarty_tpl);
                ?>
</th>
    								<th><?php 
                if ($_smarty_tpl->tpl_vars['display_discount_price']->value) {
                    echo smartyTranslate(array('s' => 'Price'), $_smarty_tpl);
                } else {
                    echo smartyTranslate(array('s' => 'Discount'), $_smarty_tpl);
                }
                ?>
</th>
    								<th><?php 
                echo smartyTranslate(array('s' => 'You Save'), $_smarty_tpl);
                ?>
</th>
    							</tr>
    						</thead>
    						<tbody>
    							<?php 
                $_smarty_tpl->tpl_vars['quantity_discount'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['quantity_discount']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['quantity_discounts']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['quantity_discount']->key => $_smarty_tpl->tpl_vars['quantity_discount']->value) {
                    $_smarty_tpl->tpl_vars['quantity_discount']->_loop = true;
                    ?>
    							<tr id="quantityDiscount_<?php 
                    echo $_smarty_tpl->tpl_vars['quantity_discount']->value['id_product_attribute'];
                    ?>
" class="quantityDiscount_<?php 
                    echo $_smarty_tpl->tpl_vars['quantity_discount']->value['id_product_attribute'];
                    ?>
" data-discount-type="<?php 
                    echo $_smarty_tpl->tpl_vars['quantity_discount']->value['reduction_type'];
                    ?>
" data-discount="<?php 
                    echo floatval($_smarty_tpl->tpl_vars['quantity_discount']->value['real_value']);
                    ?>
" data-discount-quantity="<?php 
                    echo intval($_smarty_tpl->tpl_vars['quantity_discount']->value['quantity']);
                    ?>
">
    								<td>
    									<?php 
                    echo intval($_smarty_tpl->tpl_vars['quantity_discount']->value['quantity']);
                    ?>

    								</td>
    								<td>
    									<?php 
                    if ($_smarty_tpl->tpl_vars['quantity_discount']->value['price'] >= 0 || $_smarty_tpl->tpl_vars['quantity_discount']->value['reduction_type'] == 'amount') {
                        ?>
    										<?php 
                        if ($_smarty_tpl->tpl_vars['display_discount_price']->value) {
                            ?>
    											<?php 
                            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price' => $_smarty_tpl->tpl_vars['productPrice']->value - floatval($_smarty_tpl->tpl_vars['quantity_discount']->value['real_value'])), $_smarty_tpl);
                            ?>

    										<?php 
                        } else {
                            ?>
    											<?php 
                            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price' => floatval($_smarty_tpl->tpl_vars['quantity_discount']->value['real_value'])), $_smarty_tpl);
                            ?>

    										<?php 
                        }
                        ?>
    									<?php 
                    } else {
                        ?>
    										<?php 
                        if ($_smarty_tpl->tpl_vars['display_discount_price']->value) {
                            ?>
    											<?php 
                            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price' => $_smarty_tpl->tpl_vars['productPrice']->value - floatval($_smarty_tpl->tpl_vars['productPrice']->value * $_smarty_tpl->tpl_vars['quantity_discount']->value['reduction'])), $_smarty_tpl);
                            ?>

    										<?php 
                        } else {
                            ?>
    											<?php 
                            echo floatval($_smarty_tpl->tpl_vars['quantity_discount']->value['real_value']);
                            ?>
%
    										<?php 
                        }
                        ?>
    									<?php 
                    }
                    ?>
    								</td>
    								<td>
    									<span><?php 
                    echo smartyTranslate(array('s' => 'Up to'), $_smarty_tpl);
                    ?>
</span>
    									<?php 
                    if ($_smarty_tpl->tpl_vars['quantity_discount']->value['price'] >= 0 || $_smarty_tpl->tpl_vars['quantity_discount']->value['reduction_type'] == 'amount') {
                        ?>
    										<?php 
                        $_smarty_tpl->tpl_vars['discountPrice'] = new Smarty_variable($_smarty_tpl->tpl_vars['productPrice']->value - floatval($_smarty_tpl->tpl_vars['quantity_discount']->value['real_value']), null, 0);
                        ?>
    									<?php 
                    } else {
                        ?>
    										<?php 
                        $_smarty_tpl->tpl_vars['discountPrice'] = new Smarty_variable($_smarty_tpl->tpl_vars['productPrice']->value - floatval($_smarty_tpl->tpl_vars['productPrice']->value * $_smarty_tpl->tpl_vars['quantity_discount']->value['reduction']), null, 0);
                        ?>
    									<?php 
                    }
                    ?>
    									<?php 
                    $_smarty_tpl->tpl_vars['discountPrice'] = new Smarty_variable($_smarty_tpl->tpl_vars['discountPrice']->value * $_smarty_tpl->tpl_vars['quantity_discount']->value['quantity'], null, 0);
                    ?>
    									<?php 
                    $_smarty_tpl->tpl_vars['qtyProductPrice'] = new Smarty_variable($_smarty_tpl->tpl_vars['productPrice']->value * $_smarty_tpl->tpl_vars['quantity_discount']->value['quantity'], null, 0);
                    ?>
    									<?php 
                    echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price' => $_smarty_tpl->tpl_vars['qtyProductPrice']->value - $_smarty_tpl->tpl_vars['discountPrice']->value), $_smarty_tpl);
                    ?>

    								</td>
    							</tr>
    							<?php 
                }
                ?>
    						</tbody>
    					</table>
    			</div>
    		<?php 
            }
            ?>
          <?php 
            if (isset($_smarty_tpl->tpl_vars['HOOK_PRODUCT_TAB_CONTENT']->value) && $_smarty_tpl->tpl_vars['HOOK_PRODUCT_TAB_CONTENT']->value) {
                ?>
                <?php 
                echo $_smarty_tpl->tpl_vars['HOOK_PRODUCT_TAB_CONTENT']->value;
                ?>

          <?php 
            }
            ?>
        </div>
       </div>
    </div>
	<?php 
            if (!$_smarty_tpl->tpl_vars['content_only']->value) {
                ?>
    
		<?php 
                if (isset($_smarty_tpl->tpl_vars['HOOK_PRODUCT_FOOTER']->value) && $_smarty_tpl->tpl_vars['HOOK_PRODUCT_FOOTER']->value) {
                    echo $_smarty_tpl->tpl_vars['HOOK_PRODUCT_FOOTER']->value;
                }
                ?>
		<!-- description & features -->
		
	<?php 
            }
            ?>
</div> <!-- itemscope product wrapper -->
<?php 
            if (isset($_GET['ad']) && $_GET['ad']) {
                $_smarty_tpl->smarty->_tag_stack[] = array('addJsDefL', array('name' => 'ad'));
                $_block_repeat = true;
                echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'ad'), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['base_dir']->value . $_GET['ad'], ENT_QUOTES, 'UTF-8', true);
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'ad'), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
            }
            if (isset($_GET['adtoken']) && $_GET['adtoken']) {
                $_smarty_tpl->smarty->_tag_stack[] = array('addJsDefL', array('name' => 'adtoken'));
                $_block_repeat = true;
                echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'adtoken'), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    echo htmlspecialchars($_GET['adtoken'], ENT_QUOTES, 'UTF-8', true);
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'adtoken'), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
            }
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('allowBuyWhenOutOfStock' => $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['boolval'][0][0]->boolval($_smarty_tpl->tpl_vars['allow_oosp']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('availableNowValue' => preg_replace("%(?<!\\\\)'%", "\\'", $_smarty_tpl->tpl_vars['product']->value->available_now)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('availableLaterValue' => preg_replace("%(?<!\\\\)'%", "\\'", $_smarty_tpl->tpl_vars['product']->value->available_later)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('attribute_anchor_separator' => preg_replace("%(?<!\\\\)'%", "\\'", $_smarty_tpl->tpl_vars['attribute_anchor_separator']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('attributesCombinations' => $_smarty_tpl->tpl_vars['attributesCombinations']->value), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('currencySign' => html_entity_decode($_smarty_tpl->tpl_vars['currencySign']->value, 2, "UTF-8")), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('currencyRate' => floatval($_smarty_tpl->tpl_vars['currencyRate']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('currencyFormat' => intval($_smarty_tpl->tpl_vars['currencyFormat']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('currencyBlank' => intval($_smarty_tpl->tpl_vars['currencyBlank']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('currentDate' => smarty_modifier_date_format(time(), '%Y-%m-%d %H:%M:%S')), $_smarty_tpl);
            if (isset($_smarty_tpl->tpl_vars['combinations']->value) && $_smarty_tpl->tpl_vars['combinations']->value) {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('combinations' => $_smarty_tpl->tpl_vars['combinations']->value), $_smarty_tpl);
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('combinationsFromController' => $_smarty_tpl->tpl_vars['combinations']->value), $_smarty_tpl);
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('displayDiscountPrice' => $_smarty_tpl->tpl_vars['display_discount_price']->value), $_smarty_tpl);
                $_smarty_tpl->smarty->_tag_stack[] = array('addJsDefL', array('name' => 'upToTxt'));
                $_block_repeat = true;
                echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'upToTxt'), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    echo smartyTranslate(array('s' => 'Up to', 'js' => 1), $_smarty_tpl);
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'upToTxt'), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
            }
            if (isset($_smarty_tpl->tpl_vars['combinationImages']->value) && $_smarty_tpl->tpl_vars['combinationImages']->value) {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('combinationImages' => $_smarty_tpl->tpl_vars['combinationImages']->value), $_smarty_tpl);
            }
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('customizationFields' => $_smarty_tpl->tpl_vars['customizationFields']->value), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('default_eco_tax' => floatval($_smarty_tpl->tpl_vars['product']->value->ecotax)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('displayPrice' => intval($_smarty_tpl->tpl_vars['priceDisplay']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('ecotaxTax_rate' => floatval($_smarty_tpl->tpl_vars['ecotaxTax_rate']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('group_reduction' => $_smarty_tpl->tpl_vars['group_reduction']->value), $_smarty_tpl);
            if (isset($_smarty_tpl->tpl_vars['cover']->value['id_image_only'])) {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('idDefaultImage' => intval($_smarty_tpl->tpl_vars['cover']->value['id_image_only'])), $_smarty_tpl);
            } else {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('idDefaultImage' => 0), $_smarty_tpl);
            }
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('img_ps_dir' => $_smarty_tpl->tpl_vars['img_ps_dir']->value), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('img_prod_dir' => $_smarty_tpl->tpl_vars['img_prod_dir']->value), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('id_product' => intval($_smarty_tpl->tpl_vars['product']->value->id)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('jqZoomEnabled' => $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['boolval'][0][0]->boolval($_smarty_tpl->tpl_vars['jqZoomEnabled']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('maxQuantityToAllowDisplayOfLastQuantityMessage' => intval($_smarty_tpl->tpl_vars['last_qties']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('minimalQuantity' => intval($_smarty_tpl->tpl_vars['product']->value->minimal_quantity)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('noTaxForThisProduct' => $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['boolval'][0][0]->boolval($_smarty_tpl->tpl_vars['no_tax']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('customerGroupWithoutTax' => $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['boolval'][0][0]->boolval($_smarty_tpl->tpl_vars['customer_group_without_tax']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('oosHookJsCodeFunctions' => array()), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('productHasAttributes' => $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['boolval'][0][0]->boolval(isset($_smarty_tpl->tpl_vars['groups']->value))), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('productPriceTaxExcluded' => floatval((($tmp = @$_smarty_tpl->tpl_vars['product']->value->getPriceWithoutReduct(true)) === null || $tmp === '' ? 'null' : $tmp) - $_smarty_tpl->tpl_vars['product']->value->ecotax)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('productBasePriceTaxExcluded' => floatval($_smarty_tpl->tpl_vars['product']->value->base_price - $_smarty_tpl->tpl_vars['product']->value->ecotax)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('productBasePriceTaxExcl' => floatval($_smarty_tpl->tpl_vars['product']->value->base_price)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('productReference' => htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->reference, ENT_QUOTES, 'UTF-8', true)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('productAvailableForOrder' => $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['boolval'][0][0]->boolval($_smarty_tpl->tpl_vars['product']->value->available_for_order)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('productPriceWithoutReduction' => floatval($_smarty_tpl->tpl_vars['productPriceWithoutReduction']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('productPrice' => floatval($_smarty_tpl->tpl_vars['productPrice']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('productUnitPriceRatio' => floatval($_smarty_tpl->tpl_vars['product']->value->unit_price_ratio)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('productShowPrice' => $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['boolval'][0][0]->boolval(!$_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value && $_smarty_tpl->tpl_vars['product']->value->show_price)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('PS_CATALOG_MODE' => $_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value), $_smarty_tpl);
            if ($_smarty_tpl->tpl_vars['product']->value->specificPrice && count($_smarty_tpl->tpl_vars['product']->value->specificPrice)) {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('product_specific_price' => $_smarty_tpl->tpl_vars['product']->value->specificPrice), $_smarty_tpl);
            } else {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('product_specific_price' => array()), $_smarty_tpl);
            }
            if ($_smarty_tpl->tpl_vars['display_qties']->value == 1 && $_smarty_tpl->tpl_vars['product']->value->quantity) {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('quantityAvailable' => $_smarty_tpl->tpl_vars['product']->value->quantity), $_smarty_tpl);
            } else {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('quantityAvailable' => 0), $_smarty_tpl);
            }
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('quantitiesDisplayAllowed' => $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['boolval'][0][0]->boolval($_smarty_tpl->tpl_vars['display_qties']->value)), $_smarty_tpl);
            if ($_smarty_tpl->tpl_vars['product']->value->specificPrice && $_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction'] && $_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction_type'] == 'percentage') {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('reduction_percent' => $_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction'] * floatval(100)), $_smarty_tpl);
            } else {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('reduction_percent' => 0), $_smarty_tpl);
            }
            if ($_smarty_tpl->tpl_vars['product']->value->specificPrice && $_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction'] && $_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction_type'] == 'amount') {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('reduction_price' => floatval($_smarty_tpl->tpl_vars['product']->value->specificPrice['reduction'])), $_smarty_tpl);
            } else {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('reduction_price' => 0), $_smarty_tpl);
            }
            if ($_smarty_tpl->tpl_vars['product']->value->specificPrice && $_smarty_tpl->tpl_vars['product']->value->specificPrice['price']) {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('specific_price' => floatval($_smarty_tpl->tpl_vars['product']->value->specificPrice['price'])), $_smarty_tpl);
            } else {
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('specific_price' => 0), $_smarty_tpl);
            }
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('specific_currency' => $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['boolval'][0][0]->boolval($_smarty_tpl->tpl_vars['product']->value->specificPrice && $_smarty_tpl->tpl_vars['product']->value->specificPrice['id_currency'])), $_smarty_tpl);
            ?>
 <?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('stock_management' => intval($_smarty_tpl->tpl_vars['stock_management']->value)), $_smarty_tpl);
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('taxRate' => floatval($_smarty_tpl->tpl_vars['tax_rate']->value)), $_smarty_tpl);
            $_smarty_tpl->smarty->_tag_stack[] = array('addJsDefL', array('name' => 'doesntExist'));
            $_block_repeat = true;
            echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'doesntExist'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                echo smartyTranslate(array('s' => 'This combination does not exist for this product. Please select another combination.', 'js' => 1), $_smarty_tpl);
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'doesntExist'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            $_smarty_tpl->smarty->_tag_stack[] = array('addJsDefL', array('name' => 'doesntExistNoMore'));
            $_block_repeat = true;
            echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'doesntExistNoMore'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                echo smartyTranslate(array('s' => 'This product is no longer in stock', 'js' => 1), $_smarty_tpl);
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'doesntExistNoMore'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            $_smarty_tpl->smarty->_tag_stack[] = array('addJsDefL', array('name' => 'doesntExistNoMoreBut'));
            $_block_repeat = true;
            echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'doesntExistNoMoreBut'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                echo smartyTranslate(array('s' => 'with those attributes but is available with others.', 'js' => 1), $_smarty_tpl);
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'doesntExistNoMoreBut'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            $_smarty_tpl->smarty->_tag_stack[] = array('addJsDefL', array('name' => 'fieldRequired'));
            $_block_repeat = true;
            echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'fieldRequired'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                echo smartyTranslate(array('s' => 'Please fill in all the required fields before saving your customization.', 'js' => 1), $_smarty_tpl);
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'fieldRequired'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            $_smarty_tpl->smarty->_tag_stack[] = array('addJsDefL', array('name' => 'uploading_in_progress'));
            $_block_repeat = true;
            echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'uploading_in_progress'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                echo smartyTranslate(array('s' => 'Uploading in progress, please be patient.', 'js' => 1), $_smarty_tpl);
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'uploading_in_progress'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            $_smarty_tpl->smarty->_tag_stack[] = array('addJsDefL', array('name' => 'product_fileDefaultHtml'));
            $_block_repeat = true;
            echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'product_fileDefaultHtml'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                echo smartyTranslate(array('s' => 'No file selected', 'js' => 1), $_smarty_tpl);
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'product_fileDefaultHtml'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            $_smarty_tpl->smarty->_tag_stack[] = array('addJsDefL', array('name' => 'product_fileButtonHtml'));
            $_block_repeat = true;
            echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'product_fileButtonHtml'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                echo smartyTranslate(array('s' => 'Choose File', 'js' => 1), $_smarty_tpl);
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'product_fileButtonHtml'), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

<?php 
        }
    }
?>
</th>
        <th><?php 
echo @_AM_CATALOG_ACTION;
?>
</th>
        <?php 
$_from = $this->_tpl_vars['by_items'];
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
if (count($_from)) {
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['by_item']) {
        ?>
        <tr class="<?php 
        echo smarty_function_cycle(array('values' => 'odd, even'), $this);
        ?>
" >
            <td><input name="item[]" value="<?php 
        echo $this->_tpl_vars['key'];
        ?>
"  type="checkbox" /></td>
            <td><?php 
        echo $this->_tpl_vars['by_item'];
        ?>
</td>
            <td><a href="admin.byitems.php?op=delete&amp;by_item_id=<?php 
        echo $this->_tpl_vars['key'];
        ?>
&amp;item_id=<?php 
        echo $this->_tpl_vars['item_id'];
    <th> <?php 
echo $this->_reg_objects['g'][0]->text(array('text' => 'Action'), $this);
?>
 </th>
  </tr>

  <?php 
$_from = $this->_tpl_vars['AdminCore']['localServerDirList'];
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
if (count($_from)) {
    foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['dir']) {
        ?>
  <tr class="<?php 
        echo smarty_function_cycle(array('values' => "gbEven,gbOdd"), $this);
        ?>
">
    <td>
      <?php 
        echo is_array($_tmp = $this->_tpl_vars['dir']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp);
        ?>

    </td><td>
      <a href="<?php 
        echo $this->_reg_objects['g'][0]->url(array('arg1' => "controller=core.AdminCore", 'arg2' => "form[action][removeUploadLocalServerDir]=1", 'arg3' => "form[uploadLocalServer][selectedDir]=" . $this->_tpl_vars['index']), $this);
        ?>
">
	<?php 
        echo $this->_reg_objects['g'][0]->text(array('text' => 'remove'), $this);
        ?>