<?xml version="1.0" encoding="shift_jis"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
<head>
<title><TMPL_VAR NAME=BBS_TITLE ESCAPE=HTML></title>
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="<TMPL_VAR NAME=VERSION ESCAPE=HTML>" />
<link media="screen" href="<TMPL_VAR NAME=StaticURI ESCAPE=HTML>/tdiary/base.css" rel="stylesheet" />
<link media="screen" href="<TMPL_VAR NAME=StaticURI ESCAPE=HTML>/tdiary/<TMPL_IF NAME=BBS_TYPE_THEME><TMPL_VAR NAME=BBS_TYPE_THEME ESCAPE=HTML>/<TMPL_VAR NAME=BBS_TYPE_THEME ESCAPE=HTML>.css<TMPL_ELSE>default/default.css</TMPL_IF>" rel="stylesheet" />
<script type="text/javascript" src="<TMPL_VAR NAME=StaticURI ESCAPE=HTML>/js/img0ch.js" charset="UTF-8"></script>
<script type="text/javascript">
//<![CDATA[
var app = Img0ch.App;
app.setBBS("<TMPL_VAR NAME=BBS ESCAPE=HTML>");
app.setBBSURI("<TMPL_VAR NAME=BBSURI ESCAPE=HTML>");
app.setCGIURI("<TMPL_VAR NAME=CGIURI ESCAPE=HTML>");
app.setStaticURI("<TMPL_VAR NAME=StaticURI ESCAPE=HTML>");
app.initForm("<TMPL_VAR NAME=BBS_COOKIE_PATH ESCAPE=HTML>");
function redir(element) {
    app.redirectRenderer( element,
        { "theme": "<TMPL_VAR NAME=BBS_TYPE_THEME ESCAPE=HTML>" } );
    return true;
}
//]]>
</script>
<style type="text/css">
@charset "shift_jis";
fieldset { border: 0px; }
img { border: 0px; }
.center { text-align:center !important;  }
.clear { clear: both !important; }
.icon-align { vertical-align: top; }
.image { border: none; float: left; margin-right: 4px; margin-bottom: 1px; }
.right { text-align: right !important; }
.res_body {
  font-size: 12pt;
  font-family: "Mona","IPA モナー Pゴシック","IPA MONAPGOTHIC","MS PGothic","ＭＳ Ｐゴシック","MS Pｺﾞｼｯｸ","MS Pゴシック",sans-serif;
  line-height: 115% !important;
}
</style>
<TMPL_VAR NAME=META>
</head>
<body>

<div class="center" id="top">
<h1>
<TMPL_IF NAME=BBS_TITLE_PICTURE>
 <TMPL_IF NAME=BBS_TITLE_LINK>
  <a href="<TMPL_VAR NAME=BBS_TITLE_LINK ESCAPE=HTML>">
   <img src="<TMPL_VAR NAME=BBS_TITLE_PICTURE ESCAPE=HTML>" alt="<TMPL_VAR NAME=BBS_TITLE ESCAPE=HTML>の看板" />
  </a>
 <TMPL_ELSE>
  <img src="<TMPL_VAR NAME=BBS_TITLE_PICTURE ESCAPE=HTML>" alt="<TMPL_VAR NAME=BBS_TITLE ESCAPE=HTML>の看板" />
 </TMPL_IF>
<TMPL_ELSE>
 <TMPL_VAR NAME=BBS_TITLE ESCAPE=HTML>
</TMPL_IF>
</h1>
</div>

<div class="day" id="info">
 <h2><span class="title"><TMPL_VAR NAME=BBS_SUBTITLE ESCAPE=HTML></span></h2>
 <div class="body">
  <div class="section">
   <TMPL_VAR NAME=HEAD>
  </div>
 </div>
</div>

<TMPL_IF NAME=Banner>
<hr class="sep" />
<div class="day" id="mainBanner">
 <h2><span class="title">告知欄</span></h2>
 <div class="body">
  <div class="section">
   <TMPL_VAR NAME=Banner>
  </div>
 </div>
</div>
</TMPL_IF>

<TMPL_IF NAME=SubBanner>
<hr class="sep" />
<div class="day" id="subBanner">
 <h2><span class="title">副告知欄</span></h2>
 <TMPL_VAR NAME=SubBanner>
</div>
</TMPL_IF>

<hr class="sep" />

<div class="day" id="menu">
 <h2><span class="title">スレッド一覧</span></h2>
 <div class="body">
  <div class="section" id="floated_threads">
  <TMPL_LOOP NAME=Threads>
   <a href="<TMPL_VAR NAME=CGIURI ESCAPE=HTML>/<TMPL_VAR NAME=Renderer ESCAPE=HTML><TMPL_VAR NAME=RendererSeparator ESCAPE=HTML><TMPL_VAR NAME=BBS ESCAPE=HTML>/<TMPL_VAR NAME=key ESCAPE=HTML>/l50" onclick="redir(this)"><TMPL_VAR NAME=index ESCAPE=HTML>:</a>
   <a href="#f_<TMPL_VAR NAME=index ESCAPE=HTML>"><TMPL_VAR NAME=subject>(<TMPL_VAR NAME=res ESCAPE=HTML>)</a><br />
  </TMPL_LOOP>
  </div>
  <div class="section" id="hidden_threads">
  <TMPL_LOOP NAME=Stored>
   <a href="<TMPL_VAR NAME=CGIURI ESCAPE=HTML>/<TMPL_VAR NAME=Renderer ESCAPE=HTML><TMPL_VAR NAME=RendererSeparator ESCAPE=HTML><TMPL_VAR NAME=BBS ESCAPE=HTML>/<TMPL_VAR NAME=key ESCAPE=HTML>/l50" onclick="redir(this)">
   <TMPL_VAR NAME=index ESCAPE=HTML>:<TMPL_VAR NAME=subject> (<TMPL_VAR NAME=res ESCAPE=HTML>)</a><br />
  </TMPL_LOOP>
  </div>
  <div class="section" id="more_threads">
   <a href="<TMPL_VAR NAME=BBSURI ESCAPE=HTML>/subback.html">スレッド一覧はこちら</a>
  </div>
 </div>
</div>

<hr class="sep" />

<TMPL_LOOP NAME=Threads>
<div class="day" id="f_<TMPL_VAR NAME=index ESCAPE=HTML>">
 <h2 class="thread_header">
  <span class="date">
   <span class="thread_info"><a href="#menu">■</a><a href="#f_<TMPL_VAR NAME=up ESCAPE=HTML>">▲</a><a href="#f_<TMPL_VAR NAME=down ESCAPE=HTML>">▼</a>&nbsp;【<TMPL_VAR NAME=index ESCAPE=HTML>:<TMPL_VAR NAME=res ESCAPE=HTML>】</span>
  </span>
  <span class="title thread_subject"><TMPL_VAR NAME=subject></span>
 </h2>
 <div class="body thread_body" id="t_<TMPL_VAR NAME=key ESCAPE=HTML>">
  <TMPL_LOOP NAME=Thread>
   <div class="section" id="r_<TMPL_VAR NAME=key ESCAPE=HTML>_<TMPL_VAR NAME=resno ESCAPE=HTML>">
    <div class="caption res_header">
     <TMPL_VAR NAME=resno ESCAPE=HTML>
     名前：<span class="commentator">
     <TMPL_IF NAME=mail>
      <a href="mailto:<TMPL_VAR NAME=mail ESCAPE=HTML>" rel="nofollow"><b><TMPL_VAR NAME=name></b></a>
     <TMPL_ELSE>
      <span class="nomail"><b><TMPL_VAR NAME=name></b></span>
     </TMPL_IF>
     </span>:<span class="commenttime"><TMPL_VAR NAME=date></span>
    </div>
    <p class="res_body"><TMPL_VAR NAME=text></p>
   </div>
  </TMPL_LOOP>
 </div>
 <div class="form">
  <form class="comment" method="post" action="<TMPL_VAR NAME=CGIURI ESCAPE=HTML>/bbs.cgi" enctype="multipart/form-data">
   <div class="hidden_field">
    <input type="hidden" name="bbs" value="<TMPL_VAR NAME=BBS ESCAPE=HTML>" />
    <input type="hidden" name="key" value="<TMPL_VAR NAME=key ESCAPE=HTML>" />
    <input type="hidden" name="time" value="<TMPL_VAR NAME=TimeStamp ESCAPE=HTML>" />
   </div>
   <div>
    <div class="field name">
     名前：<input type="text" name="FROM" size="19" />
    </div>
    <div class="field mail">
     メール：<input type="text" name="mail" size="19" />
    </div>
   </div>
   <TMPL_IF NAME=UploadableFromRes>
   <div>
    <div class="field name">
     画像：<input type="file" name="file" />
    </div>
    <div class="field mail">
     削除パス：<input type="password" name="pass" />
    </div>
   </div>
   </TMPL_IF>
   <TMPL_IF NAME=Icon>
   <div class="textarea">
    アイコン：<select name="icon"><option value="" selected="selected">なし</option>
    <TMPL_LOOP NAME=Icons><option value="<TMPL_VAR NAME=id>"><TMPL_VAR NAME=name></option>
    </TMPL_LOOP></select>
   </div>
   </TMPL_IF>
   <div class="textarea">
    コメント：<textarea rows="5" cols="64" name="MESSAGE"></textarea>
   </div>
   <div class="button">
    <input type="submit" name="submit" value="書き込む" />
   </div>
  </form>
 </div>
 <div class="referer">
  <a href="<TMPL_VAR NAME=CGIURI ESCAPE=HTML>/<TMPL_VAR NAME=Renderer ESCAPE=HTML><TMPL_VAR NAME=RendererSeparator ESCAPE=HTML><TMPL_VAR NAME=BBS ESCAPE=HTML>/<TMPL_VAR NAME=key ESCAPE=HTML>/" onclick="redir(this)">全部読む</a>
  <a href="<TMPL_VAR NAME=CGIURI ESCAPE=HTML>/<TMPL_VAR NAME=Renderer ESCAPE=HTML><TMPL_VAR NAME=RendererSeparator ESCAPE=HTML><TMPL_VAR NAME=BBS ESCAPE=HTML>/<TMPL_VAR NAME=key ESCAPE=HTML>/l50" onclick="redir(this)">最新50</a>
  <a href="<TMPL_VAR NAME=CGIURI ESCAPE=HTML>/<TMPL_VAR NAME=Renderer ESCAPE=HTML><TMPL_VAR NAME=RendererSeparator ESCAPE=HTML><TMPL_VAR NAME=BBS ESCAPE=HTML>/<TMPL_VAR NAME=key ESCAPE=HTML>/1-100" onclick="redir(this)">1-100</a>
  <TMPL_IF NAME=Uploadable><a href="<TMPL_VAR NAME=CGIURI ESCAPE=HTML>/img0ch-ufm.cgi/<TMPL_VAR NAME=BBS ESCAPE=HTML>/<TMPL_VAR NAME=key ESCAPE=HTML>/">ファイル管理</a></TMPL_IF>
  <a href="#top">板のトップ</a>
  <a href="./index.html">リロード</a>
 </div>
</div>
</TMPL_LOOP>

<hr class="sep" />

<div class="day" id="thread_builder_form">
 <h2><span class="title">スレッド新規作成</span></h2>
 <div class="form">
  <form class="comment" method="post" action="<TMPL_VAR NAME=CGIURI ESCAPE=HTML>/bbs.cgi" enctype="multipart/form-data">
   <div class="hidden_field">
    <input type="hidden" name="bbs" value="<TMPL_VAR NAME=BBS ESCAPE=HTML>" />
    <input type="hidden" name="time" value="<TMPL_VAR NAME=TimeStamp ESCAPE=HTML>" />
   <TMPL_IF NAME=BBS_PASSWORD_CHECK>
    <input type="hidden" name="FROM" value="" />
    <input type="hidden" name="mail" value="" />
   </div>
   <div class="button">
    <input type="submit" value=" 新規スレッド作成画面へ " />
   </div>
   <TMPL_ELSE>
   </div>
   <div class="textarea">
    タイトル：<input type="text" name="subject" size="25" />
   </div>
   <div>
    <div class="field name">
     名前：<input type="text" name="FROM" size="19" />
    </div>
    <div class="field mail">
     E-mail：<input type="text" name="mail" size="19" />
    </div>
   </div>
   <TMPL_IF NAME=UploadableFromThread>
   <div>
    <div class="field name">
     画像：<input type="file" name="file" />
    </div>
    <div class="field mail">
     削除パス：<input type="password" name="pass" />
    </div>
   </div>
   </TMPL_IF>
   <TMPL_IF NAME=Icon>
   <div class="textarea">
    アイコン：<select name="icon"><option value="" selected="selected">なし</option>
    <TMPL_LOOP NAME=Icons><option value="<TMPL_VAR NAME=id>"><TMPL_VAR NAME=name></option>
    </TMPL_LOOP></select>
   </div>
   </TMPL_IF>
   <div class="textarea">
    コメント：<textarea rows="5" cols="64" name="MESSAGE"></textarea>
   </div>
   <div class="button">
    <input type="submit" name="submit" value="新規スレッド作成" />
   </div>
   </TMPL_IF>
  </form>
 </div>
</div>

<hr class="sep" />

<div class="footer">
 <TMPL_VAR NAME=FOOT>
</div>

</body>
</html>
