array(array('function', 'oxscript', 'widget/reviews/reviews.tpl', 1, false),array('function', 'oxmultilang', 'widget/reviews/reviews.tpl', 9, false),array('function', 'oxgetseourl', 'widget/reviews/reviews.tpl', 11, false),array('function', 'oxid_include_dynamic', 'widget/reviews/reviews.tpl', 29, false),array('modifier', 'cat', 'widget/reviews/reviews.tpl', 11, false),array('modifier', 'truncate', 'widget/reviews/reviews.tpl', 90, false),array('modifier', 'date_format', 'widget/reviews/reviews.tpl', 98, false),array('modifier', 'default', 'widget/reviews/reviews.tpl', 113, false),)), $this); ?> "js/libs/jqBootstrapValidation.min.js",'priority' => 10), $this);?> "$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"), $this);?>
_tpl_vars['oxcmp_user']): ?>
_tpl_vars['oView']->canRate()): ?>
    _sections['star']); $this->_sections['star']['name'] = 'star'; $this->_sections['star']['start'] = (int)1; $this->_sections['star']['loop'] = is_array($_loop=6) ? count($_loop) : max(0, (int)$_loop); unset($_loop); $this->_sections['star']['show'] = true; $this->_sections['star']['max'] = $this->_sections['star']['loop']; $this->_sections['star']['step'] = 1; if ($this->_sections['star']['start'] < 0) $this->_sections['star']['start'] = max($this->_sections['star']['step'] > 0 ? 0 : -1, $this->_sections['star']['loop'] + $this->_sections['star']['start']); else $this->_sections['star']['start'] = min($this->_sections['star']['start'], $this->_sections['star']['step'] > 0 ? $this->_sections['star']['loop'] : $this->_sections['star']['loop']-1); if ($this->_sections['star']['show']) { $this->_sections['star']['total'] = min(ceil(($this->_sections['star']['step'] > 0 ? $this->_sections['star']['loop'] - $this->_sections['star']['start'] : $this->_sections['star']['start']+1)/abs($this->_sections['star']['step'])), $this->_sections['star']['max']); if ($this->_sections['star']['total'] == 0) $this->_sections['star']['show'] = false; } else $this->_sections['star']['total'] = 0; if ($this->_sections['star']['show']): for ($this->_sections['star']['index'] = $this->_sections['star']['start'], $this->_sections['star']['iteration'] = 1; $this->_sections['star']['iteration'] <= $this->_sections['star']['total']; $this->_sections['star']['index'] += $this->_sections['star']['step'], $this->_sections['star']['iteration']++): $this->_sections['star']['rownum'] = $this->_sections['star']['iteration']; $this->_sections['star']['index_prev'] = $this->_sections['star']['index'] - $this->_sections['star']['step']; $this->_sections['star']['index_next'] = $this->_sections['star']['index'] + $this->_sections['star']['step']; $this->_sections['star']['first'] = ($this->_sections['star']['iteration'] == 1); $this->_sections['star']['last'] = ($this->_sections['star']['iteration'] == $this->_sections['star']['total']); ?>
_tpl_vars['oView']->getReviews()): ?>
_tpl_vars['oView']->getReviews(); if (($_from instanceof StdClass) || (!is_array($_from) && !is_object($_from))) { settype($_from, 'array'); }$this->_foreach['ReviewsCounter'] = array('total' => count($_from), 'iteration' => 0); if ($this->_foreach['ReviewsCounter']['total'] > 0): foreach ($_from as $this->_tpl_vars['review']): $this->_foreach['ReviewsCounter']['iteration']++; ?>
'WRITES'), $this);?>
_tpl_vars['review']->oxreviews__oxrating->value): ?>
_sections['starRatings']); $this->_sections['starRatings']['name'] = 'starRatings'; $this->_sections['starRatings']['start'] = (int)0; $this->_sections['starRatings']['loop'] = is_array($_loop=5) ? count($_loop) : max(0, (int)$_loop); unset($_loop); $this->_sections['starRatings']['show'] = true; $this->_sections['starRatings']['max'] = $this->_sections['starRatings']['loop']; $this->_sections['starRatings']['step'] = 1; if ($this->_sections['starRatings']['start'] < 0) $this->_sections['starRatings']['start'] = max($this->_sections['starRatings']['step'] > 0 ? 0 : -1, $this->_sections['starRatings']['loop'] + $this->_sections['starRatings']['start']); else $this->_sections['starRatings']['start'] = min($this->_sections['starRatings']['start'], $this->_sections['starRatings']['step'] > 0 ? $this->_sections['starRatings']['loop'] : $this->_sections['starRatings']['loop']-1); if ($this->_sections['starRatings']['show']) { $this->_sections['starRatings']['total'] = min(ceil(($this->_sections['starRatings']['step'] > 0 ? $this->_sections['starRatings']['loop'] - $this->_sections['starRatings']['start'] : $this->_sections['starRatings']['start']+1)/abs($this->_sections['starRatings']['step'])), $this->_sections['starRatings']['max']); if ($this->_sections['starRatings']['total'] == 0) $this->_sections['starRatings']['show'] = false; } else $this->_sections['starRatings']['total'] = 0; if ($this->_sections['starRatings']['show']): for ($this->_sections['starRatings']['index'] = $this->_sections['starRatings']['start'], $this->_sections['starRatings']['iteration'] = 1; $this->_sections['starRatings']['iteration'] <= $this->_sections['starRatings']['total']; $this->_sections['starRatings']['index'] += $this->_sections['starRatings']['step'], $this->_sections['starRatings']['iteration']++): $this->_sections['starRatings']['rownum'] = $this->_sections['starRatings']['iteration']; $this->_sections['starRatings']['index_prev'] = $this->_sections['starRatings']['index'] - $this->_sections['starRatings']['step']; $this->_sections['starRatings']['index_next'] = $this->_sections['starRatings']['index'] + $this->_sections['starRatings']['step']; $this->_sections['starRatings']['first'] = ($this->_sections['starRatings']['iteration'] == 1); $this->_sections['starRatings']['last'] = ($this->_sections['starRatings']['iteration'] == $this->_sections['starRatings']['total']); ?> _tpl_vars['review']->oxreviews__oxrating->value >= $this->_sections['starRatings']['iteration']): ?>
_tpl_vars['review']->oxreviews__oxtext->value; ?>
'NO_REVIEW_AVAILABLE'), $this);?>