send_sms.jsp
5.37 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
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
<base href="<%=basePath%>">
<!-- jsp文件头和头部 -->
<%@ include file="../index/top.jsp"%>
<style type="text/css">
#dialog-add,#dialog-message,#dialog-comment{width:100%; height:100%; position:fixed; top:0px; z-index:99999999; display:none;}
.commitopacity{position:absolute; width:100%; height:400px; background:#7f7f7f; filter:alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity: 0.5; opacity: 0.5; top:0px; z-index:99999;}
.commitbox{width:100%; margin:0px auto; position:absolute; top:0px; z-index:99999;}
.commitbox_inner{width:96%; height:225px; margin:6px auto; background:#efefef; border-radius:5px;}
.commitbox_top{width:100%; height:223px; margin-bottom:10px; padding-top:10px; background:#FFF; border-radius:5px; box-shadow:1px 1px 3px #e8e8e8;}
.commitbox_top textarea{width:95%; height:165px; display:block; margin:0px auto; border:0px;}
.commitbox_cen{width:95%; height:40px; padding-top:10px;}
.commitbox_cen div.left{float:left;background-size:15px; background-position:0px 3px; padding-left:18px; color:#f77500; font-size:16px; line-height:27px;}
.commitbox_cen div.left img{width:30px;}
.commitbox_cen div.right{float:right; margin-top:7px;}
.commitbox_cen div.right span{cursor:pointer;}
.commitbox_cen div.right span.save{border:solid 1px #c7c7c7; background:#6FB3E0; border-radius:3px; color:#FFF; padding:5px 10px;}
.commitbox_cen div.right span.quxiao{border:solid 1px #f77400; background:#f77400; border-radius:3px; color:#FFF; padding:4px 9px;}
</style>
</head>
<body class="no-skin">
<!-- /section:basics/navbar.layout -->
<div class="main-container" id="main-container">
<!-- /section:basics/sidebar -->
<div class="main-content">
<!-- 编辑手机号 -->
<div id="dialog-add">
<div class="commitopacity"></div>
<div class="commitbox">
<div class="commitbox_inner">
<div class="commitbox_top">
<textarea name="PHONEs" id="PHONEs" placeholder="请输入对方手机号,多个请用(;)分号隔开" title="请输入对方手机号,多个请用(;)分号隔开"></textarea>
<div class="commitbox_cen">
<div class="left" id="cityname"></div>
<div class="right"><span class="save" onClick="savePHONE()">保存</span> <span class="quxiao" onClick="cancel_pl()">取消</span></div>
</div>
</div>
</div>
</div>
</div>
<div id="zhongxin">
<input type="hidden" name="isAll" id="isAll" value="no"/>
<input type="hidden" name="TYPE" id="TYPE" value="1"/>
<table style="width:99%;margin-top: 12px;margin-left: 9px;">
<tr>
<td style="margin-top:0px;">
<div style="float: left;"><textarea name="PHONE" id="PHONE" rows="1" cols="50" style="width:520px;height:32px;" placeholder="请输入对方手机号,多个请用(;)分号隔开" title="请输入对方手机号,多个请用(;)分号隔开">${pd.PHONE}</textarea></div>
<div style="float: right;margin-right: 25px;"><a class='btn btn-mini btn-info' title="编辑手机号" onclick="dialog_open();"><i class='ace-icon fa fa-pencil-square-o bigger-120'></i></a></div>
</td>
</tr>
<tr>
<td id="nr">
<textarea name="CONTENT" id="CONTENT" style="width:98%;height:165px;" rows="7" cols="50" title="第三方短信内容需要提交官方审核,否则发送失败!">您的验证码是:12358 。请不要把验证码泄露给其他人。</textarea>
</td>
</tr>
<tr>
<td style="text-align: center;">
<a class="btn btn-mini btn-primary" onclick="sendSms();">发送</a>
<a class="btn btn-mini btn-danger" onclick="top.Dialog.close();">取消</a>
<label style="float:left;padding-left: 32px;"><input name="form-field-radio" id="form-field-radio1" onclick="setType('1');" class="ace" checked="checked" type="radio" value="icon-edit"><span class="lbl">短信接口1</span></label>
<label style="float:left;padding-left: 5px;"><input name="form-field-radio" id="form-field-radio2" onclick="setType('2');" class="ace" type="radio" value="icon-edit"><span class="lbl">短信接口2</span></label>
<label style="float:left;padding-left: 15px;"><input name="form-field-checkbox" type="checkbox" id="allusers" class="ace" onclick="isAll();" /><span class="lbl">全体用户</span></label>
</td>
</tr>
</table>
</div>
<div id="zhongxin2" class="center" style="display:none"><br/><img src="static/images/jzx.gif" id='msg' /><br/><h4 class="lighter block green" id='msg'>正在发送...</h4><strong id="second_show" class="red">6秒</strong>后关闭</div>
</div>
<!-- /.main-content -->
</div>
<!-- /.main-container -->
<!-- basic scripts -->
<!-- 页面底部js¨ -->
<%@ include file="../index/foot.jsp"%>
<!-- ace scripts -->
<script src="static/ace/js/ace/ace.js"></script>
<!--引入属于此页面的js -->
<script type="text/javascript" src="static/js/myjs/sms.js"></script>
<!--提示框-->
<script type="text/javascript" src="static/js/jquery.tips.js"></script>
</body>
</html>