1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- {template '_header'}
- <div class="page-heading"> <h2>商城关闭设置</h2> </div>
- <form action="" method="post" class="form-horizontal form-validate" enctype="multipart/form-data" >
-
- <div class="form-group">
- <label class="col-sm-2 control-label">商城状态</label>
- <div class="col-sm-9 col-xs-12">
- {ifp 'sysset.close.edit'}
- <label class="radio-inline">
- <input type="radio" name="data[flag]" value='0' {if $data['flag']==0}checked{/if} /> 开启
- </label>
- <label class="radio-inline">
- <input type="radio" name="data[flag]" value='1' {if $data['flag']==1}checked{/if} /> 关闭
- </label>
-
- {else}
-
- <div class='form-control-static'>{if $data['flag']==1}关闭{else}开启{/if}</div>
- {/if}
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">商城关闭跳转链接</label>
- <div class="col-sm-9 col-xs-12">
- {ifp 'sysset.close.edit'}
- <input type="text" name="data[url]" class="form-control" value="{$data['url']}" />
- <span class='help-block'>如果您不采用系统页面,则可以设置关闭提醒链接,当商城关闭时跳转到此链接(非任何商城的链接)</span>
- {else}
- <div class='form-control-static'>{$data['url']}</div>
- {/if}
-
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">商城关闭提醒</label>
- <div class="col-sm-9 col-xs-12">
- {ifp 'sysset.close.edit'}
- {php echo tpl_ueditor('data[detail]',$data['detail'])}
- {else}
- <textarea id='detail' style='display:none'>{$data['detail']}</textarea>
- <a href='javascript:preview_html("#detail")' class="btn btn-default">查看内容</a>
- {/if}
- </div>
- </div>
-
- <div class="form-group">
- <label class="col-sm-2 control-label"></label>
- <div class="col-sm-9 col-xs-12">
- {ifp 'sysset.close.edit'}
- <input type="submit" value="提交" class="btn btn-primary" />
- {/if}
- </div>
- </div>
-
-
- </form>
-
- {template '_footer'}
|