<!--{include file="<!--{$oetplpath}-->widget_header.tpl"}-->
<div class="oe_goods_comment">
  <div class="oem_uright_topmenu"> 当前位置：<a href="/index.php?m=user">会员中心</a> &gt;&gt; 追加商品评价 </div>
  <form method="post" action="<!--{$oefile}-->&c=<!--{$c}-->&a=addreply" name="myform" id="myform" >
  <div class="oe_goods_com_content"> 
    <!--{foreach $comment as $val}-->
    <input type="hidden" value="<!--{$val.orderid}-->" name="id" >
    <dl>
      <dt> <img src="<!--{$val.thumbimg}-->"/>
        <h4><a href="javascript:;"><!--{$val.goodsname}--></a></h4>
      </dt>
      <dd>
        <h4> <span class="oe_leveltips">给商品打分：<span class="oe_level"> <i class="current" mark></i> <i mark <!--{if $val.cmscore>=2 }--> class="current"<!--{/if}--> ></i> <i mark <!--{if $val.cmscore>=3}--> class="current"<!--{/if}-->></i> <i mark <!--{if $val.cmscore>=4}--> class="current"<!--{/if}-->></i> <i mark <!--{if $val.cmscore>=5}--> class="current"<!--{/if}-->></i> </span></span> </h4>
        <div class="oe_goods_com_text">
          <textarea name="content_<!--{$val.commid}-->" style="width:400px;height:100px;"></textarea>
          <div class="oe_goods_com_letter"> <span class="oe_letter_tips"> &nbsp; </span> </div>
        </div>
      </dd>
    </dl>
    <!--{/foreach}-->
    
    <div class="oe_goods_com_but"> <span f="submit">发表评论</span> </div>
  </div>
  </form>
</div>
<div class="clear"></div>
<script>
$(function(){
	$('[f="submit"]').click(function(){
		$("#myform").submit();
	});
});
</script> 
<!--{include file="<!--{$oetplpath}-->widget_footer.tpl"}-->
</body>
</html>