spread.html
1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{template 'common/header'}
<ul class="nav nav-tabs">
<li {if $op == 'leaflet'}class="active"{/if}><a href="{php echo $this->createWebUrl('spread', array('op' => 'leaflet'));}">海报列表</a></li>
<li {if $op == 'post'}class="active"{/if}><a href="{php echo $this->createWebUrl('spread', array('op' => 'post'));}">新建海报</a></li>
</ul>
{if $op == 'leaflet'}
<div class="main">
<div class="panel panel-default">
<div class="panel-heading">二维码绑定设置</div>
<div class="panel-body">
<div class="alert alert-info" style="margin:10px 0; width:auto;">
<form action="{php echo $this->createWebUrl('Spread')}" method="post" onsubmit="return shareHandler.doAdd(this)" class="form-horizontal form" enctype="multipart/form-data">
<input type="checkbox" name="boolrule" value="1" {if $boolrule==true} checked{/if} >自动绑定"二维码"关键字,绑定后,可以直接在自定义菜单或是直接回复关键词【二维码】来调用二维码海报功能
<input type="hidden" name="op" value="checkspreadrule" />
<input name="submit" type="submit" value="提交" class="btn btn-primary span1">
<input type="hidden" name="token" value="{$_W['token']}" />
</form>
</div>
</div>
</div>
</div>
{/if}
{if $op == 'post'}
{template 'post'}
{/if}
{if $op == 'leaflet'}
{template 'leaflet'}
{/if}
{if $op == 'log'}
{template 'log'}
{/if}
{if $op == 'user'}
{template 'user'}
{/if}
{template 'common/footer'}