@2> ログイン確認 <$ifjumpclear(! Auth.ok, 'sub/error_message', 0, 'ログインしていません')> <@> システムモード <$v.system_mode()> <$v.title = '管理メニュー'> <@>Satsuki-systemのキャッシュチェック <$ifmessage(Auth.admin && __cache_dir eq '', 'キャッシュディレクトリに書き込めないためパフォーマンスが低下しています。__cache/ のパーミッションを確認してください。')> <@>ユーザーが登録されてなければ、登録画面へ <$ifjump(Auth.auto, 'user_edit')> <@>アップグレードチェック <$ifjumpclear(Auth.admin && v.check_upgrade(), 'root_upgrade')> <@>存在しない日記帳管理画面なら自分の管理画面へ <$ifexec(! v.exsits_daybook && (v.others_daybook || v.diary_id eq ''), begin)> <$redirect( v.myself3 . '?menu' )> <$end> <$set = v.daybook_setting> <@call('sub/error_message', 0)>
<$ifbreak( ! v.allow_edit )> <@>------------------------------------------------------------------------------ <@> 新着リストの表示 <@>------------------------------------------------------------------------------ <$last_tm = set.newcome_tm, flag_c=flag_tb=0> <$h = new, h.cache_on = 1> <$newcome = exec(begin.newcome)> <$h.type="comment"><$ifset(set.recent_comment_int<8, h.limit, 8, set.recent_comment_int)> <$logs = v.load_list( h )> <@ifexec(h.hits, begin)>新着 | 表示 | 非公開 | コメント日時 | 書いた人 | 元記事 | 内容 | <@forexec(t, logs, begin)>
---|---|---|---|---|---|---|
<@if(last_tm < t.tm && Auth.id ne t.id, '★')><$ifset(last_tm < t.tm && Auth.id ne t.id, flag_c, 1)> | <@if(t.enable, '表')> | <@if(t.hidden, '非')> | <@tm_printf('%m/%d %J:%M', t.tm)> | <@t.name> | <@t.year>-<@t.mon>-<@t.day> <@t.diary_title> | <@t.text_short> |
新着 | 表示 | 日時 | 書いた人 | 記事 | 内容 | <@forexec(t, logs, begin)>
---|---|---|---|---|---|
<@ifexec(last_tm < t.tm && index(t.url, "<@v.server_url><@v.myself>") != 0, begin)>★<$flag_tb=1><$end> | <@if(t.enable, '表')> | <@tm_printf('%m/%d %J:%M', t.tm)> | <@t.author> | <@t.year>-<@t.mon>-<@t.day> <@t.diary_title> | <@t.title> <@if(t.blog_name, "(<@t.blog_name>)")> |
公開 | 投稿日 | 日付 | タイトル | 投稿者 | <@forexec(t, logs, begin)>
---|---|---|---|---|
<@if(t.enable, '公開')> | <@tm_printf('%m/%d %J:%M', t.tm)> | <@t.year>-<@t.mon>-<@t.day> | <@t.title> | <@t.name> |
該当なし
<$end>$>