|
@@ 188-194 (lines=7) @@
|
| 185 |
|
$html .= '</li>'; |
| 186 |
|
|
| 187 |
|
$html .= ($this->currentPage === 1) ? '<li class="page-item disabled">' :'<li class="page-item">'; |
| 188 |
|
if (isset($this->customPrev)) { |
| 189 |
|
$html .= $this->customPrev; |
| 190 |
|
} elseif ($this->currentPage === 1) { |
| 191 |
|
$html .= '<a class="page-link" href ="#">' . Icon::custom(Icon::BACKWARD, 'disabled') . '</a>'; |
| 192 |
|
} else { |
| 193 |
|
$html .= '<a class="page-link" href ="' . $this->url($this->currentPage - 1) . '">' . Icon::BACKWARD . '</a>'; |
| 194 |
|
} |
| 195 |
|
$html .= '</li>'; |
| 196 |
|
|
| 197 |
|
for ($x = $start; $x <= ($start + ($pages - 1)); $x++) { |
|
@@ 212-218 (lines=7) @@
|
| 209 |
|
} |
| 210 |
|
|
| 211 |
|
$html .= ($this->currentPage >= $this->pageCount) ? '<li class="page-item disabled">' :'<li class="page-item">'; |
| 212 |
|
if (isset($this->customNext)) { |
| 213 |
|
$html .= $this->customNext; |
| 214 |
|
} elseif ($this->currentPage >= $this->pageCount) { |
| 215 |
|
$html .= '<a class="page-link" href="#">' . Icon::custom(Icon::FORWARD, 'disabled') . '</a>'; |
| 216 |
|
} else { |
| 217 |
|
$html .= '<a class="page-link" href ="' . $this->url($this->currentPage + 1) . '">' . Icon::FORWARD . '</i></a>'; |
| 218 |
|
} |
| 219 |
|
$html .= '</li>'; |
| 220 |
|
|
| 221 |
|
$html .= ($this->currentPage >= $this->pageCount) ? '<li class="page-item disabled">' : '<li class="page-item">'; |
|
@@ 222-228 (lines=7) @@
|
| 219 |
|
$html .= '</li>'; |
| 220 |
|
|
| 221 |
|
$html .= ($this->currentPage >= $this->pageCount) ? '<li class="page-item disabled">' : '<li class="page-item">'; |
| 222 |
|
if (isset($this->customNext)) { |
| 223 |
|
$html .= $this->customNext; |
| 224 |
|
} elseif ($this->currentPage >= $this->pageCount) { |
| 225 |
|
$html .= '<a class="page-link" href="#">' . Icon::custom(Icon::FAST_FORWARD, 'disabled') . '</a>'; |
| 226 |
|
} else { |
| 227 |
|
$html .= '<a class="page-link" href ="' . $this->url($this->pageCount) . '">' . Icon::FAST_FORWARD . '</i></a>'; |
| 228 |
|
} |
| 229 |
|
$html .= '</li>'; |
| 230 |
|
$html .= '</ul></nav>'; |
| 231 |
|
|