2012年9月アーカイブ

{{assign var="epp" value=20}}

勝負

| 修正

久しぶりに、ご飯を炊こうと思った。
米櫃を開けてみた。
約6合のお米があった。
ふと思う…
「あれ?これ無洗米やったっけ、それとも研ぐんやったっけ…」
約半年、ご飯を炊く事をしなかった独り暮らしの私。
どのタイプのお米を買うたか記憶に無い。
「まあええか、どうせ食べんの自分だけやし…」
5合炊きの炊飯器に6合の米と水を入れ、炊き上がりを待ってみる…

{{capture assign="count"}}1{{/capture}} {{if $count > $epp}} {{if $smarty.request.offset > 0}} « < 前の{{$epp}}件 {{else}} « < 前の{{$epp}}件 {{/if}} | {{math equation="(x-1)/y+1" x=$count y=$epp assign="numloop"}}{{section name=npage loop=$numloop}} {{if $smarty.request.offset+1 < ($smarty.section.npage.index+1)*$epp && $smarty.request.offset+1 > $smarty.section.npage.index*$epp }} {{$smarty.section.npage.index+1}}{{/if}}{{/section}}/{{math equation="floor((x-1)/y+1)" x=$count y=$epp}}page | {{if $smarty.request.offset < $count-$epp}} 次の{{$epp}}件 > » {{else}} 次の{{$epp}}件 > » {{/if}} {{/if}}