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

📄 searchfluctuation.js

📁 SK信息采集2.0功能介绍: 1.可针对任何静态网页,动态网页进行采集。包括htm,html,shtml,ASP,ASPX,JSP,PHP等。 2.增加自定文件采集.用户可采集网页中的所有文件.
💻 JS
📖 第 1 页 / 共 2 页
字号:
		 {
		  DisabledSearchFluctuation(true);
		  return;
		 }
		 else
		 {
		  DisabledSearchFluctuation(false);
	      document.all.DateArea.style.display="";
	      TextArr=new Array('下载名称','下载简介','下载关键字','下载作者/开发商','下载录入')
	      }
		  break; 
	case 'Flash':
	     if (SearchFlashPower=='False')          //搜索Flash权限检查
		 {
		  DisabledSearchFluctuation(true);
		  return;
		 }
		 else
		 {
		  DisabledSearchFluctuation(false);
	      document.all.DateArea.style.display="";
	      TextArr=new Array('Flash名称','Flash简介','Flash关键字','Flash作者','Flash录入')
	      }
		  break; 
	case 'Special':
	     if (SearchSpecialPower=='False')       //搜索专题权限检查
		 {
		   DisabledSearchFluctuation(true);
		   return;
		 }
		 else
		 {
		  DisabledSearchFluctuation(false);
	      document.all.DateArea.style.display="";
	      TextArr=new Array('专题名称','简要说明')
	     }
		 break;
	case 'Link':
	     if (SearchLinkPower=='False')       //搜索友情链接站点权限检查
		 {
		   DisabledSearchFluctuation(true);
		   return;
		 }
		 else
		 {
		  DisabledSearchFluctuation(false);
	      document.all.DateArea.style.display="";
	      TextArr=new Array('站点名称','站点描述')
	     }
		 break;
	case 'SysLabel':
	     if (SearchSysLabelPower=='False')       //搜索系统标签权限检查
		 {
		   DisabledSearchFluctuation(true);
		   return;
		 }
		 else
		 {
		  DisabledSearchFluctuation(false);
	     document.all.DateArea.style.display="";
	     TextArr=new Array('系统标签名称','系统标签描述')
		 }
	     break;
	case 'FreeLabel':
	     if (SearchFreeLabelPower=='False')       //搜索自由标签权限检查
		 {
		   DisabledSearchFluctuation(true);
		   return;
		 }
		 else
		 {
	     document.all.DateArea.style.display="";
		 TextArr=new Array('自由标签名称','自由标签描述','自由标签内容')
		 }
	     break;
	case 'SysJS':
	     if (SearchSysJSPower=='False')       //搜索系统JS权限检查
		 {
		   DisabledSearchFluctuation(true);
		   return;
		 }
		 else
		 {
	     document.all.DateArea.style.display="";
		 TextArr=new Array('系统JS 名称','系统JS 描述','系统JS 文件名')
		 }
		 break;
    case 'FreeJS' :
		 if (SearchFreeJSPower=='False')       //搜索自由JS权限检查
		 {
		   DisabledSearchFluctuation(true);
		   return;
		 }
		 else
		 {
	     document.all.DateArea.style.display="";
		 TextArr=new Array('自由JS 名称','自由JS 描述','自由JS 文件名')
		 }
		 break;
	case 'Manager':	 
		  if (SearchAdminPower=='False')          //搜索管理员权限检查
		 {
		  DisabledSearchFluctuation(true);
		  return;
		 }
		 else
		 {
		  DisabledSearchFluctuation(false);
	     document.all.DateArea.style.display="none";
		 TextArr=new Array('管理员名称','管理员简介')
		}
	    break;
  }
  for (var i=0;i<TextArr.length;++i)
	document.all.SearchType.options[document.all.SearchType.length] = new Option(TextArr[i], i);
}
function setstatus(Obj)
  {var today=new Date()
    if (Obj.nextSibling.style.display=='none')
     {
	  Obj.nextSibling.style.display='';
	  document.all.StartDate.value=today.getYear()+'-'+eval(today.getMonth()+1)+'-'+today.getDate();
	 }
	else 
	{
     Obj.nextSibling.style.display='none';
	 document.all.StartDate.value='';
	 }
	if (Obj.nextSibling.nextSibling.style.display=='none')
	{
     Obj.nextSibling.nextSibling.style.display='';
	  document.all.EndDate.value=today.getYear()+'-'+eval(today.getMonth()+1)+'-'+today.getDate();
	}
	else 
     {
	 Obj.nextSibling.nextSibling.style.display='none';
	 document.all.EndDate.value='';
	 }
  }
 function SearchFormSubmit()
  { var form=document.forms[0];
    if (form.elements[0].value=='')
	 {
	   alert('请输入关键字!')
	   form.elements[0].focus();
	   return false;
	 }
   switch (form.elements[1].value)
    {
	  case 'Article':
	       form.action="Article/Article_Main.asp";
		   parent.frames['BottomFrame'].location.href='Split.asp?OpStr=文章管理 >> <font color=red>搜索文章结果</font>&ButtonSymbol=ArticleSearch';
		   break;
	  case 'Picture':
	       form.action="Picture/Picture_Main.asp";
		   parent.frames['BottomFrame'].location.href='Split.asp?OpStr=图片管理 >> <font color=red>搜索图片结果</font>&ButtonSymbol=PictureSearch';
		   break;
	  case 'DownLoad':
	       form.action="DownLoad/Down_Main.asp";
		   parent.frames['BottomFrame'].location.href='Split.asp?OpStr=下载管理 >> <font color=red>搜索下载结果</font>&ButtonSymbol=DownSearch';
		   break;	
	 case 'Flash':
	       form.action="Flash/Flash_Main.asp";
		   parent.frames['BottomFrame'].location.href='Split.asp?OpStr=Flash管理 >> <font color=red>搜索Flash结果</font>&ButtonSymbol=FlashSearch';
		   break;
	 case 'Special':
	       form.action="Special/Special_Main.asp";
		   parent.frames['BottomFrame'].location.href='Split.asp?OpStr=专题管理 >> <font color=red>搜索专题结果</font>&ButtonSymbol=SpecialSearch';
		   break;
	  case 'Link':
	       form.action="Convention/Link_Main.asp";
		   parent.frames['BottomFrame'].location.href='Split.asp?OpStr=常规管理 >> 友情链接管理 >> <font color=red>搜索友情链接站点结果</font>&ButtonSymbol=LinkSearch';
		   break;
	  case 'SysLabel'  :
	       form.action="Template/Label_Main.asp?LabelType=0";
		   parent.frames['BottomFrame'].location.href='Split.asp?OpStr=标签管理 >> <font color=red>搜索系统函数标签结果</font>&ButtonSymbol=SysLabelSearch';
		   break;
	  case 'FreeLabel'  :
	       form.action="Template/Label_Main.asp?LabelType=1";
		   parent.frames['BottomFrame'].location.href='Split.asp?OpStr=标签管理 >> <font color=red>搜索自由标签结果</font>&ButtonSymbol=FreeLabelSearch';
		   break;
	  case 'SysJS'     :
	  	   form.action="Template/JS_Main.asp?JSType=0";
		   parent.frames['BottomFrame'].location.href='Split.asp?OpStr=JS管理 >> <font color=red>搜索系统JS结果</font>&ButtonSymbol=SysJSSearch';
		   break;
	  case 'FreeJS'     :
	  	   form.action="Template/JS_Main.asp?JSType=1";
		   parent.frames['BottomFrame'].location.href='Split.asp?OpStr=JS管理 >> <font color=red>搜索自由JS结果</font>&ButtonSymbol=FreeJSSearch';
		   break;
	  case 'Manager'     :
	  	   form.action="User/User_AdminMain.asp";
		   parent.frames['BottomFrame'].location.href='Split.asp?OpStr=管理员管理 >> <font color=red>搜索管理员结果</font>&ButtonSymbol=ManagerSearch';
		   break;
	}
	form.submit();
  }
function DisabledSearchFluctuation(Flag)
{ if (Flag==true)
   document.all.KeyWord.value='对不起,权限不足!'; 
  var AllBtnArray=document.body.getElementsByTagName('INPUT'),CurrObj=null;
	for (var i=0;i<AllBtnArray.length;i++)
	{
		CurrObj=AllBtnArray[i];
		CurrObj.disabled=Flag;
	}
	AllBtnArray=document.body.getElementsByTagName('SELECT'),CurrObj=null;
		for (var i=0;i<AllBtnArray.length;i++)
	{
		CurrObj=AllBtnArray[i];
		CurrObj.disabled=Flag;
	}
}

⌨️ 快捷键说明

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