<!--{include file="<!--{$oetplpath}-->widget_header.tpl"}-->
<div class="oe_content_layout">
  <!--{include file="<!--{$oetplpath}-->widget_menu.tpl"}-->

  <div class="oe_cont_rt">
    
	<div class="oe_content_widget">

	  

	  <h3 class="oe_f_title">
	    设置邮费模版
	  </h3>
	  <form name="myform" id="myform" action="<!--{$oefile}-->&c=<!--{$c}-->&a=save" method="post" />
	  <table class="oe_table_info">
	   <tr>
		  <th align="left">店铺名称：</th>
		  <td><!--{$login.shop.shopname}--></td>
		</tr>

		<tr>
		  <th align="left"><font class="f_red"></font> 类型：</th>
		  <td>
              <label><input type="radio" name="type" id="type" value="0" <!--{if $postage.type=='0' }--> checked <!--{/if}--> >全场包邮</label>
              <label><input type="radio" name="type" id="type" value="1" <!--{if $postage.type==1}--> checked <!--{/if}-->>满多少包邮</label>
              <label><input type="radio" name="type" id="type" value="2" <!--{if $postage.type==2 || empty($postage)}--> checked <!--{/if}-->>不包邮</label>

		</tr>
		<tr>
		  <th align="left"> 满多少包邮：</th>
		  <td>
              <input type="text" name="fullamount" id="fullamount" class="input-200" value="<!--{if empty($postage.fullamount)}-->0 <!--{else}--><!--{$postage.fullamount}--> <!--{/if}-->" />
              <font class="f_red">(类型为满多少包邮有效)</font>
          </td>
		</tr>

		<tr>
		  <th></th>
		  <td>
			<input type="button" id="btn_post" class="submit_btn1" value="编辑保存" /> 
		  </td>
		</tr>
	  </table>
	  </form>
	  <script type="text/javascript">
	  $(function(){
          $("#btn_post").click(function(){
              if($("input[name='type']:checked").val().length < 1){
                  ToastShow("请选择类型");
                  return false;
              }
              $("#myform").submit();
          });
	  });
	  </script>
	</div>
	<!--//oe_content_widget End-->

  </div>
  <div class="clear"></div>
  <!--//oe_cont_rt Enc-->
</div>
<!--{include file="<!--{$oetplpath}-->widget_footer.tpl"}-->
</body>
</html>