Changeset 976 for trunk/Modules/News/NewsPage.php
- Timestamp:
- Jun 30, 2025, 3:24:41 PM (14 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/News/NewsPage.php
r964 r976 252 252 $RowTotal = $DbResult->fetch_array(); 253 253 $PageMax = $RowTotal[0]; 254 if (array_key_exists('page', $_GET) ) $Page = $_GET['page'];255 else $Page = 0; //round($PageMax/$PerPage);254 if (array_key_exists('page', $_GET) and is_numeric($_GET['page'])) $Page = $_GET['page'] * 1; 255 else $Page = 0; 256 256 $Output .= '<strong>Seznam aktualit kategorie '.$Category['Caption'].':</strong><div style="font-size: small;">'; 257 257 $Output .= PagesList('?category='.$Category['Id'].'&page=', $Page, $PageMax, $PerPage); … … 400 400 { 401 401 $this->RawPage = true; 402 $this->FormatHTML = false;402 Core::Cast($this->System)->BaseView->FormatHTML = false; 403 403 Header('Content-Type: text/xml'); 404 404 … … 424 424 if (strlen($Where) > 2) $Where = substr($Where, 2); 425 425 else $Where = 1; 426 } else $Where = 1; 426 } else $Where = 1; 427 427 } else $Where = 1; 428 428
Note:
See TracChangeset
for help on using the changeset viewer.