ちょっと
This commit is contained in:
@@ -8,8 +8,10 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container container-max-width mt-5">
|
||||
<div class="container container-max-width my-5">
|
||||
<div class="mb-4">
|
||||
<?php require 'pagination.cmp.php' ?>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<?php foreach (array_slice ($log_data,
|
||||
@@ -37,8 +39,10 @@
|
||||
<?php endforeach ?>
|
||||
</div>
|
||||
|
||||
<div class="mt-5">
|
||||
<?php require 'pagination.cmp.php' ?>
|
||||
</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>
|
||||
</body>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<?php
|
||||
|
||||
if ($_SERVER['HTTP_HOST'] === 'nizika.monster')
|
||||
header ('location: //nizika.tv');
|
||||
|
||||
const LOG_PATH = './log.txt';
|
||||
|
||||
$log_data = [];
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
<div class="my-3">
|
||||
<nav class="d-flex justify-content-center" aria-label="...">
|
||||
<ul class="pagination">
|
||||
<?php if ($page > 1): ?>
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="?p=1">|<</a>
|
||||
<a class="page-link no-wrap" href="?p=1">|<</a>
|
||||
</li>
|
||||
<?php else: ?>
|
||||
<li class="page-item disabled">
|
||||
@@ -29,7 +28,7 @@
|
||||
|
||||
<?php if ($page < $pages_max): ?>
|
||||
<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>
|
||||
<?php else: ?>
|
||||
<li class="page-item disabled">
|
||||
@@ -38,5 +37,4 @@
|
||||
<?php endif ?>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
+1
-2
@@ -5,8 +5,7 @@
|
||||
|
||||
.no-wrap
|
||||
{
|
||||
display: inline-block;
|
||||
float: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.custom-width
|
||||
|
||||
Reference in New Issue
Block a user