ニジカもんすたぁ!! トップ・ページ https://nizika.monster
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.frm.php 6.2 KiB

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <!DOCTYPE html>
  2. <html lang="ja">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
  7. <script src="https://code.jquery.com/ui/1.12.0/jquery-ui.min.js"></script>
  8. <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery.ui.datepicker-ja.min.js"></script>
  9. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous" />
  10. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/themes/base/jquery-ui.min.css" />
  11. <link href="./style.css" rel="stylesheet" />
  12. <title>伊地知ニジカ放送局 - ニジカ返答ログ</title>
  13. </head>
  14. <body>
  15. <div class="container my-5">
  16. <div class="accordion mb-5" id="accordion-filter">
  17. <div class="accordion-item">
  18. <h2 class="accordion-header">
  19. <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-filter" aria-expanded="true" aria-controls="collapse-filter">
  20. 絞り込み
  21. </button>
  22. </h2>
  23. <div id="collapse-filter" class="accordion-collapse collapse show" data-bs-parent="#accordion-filter">
  24. <div class="accordion-body mx-5">
  25. <div>
  26. <div class="row d-flex align-items-center my-2">
  27. <div class="col-4 fw-bold">
  28. 順序
  29. </div>
  30. <div class="col-3 form-check">
  31. <input class="form-check-input" type="radio" name="order" id="order-desc"<?= $asc ? '' : ' checked="checked"' ?> />
  32. <label class="form-check-label" for="order-desc">
  33. 新しい順
  34. </label>
  35. </div>
  36. <div class="col-3 form-check">
  37. <input class="form-check-input" type="radio" name="order" id="order-asc"<?= $asc ? ' checked="checked"' : '' ?> />
  38. <label class="form-check-label" for="order-asc">
  39. 古い順
  40. </label>
  41. </div>
  42. </div>
  43. <div class="row d-flex align-items-center my-2">
  44. <div class="col-4 fw-bold">
  45. 日時ニジカ
  46. </div>
  47. <div class="col input-group">
  48. <input type="text" class="form-control" placeholder="YYYY/MM/DD" id="filter-date-start" />
  49. <span class="input-group-text">〜</span>
  50. <input type="text" class="form-control" placeholder="YYYY/MM/DD" id="filter-date-end" />
  51. </div>
  52. </div>
  53. <div class="row d-flex align-items-center my-2">
  54. <div class="col-4 fw-bold">
  55. フリーワード
  56. </div>
  57. <div class="col">
  58. <input type="text" class="form-control" placeholder="ぬ゛ぅ゛ぅ゛ぅ゛ぅ゛ぅ゛ん゛" id="filter-keyword"
  59. value="<?= $keyword ?>"/>
  60. </div>
  61. </div>
  62. </div>
  63. <div class="d-grid gap-2 mt-3">
  64. <button type="button" class="btn btn-primary" id="btn-filter">絞り込む</button>
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. <?php if (count ($log_data) > 0): ?>
  71. <div class="mb-4">
  72. <?php require 'pagination.cmp.php' ?>
  73. </div>
  74. <div>
  75. <?php foreach (array_slice ($log_data,
  76. ($page - 1) * $length,
  77. $length,
  78. true) as $record): ?>
  79. <div class="mb-4">
  80. <div>
  81. <?= $record['date_time'] ?>
  82. </div>
  83. <div>
  84. <img src="<?= $record['chat_icon'] ?>" />
  85. <?= $record['chat_name'] ?>
  86. </div>
  87. <div style="color: blue">
  88. &gt; <span style="font-style: italic"><?= $record['chat_message'] ?></span>
  89. </div>
  90. <div>
  91. <?= $record['answer'] ?>
  92. </div>
  93. </div>
  94. <?php endforeach ?>
  95. </div>
  96. <div class="mt-5">
  97. <?php require 'pagination.cmp.php' ?>
  98. </div>
  99. <?php else: ?>
  100. 何も見つかりませんでしたぬ゛ぅ゛ぅ゛ぅ゛ぅ゛ん゛
  101. <?php endif ?>
  102. </div>
  103. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
  104. <script src="./script.js" type="text/javascript"></script>
  105. </body>
  106. </html>