%%11^119^1194686D%%catalogs_products.tpl.php 55.8 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756
<?php /* Smarty version 2.6.16, created on 2015-11-16 15:29:30
         compiled from catalogs_products.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'url4_brend', 'catalogs_products.tpl', 15, false),array('function', 'isbrend', 'catalogs_products.tpl', 15, false),array('function', 'url4_sex', 'catalogs_products.tpl', 41, false),array('function', 'issex', 'catalogs_products.tpl', 41, false),array('function', 'url4', 'catalogs_products.tpl', 55, false),array('function', 'isfil', 'catalogs_products.tpl', 55, false),array('function', 'url', 'catalogs_products.tpl', 247, false),array('modifier', 'escape', 'catalogs_products.tpl', 163, false),array('modifier', 'stripslashes', 'catalogs_products.tpl', 164, false),array('modifier', 'truncate', 'catalogs_products.tpl', 164, false),array('modifier', 'replace', 'catalogs_products.tpl', 177, false),)), $this); ?>
<div class="leftbar">
        <div class="ft"></div>
        <div class="fbg"><div class="wrp">
        
     <form method="get" action="<?php echo @URL;  if ($_GET['rubID']):  echo $_REQUEST['rubID']; ?>
-<?php endif; ?>catalogs/">        
     <table cellpadding="4" cellspacing="0" border="0" width="100%">
     <tr><td><span><?php echo @FILTER_LABEL_1; ?>
</span></td></tr>
                  <tr><td>
<table cellpadding="2" cellspacing="0"><tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['brends']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $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']);
?>
<tr>
 <td><input type="checkbox" onClick="document.location='<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4_brend(array('s' => $this->_tpl_vars['brends'][$this->_sections['i']['index']]['name']), $this);?>
'" value="<?php echo $this->_tpl_vars['brends'][$this->_sections['i']['index']]['name']; ?>
" <?php echo smarty_function_isbrend(array('s' => $this->_tpl_vars['brends'][$this->_sections['i']['index']]['name']), $this);?>
 /></td><td><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4_brend(array('s' => $this->_tpl_vars['brends'][$this->_sections['i']['index']]['name']), $this);?>
"><?php echo $this->_tpl_vars['brends'][$this->_sections['i']['index']]['name']; ?>
</a></td>
</tr>
<?php endfor; endif; ?>
</table>
      </td>
     </tr>	 
	         
		<tr><td></td></tr>
         <?php if (( $this->_tpl_vars['rubric']['parent_id'] > 0 || $this->_tpl_vars['product']['rubric_id'] > 0 ) && count ( $this->_tpl_vars['sex'] ) > 0): ?>
      <tr><td><span><?php echo @FILTER_LABEL_2; ?>
</span></td></tr>
                  <tr><td>
<table cellpadding="2" cellspacing="0"><tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['sex']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $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']);
 if ($this->_tpl_vars['sex'][$this->_sections['i']['index']]['name']): ?>
<tr>
 <td><input type="checkbox" onClick="document.location='<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4_sex(array('s' => $this->_tpl_vars['sex'][$this->_sections['i']['index']]['link']), $this);?>
'" value="<?php echo $this->_tpl_vars['sex'][$this->_sections['i']['index']]['link']; ?>
" <?php echo smarty_function_issex(array('s' => $this->_tpl_vars['sex'][$this->_sections['i']['index']]['link']), $this);?>
 /></td><td><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4_sex(array('s' => $this->_tpl_vars['sex'][$this->_sections['i']['index']]['link']), $this);?>
"><?php echo $this->_tpl_vars['sex'][$this->_sections['i']['index']]['name']; ?>
</a></td>
</tr>
<?php endif;  endfor; endif; ?>
</table>
      </td>
     </tr>		  
          <tr><td></td></tr>
         <?php endif; ?>
     <?php if (count ( $this->_tpl_vars['filters'] ) > 0): ?>
     <tr><td><span><?php if ($this->_tpl_vars['rubric']['filter']):  echo $this->_tpl_vars['rubric']['filter'];  else:  echo @FILTER_LABEL_3;  endif; ?></span></td></tr>
         <tr><td>
<table cellpadding="2" cellspacing="0"><tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['filters']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $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']);
?>
<tr>
 <td><input type="checkbox" onClick="document.location='<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4(array('prefix' => 'f','n' => $this->_tpl_vars['filters'][$this->_sections['i']['index']]['id'],'s' => $this->_tpl_vars['filters'][$this->_sections['i']['index']]['prefix']), $this);?>
'"  value="<?php echo $this->_tpl_vars['filters'][$this->_sections['i']['index']]['id']; ?>
" <?php echo smarty_function_isfil(array('prefix' => 'f','n' => $this->_tpl_vars['filters'][$this->_sections['i']['index']]['id'],'s' => $this->_tpl_vars['filters'][$this->_sections['i']['index']]['prefix']), $this);?>
 <?php unset($this->_sections['f']);
$this->_sections['f']['name'] = 'f';
$this->_sections['f']['loop'] = is_array($_loop=$_GET['filterID']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['f']['show'] = true;
$this->_sections['f']['max'] = $this->_sections['f']['loop'];
$this->_sections['f']['step'] = 1;
$this->_sections['f']['start'] = $this->_sections['f']['step'] > 0 ? 0 : $this->_sections['f']['loop']-1;
if ($this->_sections['f']['show']) {
    $this->_sections['f']['total'] = $this->_sections['f']['loop'];
    if ($this->_sections['f']['total'] == 0)
        $this->_sections['f']['show'] = false;
} else
    $this->_sections['f']['total'] = 0;
if ($this->_sections['f']['show']):

            for ($this->_sections['f']['index'] = $this->_sections['f']['start'], $this->_sections['f']['iteration'] = 1;
                 $this->_sections['f']['iteration'] <= $this->_sections['f']['total'];
                 $this->_sections['f']['index'] += $this->_sections['f']['step'], $this->_sections['f']['iteration']++):
$this->_sections['f']['rownum'] = $this->_sections['f']['iteration'];
$this->_sections['f']['index_prev'] = $this->_sections['f']['index'] - $this->_sections['f']['step'];
$this->_sections['f']['index_next'] = $this->_sections['f']['index'] + $this->_sections['f']['step'];
$this->_sections['f']['first']      = ($this->_sections['f']['iteration'] == 1);
$this->_sections['f']['last']       = ($this->_sections['f']['iteration'] == $this->_sections['f']['total']);
 if ($this->_tpl_vars['filters'][$this->_sections['i']['index']]['id'] == $_GET['filterID'][$this->_sections['f']['index']]): ?>checked<?php endif;  endfor; endif; ?> /></td><td><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4(array('prefix' => 'f','n' => $this->_tpl_vars['filters'][$this->_sections['i']['index']]['id'],'s' => $this->_tpl_vars['filters'][$this->_sections['i']['index']]['prefix']), $this);?>
"><?php echo $this->_tpl_vars['filters'][$this->_sections['i']['index']]['name']; ?>
</a> <?php if ($this->_sections['i']['index'] < count ( $this->_tpl_vars['filters'] ) -1): ?> <?php endif; ?></td>
</tr>
<?php endfor; endif; ?>
</table>
      </td>
     </tr>
         <tr><td></td></tr>
         <?php endif; ?>
     <?php if (count ( $this->_tpl_vars['filters2'] ) > 0): ?>
     <tr><td><span><?php if ($this->_tpl_vars['rubric']['filter2']):  echo $this->_tpl_vars['rubric']['filter2'];  else:  echo @FILTER_LABEL_3; ?>
 2<?php endif; ?></span></td></tr>
         <tr><td>
<table cellpadding="2" cellspacing="0"><tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['filters2']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $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']);
?>
<tr>
 <td><input type="checkbox" onClick="document.location='<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4(array('prefix' => 'g','n' => $this->_tpl_vars['filters2'][$this->_sections['i']['index']]['id'],'s' => $this->_tpl_vars['filters2'][$this->_sections['i']['index']]['prefix']), $this);?>
'"  value="<?php echo $this->_tpl_vars['filters2'][$this->_sections['i']['index']]['id']; ?>
" <?php echo smarty_function_isfil(array('prefix' => 'g','n' => $this->_tpl_vars['filters2'][$this->_sections['i']['index']]['id'],'s' => $this->_tpl_vars['filters2'][$this->_sections['i']['index']]['prefix']), $this);?>
 <?php unset($this->_sections['f']);
$this->_sections['f']['name'] = 'f';
$this->_sections['f']['loop'] = is_array($_loop=$_GET['filterID2']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['f']['show'] = true;
$this->_sections['f']['max'] = $this->_sections['f']['loop'];
$this->_sections['f']['step'] = 1;
$this->_sections['f']['start'] = $this->_sections['f']['step'] > 0 ? 0 : $this->_sections['f']['loop']-1;
if ($this->_sections['f']['show']) {
    $this->_sections['f']['total'] = $this->_sections['f']['loop'];
    if ($this->_sections['f']['total'] == 0)
        $this->_sections['f']['show'] = false;
} else
    $this->_sections['f']['total'] = 0;
if ($this->_sections['f']['show']):

            for ($this->_sections['f']['index'] = $this->_sections['f']['start'], $this->_sections['f']['iteration'] = 1;
                 $this->_sections['f']['iteration'] <= $this->_sections['f']['total'];
                 $this->_sections['f']['index'] += $this->_sections['f']['step'], $this->_sections['f']['iteration']++):
$this->_sections['f']['rownum'] = $this->_sections['f']['iteration'];
$this->_sections['f']['index_prev'] = $this->_sections['f']['index'] - $this->_sections['f']['step'];
$this->_sections['f']['index_next'] = $this->_sections['f']['index'] + $this->_sections['f']['step'];
$this->_sections['f']['first']      = ($this->_sections['f']['iteration'] == 1);
$this->_sections['f']['last']       = ($this->_sections['f']['iteration'] == $this->_sections['f']['total']);
 if ($this->_tpl_vars['filters2'][$this->_sections['i']['index']]['id'] == $_GET['filterID2'][$this->_sections['f']['index']]): ?>checked<?php endif;  endfor; endif; ?> /></td><td><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4(array('prefix' => 'g','n' => $this->_tpl_vars['filters2'][$this->_sections['i']['index']]['id'],'s' => $this->_tpl_vars['filters2'][$this->_sections['i']['index']]['prefix']), $this);?>
"><?php echo $this->_tpl_vars['filters2'][$this->_sections['i']['index']]['name']; ?>
</a> <?php if ($this->_sections['i']['index'] < count ( $this->_tpl_vars['filters2'] ) -1): ?> <?php endif; ?></td>
</tr>
<?php endfor; endif; ?>
</table>
      </td>
     </tr>
         <tr><td></td></tr>
         <?php endif; ?>
		 
     <?php if (count ( $this->_tpl_vars['rost'] ) > 0): ?>
     <tr><td><span><?php if ($this->_tpl_vars['rubric']['id'] == 14032):  echo @FILTER_LABEL_4;  elseif ($this->_tpl_vars['rubric']['id'] == 14065):  echo @FILTER_LABEL_14065;  else:  echo @FILTER_LABEL_5;  endif; ?></span></td></tr>
         <tr><td>
<table cellpadding="2" cellspacing="0"><tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['rost']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $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']);
?>
 <td><input type="checkbox" onClick="document.location='<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4(array('prefix' => 'r','n' => $this->_tpl_vars['rost'][$this->_sections['i']['index']]['rost']), $this);?>
'"  value="<?php echo $this->_tpl_vars['rost'][$this->_sections['i']['index']]['rost']; ?>
" <?php echo smarty_function_isfil(array('prefix' => 'r','n' => $this->_tpl_vars['rost'][$this->_sections['i']['index']]['rost']), $this);?>
 /></td><td><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4(array('prefix' => 'r','n' => $this->_tpl_vars['rost'][$this->_sections['i']['index']]['rost']), $this);?>
"><?php echo $this->_tpl_vars['rost'][$this->_sections['i']['index']]['rost']; ?>
</a> <?php if ($this->_sections['i']['index'] < count ( $this->_tpl_vars['rost'] ) -1): ?> <?php endif; ?></td>
<?php if (! ( $this->_sections['i']['rownum'] % 2 )): ?>

                        </TR><TR>

        <?php endif; ?>
<?php endfor; endif; ?>
</tr></table>
      </td>
     </tr>
         <tr><td></td></tr>
         <?php endif; ?>		 
		 
     <?php if (count ( $this->_tpl_vars['size'] ) > 0): ?>
     <tr><td><span><?php if ($this->_tpl_vars['rubric']['id'] == 14032):  echo @FILTER_LABEL_6;  else:  echo @FILTER_LABEL_7;  endif; ?></span></td></tr>
         <tr><td>
<table cellpadding="2" cellspacing="0"><tr>
<tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['size']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $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']);
?>
 <td><input type="checkbox" onClick="document.location='<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4(array('prefix' => 's','n' => $this->_tpl_vars['size'][$this->_sections['i']['index']]['size']), $this);?>
'"  value="<?php echo $this->_tpl_vars['size'][$this->_sections['i']['index']]['size']; ?>
" <?php echo smarty_function_isfil(array('prefix' => 's','n' => $this->_tpl_vars['size'][$this->_sections['i']['index']]['size']), $this);?>
 /></td><td width="100%"><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4(array('prefix' => 's','n' => $this->_tpl_vars['size'][$this->_sections['i']['index']]['size']), $this);?>
"><?php echo $this->_tpl_vars['size'][$this->_sections['i']['index']]['size']; ?>
</a> <?php if ($this->_sections['i']['index'] < count ( $this->_tpl_vars['size'] ) -1): ?> <?php endif; ?></td>
<?php if (! ( $this->_sections['i']['rownum'] % 1 )): ?>

                        </TR><TR>

        <?php endif; ?>
<?php endfor; endif; ?>
</tr></table>
      </td>
     </tr>
         <tr><td></td></tr>
         <?php endif; ?> 


		 
<?php if (count ( $this->_tpl_vars['years'] ) > 0): ?>
      <tr><td><span><?php echo @FILTER_LABEL_8; ?>
</span></td></tr>
          <tr><td>
<table cellpadding="2" cellspacing="0"><tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['years']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $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']);
?>
<tr>
 <td><input type="checkbox" onClick="document.location='<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4(array('prefix' => 'y','n' => $this->_tpl_vars['years'][$this->_sections['i']['index']]['id'],'s' => $this->_tpl_vars['years'][$this->_sections['i']['index']]['name']), $this);?>
'"  value="<?php echo $this->_tpl_vars['years'][$this->_sections['i']['index']]['id']; ?>
" <?php echo smarty_function_isfil(array('prefix' => 'y','n' => $this->_tpl_vars['years'][$this->_sections['i']['index']]['id'],'s' => $this->_tpl_vars['years'][$this->_sections['i']['index']]['name']), $this);?>
 <?php unset($this->_sections['f']);
$this->_sections['f']['name'] = 'f';
$this->_sections['f']['loop'] = is_array($_loop=$_GET['yearID']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['f']['show'] = true;
$this->_sections['f']['max'] = $this->_sections['f']['loop'];
$this->_sections['f']['step'] = 1;
$this->_sections['f']['start'] = $this->_sections['f']['step'] > 0 ? 0 : $this->_sections['f']['loop']-1;
if ($this->_sections['f']['show']) {
    $this->_sections['f']['total'] = $this->_sections['f']['loop'];
    if ($this->_sections['f']['total'] == 0)
        $this->_sections['f']['show'] = false;
} else
    $this->_sections['f']['total'] = 0;
if ($this->_sections['f']['show']):

            for ($this->_sections['f']['index'] = $this->_sections['f']['start'], $this->_sections['f']['iteration'] = 1;
                 $this->_sections['f']['iteration'] <= $this->_sections['f']['total'];
                 $this->_sections['f']['index'] += $this->_sections['f']['step'], $this->_sections['f']['iteration']++):
$this->_sections['f']['rownum'] = $this->_sections['f']['iteration'];
$this->_sections['f']['index_prev'] = $this->_sections['f']['index'] - $this->_sections['f']['step'];
$this->_sections['f']['index_next'] = $this->_sections['f']['index'] + $this->_sections['f']['step'];
$this->_sections['f']['first']      = ($this->_sections['f']['iteration'] == 1);
$this->_sections['f']['last']       = ($this->_sections['f']['iteration'] == $this->_sections['f']['total']);
 if ($this->_tpl_vars['years'][$this->_sections['i']['index']]['id'] == $_GET['yearID'][$this->_sections['f']['index']]): ?>checked<?php endif;  endfor; endif; ?> /></td><td><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo smarty_function_url4(array('prefix' => 'y','n' => $this->_tpl_vars['years'][$this->_sections['i']['index']]['id'],'s' => $this->_tpl_vars['years'][$this->_sections['i']['index']]['name']), $this);?>
"><?php echo $this->_tpl_vars['years'][$this->_sections['i']['index']]['name']; ?>
</a> <?php if ($this->_sections['i']['index'] < count ( $this->_tpl_vars['years'] ) -1): ?> <?php endif; ?></td>
</tr>
<?php endfor; endif; ?>
</table>
      </td></tr>
          <tr><td></td></tr>
          <?php endif; ?>         
         </table>
                </form>
        
        </div></div>
        <div class="fb"></div>
		<br />
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "box/banner.tpl", 'smarty_include_vars' => array('banner' => $this->_tpl_vars['banner_15'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		<br />
		<?php echo '
<!-- AdRiver code START: Oi?aaeaiea ?ioaoeae: eia noaia?ey; AD: 501856 "NP_Ski_aaca_oiaa?iay";   noaia?ee   ID 1831618 "extremstyle1" ; 240x120 -->
<script type="text/javascript">
var RndNum4NoCash = Math.round(Math.random() * 1000000000);
var ar_Tail=\'unknown\'; if (document.referrer) ar_Tail = escape(document.referrer);
document.write(
\'<iframe src="http://ad.adriver.ru/cgi-bin/erle.cgi?\'
+ \'sid=1&w=240&h=175&bt=8&ad=501856&pid=1831618&bn=1831618&rnd=\' + RndNum4NoCash + \'&tail256=\' + ar_Tail
+ \'" frameborder=0 vspace=0 hspace=0 width=240 height=175 marginwidth=0\'
+ \' marginheight=0 scrolling=no></iframe>\');
</script>
<noscript>
<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=8&ad=501856&pid=1831618&bn=1831618&rnd=1674955588" target="_blank">
<img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=8&ad=501856&pid=1831618&bn=1831618&rnd=1674955588" alt="-AdRiver-" border=0 width=240 height=175></a>
</noscript>
<!-- AdRiver code END -->		
		'; ?>

		
		
<?php if (count ( $this->_tpl_vars['products_view'] ) > 0): ?>
<br />        
<div class="head"><?php echo @ETAB51; ?>
</div>
<div class="box_products">
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['products_view']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $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']);
?>
        <div class="product">
       <a href="<?php echo @URL;  echo $this->_tpl_vars['products_view'][$this->_sections['i']['index']]['rubric_translit']; ?>
-catalogs/<?php echo $this->_tpl_vars['products_view'][$this->_sections['i']['index']]['translit']; ?>
-<?php echo $this->_tpl_vars['products_view'][$this->_sections['i']['index']]['id']; ?>
/"><img src="<?php echo @URL; ?>
uploaded/pic/catalogs/products/<?php echo $this->_tpl_vars['products_view'][$this->_sections['i']['index']]['pic']; ?>
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['products_view'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['products_view'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" border="0" class="pic" /></a>
       <p class="name1"><strong><?php echo $this->_tpl_vars['products_view'][$this->_sections['i']['index']]['rubric']; ?>
</strong> <a href="<?php echo @URL;  echo $this->_tpl_vars['products_view'][$this->_sections['i']['index']]['rubric_translit']; ?>
-catalogs/<?php echo $this->_tpl_vars['products_view'][$this->_sections['i']['index']]['translit']; ?>
-<?php echo $this->_tpl_vars['products_view'][$this->_sections['i']['index']]['id']; ?>
/" style="text-transform:uppercase;" class="link_green"><strong><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['products_view'][$this->_sections['i']['index']]['name'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 30) : smarty_modifier_truncate($_tmp, 30)); ?>
</strong></a></p>
       <p class="cost"><?php echo $this->_tpl_vars['products_view'][$this->_sections['i']['index']]['cine']; ?>
 ãðí.</p>
        </div>
<?php endfor; endif; ?>
</div>        
<?php endif; ?>        
</div>
<div class="content">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "box/navig.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "banners_top.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php if ($this->_tpl_vars['rubric']['top_text'] && ! $_GET['filter'] && ! $_GET['brend'] && ! $_GET['sex']): ?>
	<?php echo ((is_array($_tmp=$this->_tpl_vars['rubric']['top_text'])) ? $this->_run_mod_handler('replace', true, $_tmp, '2013', '2014') : smarty_modifier_replace($_tmp, '2013', '2014')); ?>

<?php elseif (! $this->_tpl_vars['rubric']['seo_text'] || $_GET['filter'] || $_GET['brend'] || $_GET['sex']): ?>
	<?php echo ((is_array($_tmp=$this->_tpl_vars['f_text'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>

<?php endif; ?>

<?php if ($this->_tpl_vars['brend_seo']['id'] > 0 && ( ! $_GET['pageID'] && ! $_GET['page'] ) && $_GET['b']): ?><div class="mt mb"><?php echo ((is_array($_tmp=$this->_tpl_vars['brend_seo']['seo'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>
</div><?php endif; ?>

<div class="mt">
<?php if ($this->_tpl_vars['rubric']['id'] > 0 && ! $_GET['what']): ?><h1><?php if ($this->_tpl_vars['url_h1']):  echo $this->_tpl_vars['url_h1'];  elseif ($this->_tpl_vars['str_filter']):  echo $this->_tpl_vars['str_filter'];  elseif ($this->_tpl_vars['rubric']['name_h1']):  echo $this->_tpl_vars['rubric']['name_h1'];  else:  echo $this->_tpl_vars['rubric']['name'];  endif; ?></h1><?php elseif ($this->_tpl_vars['brend_seo']['id'] > 0): ?><h1><?php echo $this->_tpl_vars['brend_seo']['name']; ?>
</h1><?php else: ?><div class="h1"><?php echo $this->_tpl_vars['rules_info_one']['name']; ?>
</div><?php endif; ?>
</div>

<?php if (count ( $this->_tpl_vars['catalogs_rubrics_parent2'] )): ?>
<div class="boxrp"><div class="wrp">
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['catalogs_rubrics_parent2']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $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']);
?>
 <a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo $this->_tpl_vars['catalogs_rubrics_parent2'][$this->_sections['i']['index']]['translit']; ?>
-catalogs/"><?php echo $this->_tpl_vars['catalogs_rubrics_parent2'][$this->_sections['i']['index']]['name']; ?>
</a> &nbsp; 
<?php endfor; endif; ?>
</div></div>
<?php endif; ?>







<select style="float:right;margin-right:20px;width:150px;" onChange="document.location='?'+this.value;">
<option value="search_str=<?php echo $_GET['search_str']; ?>
&sort=cine&order=asc" <?php if ($_GET['sort'] == 'cine' && $_GET['order'] == 'asc'): ?>selected<?php endif; ?>><?php echo @SORT_1; ?>
</option>
<option value="search_str=<?php echo $_GET['search_str']; ?>
&sort=cine&order=desc" <?php if ($_GET['sort'] == 'cine' && $_GET['order'] == 'desc'): ?>selected<?php endif; ?>><?php echo @SORT_2; ?>
</option>
<option value="search_str=<?php echo $_GET['search_str']; ?>
&sort=click&order=desc" <?php if ($_GET['sort'] == 'click' && $_GET['order'] == 'desc'): ?>selected<?php endif; ?>><?php echo @SORT_3; ?>
</option>
<option value="search_str=<?php echo $_GET['search_str']; ?>
&sort=click&order=asc" <?php if ($_GET['sort'] == 'click' && $_GET['order'] == 'asc'): ?>selected<?php endif; ?>><?php echo @SORT_4; ?>
</option>
</select>

        <ul class="list mrt" id="list13">
                <li id="tab31" class="tab <?php if (! $_GET['new'] && ! $_GET['top']): ?>active<?php endif; ?>"><span class="l"></span><a href="<?php echo @URL;  if ($_REQUEST['rubID']):  echo $_REQUEST['rubID']; ?>
-<?php endif; ?>catalogs/" data-tab="#etab31"><?php echo @PRODUCTS_TAB_1; ?>
</a><span class="r"></span></li>
                <?php if (count ( $this->_tpl_vars['products_active'] )): ?><li id="tab32" class="tab <?php if ($_GET['new'] == 1): ?>active<?php endif; ?>"><span class="l"></span><a href="<?php echo @URL;  if ($_REQUEST['rubID']):  echo $_REQUEST['rubID']; ?>
-<?php endif; ?>catalogs/new/" data-tab="#etab32"><?php echo @ETAB11; ?>
</a><span class="r"></span></li><?php endif; ?>
                <?php if (count ( $this->_tpl_vars['products_top'] )): ?><li id="tab33" class="tab <?php if ($_GET['top'] == 1): ?>active<?php endif; ?>"><span class="l"></span><a href="<?php echo @URL;  if ($_REQUEST['rubID']):  echo $_REQUEST['rubID']; ?>
-<?php endif; ?>catalogs/top/" data-tab="#etab33"><?php echo @ETAB12; ?>
</a><span class="r"></span></li><?php endif; ?>
                <?php if (count ( $this->_tpl_vars['products_akcii'] )): ?><li id="tab34" class="tab red <?php if ($_GET['akciiID'] == 1): ?>active<?php endif; ?>"><span class="l"></span><a href="<?php echo @URL;  if ($_REQUEST['rubID']):  echo $_REQUEST['rubID']; ?>
-<?php endif; ?>catalogs/akcii/"><?php echo @ETAB13; ?>
</a><span class="r"></span></li><?php endif; ?>
				<?php if ($this->_tpl_vars['rubric']['id'] == 13979): ?><li class="green"><span class="l"></span><a href="http://velosipedy.extremstyle.ua/"><?php echo @PRODUCTS_TAB_4; ?>
</a><span class="r"></span></li><?php endif; ?>
		</ul> 
        <div class="tab_container" style="width:730px;border-radius:0px 5px 5px 5px;">
                <div id="etab31" class="tab_content4" style="padding:0px;">
<?php if (count ( $this->_tpl_vars['productsData']['data'] )): ?>
   <div class="products">
 <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['productsData']['data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $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']);
?>

        <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "box/product.tpl", 'smarty_include_vars' => array('data' => $this->_tpl_vars['productsData']['data'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
        
     <?php if (! ( $this->_sections['i']['rownum'] % 5 )): ?>
                <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "box/banner.tpl", 'smarty_include_vars' => array('banner' => $this->_tpl_vars['banner_10'],'sub_place' => $this->_sections['i']['rownum'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
     <?php endif; ?>
  
 <?php endfor; endif; ?>
   </div>

<div style="padding:20px;">
<div class="perPage">Òîâàðîâ íà ñòðàíèöó: <select style="margin-top:-5px;" class="input_form" onChange="document.location='<?php echo smarty_function_url(array('var' => 'perPage'), $this);?>
perPage='+this.value;"><option value="20" <?php if ($_GET['perPage'] == 20): ?>selected<?php endif; ?>>20</option><option value="40" <?php if ($_GET['perPage'] == 40): ?>selected<?php endif; ?>>40</option><option value="60" <?php if ($_GET['perPage'] == 60): ?>selected<?php endif; ?>>60</option><option value="80" <?php if ($_GET['perPage'] == 80): ?>selected<?php endif; ?>>80</option><option value="100" <?php if ($_GET['perPage'] == 100): ?>selected<?php endif; ?>>100</option></select></div>
<?php if ($this->_tpl_vars['productsData']['links']): ?>
<div class="pager">Ñòðàíèöû: <?php echo $this->_tpl_vars['productsData']['links']; ?>
</div>
<?php endif; ?>
<?php endif; ?>
    <?php if ($this->_tpl_vars['url_text']): ?>
		<?php echo ((is_array($_tmp=$this->_tpl_vars['url_text'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>

	<?php else: ?>	
	<?php if (! $_GET['pageID'] && ! $_GET['filter']): ?>
		<?php if ($this->_tpl_vars['rubric']['translit'] == 'krossovki' && $this->_tpl_vars['brend_seo']['name'] == 'The North Face' && ! $_GET['page']): ?>
North Face - íàçâàíèå òÿæåëîãî ãîðíîãî ïîäúåìà â Àìåðèêå, êîòîðûé ïûòàëèñü âçÿòü ïðèñòóïîì îñíîâàòåëè ìàðêè åùå ïîëâåêà íàçàä. Îòòóäà è íàçâàíèå áðåíäà: ïðîôåññèîíàëüíûå ñïîðòñìåíû ðåøèëè ïðîèçâîäèòü ñîáñòâåííóþ êà÷åñòâåííóþ îäåæäó è îáóâü äëÿ ýêñòðåìàëüíîãî ñïîðòà. Ëþáàÿ îáóâü "ñåâåðÿí" - ýòî îáùèé äèçàéí è ïðèíöèï ëåãêîâåñíîñòè. Êðîññîâêè The North Face, ñàíäàëèè, áîòèíêè è äàæå ñàïîãè - âñå îíè ïîõîæè: óäîáíàÿ ïîäîøâà, ìíîãîñîñòàâíûé ñëîæíûé "âåðõ", ëàêîíè÷íûé, íî ýëåãàíòíûé äèçàéí.
<br /><br />
Ïðîäóêöèÿ North Face ïðîèçâîäèòñÿ âî ìíîãèõ ñòðàíàõ ìèðà, íî â Êèòàå âû, ñêîðåå âñåãî, ïðèîáðåòåòå ïîääåëêó. Îðèãèíàëüíûé òîâàð - ýòî ÑØÀ. Ìàòåðèàë ñàìèõ êðîññîâîê - ëåãêèé, íî î÷åíü ïðî÷íûé, ñ çàùèòíîé ñåòêîé. Òàêèå êðîññîâêè ïîçâîëÿò íîãå äûøàòü, òàê êàê ñîõðàíÿþò íîðìàëüíóþ öèðêóëÿöèþ âîçäóõà. Îòäåëüíîå íîó-õàó - ýòî ïîäîøâà. Âî-ïåðâûõ, îíà ïðîèçâîäèòñÿ ñ ïîääåðæêàìè - íà ïÿòêè è íà íîñêå, ÷òî îáëåã÷àåò õîäüáó íà ñëîæíûõ "òðàññàõ". Âî-âòîðûõ, ñàìà ïîäîøâà î÷åíü ëåãêàÿ è èìåþò ýôôåêò âèáðàöèè, êîòîðûé äîñòèãàåòñÿ çà ñ÷åò òîãî, ÷òî ïîäîøâà ìíîãîñëîéíàÿ, è ýòè ñëîè ïëîòíî ïðåññóþòñÿ â ïðîöåññå èçãîòîâëåíèÿ îáóâè.
<br /><br />
Íà âûõîäå - îòëè÷íûé ðåçóëüòàò: êà÷åñòâåííûå êðîññîâêè ïðàêòè÷åñêè äëÿ ëþáîãî âèäà ñïîðòà, êîòîðûå ñëóæàò ãîäàìè, ìåäëåííî èçíàøèâàþòñÿ è îáåñïå÷èâàþò îïòèìàëüíóþ ôèçèêó ðàáîòå âàøåé ñòîïû.
		<?php elseif ($this->_tpl_vars['rubric']['translit'] == 'krossovki' && $this->_tpl_vars['brend_seo']['name'] == 'ROXY' && ! $_GET['page']): ?>
Áðåíä ROXY áûë ñîçäàí åù¸ â äàëåêîì 1990 ãîäó, è ñìîã ñðàçó çàâîåâàòü ñèìïàòèþ ó áîëüøèíñòâà æåíñêîãî íàñåëåíèÿ àáñîëþòíî âî âñåõ ñòðàíàõ. Âñå äåëî çàêëþ÷àåòñÿ â òîì, ÷òî ROXY áûë ñîçäàí, êàê æåíñêàÿ âåòêà èçâåñòíîé ôèðìû Quicksilver, è îðèåíòèðîâàëñÿ â îñíîâíîì íà ìîëîäåæü. 
Óæå âåñíîé 1996 ãîäà áðåíä ïðåäñòàâèë îáùåñòâåííîñòè êðîññîâêè ROXY, êîòîðûå íà äàííûé ìîìåíò ñ÷èòàþòñÿ ýòàëîíîì æåíñêîãî ýêñòðåìàëüíîãî îòäûõà.  àññîðòèìåíòå ýòî êîìïàíèè ìîãóò áûòü êàê îáû÷íûå êåäû äëÿ ïîâñåäíåâíîé õîäüáû, òàê è óòåïëåííûå êðîññîâêè, çàâîåâàâøèå ïîïóëÿðíîñòü ó æåíñêîãî íàñåëåíèÿ áëàãîäàðÿ çàìå÷àòåëüíîé ñöåïêå ñ ïîâåðõíîñòüþ (îñîáåííî àêòóàëüíî áóäåò äëÿ ïóòåøåñòâèé â ãîðû). 
<br />
Åñëè âàì íóæíû êðîññîâêè ROXY êóïèòü èõ íå ïðîáëåìà, ïî òîé ïðè÷èíå, ÷òî òîâàð ýòîãî áðåíäà ïðåäñòàâëåí â áîëüøèíñòâå ñïîðòèâíûõ ìàãàçèíîâ Óêðàèíû. Ìåæäó ïðî÷èì, êðîññîâêè ROXY â Êèåâå çàâîåâàëè ïðèçíàòåëüíîñòü ìîëîäûõ äåâóøåê, è, âî âðåìÿ ñïîêîéíî ïðîãóëêè ïî òèõèì óëèöàì ìîæíî óâèäåòü, ÷òî áîëüøèíñòâî ìîëîäåæè ïðåäïî÷èòàþ íîñèòü èìåííî ýòó ôèðìó êðîññîâîê. 
Ìåæäó ïðî÷èì, êîìïàíèÿ ROXY ïîñòîÿííî ïðîäîëæàåò ðàñøèðÿòü ñâîþ ëèíèþ ìîëîäåæíîé îáóâè çà ñ÷åò àêòèâíîñòè, ïðîãðåññèâíîñòè, à òàêæå çà ñ÷åò ñîçäàíèÿ òîãî ïðîäóêòà, êîòîðûé ïîäîéäåò íà ðàçëè÷íûå ñëó÷àè â æèçíè, è îáÿçàòåëüíî áóäåò ïðåäíàçíà÷åí òîëüêî äëÿ ñàìîé àêòèâíîé ìîëîäåæíîé àóäèòîðèè.		
		<?php elseif ($this->_tpl_vars['rubric']['translit'] == "ryukzaki-2" && $this->_tpl_vars['brend_seo']['name'] == 'Dakine' && ! $_GET['page']): ?>
Êàæäûé ñòóäåíò è êàæäûé ïðîôåññîð, ëþáàÿ äîìîõîçÿéêà è âñÿ åå ÷åòà - âñå ëþáÿò íàñëàæäàòüñÿ ÷èñòîòîé è äåâñòâåííîñòüþ ïðèðîäû. Íà äâîðå ëåòî è ñàìîå âðåìÿ îòïðàâèòüñÿ â ñåìåéíûé, èëè òîâàðèùåñêèé ïîõîä. Êàæäûé ëþáèòåëü òóðèñòè÷åñêîãî äåëà çíàåò, ÷òî ñàìîå âàæíîå â ïóòè - ýòî îáåñïå÷åíèå êîìôîðòà. Îñíîâîé ïîõîäíîãî êîìôîðòà ÿâëÿåòñÿ êà÷åñòâåííûé ðþêçàê, êîòîðûé ïîçâîëÿåò íå îáðàùàòü âíèìàíèå íà òÿæåñòü íîøè è íå òðàâìèðóåò ïëå÷è.
<br />
Îäíèìè èç ïðèçíàííûõ âàðèàíòîâ ñíàðÿæåíèÿ ÿâëÿþòñÿ ðþêçàêè Dakine. Îíè îáåñïå÷èâàþò óäîáíóþ ïîñàäêó ðþêçàêà è ðàâíîìåðíî ðàñïðåäåëÿþò âñþ íàãðóçêó. Êðîìå óäîáíîé ýêñïëóàòàöèè îíè èìåþò äîïîëíèòåëüíûå âîçìîæíîñòè - êðåïëåíèÿ ëûæ, ñíîóáîðäà è äðóãîãî ñíàðÿæåíèÿ. 
<br />	
Íàø èíòåðíåò-ìàãàçèí "ÅêñòðåìÑòàéë" ïðåäñòàâëÿåò âåñü ìîäåëüíûé ðÿä Dakine. Âêëþ÷àÿ æåíñêèå è ìóæñêèå, òóðèñòè÷åñêèå è ãîðîäñêèå ðþêçàêè, îòëè÷àþùèåñÿ áîëüøèì êîìôîðòîì íîøåíèÿ. Òàê æå â àññîðòèìåíòå ìàãàçèíà ïðèñóòñòâóþò ñóìêè Dakine, êîòîðûå ïðîñòî íåçàìåíèìû â ëþáîé ïîåçäêå.
<br />
Âñÿ íàøà ïðîäóêöèÿ Dakine îáëàäàåò ãàðàíòèðîâàííîé ïðî÷íîñòüþ è áóäåò îáëåã÷àòü Âàøó æèçíü äîëãèå ãîäû.	
		<?php elseif ($this->_tpl_vars['rubric']['translit'] == "ryukzaki-2" && $this->_tpl_vars['brend_seo']['name'] == 'Powerslide' && ! $_GET['page']): ?>
Âñå ÷àùå ìîæíî óâèäåòü ìîëîäûõ è íå î÷åíü ëþäåé åäóùèõ íà ðîëèêàõ ïî óëèöàì íàøåãî ãîðîäà. Ðîëëåð äâèæåíèå äîñòàòî÷íî ìîëîäî, íî ñ çàâèäíûì ïîñòîÿíñòâîì ðàñòåò è ðàçâèâàåòñÿ. Ïðèÿòíî ïðîñòî ïðîêàòèòüñÿ ïî ïàðêó, îùóùàÿ íåæíîå ïðèêîñíîâåíèå âåòðà, ëèáî çàâîåâàòü ÷üå-òî ñåðäöå óìåíèåì èñïîëíÿòü ðàçíûå òðþêè. Íî ðàíî, èëè ïîçäíî ïðèõîäèòüñÿ "ñïóñêàòüñÿ" íà ãðåøíóþ çåìëþ è ñíèìàòü ðîëèêè. È âîò íåçàäà÷à, íåñòè èõ â ðóêàõ äîñòàòî÷íî íå óäîáíî, à ðþêçàê ìîæåò ïðîñòî íå ïîìåñòèòü ñòîëü ñïåöèôè÷åñêèé ïðåäìåò. Äëÿ ýòîãî è áûëè ñîçäàíû ðþêçàêè äëÿ ðîëèêîâ, êîòîðûå îáåñïå÷èâàþò óäîáíóþ ïåðåâîçêó.
<br />	
Ðþêçàêè Powerslide èìåþò öåëóþ ñåðèþ ïðåäíàçíà÷åííóþ ðîëëåðàì. À íàø èíòåðíåò-ìàãàçèí ñïîðòèâíûõ òîâàðîâ "ÅêñòðåìÑòàéë" ñ óäîâîëüñòâèåì ïîìîæåò ñ Âàøèì âûáîðîì. Ðþêçàêè Powerslide Êèåâ çíàåò óæå äàâíî è ìíîãèå ïðèìåðû ýòîãî áðåíäà äîâîëüíî ÷àñòî ìîæíî âñòðåòèòü ïðîñòî íà óëèöå. Ðþêçàêè Powerslide êóïèòü ñîâåðøåííî íå ñëîæíî - ñâÿæèòåñü ñ íàøèì ìåíåäæåðîì, èëè íàïèøèòå çàÿâêó íà íàøó ïî÷òó. Íàøà äîñòàâêà ðàáîòàåò î÷åíü áûñòðî è Âàì íå ïðèäåòñÿ äîëãî æäàòü ñòîëü íåîáõîäèìîãî ñíàðÿæåíèÿ.	
		<?php elseif ($this->_tpl_vars['rubric']['translit'] == "ryukzaki-2" && $this->_tpl_vars['brend_seo']['name'] == 'The North Face' && ! $_GET['page']): ?>
Êàêîé òóðèñò íå öåíèò ñâîåãî ñíàðÿæåíèÿ, âåäü îò íåãî çàâèñèò óäîáñòâî, à èíîãäà äàæå æèçíü. È áûâàåò ïîðîé î÷åíü âàæíî, ÷òîáû õâàòèëî ñèë îäîëåòü çàïëàíèðîâàííûé ìàðøðóò.  òóðèçìå âñå âçàèìîñâÿçàíî è êà÷åñòâà ñíàðÿæåíèÿ, êîìôîðòà â ýêñïëóàòàöèè ëþáîãî ïðåäìåòà, âåñ, îáúåì - âñå áóêâàëüíî. Íó à ÷òî ñàìîå îñíîâíîå ó èñêàòåëÿ ïðèêëþ÷åíèé áðåäóùåãî ïî ëåñàì, èëè êàðàáêàþùåãîñÿ â ãîðó. Êîíå÷íî æå ðþêçàê, èìåííî îí ÿâëÿåòñÿ õðàíèëèùåì âñåãî ñêàðáà òóðèñòà.
<br />
Èíòåðíåò-ìàãàçèí "ÅêñòðåìÑòàéë" ñíàáäèò äàæå ñàìîãî ïðîôåññèîíàëüíîãî è òðåáîâàòåëüíîãî òóðèñòà ëó÷øèì òóðèñòè÷åñêèì ñíàðÿæåíèåì, â òîì ÷èñëå è ðþêçàêàìè îò ëó÷øèõ áðåíäîâ. Ê ïðèìåðó, òóðèñòè÷åñêèå ðþêçàêè The North Face èñïîëüçóþòñÿ â ïðîõîæäåíèè ñåðüåçíåéøèõ ãîðíûõ ìàðøðóòîâ è îòëè÷íî âûïîëíÿþò âîçëîæåííûå íà íèõ ôóíêöèè.
<br />
Ðþêçàêè The North Face Êèåâ, â ëèöå ïðîôåññèîíàëüíûõ àëüïèíèñòîâ è ïðåäñòàâèòåëåé ïåøåõîäíîãî òóðèçìà, ïðèçíàë ñ ìîìåíòà ïîÿâëåíèÿ íà ðûíêå Óêðàèíû ýòîãî áðåíäà. Òîãäà ýòî áûë "äåôèöèòíûé" òîâàð. Òåïåðü, ðþêçàêè The North Face êóïèòü äîñòóïíî êàæäîìó, â íàøåì ÷óäåñíîì èíòåðíåò-ìàãàçèíå "ÅêñòðåìÑòàéë".
		<?php elseif ($this->_tpl_vars['rubric']['translit'] == 'palatki' && $this->_tpl_vars['brend_seo']['name'] == 'Vaude' && ! $_GET['page']): ?>
Ëåòî ïðåêðàñíî âî âñåõ ñâîèõ ïðîÿâëåíèÿõ, íî ìîæíî ëè â ïîëíîé ìåðå îöåíèòü âñå åãî ïðåëåñòè ñèäÿ â äóøíîì îôèñå. Åùå áû, êîãäà êàê íå ëåòíåé íî÷üþ ìîæíî ïîñèäåòü ñ ãèòàðîé ó êîñòðà, ïîñëóøàòü ÷óäíîå ïåíèå íî÷íûõ ïòèö, ïî÷óâñòâîâàòü æèâèòåëüíîå äûõàíèå ëåñà. Ëåòî äàðèò íàì èñêëþ÷èòåëüíóþ âîçìîæíîñòü è íàø èíòåðíåò-ìàãàçèí "ÅêñòðåìÑòàéë" ïîìîæåò åå íå óïóñòèòü. 
<br />
Àññîðòèìåíò ïðåäëàãàåìûõ íàìè òîâàðîâ äëÿ àêòèâíîãî îòäûõà ïðîñòî áåçãðàíè÷åí. Ìû â ñèëàõ ñíàáäèòü âñåì íåîáõîäèìûì ñíàðÿæåíèåì òóðèñòà-ëþáèòåëÿ è äàæå ñåðüåçíóþ íàó÷íóþ ýêñïåäèöèþ â Ãèìàëàè. Ïðîäóêöèÿ íà ñòðàíèöàõ íàøåãî êàòàëîãà èìåíèòåéøèõ ïðîèçâîäèòåëåé ñïîðòèâíîãî ñíàðÿæåíèÿ, îáîðóäîâàíèÿ è èíâåíòàðÿ. 
<br />		
×òî ãëàâíîå â ïîõîäå - êëàññíàÿ ïàëàòêà, ïàëàòêè Vaude ÿâëÿþòñÿ îäíèìè èç ëó÷øèõ íà ðûíêå òóð ñíàðÿæåíèÿ. Ïàëàòêè Vaude Êèåâ ñ÷èòàåò ñàìûìè ïðèåìëåìûìè áëàãîäàðÿ èõ óíèâåðñàëüíîñòè, êîìïàêòíîñòè è íå âûñîêîìó âåñó. Ýòî äåéñòâèòåëüíî ýëåìåíò ïðîôåññèîíàëüíîãî ñíàðÿæåíèÿ. Ïàëàòêè Vaude êóïèòü íå ñîñòàâëÿåò ïðîáëåìû. Íóæíî âñåãî ëèøü ñäåëàòü îäèí òåëåôîííûé çâîíîê â íàø èíòåðíåò-ìàãàçèí è Âû ïîëó÷èòå âîçìîæíîñòü ïîãðóçèòüñÿ â ëåòî.
		<?php elseif ($this->_tpl_vars['rubric']['translit'] == 'palatki' && $this->_tpl_vars['brend_seo']['name'] == 'The North Face' && ! $_GET['page']): ?>
Åñëè Âû ëþáèòå àêòèâíûé îòäûõ, åñëè øóìíûì è äóøíûì ãîðîäñêèì óëèöàì ïðåäïî÷èòàåòå óåäèíåíèå íà ïðèðîäå, åñëè òóðèçì ýòî Âàøå ëþáèìîå õîááè, èëè äàæå ñìûñë æèçíè - íàø èíòåðíåò ìàãàçèí "ÅêñòðåìÑòàéë" ïðîñòî íàõîäêà. Ìû îáåñïå÷èì Âàø òóðèñòè÷åñêèé çàïàë âñåì íåîáõîäèìûì äëÿ ïðåäåëüíî êîìôîðòíîãî âðåìÿïðîâîæäåíèÿ âäàëè îò ìåãàïîëèñîâ. Ñïàëüíèêè, âñåâîçìîæíûå òóðèñòè÷åñêèå êîâðèêè, îäåæäà äëÿ ýêñòðåìàëüíûõ âèäîâ ñïîðòà, ëè÷íîå îáîðóäîâàíèå, ïàëàòêè è âñå, ÷òî ìîæåò ïîíàäîáèòüñÿ â òóðïîõîäå.
<br />
Ñàìîå ãëàâíîå ñíàðÿæåíèå - ýòî êîíå÷íî æå ïàëàòêà. Îíà îáÿçàíà îáåñïå÷èâàòü ìàêñèìàëüíûì êîìôîðòîì äëÿ ïîëíîöåííîãî îòäûõà. Ëèäåðàìè ïðîäàæ âûñòóïàþò ïàëàòêè The North Face. Ñîîòíîøåíèå ìèíèìàëüíîãî âåñà, ãàðàíòèðîâàííîé ïðî÷íîñòè è íåîáûêíîâåííîé ïðàêòè÷íîñòè äåëàþò èõ ïðîñòî íåçàìåíèìûìè. Ïàëàòêè The North Face Êèåâ ïîëþáèë óæå äîâîëüíî äàâíî è ñî âðåìåíåì ëèøü óòâåðæäàåòñÿ â ëèäåðñòâå ýòîãî áðåíäà.
<br />		
Ïàëàòêè The North Face êóïèòü äîâîëüíî ïðîñòî, äîñòàòî÷íî îñòàâèòü çàÿâêó îíëàéí, èëè ñîçâîíèòüñÿ ñ íàøèì ìåíåäæåðîì ïî òåëåôîíó. Äîñòàâêó âñåõ ïðèîáðåòåííûõ â íàøåì ìàãàçèíå òîâàðîâ, ìû îñóùåñòâëÿåì â êðàò÷àéøèå ñðîêè.
		<?php elseif (! $_GET['filter'] && ! $_GET['brend'] && ! $_GET['sex'] && ! $_GET['page']): ?>
        <?php echo ((is_array($_tmp=$this->_tpl_vars['banner_9']['code'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>

        <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['rubric']['seo_text'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $this->_run_mod_handler('replace', true, $_tmp, '2013', '2014') : smarty_modifier_replace($_tmp, '2013', '2014')); ?>

        <?php endif; ?>
        <?php endif; ?>
	<?php endif; ?>


<?php if (count ( $this->_tpl_vars['brends'] )): ?>
<div>
Âûáèðàÿ <?php if ($this->_tpl_vars['str_filter']):  echo $this->_tpl_vars['str_filter'];  else:  echo $this->_tpl_vars['rubric']['name'];  endif; ?>, âû ìîæåòå óòî÷íèòü áðåíä ïðîèçâîäèòåëÿ:
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['brends']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $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']);
?>
<a href="<?php echo @URL;  if ($_REQUEST['rubID']):  echo $_REQUEST['rubID']; ?>
-<?php endif; ?>catalogs/filter<?php if ($_GET['search_str']): ?>;search_str=<?php echo $_GET['search_str'];  endif; ?>;brend=<?php echo $this->_tpl_vars['brends'][$this->_sections['i']['index']]['name'];  if ($_GET['sex']): ?>;sex=<?php echo $_GET['sex'];  endif;  if ($_GET['filter']): ?>;filter=<?php echo $_REQUEST['filter'];  endif; ?>"><?php echo $this->_tpl_vars['brends'][$this->_sections['i']['index']]['name']; ?>
</a><?php if ($this->_sections['i']['index'] < count ( $this->_tpl_vars['brends'] ) -1): ?>, <?php endif; ?>
<?php endfor; endif; ?>
</div>
<?php endif; ?>	
<?php if (count ( $this->_tpl_vars['sex'] )): ?>
<div>
Òàê æå âû ìîæåòå âûáðàòü òîâàð ïî ïîëó:
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['sex']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $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']);
?>
<a href="<?php echo @URL;  if ($_REQUEST['rubID']):  echo $_REQUEST['rubID']; ?>
-<?php endif; ?>catalogs/filter<?php if ($_GET['search_str']): ?>search_str=<?php echo $_GET['search_str'];  endif;  if ($_GET['brend']): ?>;brend=<?php echo $_GET['brend'];  endif;  if ($_GET['what']): ?>;what=all<?php endif; ?>;sex=<?php echo $this->_tpl_vars['sex'][$this->_sections['i']['index']]['link'];  if ($_GET['filter']): ?>;filter=<?php echo $_REQUEST['filter'];  endif; ?>"><?php echo $this->_tpl_vars['sex'][$this->_sections['i']['index']]['name']; ?>
</a><?php if ($this->_sections['i']['index'] < count ( $this->_tpl_vars['sex'] ) -1): ?>, <?php endif; ?>
<?php endfor; endif; ?>
</div>
<?php endif; ?>

</div>
</div>
</div>

</div>
<div class="both"></div>