Browse Source

ちょっと

bc-detail
miteruzo 11 months ago
parent
commit
601780b8af
4 changed files with 13 additions and 9 deletions
  1. +7
    -3
      broadcast/index.frm.php
  2. +3
    -0
      broadcast/index.php
  3. +2
    -4
      broadcast/pagination.cmp.php
  4. +1
    -2
      broadcast/style.css

+ 7
- 3
broadcast/index.frm.php View File

@@ -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>


+ 3
- 0
broadcast/index.php View File

@@ -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 = [];


+ 2
- 4
broadcast/pagination.cmp.php View File

@@ -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">|&lt;</a>
<a class="page-link no-wrap" href="?p=1">|&lt;</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 ?>">&gt;|</a>
<a class="page-link no-wrap" href="?p=<?= $pages_max ?>">&gt;|</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>



+ 1
- 2
broadcast/style.css View File

@@ -5,8 +5,7 @@


.no-wrap .no-wrap
{ {
display: inline-block;
float: none;
white-space: nowrap;
} }


.custom-width .custom-width


Loading…
Cancel
Save