@@ -8,8 +8,10 @@ | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<div class="container container-max-width mt-5"> | |||||
<?php require 'pagination.cmp.php' ?> | |||||
<div class="container container-max-width my-5"> | |||||
<div class="mb-4"> | |||||
<?php require 'pagination.cmp.php' ?> | |||||
</div> | |||||
<div> | <div> | ||||
<?php foreach (array_slice ($log_data, | <?php foreach (array_slice ($log_data, | ||||
@@ -37,7 +39,9 @@ | |||||
<?php endforeach ?> | <?php endforeach ?> | ||||
</div> | </div> | ||||
<?php require 'pagination.cmp.php' ?> | |||||
<div class="mt-5"> | |||||
<?php require 'pagination.cmp.php' ?> | |||||
</div> | |||||
</div> | </div> | ||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script> | <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script> | ||||
@@ -1,5 +1,8 @@ | |||||
<?php | <?php | ||||
if ($_SERVER['HTTP_HOST'] === 'nizika.monster') | |||||
header ('location: //nizika.tv'); | |||||
const LOG_PATH = './log.txt'; | const LOG_PATH = './log.txt'; | ||||
$log_data = []; | $log_data = []; | ||||
@@ -1,9 +1,8 @@ | |||||
<div class="my-3"> | |||||
<nav class="d-flex justify-content-center" aria-label="..."> | <nav class="d-flex justify-content-center" aria-label="..."> | ||||
<ul class="pagination"> | <ul class="pagination"> | ||||
<?php if ($page > 1): ?> | <?php if ($page > 1): ?> | ||||
<li class="page-item"> | <li class="page-item"> | ||||
<a class="page-link" href="?p=1">|<</a> | |||||
<a class="page-link no-wrap" href="?p=1">|<</a> | |||||
</li> | </li> | ||||
<?php else: ?> | <?php else: ?> | ||||
<li class="page-item disabled"> | <li class="page-item disabled"> | ||||
@@ -29,7 +28,7 @@ | |||||
<?php if ($page < $pages_max): ?> | <?php if ($page < $pages_max): ?> | ||||
<li class="page-item"> | <li class="page-item"> | ||||
<a class="page-link" href="?p=<?= $pages_max ?>">>|</a> | |||||
<a class="page-link no-wrap" href="?p=<?= $pages_max ?>">>|</a> | |||||
</li> | </li> | ||||
<?php else: ?> | <?php else: ?> | ||||
<li class="page-item disabled"> | <li class="page-item disabled"> | ||||
@@ -38,5 +37,4 @@ | |||||
<?php endif ?> | <?php endif ?> | ||||
</ul> | </ul> | ||||
</nav> | </nav> | ||||
</div> | |||||
@@ -5,8 +5,7 @@ | |||||
.no-wrap | .no-wrap | ||||
{ | { | ||||
display: inline-block; | |||||
float: none; | |||||
white-space: nowrap; | |||||
} | } | ||||
.custom-width | .custom-width | ||||