ユーザ用ツール

サイト用ツール


lunch:start

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
最新のリビジョン両方とも次のリビジョン
lunch:start [2019/07/09 18:43] – [定番] payalunch:start [2019/07/09 18:57] paya
行 1: 行 1:
 +~~NOCACHE~~
 ====== 弁当ネタ ====== ====== 弁当ネタ ======
-  * [[あっさり塩レモン豚丼]]+<php> 
 +$pages = []; 
 +$cons = dir('data/pages/lunch/'); 
 +while($entry = $cons->read()) 
 +
 +   if($entry != 'start.txt' && preg_match('|(^[^\.].*)\.txt$|', $entry, $matches)) 
 +   { 
 +      $pages[filemtime('data/pages/lunch/' . $entry)] = urldecode($matches[1]); 
 +   } 
 +
 +ksort($pages); 
 +echo '<ul>'; 
 +foreach($pages as $updatetime => $page) 
 +
 +   echo "<li><a href=\"/top/doku.php?id=lunch:" . urlencode($page) . "\">{$page}</a> " . date('Y/n/j', $updatetime) . "</li>"; 
 +
 +echo '</ul>'; 
 +</php>
  
lunch/start.txt · 最終更新: 2019/07/13 07:53 by paya