ユーザ用ツール

サイト用ツール


start

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン両方とも次のリビジョン
start [2019/07/17 23:56] payastart [2019/08/01 10:52] – [GARAGE] paya
行 58: 行 58:
  
 [[stairwaytotheg:start|Stairway to the G.]] [[stairwaytotheg:start|Stairway to the G.]]
-<php> +
-$pages = []; +
-$cons = dir('data/pages/stairwaytotheg/'); +
-while($entry = $cons->read()) +
-+
-   if($entry != 'start.txt' && preg_match('|(^[^\.].*)\.txt$|', $entry, $matches)) +
-   { +
-      $pages[filemtime('data/pages/stairwaytotheg/' . $entry)] = urldecode($matches[1]); +
-   } +
-+
-krsort($pages); +
-echo '<ul>'; +
-foreach($pages as $updatetime => $page) +
-+
-   echo "<li><a href=\"/top/doku.php?id=stairwaytotheg:" . urlencode($page) . "\">{$page}</a> " . date('Y/n/j', $updatetime) . "</li>"; +
-+
-echo '</ul>'; +
-</php>+
start.txt · 最終更新: 2024/03/12 18:44 by paya