ユーザ用ツール

サイト用ツール


start

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
start [2019/07/09 18:39] payastart [2019/07/17 23:56] paya
行 1: 行 1:
 +~~NOCACHE~~
 ====== GARAGE ====== ====== GARAGE ======
 [[RUN:start]] [[RUN:start]]
行 19: 行 20:
    }    }
 } }
-ksort($pages);+krsort($pages);
 echo '<ul>'; echo '<ul>';
 foreach($pages as $updatetime => $page) foreach($pages as $updatetime => $page)
行 41: 行 42:
 echo '</p>'; echo '</p>';
 </PHP> </PHP>
 +
 +
 +
 +
 +
 +
 +
 +
 +{{page>stairwaytotheg:start}}
 +
 +
 +
 +
 +
 +
 +[[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