@@ -38,25 +38,25 @@ |
||
| 38 | 38 | <span class="caption">Вид:</span> |
| 39 | 39 | <span class="group"> |
| 40 | 40 | <?php |
| 41 | - for ($i = 2; $i < 5; $i++) { |
|
| 42 | - $curLimit = $limit * $i; |
|
| 43 | - $curQuery = http_build_query(array_merge($query, ['limit' => $curLimit])); |
|
| 44 | - echo " <a rel=\"nofollow\" href='{$path}?{$curQuery}'>"; |
|
| 45 | - echo !empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '<b>' : ''; |
|
| 46 | - echo $curLimit; |
|
| 47 | - echo !empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '</b>' : ''; |
|
| 48 | - echo "</a> "; |
|
| 49 | - } |
|
| 50 | - if (!empty(App::$cur->ecommerce->config['list_all'])) { |
|
| 51 | - $curLimit = 'all'; |
|
| 52 | - $curQuery = http_build_query(array_merge($query, ['limit' => $curLimit])); |
|
| 53 | - echo " <a rel=\"nofollow\" href='{$path}?{$curQuery}'>"; |
|
| 54 | - echo !empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '<b>' : ''; |
|
| 55 | - echo 'Все'; |
|
| 56 | - echo !empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '</b>' : ''; |
|
| 57 | - echo "</a> "; |
|
| 58 | - } |
|
| 59 | - ?> |
|
| 41 | + for ($i = 2; $i < 5; $i++) { |
|
| 42 | + $curLimit = $limit * $i; |
|
| 43 | + $curQuery = http_build_query(array_merge($query, ['limit' => $curLimit])); |
|
| 44 | + echo " <a rel=\"nofollow\" href='{$path}?{$curQuery}'>"; |
|
| 45 | + echo !empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '<b>' : ''; |
|
| 46 | + echo $curLimit; |
|
| 47 | + echo !empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '</b>' : ''; |
|
| 48 | + echo "</a> "; |
|
| 49 | + } |
|
| 50 | + if (!empty(App::$cur->ecommerce->config['list_all'])) { |
|
| 51 | + $curLimit = 'all'; |
|
| 52 | + $curQuery = http_build_query(array_merge($query, ['limit' => $curLimit])); |
|
| 53 | + echo " <a rel=\"nofollow\" href='{$path}?{$curQuery}'>"; |
|
| 54 | + echo !empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '<b>' : ''; |
|
| 55 | + echo 'Все'; |
|
| 56 | + echo !empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '</b>' : ''; |
|
| 57 | + echo "</a> "; |
|
| 58 | + } |
|
| 59 | + ?> |
|
| 60 | 60 | </span> |
| 61 | 61 | <span class="group"> |
| 62 | 62 | <a rel="nofollow" href='#' onclick="inji.onLoad(function () { |