<!--#include file="inc/conn.asp"-->
<!--#include file="inc/safe.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/const.asp"-->
<%
if MemberName="" then
  response.Redirect("userlogin.asp")
  response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>红嫂视屏交友网</title>
<meta name="keywords" content="情感,在线,新新,照片,动感影片,诗歌,爱情,纯洁,心连心">
<meta name="description" content="红嫂视屏交友情缘 情感在线">
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	background-image: url();
}
.STYLE31 {color: #666666; font-size: 12px;}
.STYLE89 {color: #993300}
-->
</style>
<script language="javascript" src="base.js"></script>
<script type="text/javascript">
function submitAll()
{
	//直接提交
	if (!checkSub()) {
		return false;
	}	
	document.submitForum.submit();
	return false;
}

function checkSub()
{
	var this_form = document.submitForum;
	var titleLen = str_len(this_form.title.value.trim());
	if (titleLen <= 0 || titleLen > 100) {
		show_error("抱歉，您没有填写视频标题！", "dialogError2");
		return false;
	}
	var descriptionLen = str_len(this_form.description.value.trim());
	if (descriptionLen <= 0) {
		show_error("抱歉，您没有填写视频说明！", "dialogError2");
		return false;
	}
	if (descriptionLen > 1000) {
		show_error("抱歉，您填写的视频说明过长！", "dialogError2");
		return false;
	}
	var tags = this_form.tags.value.trim();
	var tagsLen = str_len(tags);
	if (tagsLen <= 0) {
		show_error("抱歉，您没有填写标签！", "dialogError2");
		return false;
	}
	
   	tags = tags.replace(/(\s+)|(　)|(｜)|(＼)|(；)|(：)|(\+)|(／)|(，)|(、)|(\|)|(\\)|(;)|(:)|(\/)|(＋)/g, ",");
	tags = tags.split(",");
	var tn = 0;
	for (var i in tags) {
		if (!is_null(tags[i]) > 0) {
			if (tags[i].length < 2) {
				show_error("抱歉，单个标签的长度为2～6个字", "dialogError2");
				return false;
			}
			if (str_len(tags[i]) > 12) {
				show_error("抱歉，单个标签的长度为2～6个字", "dialogError2");
				return false;
			}
			tn ++;
		}		
	} 	
  	if(tn > 6){ 
		show_error("抱歉，标签最多为6个！", "dialogError2");


    	return false;
    }	
	
	return true;
}
</script>
</head>
<body>
<table width="1002" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="top.asp"--></td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="204" height="328" valign="top"><!--#include file="memberleft.asp"-->
&nbsp;</td>
    <td width="583" valign="top"><table width="565" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><TABLE width="100%" border=0 
            cellPadding=0 cellSpacing=0 bgColor=white class="STYLE4" >
              <TBODY>
                <TR>
                  <TD width="2%" align=left background="image/tiao_4.gif"><img src="image/tiao_3.gif" width="10" height="31"></TD>
                  <TD height="31" align=center background="image/tiao_4.gif">
				  <div id="h1d_1" class="hd_on" style="cursor:auto;">
				  <TABLE width=530 height="27" border=0 cellPadding=0 cellSpacing=0>
                      <TBODY>
                        <TR>
                          <TD height="27" align=middle class="pgd">关闭录制视频信息说明</TD>
                        </TR>
                      </TBODY>
                  </TABLE>
				  </div>
				  </TD>
                  <TD width="2%" align="center" background="image/tiao_4.gif"><img src="image/tiao_2.gif" width="10" height="31"></TD>
                </TR>
              </TBODY>
          </TABLE></td>
        </tr>
        <tr>
          <td height="299" valign="top" style="border-left:#C7C8CC 1px solid;border-right:#C7C8CC 1px solid;border-bottom:#C7C8CC 1px solid"><br>
            <table border="0" width="500" cellspacing="0" align="center">
			<form id="submitForum" name="submitForum" method="post" action="viesave.asp">
			<tr class="f14">
				<td align="right" valign="top" class="sc_t" width="7500"><div align="right">在线录制视屏后保存过程中<b>耗费本服务器资源</b>，暂时取消。请用户使用<b><font color="#FF0000">上传视屏</font></b>测试！</div></td>
				<td width="416" align="center" class="f_of">
					<div align="left">
					  
				  </div>			  </td>
			</tr>
			
			<tr><td height="5"><div align="right"></div></td></tr>
			<tr>
				<td align="right" valign="top" class="sc_t"><div align="right"></td>
				<td align="center" class="f_of f12" id="pdlb">
				  <div align="left">

			        </select>
		          </div></td>
			</tr>
			<tr><td height="5"></td></tr>
			<tr class="f12">
				<td height="30" colspan="2" align="right" valign="top" class="sc_t"></td>
			</tr>
			</form>
		</table></td>
        </tr>
    </table></td>
    <td width="163"><!--#include file="fenlei.asp"-->
&nbsp;</td>
  </tr>
</table>
<table width="1002" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="root.asp"--></td>
  </tr>
</table>
</body>
</html>
