sms.html
14.7 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<include file="public/layout"/><body style="background-color: #FFF; overflow: auto;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>商城设置</h3>
<h5>网站全局内容基本选项设置</h5>
</div>
<ul class="tab-base nc-row">
<li><a href="{:U('System/index')}"><span>商城信息</span></a></li>
<li><a href="{:U('System/index',array('inc_type'=>'basic'))}"><span>基本设置</span></a></li>
<li><a href="{:U('System/index',array('inc_type'=>'shopping'))}"><span>购物设置</span></a></li>
<li><a href="{:U('System/index',array('inc_type'=>'sms'))}" class="current"><span>短信设置</span></a></li>
<!--<li><a href="{:U('System/index',array('inc_type'=>'smtp'))}"><span>邮件设置</span></a></li>-->
<li><a href="{:U('System/index',array('inc_type'=>'water'))}"><span>水印设置</span></a></li>
<li><a href="{:U('System/index',array('inc_type'=>'distribut'))}" ><span>分销设置</span></a></li>
<if condition="$isopencard"><li><a href="{:U('System/index',array('inc_type'=>'cardsetup'))}"><span>PLUS设置</span></a></li></if>
<!--<li><a href="{:U('System/index',array('inc_type'=>'wap'))}"><span>WAP设置</span></a></li>-->
<!--<li><a href="{:U('System/index',array('inc_type'=>'extend'))}"><span>扩展设置</span></a></li>-->
</ul>
</div>
</div>
<!-- 操作说明 -->
<!-- <div class="explanation" id="explanation">
<div class="title" id="checkZoom"><i class="fa fa-lightbulb-o"></i>
<h4 title="提示相关设置操作时应注意的要点">操作提示</h4>
<span id="explanationZoom" title="收起提示"></span></div>
<ul>
<li>系统平台全局设置,包括基础设置、购物、短信、邮件、水印和分销等相关模块。</li>
</ul>
</div>-->
<form method="post" enctype="multipart/form-data" name="form1" action="{:U('System/handle')}">
<input type="hidden" name="inc_type" value="{$inc_type}">
<div class="ncap-form-default">
<!--<dl class="row">-->
<!--<dt class="tit">-->
<!--<label for="sms_appkey">阿里大鱼[appkey]</label>-->
<!--</dt>-->
<!--<dd class="opt">-->
<!--<input id="sms_appkey" name="sms_appkey" value="{$config.sms_appkey}" class="input-txt" type="text"/>-->
<!--<p class="notic">阿里大鱼配置appkey</p>-->
<!--</dd>-->
<!--</dl>-->
<!--<dl class="row">-->
<!--<dt class="tit">-->
<!--<label for="sms_secretKey">阿里大鱼[secretKey]</label>-->
<!--</dt>-->
<!--<dd class="opt">-->
<!--<input id="sms_secretKey" name="sms_secretKey" value="{$config.sms_secretKey}" class="input-txt" type="text"/>-->
<!--<p class="notic">阿里大鱼配置secretKey</p>-->
<!--</dd>-->
<!--</dl>-->
<!--<dl class="row">-->
<!--<dt class="tit">-->
<!--<label for="sms_product">公司名/品牌名/产品名</label>-->
<!--</dt>-->
<!--<dd class="opt">-->
<!--<input id="sms_product" name="sms_product" value="{$config.sms_product}" class="input-txt" type="text"/>-->
<!--<p class="notic">>公司名/品牌名/产品名</p>-->
<!--</dd>-->
<!--</dl>-->
<!--<dl class="row">-->
<!--<dt class="tit">用户注册时</dt>-->
<!--<dd class="opt">-->
<!--<div class="onoff">-->
<!--<label for="regis_sms_enable1" class="cb-enable <if condition='$config[regis_sms_enable] eq 1'>selected</if>">开启</label>-->
<!--<label for="regis_sms_enable0" class="cb-disable <if condition='$config[regis_sms_enable] eq 0'>selected</if>">关闭</label>-->
<!--<input id="regis_sms_enable1" name="regis_sms_enable" <if condition="$config['regis_sms_enable'] eq 1">checked="checked"</if> value="1" type="radio">-->
<!--<input id="regis_sms_enable0" name="regis_sms_enable" <if condition="$config['regis_sms_enable'] eq 0">checked="checked"</if> value="0" type="radio">-->
<!--</div>-->
<!--<p class="notic">用户注册时使用短信验证</p>-->
<!--</dd>-->
<!--</dl>-->
<!--<dl class="row">-->
<!--<dt class="tit">用户找回密码时</dt>-->
<!--<dd class="opt">-->
<!--<div class="onoff">-->
<!--<label for="forget_pwd_sms_enable1" class="cb-enable <if condition='$config[forget_pwd_sms_enable] eq 1'>selected</if>">开启</label>-->
<!--<label for="forget_pwd_sms_enable0" class="cb-disable <if condition='$config[forget_pwd_sms_enable] eq 0'>selected</if>">关闭</label>-->
<!--<input id="forget_pwd_sms_enable1" name="forget_pwd_sms_enable" <if condition="$config['forget_pwd_sms_enable'] eq 1">checked="checked"</if> value="1" type="radio">-->
<!--<input id="forget_pwd_sms_enable0" name="forget_pwd_sms_enable" <if condition="$config['forget_pwd_sms_enable'] eq 0">checked="checked"</if> value="0" type="radio">-->
<!--</div>-->
<!--<p class="notic">用户找回密码时使用短信验证</p>-->
<!--</dd>-->
<!--</dl>-->
<!--<dl class="row">-->
<!--<dt class="tit">身份验证时</dt>-->
<!--<dd class="opt">-->
<!--<div class="onoff">-->
<!--<label for="bind_mobile_sms_enable1" class="cb-enable <if condition='$config[bind_mobile_sms_enable] eq 1'>selected</if>">开启</label>-->
<!--<label for="bind_mobile_sms_enable0" class="cb-disable <if condition='$config[bind_mobile_sms_enable] eq 0'>selected</if>">关闭</label>-->
<!--<input id="bind_mobile_sms_enable1" name="bind_mobile_sms_enable" <if condition="$config['bind_mobile_sms_enable'] eq 1">checked="checked"</if> value="1" type="radio">-->
<!--<input id="bind_mobile_sms_enable0" name="bind_mobile_sms_enable" <if condition="$config['bind_mobile_sms_enable'] eq 0">checked="checked"</if> value="0" type="radio">-->
<!--</div>-->
<!--<p class="notic">用户身份验证时使用短信验证</p>-->
<!--</dd>-->
<!--</dl>-->
<!--<dl class="row">-->
<!--<dt class="tit">用户下单时是否发送短信给商家</dt>-->
<!--<dd class="opt">-->
<!--<div class="onoff">-->
<!--<label for="order_add_sms_enable1" class="cb-enable <if condition='$config[order_add_sms_enable] eq 1'>selected</if>">开启</label>-->
<!--<label for="order_add_sms_enable0" class="cb-disable <if condition='$config[order_add_sms_enable] eq 0'>selected</if>">关闭</label>-->
<!--<input id="order_add_sms_enable1" name="order_add_sms_enable" <if condition="$config['order_add_sms_enable'] eq 1">checked="checked"</if> value="1" type="radio">-->
<!--<input id="order_add_sms_enable0" name="order_add_sms_enable" <if condition="$config['order_add_sms_enable'] eq 0">checked="checked"</if> value="0" type="radio">-->
<!--</div>-->
<!--<p class="notic">用户下单时是否发送短信给商家</p>-->
<!--</dd>-->
<!--</dl>-->
<!--<dl class="row">-->
<!--<dt class="tit">客户支付时是否发生短信给商家</dt>-->
<!--<dd class="opt">-->
<!--<div class="onoff">-->
<!--<label for="order_pay_sms_enable1" class="cb-enable <if condition='$config[order_pay_sms_enable] eq 1'>selected</if>">开启</label>-->
<!--<label for="order_pay_sms_enable0" class="cb-disable <if condition='$config[order_pay_sms_enable] eq 0'>selected</if>">关闭</label>-->
<!--<input id="order_pay_sms_enable1" name="order_pay_sms_enable" <if condition="$config['order_pay_sms_enable'] eq 1">checked="checked"</if> value="1" type="radio">-->
<!--<input id="order_pay_sms_enable0" name="order_pay_sms_enable" <if condition="$config['order_pay_sms_enable'] eq 0">checked="checked"</if> value="0" type="radio">-->
<!--</div>-->
<!--<p class="notic">用户注册时使用短信验证</p>-->
<!--</dd>-->
<!--</dl>-->
<dl class="row">
<dt class="tit">商家发货时是否给客户发短信</dt>
<dd class="opt">
<div class="onoff">
<label for="order_shipping_sms_enable1" class="cb-enable <if condition='$config[order_add_sms] eq 1'>selected</if>">开启</label>
<label for="order_shipping_sms_enable0" class="cb-disable <if condition='$config[order_add_sms] eq 0'>selected</if>">关闭</label>
<input id="order_shipping_sms_enable1" name="order_add_sms" onkeydown="strkeydown(event, this, 'sumbitbtn')"
<if condition="$config['order_add_sms'] eq 1">checked="checked"</if> value="1" type="radio">
<input id="order_shipping_sms_enable0" name="order_add_sms" onkeydown="strkeydown(event, this, 'sumbitbtn')"
<if condition="$config['order_add_sms'] eq 0">checked="checked"</if> value="0" type="radio">
</div>
<p class="notic">商家发货时是否给客户发短信</p>
</dd>
</dl>
<dl class="row">
<dt class="tit">短信时间</dt>
<dd class="opt">
<!--<input id='radio0' type="radio" name="sms_send_type" value="0" onkeydown="strkeydown(event, this, 'sumbitbtn')"-->
<!--<if condition="$config[sms_send_type] eq 0"> checked </if>> <label for="radio0">短信</label> -->
<input id='radio1' class='radio' type="radio" name="time_out" value="60" onkeydown="strkeydown(event, this, 'sumbitbtn')"
<if condition="$config[time_out] eq 60 ||$config[time_out] eq 0"> checked </if>> <label for="radio1">60秒</label>
<input id='radio2' class='radio' type="radio" name="time_out" value="30" onkeydown="strkeydown(event, this, 'sumbitbtn')"
<if condition="$config[time_out] eq 30"> checked </if>> <label for="radio2">30秒</label>
<p class="notic">再次发送短信倒计时设置</p>
</dd>
</dl>
<dl class="row">
<dt class="tit">短信类型</dt>
<dd class="opt">
<!--<input id='radio0' type="radio" name="sms_send_type" value="0" onkeydown="strkeydown(event, this, 'sumbitbtn')"-->
<!--<if condition="$config[sms_send_type] eq 0"> checked </if>> <label for="radio0">短信</label> -->
<input id='radio11' class='radio' type="radio" name="type" value="0" onkeydown="strkeydown(event, this, 'sumbitbtn')"
<if condition="$config[type] eq 0"> checked </if>> <label for="radio11">短信+语音验证</label>
<input id='radio22' class='radio' type="radio" name="type" value="1" onkeydown="strkeydown(event, this, 'sumbitbtn')"
<if condition="$config[type] eq 1"> checked </if>> <label for="radio22">语音验证</label>
</dd>
</dl>
<dl class="row">
<dt class="tit">短信是否随机码校验</dt>
<dd class="opt">
<input id='is_verifycode0' class='radio' type="radio" name="is_verifycode" value="0" onkeydown="strkeydown(event, this, 'sumbitbtn')"
<if condition="$config[is_verifycode] eq 0"> checked </if>> <label for="is_verifycode0">否</label>
<input id='is_verifycode1' class='radio' type="radio" name="is_verifycode" value="1" onkeydown="strkeydown(event, this, 'sumbitbtn')"
<if condition="$config[is_verifycode] eq 1"> checked </if>> <label for="is_verifycode1">是</label>
</dd>
</dl>
<!--<dl class="row">-->
<!--<dt class="tit">-->
<!--<label for="sms_time_out">短信码超时时间</label>-->
<!--</dt>-->
<!--<dd class="opt">-->
<!--<select id="sms_time_out" name="sms_time_out">-->
<!--<option value="60" <if condition="$config['sms_time_out'] eq 60">selected="selected"</if>>1分钟</option>-->
<!--<option value="120"<if condition="$config['sms_time_out'] eq 120">selected="selected"</if>>2分钟</option>-->
<!--<option value="300"<if condition="$config['sms_time_out'] eq 300">selected="selected"</if>>5分钟</option>-->
<!--<option value="600"<if condition="$config['sms_time_out'] eq 600">selected="selected"</if>>10分钟</option>-->
<!--<option value="1200"<if condition="$config['sms_time_out'] eq 1200">selected="selected"</if>>20分钟</option>-->
<!--<option value="1800"<if condition="$config['sms_time_out'] eq 1800">selected="selected"</if>>30分钟</option>-->
<!--</select>-->
<!--<p class="notic">发送短信验证码间隔时间</p>-->
<!--</dd>-->
<!--</dl>-->
<div class="bot">
<a href="JavaScript:void(0);" id="sumbitbtn"
class="ncap-btn-big ncap-btn-green"
onclick="mcheck()">确认提交</a></div>
</div>
</form>
</div>
<div id="goTop"><a href="JavaScript:void(0);" id="btntop"><i class="fa fa-angle-up"></i></a><a href="JavaScript:void(0);" id="btnbottom"><i class="fa fa-angle-down"></i></a></div>
</body>
<script type="text/javascript">
function mcheck(){
layer.msg('加载中...', {icon: 16,shade: [0.5, '#f5f5f5'],scrollbar: false,offset: '10px', time:100000}) ;
document.form1.submit();
}
</script>
</html>