<?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>");
//]]>
</script>
<style type="text/css">
/*
<![CDATA[
*/
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; }
.right { text-align: right !important; }
.res_body { margin-left: 40px; }
/* ]]> */
</style>
<TMPL_VAR NAME=META>
</head>
<body>

<div class="center" id="top">
<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_IF>
</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>

<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>" />
   </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>
  </form>
 </div>
</div>

<hr class="sep" />

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

</body>
</html>
