<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->

<html>
<head><title></title><meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
<!--免费编辑器引用-->        
    
<link rel="stylesheet" href="../kindeditor3/themes/default/default.css" />
<script charset="utf-8" src="../kindeditor3/kindeditor.js"></script>
<script charset="utf-8" src="../kindeditor3/lang/zh_CN.js"></script>
<script>
		
			KindEditor.ready(function(K) {
			var editor = K.create('textarea[name="content"]', {
				cssPath : '../kindeditor3/plugins/code/prettify.css',
				uploadJson : '../kindeditor3/asp/upload_json.asp',
				fileManagerJson : '../kindeditor3/asp/file_manager_json.asp',
				allowFileManager : true,
				afterCreate : function() {
					var self = this;
					K.ctrl(document, 13, function() {
						self.sync();
						K('form[name=example]')[0].submit();
					});
					K.ctrl(self.edit.doc, 13, function() {
						self.sync();
						K('form[name=example]')[0].submit();
					});
				}
			});
		});
	</script>
		 
		

 <script language="javascript"> 
function divshow(n) 
{
document.getElementById(n).style.display="block";
}
</script> 
<script Language="JavaScript">
function right(mainStr,lngLen) {
// alert(mainStr.length)
if (mainStr.length-lngLen>=0 && mainStr.length>=0 && mainStr.length-lngLen<=mainStr.length) {
return mainStr.substring(mainStr.length-lngLen,mainStr.length)}
else{return null}
}


function form_check(){
var fso,f;  

if(document.form3.title.value.length<1){window.alert("请输入标题");document.form3.title.focus();return (false);}

}

//-->  
</script>
<style type="text/css">
<!--
.STYLE3 {color: #990033}
-->
</style>
<body>

<table width="100%" height="495" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="27">
	<div class="header">
	<div class="nav">
        <ul>
            <li class="on">添加活动剪影</li>
            <li><a href="manage.asp?ftype=校园活动剪影" target="_self">活动剪影管理</a></li>
        </ul>
    </div>	
	</td>
  </tr>

 
  <tr>
     <td height="470" valign="top"   class="NemuMainBox">
	 <br>

	  <table  border="1" align="center" cellpadding="10" cellspacing="0" bgcolor="#F7FCFF" style="border-collapse:collapse">
		<tr>
		<td height="295" valign="top"> 
		
		<form method="post" ENCTYPE="multipart/form-data" name="form3" action="savefile.asp" onSubmit="return form_check();">
		  <%
	 strftype=request("ftype")
	 tname=request.cookies("tname")
	 '检查权限
       Set MyOAASPObj = Server.CreateObject("YFSchoolOApro.YFSchoolDll")
           if MyOAASPObj.QuanXian(tname,"信息管理")=0 then 
		    response.redirect  "../NoPower.asp"
           end if 
		   set MyOAASPObj=nothing
'检查权限结束
	 
	 
	     	Set MyOAASPObj = Server.CreateObject("YFSchoolOApro.YFSchoolDll")
           call  MyOAASPObj.HuoDongJianYing_addFile(Tname,strftype)
		    set MyOAASPObj=nothing
	 
	 
	 %>	
</form>	 </td>
		</tr>
		</table>    </td>
  </tr>
</table>
</body>
</html>
