<!--{include file="<!--{$oetplpath}-->block_header.tpl"}-->
<script src="<!--{$urlpath}-->tpl/static/js/jquery.upload.js"></script>
<script src="<!--{$urlpath}-->tpl/static/js/oeupload.js"></script>
<form action="" class="layui-form">
<div class="feedback_box">
  <dl class="mar_dl">
    <dt>留言分类</dt>
    <dd>
      <input type="hidden" id="book_catid" value="" />
      <!--{assign var="varlist" value=vo_list("mod={volistvar} where={guestbookcat}")}-->
      <!--{foreach $varlist as $val}-->
      <label data-catid="<!--{$val.value}-->" f="but_sel_bookcat" class="cursor"><!--{$val.text}--></label>
      <!--{/foreach}-->
    </dd>
  </dl>
  <div class="layui-form-item">
    <label class="layui-form-label">留言标题</label>
    <div class="layui-input-block">
      <input type="text" class="layui-input" name="book_title" id="book_title" />
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">留言内容</label>
    <div class="layui-input-block">
      <textarea name="book_content" id="book_content" class="layui-textarea" style="height:90px;"></textarea>
    </div>
  </div>
  <dl class="upload">
    <input type="hidden" id="book_imgnum" value="1" />
    <input type="hidden" id="book_img1" value="" />
    <input type="hidden" id="book_img2" value="" />
    <input type="hidden" id="book_img3" value="" />
    <input type="hidden" id="book_img4" value="" />
    <input type="hidden" id="book_img5" value="" />
    <input type="hidden" id="book_img6" value="" />
    <dt><span>上传图片 <input type="file" name="upload_book_img" id="upload_book_img" /></span></dt>
    <dd>
      <label id="book_label_img1" style="display:none;"><img id="img1_preview" src="<!--{$urlpath}-->tpl/static/images/waitimg.jpg" style="display:none;" /></label>
      <label id="book_label_img2" style="display:none;"><img id="img2_preview" src="<!--{$urlpath}-->tpl/static/images/waitimg.jpg" style="display:none;" /></label>
      <label id="book_label_img3" style="display:none;"><img id="img3_preview" src="<!--{$urlpath}-->tpl/static/images/waitimg.jpg" style="display:none;" /></label>
      <label id="book_label_img4" style="display:none;"><img id="img4_preview" src="<!--{$urlpath}-->tpl/static/images/waitimg.jpg" style="display:none;" /></label>
      <label id="book_label_img5" style="display:none;"><img id="img5_preview" src="<!--{$urlpath}-->tpl/static/images/waitimg.jpg" style="display:none;" /></label>
      <label id="book_label_img6" style="display:none;"><img id="img6_preview" src="<!--{$urlpath}-->tpl/static/images/waitimg.jpg" style="display:none;" /></label>
      <div class="clear"></div>
    </dd>
  </dl>
  <div class="layui-form-item">
    <label class="layui-form-label">联系邮箱</label>
    <div class="layui-input-block">
      <input type="text" class="layui-input" name="book_email" id="book_email" value="<!--{if $login.status == '1'}--><!--{$login.info.email}--><!--{/if}-->" />
    </div>
  </div>
  <dl class="mar_dl">
    <dd>
      <button class="layui-btn layui-btn-lg" lay-submit lay-filter="bookform" id="but_submit_book">提交<span class="oe_btn_loading layui-anim layui-icon layui-anim-rotate layui-anim-loop" style="display:none;">&#xe63d;</span></button>
    </dd>
  </dl>
</div>
</form>
<!--//feedback_box End-->
</body>
</html>