关闭

彩信制作

466人阅读 评论(0) 收藏 举报
分类:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@include file="/WEB-INF/pages/system/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<base href="<%=basePath%>"/>

		<title>发布彩信</title>

		<meta http-equiv="pragma" content="no-cache"/>
		<meta http-equiv="cache-control" content="no-cache"/>
		<meta http-equiv="expires" content="0"/>
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
		<meta http-equiv="description" content="This is my page"/>
		<link rel="stylesheet" type="text/css" href="css/info.css"/>
		<link rel="stylesheet" type="text/css" href="css/css.css" />
		<script type="text/javascript" src="js/public/jquery-1.4.2.js">
</script>
		<script type="text/javascript" src="js/public/jquery.form.js">
</script>
		<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js"
			defer="defer">
</script>
		<script type="text/javascript" src="js/util/util.js">
</script>

		<script type="text/javascript">

//上传音频文件
function addAudio() {
	showMask();
	$("#uploadAudio").val('');
	$("#inputStream2").val('');
	popUpCenter("#uploadAudioDiv")
}

//上传文字
function addTxt() {
	//其他div反选
	$('#contentList').children().attr('class', 'pic_01');
	//添加后选中
	$('#contentList')
			.append(
					'<div class="selectedDiv" style="cursor:pointer"><img src="images/text.gif" width="64" height="80" />' + '<a style="display:none;" title="text"></a></div>');
	//显示
	$('#textPrev').show();
	$('#textArea').focus();
	$('#textArea').val('');
	$('#audioPrev').hide();
	$('#imgPrev').hide();
	clickBind();
}

//上传图片
function addImg() {
	showMask();
	$("#uploadImg").val('');
	$("#inputStream").val('');
	popUpCenter("#uploadImgDiv")
}

//预览彩信
function previewMMS() {
	$('#prevMMS').html('')
	if ($('#contentList').children().length == 0) {
		alert('主淫,您还没制作彩信哦(*^__^*)')
		return

		

	}
	showMask();
	popUpCenter("#preViewDiv")
	$('#contentList div')
			.each(
					function(i) {
						if ($(this).find('a').attr('title') == 'text') {
							$('#prevMMS')
									.append(
											'<div id="prevTxt'
													+ i
													+ '" style="display: block;margin:10px auto 10px auto;padding:0px;position: relative;text-align:center">'
													+ '<p  id="textArea' + i
													+ '" ></p>' + '</div>');
							$('#textArea' + i).text($(this).find('a').text());
						}
						if ($(this).find('a').attr('title') == 'img') {
							$('#prevMMS')
									.append(
											'<div id="prevImg'
													+ i
													+ '" style="display: block;margin:10px auto 10px auto;padding:0px;position: relative;text-align:center">'
													+ '<img width="300px" src="" border="0px"/>'
													+ '</div>');
							$('#prevImg' + i + ' img').attr('src',
									$(this).find('a').text());
						}
						if ($(this).find('a').attr('title') == 'audio') {
							$('#prevMMS')
									.append(
											'<div id="prevAud'
													+ i
													+ '" style="display: block;margin:10px auto 10px auto;padding:0px;position: relative;text-align:center">'
													+ '<embed pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" '
													+ 'width="300px" height="50px" src="" border="0px" type="video/x-ms-wmv" loop="0" autostart="false" hidden="false"/>'
													+ '</div>');
							$('#prevAud' + i + ' embed').attr('src',
									$(this).find('a').text());
						}
					});
}
//保存彩信
function saveMMS() {
	if ($('#title').val() == null || $('#title').val() == ''
			|| $('#title').val() == '请输入彩信标题') {
		alert('请输入彩信标题!');
		$('#title').focus();
		return;
	}
	if ($('#contentList').children().length == 0) {
		alert('请添加彩信内容!');
		return;
	} else {
		var isNull = false;
		$('#contentList div').each(
				function(i) {
					if ($(this).find('a').attr('title') == 'text') {
						if ($(this).find('a').text() == null
								|| $(this).find('a').text() == '') {
							$('#contentList').children()
									.attr('class', 'pic_01');
							$(this).attr('class', 'selectedDiv');
							//显示
							$('#textPrev').show();
							$('#textArea').focus();
							$('#audioPrev').hide();
							$('#imgPrev').hide();
							$('#textArea').val($('.selectedDiv a').text());
							alert('彩信内容中第' + (i + 1) + '个内容框的文本不能为空!');
							isNull = true;
							return false;
						} else {
							isNull = false;
						}
					}
				});
		if (isNull) {
			return;
		}
	}
	if ($('#startTime').val() == null || $('#startTime').val() == '') {
		alert('请输入适用时间!');
		$('#startTime').focus();
		return;
	}
	if ($('#endTime').val() == null || $('#endTime').val() == '') {
		alert('请输入适用时间!');
		$('#endTime').focus();
		return;
	}
	if (!checkDateT($('#startTime').val(), $('#endTime').val())) {
		return;
	}
	var usertype = document.getElementsByName("usertypeid");
	var usertypeArr = '';
	for(var i=0;i<usertype.length;i++){
		if(usertype[i].checked){
			usertypeArr = usertypeArr+usertype[i].value+",";
		}
	}
	if (usertypeArr == '') {
		alert('请选择适用对象!');
		return;
	}
	if ($('#apid').val() == null || $('#apid').val() == '') {
		alert('请选择适用AP所在地!');
		$('#apid').focus();
		return;
	}
	//拼接彩信内容json
	var content = "[";
	$('#contentList div').each(
			function(i) {
				if ($(this).find('a').attr('title') == 'text') {
					content += '{ "contentType":"text","value":"' + $(this)
							.find('a').text().replace(/\n/g, '<br>') + '"}';
					if ((i + 1) != $('#contentList').children().length) {
						content += ',';
					}

				}
				if ($(this).find('a').attr('title') == 'img') {
					content += '{ "contentType":"img","value":"' + $(this)
							.find('a').text() + '"}';
					if ((i + 1) != $('#contentList').children().length) {
						content += ',';
					}
				}
				if ($(this).find('a').attr('title') == 'audio') {
					content += '{ "contentType":"audio","value":"' + $(this)
							.find('a').text() + '"}';
					if ((i + 1) != $('#contentList').children().length) {
						content += ',';
					}
				}
			});
	content += "]";
	//alert(content)
	var options
= {
			type : 'post',
			url : 'saveMMS.action',
			dataType : 'json',
			data: {'content':content,'usertype':usertypeArr},
			success : function(store) {
				alert(store.message);
				}
			}
		$("#saveForm").ajaxSubmit(options);
	}
	
	function clickBind()
	{
		//标签DIV点击
			$('#contentList div').each(function(){
				$(this).bind('click',function()
				{
					$('#contentList').children().attr('class','pic_01');
					$(this).attr('class','selectedDiv');
					if($(this).find('a').attr('title') == 'text')
					{
						//显示
						$('#textPrev').show();
						$('#textArea').focus();
						$('#audioPrev').hide();
						$('#imgPrev').hide();
						$('#textArea').val($('.selectedDiv a').text());
					}
					if($(this).find('a').attr('title') == 'img')
					{
						//显示
						$('#textPrev').hide();
						$('#audioPrev').hide();
						$('#imgPrev').show();
						$('.selectedDiv img').attr('src',$('.selectedDiv a').text());
						$('#imgPrev img').attr('src',$('.selectedDiv a').text())
										.attr('width',$('.selectedDiv a').attr('width'))
										.attr('height',$('.selectedDiv a').attr('height'));
					}
					if($(this).find('a').attr('title') == 'audio')
					{
						//显示
						$('#textPrev').hide();
						$('#audioPrev').show();
						$('#imgPrev').hide();
						$('#audioPrev embed').attr('src',$('.selectedDiv a').text());
					}
				});
			});
	}
	//清空
	function removeDiv()
	{
		$('#contentList').children().remove()
		$('#textPrev').hide();
		$('#audioPrev').hide();
		$('#imgPrev').hide();
		//清值
		$('#textArea').val('')
		$('#audioPrev embed').attr('src','');
		$('#imgPrev img').attr('src','');
	}
	//删除
	function deleteDiv()
	{
		//删除最后一个
		if($('#contentList').children('.selectedDiv').index() == ($('#contentList').children().length-1))
		{
			$('#contentList').children('.selectedDiv').remove();
			$('#contentList div').last('div').attr('class','selectedDiv');
			if($('.selectedDiv').find('a').attr('title') == 'text')
			{
				//显示
				$('#textPrev').show();
				$('#textArea').focus();
				$('#audioPrev').hide();
				$('#imgPrev').hide();
				$('#textArea').val($('.selectedDiv a').text());
			}
			
			if($('.selectedDiv').find('a').attr('title') == 'img')
			{
				//显示
				$('#textPrev').hide();
				$('#audioPrev').hide();
				$('#imgPrev').show();
				$('.selectedDiv img').attr('src',$('.selectedDiv a').text());
				$('#imgPrev img').attr('src',$('.selectedDiv a').text())
								.attr('width',$('.selectedDiv a').attr('width'))
								.attr('height',$('.selectedDiv a').attr('height'));
			}				
			if($('.selectedDiv').find('a').attr('title') == 'audio')
			{
				//显示
				$('#textPrev').hide();
				$('#audioPrev').show();
				$('#imgPrev').hide();
				$('#audioPrev embed').attr('src',$('.selectedDiv a').text());
			}	
			
		}else
		{
			$('#contentList').children('.selectedDiv').remove();
			$('#contentList div').next('div').first().attr('class','selectedDiv');
			if($('.selectedDiv').find('a').attr('title') == 'text')
			{
				//显示
				$('#textPrev').show();
				$('#textArea').focus();
				$('#audioPrev').hide();
				$('#imgPrev').hide();
				$('#textArea').val($('.selectedDiv a').text());
			}
			
			if($('.selectedDiv').find('a').attr('title') == 'img')
			{
				//显示
				$('#textPrev').hide();
				$('#audioPrev').hide();
				$('#imgPrev').show();
				$('.selectedDiv img').attr('src',$('.selectedDiv a').text());
				$('#imgPrev img').attr('src',$('.selectedDiv a').text())
								.attr('width',$('.selectedDiv a').attr('width'))
								.attr('height',$('.selectedDiv a').attr('height'));
			}				
			if($('.selectedDiv').find('a').attr('title') == 'audio')
			{
				//显示
				$('#textPrev').hide();
				$('#audioPrev').show();
				$('#imgPrev').hide();
				$('#audioPrev embed').attr('src',$('.selectedDiv a').text());
			}	
		}
		//如果被删除的是最后一个
		if($('#contentList').children().length == 0)
		{
			$('#textPrev').hide();
			$('#audioPrev').hide();
			$('#imgPrev').hide();
			//清值
			$('#textArea').val('')
			$('#audioPrev embed').attr('src','');
			$('#imgPrev img').attr('src','');
		}
		
	}
	//上移
	function upDiv()
	{
		//当前位置
		var currIndex = $('#contentList').children('.selectedDiv').index();
		//alert(currIndex)
		if(currIndex == 0)
		{
			alert('已经是第一个!')
			return
		}
		var current =  $('#contentList').children('.selectedDiv')
		//上一个DIV
		var pre = $(current).prev();
 		$(pre).before(current);
	}
	//下移
	function downDiv()
	{
		//当前位置
		var currIndex = $('#contentList').children('.selectedDiv').index();
		if((currIndex+1) == $('#contentList').children().length)
		{
			alert('已经是最后一个!')
			return
		}
		var current =  $('#contentList').children('.selectedDiv')
		//下一个DIV
		var next = $(current).next();
 		$(next).after(current);
	}
	
	$(document).ready(
		function()
		{
			$('#textPrev').focusout(function()
			{
				var temp = $('#textArea').val().replace(/\n/g,'<br>');
				$('.selectedDiv a').text(temp);
			});
			
			$('#title').focus(function()
			{
				if($('#title').val() !=  '请输入彩信标题')
				{
					//$('#title').val('请输入彩信标题');
				}else
				{
					$('#title').val('');
				}
				
			});
			$('#title').blur(function()
			{
				if($('#title').val() ==  null || $('#title').val() ==  '')
				{
					$('#title').val('请输入彩信标题');
				}
			});
		}
	);
	
	
	function uploadImg() {
	if ($("#uploadImg").val() == "") {
		alert("请选择要上传的图片!");
		return;
	}
	var str = $("#uploadImg").val();
	$("#inputStream").val(str);
	var len = str.length;
	var type = str.substr(len - 3, 3);
	if(type == 'gif' || type == 'jpg' || type == 'jpeg' || type == 'bmp'){
		var options = {
			type : 'post',
			url : 'uploadImg.action',
			dataType : 'json',
			success : function(store) {
				alert(store.message);
				if(store.success){
					divClose('#uploadImgDiv')
					//其他div反选
					$('#contentList').children().attr('class','pic_01');
					//添加后选中
					$('#contentList').append('<div class="selectedDiv" style="cursor:pointer"><img src="'+store.saveFilePath+'" width="64" height="80" />'+
												'<a style="display:none;" title="img" width="" height=""></a></div>');
					//显示
					$('#textPrev').hide();
					//$('#textArea').focus();
					$('#textArea').val('');
					$('#audioPrev').hide();
					$('#imgPrev').show();
					$('#imgPrev img').attr('src',store.saveFilePath).attr('width',store.imgWidth).attr('height',store.imgHeight);
					$('.selectedDiv a').text($('#imgPrev img').attr('src'));
					$('.selectedDiv a').attr('width',store.imgWidth).attr('height',store.imgHeight);
					clickBind();
				}
			}
		}
		$("#form1").ajaxSubmit(options);
	} else {
		alert("图片的格式不正确,请重新选择!");
		return;
	}
}

 function uploadAudio(){
	if ($("#uploadAudio").val() == "") {
		alert("请选择要上传的音频!");
		return;
	}
	var str = $("#uploadAudio").val();
	$("#inputStream2").val(str);
	var len = str.length;
	var type = str.substr(len - 3, 3);
	if(type == 'mp3' || type == 'wav' || type == 'mid' || type == 'midi'){
		var options = {
			type : 'post',
			url : 'uploadAudio.action',
			dataType : 'json',
			success : function(store) {
				alert(store.message);
				if(store.success){
					divClose('#uploadAudioDiv')
					//其他div反选
					$('#contentList').children().attr('class','pic_01');
					//添加后选中
					$('#contentList').append('<div class="selectedDiv" style="cursor:pointer"><img src="images/audio.gif" width="64" height="80" />'+
												'<a style="display:none;" title="audio"></a></div>');
					//显示
					$('#textPrev').hide();
					//$('#textArea').focus();
					$('#textArea').val('');
					$('#audioPrev').show();
					$('#imgPrev').hide();
					$('#audioPrev embed').attr('src',store.saveFilePath);
					$('.selectedDiv a').text(store.saveFilePath);
					clickBind();
				}
			}
		}
		$("#form2").ajaxSubmit(options);
	} else {
		alert("音频的格式不正确,请重新选择!");
		return;
	}
}
function changeAP(obj){
	$.ajax({
	url : "com.changeMMSAP.action",
			type : "post",
			dataType : "json",
			data : {
				'apid' : obj.value
			},
			success : function(store) {
				var list = store.userTypeList;
				var content="";
				for(var a=0;a<list.length;a++){
					 if(list[a].usertype!=0){
					 	content= content+("<input type='checkbox' value='"+list[a].usertypeid+"' name='usertypeid' />"+list[a].typename+"  ");
					 }
				}
				$("#test").html(content)
			}
		});
}

</script>
	</head>

	<body>
		<div>
			<table width="100%" border="0" cellspacing="0" cellpadding="0"
				class="cen">
				<tr>
					<td valign="top" class="cen_rig">
						<div class="cen_05" style="font-size: 12px">
							我的彩信 > 发布彩信
						</div>
						<div class="cen_06"></div>
						<div style="margin: 10px 18px 10px 17px;">
							<form id="saveForm" method="post">
								<table width="100%" border="0" cellspacing="0" cellpadding="0"
									class="fscx_table">
									<tr>
										<td colspan="2" id="table_title">
											<span style="color: black">发布彩信</span>
										</td>
									</tr>
									<tr>
										<th align="center" style="text-align: center;">
											<span style="color: red">*</span><span style="color: black">标题</span>
										</th>
										<td>
											<input type="text" value="请输入彩信标题" name="title" id="title"
												title="不超过50个汉字"
												style="border: none; height: 100%; width: 90%; vertical-align: middle; line-height: 35px" />
										</td>
									</tr>
									<tr height="380px" valign="top">
										<td valign="top" align="center">
											<div class="pic_bg">
												<table width="100%" border="0" cellspacing="0"
													cellpadding="0" class="pic_top">
													<tr>
														<td align="center">
															<img src="images/new.jpg" title="清空"
																onclick="removeDiv()" style="cursor: pointer" />
														</td>
														<td align="center">
															<img src="images/close.jpg" title="删除"
																onclick="deleteDiv()" style="cursor: pointer" />
														</td>
														<td align="center">
															<img src="images/down.jpg" title="下移" onclick="downDiv()"
																style="cursor: pointer" />
														</td>
														<td align="center">
															<img src="images/up.jpg" title="上移" onclick="upDiv()"
																style="cursor: pointer" />
														</td>
													</tr>
												</table>
											</div>
											<div id="contentList"
												style="width: 120px; height: 340px; overflow: auto; overflow-x: hidden;">

											</div>
										</td>
										<td valign="top" align="center">
											<div class="pic_02">
												<table width="100%" border="0" cellspacing="0"
													cellpadding="0">
													<tr>
														<td width="100">
															<a href="javascript:addImg()"
																style="text-decoration: none"> <img
																	src="images/pic_01.jpg" border="0px" /> <span
																style="font-size: 14px; line-height: 20px">添加图片</span> </a>
														</td>
														<td width="100">
															<a href="javascript:addAudio()"
																style="text-decoration: none"> <img
																	src="images/pic_02.jpg" border="0px" /> <span
																style="font-size: 14px">添加铃声</span> </a>
														</td>
														<td width="100">
															<a href="javascript:addTxt()"
																style="text-decoration: none"> <img
																	src="images/pic_03.jpg" border="0px" /> <span
																style="font-size: 14px">添加文字</span> </a>
														</td>
														<td>
															 
														</td>
													</tr>
												</table>
											</div>
											<div id="textPrev" style="display: none;">
												<textarea id="textArea" style="height: 280px; width: 300px"
													title="不超过2000个汉字">
							</textarea>
											</div>
											<div id="audioPrev" style="height: 50px; display: none;">
												<embed
													pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
													src="" type="video/x-ms-wmv" loop="0" autostart="false"
													hidden="false" width="300" height="50">
											</div>
											<div id="imgPrev" style="display: none;">
												<img src="" border="0px" />
											</div>
											<div class="pic_04">
												<span>签名:</span>【商客短信】
											</div>

										</td>
									</tr>
									<tr>
										<th style="font-size: 14px">
											<span style="color: red">*</span><span style="color: black">适用时间</span>
										</th>
										<td>
											<input name="startTime" id="startTime" type="text"
												onfocus="WdatePicker({skin:'whyGreen',minDate:'1970-01-01 00:00:00',maxDate:'2099-12-31 23:59:59'})" />
											-
											<input name="endTime" id="endTime" type="text"
												onfocus="WdatePicker({skin:'whyGreen',minDate:'1970-01-01 00:00:00',maxDate:'2099-12-31 23:59:59'})" />
										</td>
									</tr>
									<tr>
										<th style="font-size: 14px">
											<span style="color: red">*</span><span style="color: black">适用AP所在地</span>
										</th>
										<td>
											<div align="left" style="margin-left: 1px;">
												<select name="apid" id="apid" style="width: 200px"
													onchange="changeAP(this)">
													<c:forEach items="${apList}" var="list">
														<option value="${list.apid}"
															<c:if test="${apid eq list.apid}">selected="selected"</c:if>>
															${list.description}
														</option>
													</c:forEach>
												</select>
											</div>
										</td>
									</tr>
									<tr>
										<th style="font-size: 14px">
											<span style="color: red">*</span><span style="color: black">适用对象</span>
										</th>
										<td>
											<div align="left" style="margin-left: 10px;">
												<table border="0" cellpadding="0" cellspacing="0">
													<tr>
														<td
															style="border-bottom: 0px; border-top: 0px; border-left: 0px; border-right: 0px;">
															<div id="test" align="left">
																<c:forEach items="${userTypeList}" var="list"
																	varStatus="statu">
																	<c:if test="${list.usertype!=0}">
																		<input type="checkbox" value="${list.usertypeid}"
																			name="usertypeid" />
																	${list.typename}  </c:if>
																</c:forEach>
															</div>
														</td>
													</tr>
												</table>
											</div>
										</td>
									</tr>
								</table>
							</form>
							<div align="center" style="margin-top: 10px">
								<table>
									<tbody>
										<tr>
											<td>
												<a href="javascript:previewMMS()"><img
														src="images/pic09110.gif" border="0" /> </a>
											</td>
											<td>
												<a href="javascript:saveMMS()"><img
														src="images/pic08.gif" border="0" /> </a>
											</td>
											<td>
												<a href="com.hereis.system.home.action"><img
														src="images/pic09.gif" border="0" /> </a>
											</td>
										</tr>
									</tbody>
								</table>
							</div>
						</div>


					</td>
				</tr>
			</table>
		</div>
		<!--	遮盖层	-->
		<div id="mask" class="mask"></div>
		<!--	上传图片 弹出层	-->
		<div class="tc_01" id="uploadImgDiv" style="display: none">

			<div class="tc_04" style="border: 0px">
				<div style="background-color: #4673C4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<th class="title">
								上传图片
							</th>
							<td align="right">
								<img src="images/xx.jpg" width="25" height="30"
									style="cursor: pointer" onclick="divClose('#uploadImgDiv')" />
							</td>
						</tr>
					</table>
				</div>
				<div>
					<form id="form1" action="" method="post"
						enctype="multipart/form-data">
						<input type="hidden" name="filePath" id="inputStream" />
						<table width="95%" border="0" align="center" cellpadding="0"
							cellspacing="0" class="tc_05">
							<tr>
								<td>
									<div align="right">
										文件路径
									</div>
								</td>
								<td>
									<input type="file" name="uploadImg" id="uploadImg"
										style="width: 350px;" value="浏览..." />
								</td>

							</tr>
							<tr>
								<td colspan="2">
									<span class="required">               <font
										color="red">图片大小不超过8M,格式为gif、jpg、jpeg或bmp</font> </span>
								</td>
							</tr>
						</table>
					</form>
				</div>
				<div class="cen_06"></div>
				<div>
					<div align="center" style="margin-top: 10px; margin-bottom: 10px;">
						<table>
							<tr>
								<td>
									<a href="javascript:uploadImg()"> <span class="bg">上传</span>
									</a>
								</td>
								<td>
									<a href="javascript:divClose('#uploadImgDiv')"><img
											src="images/pic20.gif" border="0" /> </a>
								</td>
							</tr>
							<tr style="height: 10px">
								<td></td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</div>
		<!--	上传音频 弹出层	-->
		<div class="tc_01" id="uploadAudioDiv" style="display: none">

			<div class="tc_04" style="border: 0px">
				<div style="background-color: #4673C4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<th class="title">
								上传音频
							</th>
							<td align="right">
								<img src="images/xx.jpg" width="25" height="30"
									onclick="divClose('#uploadAudioDiv')" />
							</td>
						</tr>
					</table>
				</div>
				<div>
					<form id="form2" action="" method="post"
						enctype="multipart/form-data">
						<input type="hidden" name="filePath" id="inputStream2" />
						<table width="95%" border="0" align="center" cellpadding="0"
							cellspacing="0" class="tc_05">
							<tr>
								<td>
									<div align="right">
										文件路径
									</div>
								</td>
								<td>
									<input type="file" name="uploadAudio" id="uploadAudio"
										style="width: 350px;" value="浏览..." />
								</td>

							</tr>
							<tr>
								<td colspan="2">
									<span class="required">               <font
										color="red">文件大小不超过100KB,格式为mp3、wav、mid、midi格式</font> </span>
								</td>
							</tr>
						</table>
					</form>
				</div>
				<div class="cen_06"></div>
				<div>
					<div align="center" style="margin-top: 10px; margin-bottom: 10px;">
						<table>
							<tr>
								<td>
									<a href="javascript:uploadAudio()"> <span class="bg">上传</span>
									</a>
								</td>
								<td>
									<a href="javascript:divClose('#uploadAudioDiv')"><img
											src="images/pic20.gif" border="0" /> </a>
								</td>
							</tr>
							<tr style="height: 10px">
								<td></td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</div>
		<!--	预览彩信  弹出层	-->
		<div class="tc_01" id="preViewDiv" style="display: none">

			<div class="tc_04" style="border: 0px">
				<div style="background-color: #4673C4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<th class="title">
								彩信 预览
							</th>
							<td align="right">
								<img src="images/xx.jpg" width="25" height="30"
									onclick="divClose('#preViewDiv')" />
							</td>
						</tr>
					</table>
				</div>
				<div id="prevMMS">
				</div>
				<div class="cen_06"></div>
				<div>
					<div align="center" style="margin-top: 10px; margin-bottom: 10px;">
						<table>
							<tr>
								<td>
									<a href="javascript:divClose('#preViewDiv')"><img
											src="images/pic20.gif" border="0" /> </a>
								</td>
							</tr>
							<tr style="height: 10px">
								<td></td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>

0
0

猜你在找
【直播】机器学习&数据挖掘7周实训--韦玮
【套餐】系统集成项目管理工程师顺利通关--徐朋
【直播】3小时掌握Docker最佳实战-徐西宁
【套餐】机器学习系列套餐(算法+实战)--唐宇迪
【直播】计算机视觉原理及实战--屈教授
【套餐】微信订阅号+服务号Java版 v2.0--翟东平
【直播】机器学习之矩阵--黄博士
【套餐】微信订阅号+服务号Java版 v2.0--翟东平
【直播】机器学习之凸优化--马博士
【套餐】Javascript 设计模式实战--曾亮
查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:2489次
    • 积分:84
    • 等级:
    • 排名:千里之外
    • 原创:6篇
    • 转载:1篇
    • 译文:0篇
    • 评论:0条
    文章分类
    文章存档