ニジカもんすたぁ!! トップ・ページ 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 7.2 KiB

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
7 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <!-- vim:set tabstop=4 softtabstop=4 expandtab :-->
  2. <!DOCTYPE html>
  3. <html lang="ja">
  4. <head>
  5. <meta charset="UTF-8" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <script src="//code.jquery.com/jquery-3.3.1.min.js"></script>
  8. <script src="//code.jquery.com/ui/1.12.0/jquery-ui.min.js"></script>
  9. <script src="/modules/jquery.cookie-1.4.1.min.js"></script>
  10. <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery.ui.datepicker-ja.min.js"></script>
  11. <link href="//cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous" />
  12. <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/themes/base/jquery-ui.min.css" />
  13. <link href="./style.css?<?= filemtime ('./style.css') ?>" rel="stylesheet" />
  14. <?php $april_fool = ((int) date ('n') === 4) && ((int) date ('j') === 1) ?>
  15. <?php if ($april_fool): ?>
  16. <link rel="icon" href="favicon-goatoh.ico" />
  17. <title>ゴートうひとり放送局 - ゴートう返答ログ</title>
  18. <?php else: ?>
  19. <title>伊地知ニジカ放送局 - ニジカ返答ログ</title>
  20. <?php endif ?>
  21. </head>
  22. <body>
  23. <?php if (!($available)): ?>
  24. <div class="alert alert-danger" role="alert">
  25. <strong>【警報】</strong>AIニジカが落ちてるぬ゛〜゛ん゛(泣)
  26. </div>
  27. <?php endif ?>
  28. <div class="container my-5">
  29. <div class="accordion mb-5" id="accordion-filter">
  30. <div class="accordion-item">
  31. <h2 class="accordion-header">
  32. <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-filter" aria-controls="collapse-filter">
  33. 絞り込み
  34. </button>
  35. </h2>
  36. <div id="collapse-filter" class="accordion-collapse collapse show" data-bs-parent="#accordion-filter">
  37. <div class="accordion-body mx-5">
  38. <div>
  39. <div class="row d-flex align-items-center my-2">
  40. <div class="col-sm-4 fw-bold">
  41. 順序
  42. </div>
  43. <div class="col-sm">
  44. <div class="row align-items-center">
  45. <div class="col form-check">
  46. <input class="form-check-input" type="radio" name="order" id="order-desc"<?= $asc ? '' : ' checked="checked"' ?> />
  47. <label class="form-check-label" for="order-desc">
  48. 新しい順
  49. </label>
  50. </div>
  51. <div class="col form-check">
  52. <input class="form-check-input" type="radio" name="order" id="order-asc"<?= $asc ? ' checked="checked"' : '' ?> />
  53. <label class="form-check-label" for="order-asc">
  54. 古い順
  55. </label>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. <div class="row d-flex align-items-center my-2">
  61. <div class="col-sm-4 fw-bold">
  62. <?php if ($april_fool): ?>
  63. ゴートう日とり
  64. <?php else: ?>
  65. 日時ニジカ
  66. <?php endif ?>
  67. </div>
  68. <div class="col-sm input-group">
  69. <input type="text"
  70. class="form-control"
  71. placeholder="YYYY-MM-DD"
  72. id="filter-date-start"
  73. value="<?= $date_start ?>" />
  74. <span class="input-group-text">〜</span>
  75. <input type="text"
  76. class="form-control"
  77. placeholder="YYYY-MM-DD"
  78. id="filter-date-end"
  79. value="<?= $date_end ?>" />
  80. </div>
  81. </div>
  82. <div class="row d-flex align-items-center my-2">
  83. <div class="col-sm-4 fw-bold">
  84. フリーワード
  85. </div>
  86. <div class="col-sm">
  87. <input type="text"
  88. class="form-control"
  89. placeholder="<?= $april_fool ? 'ムムムム!! クサタベテル!!!!!' : 'ぬ゛ぅ゛ぅ゛ぅ゛ぅ゛ぅ゛ん゛' ?>"
  90. id="filter-keyword"
  91. value="<?= $keyword ?>"/>
  92. </div>
  93. </div>
  94. </div>
  95. <div class="mt-3 row">
  96. <div class="col-sm gap-2 d-grid my-1">
  97. <button type="button" class="btn btn-secondary" id="btn-reset">元に戻す</button>
  98. </div>
  99. <div class="col-sm gap-2 d-grid my-1">
  100. <button type="button" class="btn btn-primary" id="btn-filter">絞り込む</button>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. <div class="mb-4">
  108. <?php require 'pagination.cmp.php' ?>
  109. </div>
  110. <div id="message-list">
  111. </div>
  112. <div class="mt-5">
  113. <?php require 'pagination.cmp.php' ?>
  114. </div>
  115. </div>
  116. <script src="//cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
  117. <script src="./script.js?<?= filemtime ('./script.js') ?>" type="text/javascript"></script>
  118. </body>
  119. </html>