ユーザ用ツール

サイト用ツール


lunch:start

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
lunch:start [2019/07/09 18:42] payalunch:start [2019/07/13 07:53] (現在) – [弁当ネタ] 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]); 
 +   } 
 +
 +krsort($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.1562665372.txt.gz · 最終更新: 2019/07/09 18:42 by paya