ユーザ用ツール

サイト用ツール


start

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
start [2019/07/09 18:12] payastart [2024/03/12 18:44] (現在) – [Recipi Note] paya
行 1: 行 1:
 +~~NOCACHE~~
 ====== GARAGE ====== ====== GARAGE ======
 [[RUN:start]] [[RUN:start]]
行 4: 行 5:
  
 [[Digital:start]] [[Digital:start]]
-{{indexmenu>Digital?#1}}+{{indexmenu>RUN?#1}}
  
 [[artcraft:start|Art and Crafts]] [[artcraft:start|Art and Crafts]]
  
 [[lunch:start|Lunch]] [[lunch:start|Lunch]]
 +
 +{{page>chatgpt:dinnerideas:start&nofooter&noeditbtn&firstseconly}}
 +
 +===== Recipi Note =====
 <php> <php>
 $pages = []; $pages = [];
 $cons = dir('data/pages/lunch/'); $cons = dir('data/pages/lunch/');
-while()+while($entry = $cons->read())
 { {
-   if($entry != 'start' && preg_match('|^[^\.].*\.txt$|', $entry))+   if($entry != 'start.txt' && preg_match('|(^[^\.].*)\.txt$|', $entry, $matches))
    {    {
-      $pages filemtime('data/pages/lunch/' . $entry);+      $pages[filemtime('data/pages/lunch/' . $entry)] = urldecode($matches[1]);
    }    }
 } }
-ksort($pages);+krsort($pages);
 echo '<ul>'; echo '<ul>';
 foreach($pages as $updatetime => $page) foreach($pages as $updatetime => $page)
 { {
-   echo "<li><a href=\"/top/doku.php?id=lunch:{$page}\">{$page}</a> " . date('Y/n/j', $updatetime) . "</li>";+   echo "<li><a href=\"/top/doku.php?id=lunch:" . urlencode($page) . "\">{$page}</a> " . date('Y/n/j', $updatetime) . "</li>";
 } }
 echo '</ul>'; echo '</ul>';
行 41: 行 46:
 echo '</p>'; echo '</p>';
 </PHP> </PHP>
 +
 +
 +
 +
 +
 +
 +
 +
 +{{page>stairwaytotheg:start}}
 +
 +
 +
 +
 +[[stairwaytotheg:start|Stairway to the G.]]
 +
 +[[bookmarks]]
start.1562663579.txt.gz · 最終更新: 2019/07/09 18:12 by paya