<!--#include file="inc/conn.asp"-->
<!--#include file="inc/Conn_User.asp"-->
<!--#include file="inc/function.asp"-->
<!--#include file="inc/admin_code_lb.asp"-->
	<script type=text/javascript>var xijuan={channel:"video"}</script>
	<script type=text/javascript src="Inc/main.js"></script>
<body style="overflow-y:hidden"> 
<%
if Request.Cookies("asp163")("UserName")="" then
	response.Redirect "User_Login.asp"
end if


dim ClassID,SpecialID
dim SkinID,LayoutID,SkinCount,LayoutCount,ClassMaster,BrowsePurview,AddPurview
ClassID=session("ClassID_Photo")
SpecialID=session("SpecialID_Photo")
if ClassID="" then
	ClassID=0
else
	ClassID=Clng(ClassID)
end if
if SpecialID="" then
	SpecialID=0
else
	SpecialID=Clng(SpecialID)
end if
%>


<!doctype html public "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="gb2312">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="content-language" content="gb2312" />
<meta name="robots" content="all" />
<meta name="googlebot" content="all" />

<link rel="StyleSheet" href="img/list.css" type="text/css" media="screen" />

<script language = "JavaScript">
function CheckForm()
{
  if (document.myform.ClassID.value=="")
  {
    alert("视屏所属栏目不能指定为含有子栏目的栏目！");
	document.myform.ClassID.focus();
	return false;
  }
  if (document.myform.ClassID.value==0)
  {
    alert("视屏所属栏目不能指定为外部栏目！");
	document.myform.ClassID.focus();
	return false;
  }

  if (document.myform.PhotoName.value=="")
  {
    alert("视屏名称不能为空！");
	document.myform.PhotoName.focus();
	return false;
  }
  if (document.myform.Keyword.value=="")
  {
    alert("关键字不能为空！");
	document.myform.Keyword.focus();
	return false;
  }
  if (document.myform.PhotoUrl_Thumb.value=="")
  {
    alert("缩略图地址不能为空！");
	document.myform.PhotoUrl_Thumb.focus();
	return false;
  }
  if (document.myform.PhotoSize_Thumb.value=="")
  {
    alert("缩略图文件大小不能为空！");
	document.myform.PhotoSize_Thumb.focus();
	return false;
  }
  if (document.myform.PhotoUrl.value=="")
  {
    alert("原始视屏地址不能为空！");
	document.myform.PhotoUrl.focus();
	return false;
  }
  if (document.myform.PhotoSize.value=="")
  {
    alert("原始视屏文件大小不能为空！");
	document.myform.PhotoSize.focus();
	return false;
  }
}
</script



</head>
<body>




<div id="refer" class="i_bor">







<form name="speak" id="speak" method="post" action="User_lbSave.asp" onSubmit="return check_submit();return false;">
	<div class="i_bg">
		<dl>
		 <dt><em>选择类别：</em><span> <input type="radio" name="PhotoUrl_Thumb" value="[ 征男友 ]" />征男友<input type="radio" name="PhotoUrl_Thumb" value="[ 征女友 ]" checked="checked" />征女友<input type="radio" name="PhotoUrl_Thumb" value="[ 心里话 ]" />心里话<input type="radio" name="PhotoUrl_Thumb" value="[ 我宣布 ]" />我宣布<input type="radio" name="PhotoUrl_Thumb" value="[ 寻老乡 ]" />寻老乡</span></dt>
		 <dd><textarea name="PhotoName" onKeyPress="return check_text(this);" onClick="if(this.value=='您输入的大喇叭字数最短不能小于10字，最长不能超过50字。')this.value='';" cols="40">您输入的大喇叭字数最短不能小于10字，最长不能超过50字。</textarea><input type="submit" value="提　交" /></dd>
		




<%
UserNamed=Request.Cookies("asp163")("UserName")
set rsc=server.createobject("adodb.recordset")
sql="select * from [lbclass] where UserName='"&UserNamed&"' order by classid desc"
rsc.open sql,Conn,1,1
%>
                               <select name="ClassID">
                                
 <%call Admin_ShowClass_Option(1,ClassID)%>




</dl>







                                <input name="Keyword" type="hidden"
           id="Keyword" value="喇叭">
                                  <strong>
                                                                  

<input name="Author" type="hidden"
           id="Author3" size="17" maxlength="100" >
                                </strong>



                



















































                                <input name="PhotoUrl_Thumbsm" 

type="hidden" id="PhotoUrl_Thumbsm" size="40" value="：" 

maxlength="200">
                                <input name="PhotoUrl" value="：" 

type="hidden" id="PhotoUrl" size="40" maxlength="200"></td>

<input name="PhotoIntro" type="hidden" id="textarea" value="：" 

size="40" >       
<input name="PhotoSize_Thumb" type="hidden" id="PhotoSize_Thumb" 

size="1" maxlength="10">
<input name="PhotoSize" type="hidden" id="PhotoSize5" size="1" 

maxlength="10" value="0">                             
                              <td colspan="2" align="center" 

valign="middle"><input name="Action" type="hidden" id="Action2" 

value="Add">



</td>



	</div>
</form>
</div>
</body>
</html>
<%
call CloseConn()
%>
