~~NOCACHE~~ ====== GARAGE ====== [[RUN:start]] {{indexmenu>RUN?#1}} [[Digital:start]] {{indexmenu>RUN?#1}} [[artcraft:start|Art and Crafts]] [[lunch:start|Lunch]] {{page>chatgpt:dinnerideas:start&nofooter&noeditbtn&firstseconly}} ===== Recipi Note ===== $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 ''; foreach($pages as $updatetime => $page) { echo "{$page} " . date('Y/n/j', $updatetime) . ""; } echo ''; echo ''; echo 'GARAGE : '; if(file_exists('data/pages/garage/' . date('Y-m-d') . '.txt')) { echo 'TODAY'; } else { echo '' . date('Y-m-d') . ''; } echo ''; {{page>stairwaytotheg:start}} [[stairwaytotheg:start|Stairway to the G.]] [[bookmarks]]
'; echo 'GARAGE : '; if(file_exists('data/pages/garage/' . date('Y-m-d') . '.txt')) { echo 'TODAY'; } else { echo '' . date('Y-m-d') . ''; } echo '