人人商城

close.html 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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.close.edit'}
  8. <label class="radio-inline">
  9. <input type="radio" name="data[flag]" value='0' {if $data['flag']==0}checked{/if} /> 开启
  10. </label>
  11. <label class="radio-inline">
  12. <input type="radio" name="data[flag]" value='1' {if $data['flag']==1}checked{/if} /> 关闭
  13. </label>
  14. {else}
  15. <div class='form-control-static'>{if $data['flag']==1}关闭{else}开启{/if}</div>
  16. {/if}
  17. </div>
  18. </div>
  19. <div class="form-group">
  20. <label class="col-sm-2 control-label">商城关闭跳转链接</label>
  21. <div class="col-sm-9 col-xs-12">
  22. {ifp 'sysset.close.edit'}
  23. <input type="text" name="data[url]" class="form-control" value="{$data['url']}" />
  24. <span class='help-block'>如果您不采用系统页面,则可以设置关闭提醒链接,当商城关闭时跳转到此链接(非任何商城的链接)</span>
  25. {else}
  26. <div class='form-control-static'>{$data['url']}</div>
  27. {/if}
  28. </div>
  29. </div>
  30. <div class="form-group">
  31. <label class="col-sm-2 control-label">商城关闭提醒</label>
  32. <div class="col-sm-9 col-xs-12">
  33. {ifp 'sysset.close.edit'}
  34. {php echo tpl_ueditor('data[detail]',$data['detail'])}
  35. {else}
  36. <textarea id='detail' style='display:none'>{$data['detail']}</textarea>
  37. <a href='javascript:preview_html("#detail")' class="btn btn-default">查看内容</a>
  38. {/if}
  39. </div>
  40. </div>
  41. <div class="form-group">
  42. <label class="col-sm-2 control-label"></label>
  43. <div class="col-sm-9 col-xs-12">
  44. {ifp 'sysset.close.edit'}
  45. <input type="submit" value="提交" class="btn btn-primary" />
  46. {/if}
  47. </div>
  48. </div>
  49. </form>
  50. {template '_footer'}