|
@@ 158-164 (lines=7) @@
|
| 155 |
|
$html .= '</li>'; |
| 156 |
|
|
| 157 |
|
$html .= ($this->currentPage === 1) ? '<li class="page-item disabled">' :'<li class="page-item">'; |
| 158 |
|
if (isset($this->customPrev)) { |
| 159 |
|
$html .= $this->customPrev; |
| 160 |
|
} elseif ($this->currentPage === 1) { |
| 161 |
|
$html .= '<a class="page-link" href ="#">' . Icon::custom(Icon::BACKWARD, 'disabled') . '</a>'; |
| 162 |
|
} else { |
| 163 |
|
$html .= '<a class="page-link" href ="' . $this->url($this->currentPage - 1) . '">' . Icon::BACKWARD . '</a>'; |
| 164 |
|
} |
| 165 |
|
$html .= '</li>'; |
| 166 |
|
|
| 167 |
|
for ($x = $start; $x <= ($start + ($pages - 1)); $x++) { |
|
@@ 182-188 (lines=7) @@
|
| 179 |
|
} |
| 180 |
|
|
| 181 |
|
$html .= ($this->currentPage >= $this->pageCount) ? '<li class="page-item disabled">' :'<li class="page-item">'; |
| 182 |
|
if (isset($this->customNext)) { |
| 183 |
|
$html .= $this->customNext; |
| 184 |
|
} elseif ($this->currentPage >= $this->pageCount) { |
| 185 |
|
$html .= '<a class="page-link" href="#">' . Icon::custom(Icon::FORWARD, 'disabled') . '</a>'; |
| 186 |
|
} else { |
| 187 |
|
$html .= '<a class="page-link" href ="' . $this->url($this->currentPage + 1) . '">' . Icon::FORWARD . '</i></a>'; |
| 188 |
|
} |
| 189 |
|
$html .= '</li>'; |
| 190 |
|
|
| 191 |
|
$html .= ($this->currentPage >= $this->pageCount) ? '<li class="page-item disabled">' : '<li class="page-item">'; |
|
@@ 192-198 (lines=7) @@
|
| 189 |
|
$html .= '</li>'; |
| 190 |
|
|
| 191 |
|
$html .= ($this->currentPage >= $this->pageCount) ? '<li class="page-item disabled">' : '<li class="page-item">'; |
| 192 |
|
if (isset($this->customNext)) { |
| 193 |
|
$html .= $this->customNext; |
| 194 |
|
} elseif ($this->currentPage >= $this->pageCount) { |
| 195 |
|
$html .= '<a class="page-link" href="#">' . Icon::custom(Icon::FAST_FORWARD, 'disabled') . '</a>'; |
| 196 |
|
} else { |
| 197 |
|
$html .= '<a class="page-link" href ="' . $this->url($this->pageCount) . '">' . Icon::FAST_FORWARD . '</i></a>'; |
| 198 |
|
} |
| 199 |
|
$html .= '</li>'; |
| 200 |
|
$html .= '</ul></nav>'; |
| 201 |
|
|