人人商城

member.html 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {template '_header'}
  2. <div class="page-heading"> <h2>会员设置</h2> </div>
  3. <form action="" method="post" class="form-horizontal form-validate" enctype="multipart/form-data" >
  4. <div class="form-group">
  5. <label class="col-sm-2 control-label">会员等级说明链接</label>
  6. <div class="col-sm-9 col-xs-12">
  7. {ifp 'sysset.member.edit'}
  8. <input type="text" name="data[levelurl]" class="form-control" value="{$data['levelurl']}" />
  9. {else}
  10. <input type="hidden" name="data[levelurl]" value="{$data['levelurl']}" />
  11. <div class='form-control-static'>{$data['levelurl']}</div>
  12. {/if}
  13. </div>
  14. </div>
  15. <div class="form-group">
  16. <label class="col-sm-2 control-label">会员等级升级依据</label>
  17. <div class="col-sm-9 col-xs-12">
  18. {ifp 'sysset.member.edit'}
  19. <label class="radio radio-inline">
  20. <input type="radio" name="data[leveltype]" value="0" {if empty($data['leveltype'])}checked{/if}/> 已完成的订单金额
  21. </label>
  22. <label class="radio radio-inline">
  23. <input type="radio" name="data[leveltype]" value="1" {if $data['leveltype']==1}checked{/if}/> 已完成的订单数量
  24. </label>
  25. <span class="help-block">默认为完成订单金额</span>
  26. {else}
  27. <input type="hidden" name="data[leveltype]" value="{$data['leveltype']}" />
  28. <div class='form-control-static'>
  29. {if empty($data['leveltype'])}
  30. 已完成的订单金额
  31. {else if $data['leveltype']==1}
  32. 已完成的订单数量
  33. {/if}
  34. </div>
  35. {/if}
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label class="col-sm-2 control-label"></label>
  40. <div class="col-sm-9 col-xs-12">
  41. {ifp 'sysset.member.edit'}
  42. <input type="submit" value="提交" class="btn btn-primary" />
  43. {/if}
  44. </div>
  45. </div>
  46. </form>
  47. {template '_footer'}