⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fullscreen.asp

📁 SK信息采集2.0功能介绍: 1.可针对任何静态网页,动态网页进行采集。包括htm,html,shtml,ASP,ASPX,JSP,PHP等。 2.增加自定文件采集.用户可采集网页中的所有文件.
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%option explicit%>
<!--#include file="../Conn.asp"-->
<!--#include file="../SysCls/KS_CommonCls.asp"-->
<!--#include file="../Inc/Session1.asp"-->
<%
'===================================================================================================================
'软件名称:科汛网站管理系统
'当前版本:科汛网站管理系统 V2.2 SP2 Free
'Copyright (C) 2006-2008 Kesion.Com  All rights reserved.
'产品咨询QQ:9537636,41904294
'技术支持QQ:111394,54004407 
'程序版权:科汛网络
'程序开发:科汛网络开发组(总策划:林文仲)
'E-Mail  :kesioncms@hotmail.com webmaster@kesion.com
'官方网站:http://www.kesion.com  
'演示站点:http://test.kesion.com 
'郑重声明:
'    ①、免费版本请在程序首页保留版权信息,并做上本站LOGO友情连接,商业版本无此要求;
'    ②、任何个人或组织不得在授权允许的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息;
'    ③、科汛网络保留此软件的法律追究权利
'===================================================================================================================
Dim KSCls
Set KSCls = New FullScreen
KSCls.Execute()
Set KSCls = Nothing

Class FullScreen
        Private KSCMS
		Private Domain,AdminDir
		Private Sub Class_Initialize()
		  Set KSCMS=New CommonCls
		End Sub
        Private Sub Class_Terminate()
		 Call KSCMS.CloseConn()
		 Set KSCMS=Nothing
		End Sub
		Public Sub  Execute()
			Dim Style,DomainStr,InstallStr,AdminDirStr,ChannelID
			Style=KSCMS.G("Style")
			ChannelID=KSCMS.G("ChannelID")
			Domain=KSCMS.GetDomain
			AdminDir=KSCMS.GetConfig("AdminDir")
			DomainStr=Replace(KSCMS.GetConfig("WebUrl"),"/","\\/")
			InstallStr=Replace(KSCMS.GetConfig("InstallDir"),"/","\\/")
			AdminDirStr=Replace(KSCMS.GetConfig("AdminDir"),"/","\\/")
			%>
			<HTML>
			<HEAD>
			<TITLE>科汛在线编辑器 - 全屏编辑</TITLE>
			<META http-equiv=Content-Type content="text/html; charset=gb2312">
			<style type="text/css">
			body {	margin: 0px; border: 0px; background-color: buttonface; }
			</style>
			</HEAD>
			<BODY scroll="no" onUnload="Minimize()">
			<form  method="post">
			<input type="hidden" id="Content" name="Content">
			<iframe id="ContentFrame" name="ContentFrame" src="<%=Domain & AdminDir%>Editor.asp?FullScreenFlag=1&ID=Content&Style=<%=Style%>&ChannelID=<%=ChannelID%>" frameborder=0 scrolling=no width="100%" height="100%"></iframe>
			</form>
			<script language=javascript>
			<!--
			 <%IF Style=1 Then%>
			   var TempContentArray=opener.ArticleContentArray;
				 opener.SaveCurrPage();
				 document.forms[0].Content.value='';
				 for (var i=0;i<TempContentArray.length;i++)
				{
					if (TempContentArray[i]!='')
					{
						if (document.forms[0].Content.value=='') document.forms[0].Content.value=TempContentArray[i];
						else document.forms[0].Content.value=document.forms[0].Content.value+'[NextPage]'+TempContentArray[i];
					} 
				}
			<%ELSE%>
			document.forms[0].Content.value =opener.KS_EditArea.document.documentElement.innerHTML;
			<%end if%>
			//alert(document.forms[0].Content.value);
			function Minimize() {
			 frames[0].setMode('EDIT',<%=Style%>,'<%=DomainStr%>','<%=InstallStr%>','<%=AdminDirStr%>');  //返回设定为编辑状态
			<%IF Style=1 Then%>
				 frames[0].SaveCurrPage();
				var TempContentArray=frames[0].ArticleContentArray;
				document.forms[0].Content.value='';
				for (var i=0;i<TempContentArray.length;i++)
				{
					if (TempContentArray[i]!='')
					{
						if (document.forms[0].Content.value=='') document.forms[0].Content.value=TempContentArray[i];
						else document.forms[0].Content.value=document.forms[0].Content.value+'[NextPage]'+TempContentArray[i];
					} 
				}
				  for (var i=0; i<opener.parent.frames.length; i++)
					  {
						if (opener.parent.frames[i].document==opener.document)
						  {
						   for (var j=0;j<opener.parent.document.forms.length;j++)
							   if (opener.parent.document.forms[j].Content!=null)
								{  
							   opener.parent.document.forms[j].Content.value=document.forms[0].Content.value;
							   }
							   opener.parent.frames[i].location.reload();
						 }
					 }
			<%ELSE%>
			   opener.KS_EditArea.document.body.innerHTML=frames[0].KS_EditArea.document.body.innerHTML;
			   opener.ShowTableBorders();
			<%END IF%>   
			   self.close();
			}
			//-->
			</script>
			</BODY>
			</HTML>
<%
 End Sub
End Class
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -