<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<!-- tmpl_var content_charset -->" />
    <!-- tmpl_var common_header -->
    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
    <style type="text/css" media="screen">
      @import "<!-- tmpl_var root -->iui/iuix.css";
      @import "<!-- tmpl_var root -->iui-keitairc.css";
    </style>
    <script type="application/javascript" src="<!-- tmpl_var root -->noreferrer-keitairc.js"></script>
    <script type="application/javascript" src="<!-- tmpl_var root -->iui/iuix.js"></script>
    <!-- tmpl_var extra_header -->
    <title><!-- tmpl_var title -->: <!-- tmpl_var channel_compact --></title>
  </head>
  <body>

    <div class="toolbar">
      <h1 id="pageTitle"></h1>
      <a target="_self" class="button leftButton backButton" href="../index">チャネルリスト</a>
      <a class="button" id="m_menu" href="#submitForm" onClick="document.getElementById('m').focus();">メニュー</a>
    </div>

    <ul id="home" title="<!-- tmpl_var channel_compact -->" selected="true">
      <tmpl_loop name="loop">
	<tmpl_if date>
	  <li class="date">
	    <!-- tmpl_var date -->
	  </li>
	<tmpl_else>
	  <tmpl_if read>
	    <li class="message">
	  <tmpl_else>
	    <li class="messagenew">
	  </tmpl_if>
	    <span class="nick">
	      <!-- tmpl_var time --> <!-- tmpl_var nick -->
	    </span>
	    <!-- tmpl_var message -->
	  </li>
	</tmpl_if>
      </tmpl_loop>
      <tmpl_unless loop>
	<li class="message">まだ発言がありません</li>
      </tmpl_unless>

      <li class="footer">
	<!-- tmpl_var timestamp --><br />
	keitairc <!-- tmpl_var version -->
      </li>
    </ul>

    <form target="_self" id="submitForm" class="dialog" action="<!-- tmpl_var cid -->" method="post">
      <fieldset>
	<h1>発言</h1>
	<a href="#" class="button leftButton" type="cancel">キャンセル</a>
	<a class="button blueButton" type="submit">メニュー</a>
        <label for="m">発言</label>
	<input type="text" id="m" name="m" />
	<input type="hidden" name="stamp" value="<!-- tmpl_var stamp -->" />
	<hr />
	<a class="grayButton" target="_self" href="<!-- tmpl_var cid -->">ページの更新</a>
	<a id="post_location" class="whiteButton" target="_self" href="../location_receiver/<!-- tmpl_var cid -->">位置情報送信</a>
	<script type="application/javascript">
	if (!navigator.geolocation)
		document.getElementById('post_location').style.display = "none";
	</script>
	<tmpl_if follow_nick>
	  <a class="whiteButton" target="_self" href="../nick/<!-- tmpl_var cid -->">nick一覧</a>
	</tmpl_if>
      </fieldset>
    </form>

  </body>
</html>
