12 <link rel="stylesheet" href={{static_url('css/main.css')}}>
14 <script type=text/javascript src=http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js></script>
15 <script type=text/javascript src={{static_url('js/jquery-live-preview.js')}}></script>
16 <link rel=stylesheet href={{static_url('css/livepreview-demo.css')}}>
17 <script type=text/javascript src={{static_url('js/sub.js')}}></script>
21 <a href=/ style=text-decoration:none>{% raw data['title2'] %}</a>
24 <form action=/{{db}}/regist method="post">
25 {% module xsrf_form_html() %}
28 <label><p>お名前</p><input name="name" class=name value={{username}}></label>
29 <label><p>タイトル</p><input name="title" class=title value="タイトルなし."></label>
30 <input type="submit" value="送信">
33 <label><p>本文<span>必須</span><br></p>
34 <textarea name="comment" cols=30 required placeholder="コメントなどを入力してください."></textarea></label>
37 <label><p>パスワード</p><input name="password" type="password" placeholder="削除用"></label>
39 <label><p>合言葉をひらがなで入力してください: gennki<input name=aikotoba type=text value={{aikotoba}}></label>
45 <hr size="1" width="100%">
46 <form action=/{{db}}/userdel method="post" id=search>
47 {% module xsrf_form_html() %}
48 <label><p>記事No</p><input name="number"></label>
49 <label><p>Pass</p><input type="password" name="password"></label>
50 <input type="submit" value="削除">
51 <p><a href=/{{db}}/search>検索ページ</a></p>
53 <p style=text-align:center>{{db}}</p>
54 {% module Footer(position,'/'+db,'#article') %}
57 {% for record in records %}
59 <section id=number>[<a name={{record['number']}}>{{record['number']}}</a>]</section>
60 <section id=title>{{record['title']}}</section>
61 <section id=name> Name:<h1>{{record['name']}}</h1></section>
62 <section id=date> Date:<h1>{{record['date']}}</h1></section>
64 <section id=comment>{% raw record['comment'] %}</section>
68 <p style=text-align:right><a href=#top>Topへ移動</a></p>
71 {% module Footer(position,'/'+db,'#article') %}
72 <p style=text-align:center><a href="/{{db}}/admin/0/">管理者用ログイン</a></p>