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

📄 javascripts.php

📁 开源MARC数据处理
💻 PHP
字号:


<SCRIPT language=JavaScript><!--function mmLoadMenus() {  if (window.mm_menu_0807103248_0) return;
  
    	window.mm_menu_0807103248_0 = new Menu("root",112,18,"Arial, Helvetica, sans-serif",10,"#000000","#FFFFFF","#FFFFFF","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);    mm_menu_0807103248_0.addMenuItem("Automation燞istory","location='auto_history.html'");   mm_menu_0807103248_0.addMenuItem("Library&nbsp;Collection","location='collections.html'");   mm_menu_0807103248_0.addMenuItem("Library&nbsp;Objectives","location='objectives.html'");   mm_menu_0807103248_0.addMenuItem("Library燬taff","location='staff.html'");   mm_menu_0807103248_0.hideOnMouseOut=true;   mm_menu_0807103248_0.bgColor='#FFFFFF';   mm_menu_0807103248_0.menuBorder=1;   mm_menu_0807103248_0.menuLiteBgColor='#FFFFFF';   mm_menu_0807103248_0.menuBorderBgColor='#CCCCCC';
   
  
       window.mm_menu_0807104132_0 = new Menu("root",124,18,"Arial, Helvetica, sans-serif",10,"#000000","#FFFFFF","#FFFFFF","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);   
   <? if(Polerio::SelectGID()<1) { ?>
   
   mm_menu_0807104132_0.addMenuItem("Search","location='index.php'");   mm_menu_0807104132_0.addMenuItem("Login","location='index.php?_a=3&q=login'");   
   <? 	} elseif(Polerio::SelectGID()==4) { ?>
   
   mm_menu_0807104132_0.addMenuItem("Search","location='index.php'");   mm_menu_0807104132_0.addMenuItem("My Account","location='index.php?div=usr&acc=pub&q=mya'");   mm_menu_0807104132_0.addMenuItem("Import MARC","location='index.php?_a=1'");   mm_menu_0807104132_0.addMenuItem("Cataloging","location='index.php?_a=2'");   mm_menu_0807104132_0.addMenuItem("polGenSQL","location='index.php?_a=pgs'");   mm_menu_0807104132_0.addMenuItem("Logout","location='user.php?q=logout'");
   	
   <? } elseif(Polerio::SelectGID()==3) { ?>

	
   mm_menu_0807104132_0.addMenuItem("Search","location='index.php'");   mm_menu_0807104132_0.addMenuItem("My Account","location='index.php?div=usr&acc=pub&q=mya'");   mm_menu_0807104132_0.addMenuItem("User Admin","location='index.php?div=usr&acc=priv&q=man'");   mm_menu_0807104132_0.addMenuItem("Transaction","location='index.php?div=tra&acc=priv&q=man'");      mm_menu_0807104132_0.addMenuItem("Logout","location='user.php?q=logout'");

   <? } elseif(Polerio::SelectGID()==2) { ?>
	
   mm_menu_0807104132_0.addMenuItem("Search","location='index.php'");   mm_menu_0807104132_0.addMenuItem("My Account","location='index.php?div=usr&acc=pub&q=mya'");   mm_menu_0807104132_0.addMenuItem("User Admin","location='index.php?div=usr&acc=priv&q=man'");   mm_menu_0807104132_0.addMenuItem("Transaction","location='index.php?div=tra&acc=priv&q=man'");  
   mm_menu_0807104132_0.addMenuItem("Import MARC","location='index.php?_a=1'");   mm_menu_0807104132_0.addMenuItem("Cataloging","location='index.php?_a=2'");   
   mm_menu_0807104132_0.addMenuItem("polGenSQL","location='index.php?_a=pgs'");
   mm_menu_0807104132_0.addMenuItem("Documentation","location='index.php?my_content=1&fcontent=documentation.txt'");
   mm_menu_0807104132_0.addMenuItem("Logout","location='user.php?q=logout'");

   <? } elseif(Polerio::SelectGID()==1) { ?>
   
   mm_menu_0807104132_0.addMenuItem("Search","location='index.php'");
   mm_menu_0807104132_0.addMenuItem("My Account","location='index.php?div=usr&acc=pub&q=mya'");
   mm_menu_0807104132_0.addMenuItem("Logout","location='user.php?q=logout'");   	

   <? } ?>





      mm_menu_0807104132_0.hideOnMouseOut=true;   mm_menu_0807104132_0.bgColor='#FFFFFF';   mm_menu_0807104132_0.menuBorder=1;   mm_menu_0807104132_0.menuLiteBgColor='#FFFFFF';   mm_menu_0807104132_0.menuBorderBgColor='#CCCCCC';
   
   window.mm_menu_0812084156_0 = new Menu("root",85,18,"Arial, Helvetica, sans-serif",10,"#000000","#FFFFFF","#FFFFFF","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);   mm_menu_0812084156_0.addMenuItem("New&nbsp;Item");   mm_menu_0812084156_0.hideOnMouseOut=true;   mm_menu_0812084156_0.bgColor='#FFFFFF';   mm_menu_0812084156_0.menuBorder=1;   mm_menu_0812084156_0.menuLiteBgColor='#FFFFFF';   mm_menu_0812084156_0.menuBorderBgColor='#CCCCCC';mm_menu_0812084156_0.writeMenus();} // mmLoadMenus()//-->//--></SCRIPT>

<SCRIPT language=JavaScript type=text/JavaScript><!--function MM_preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function P7_JumpMenu(selObj,restore){  var theFullString = selObj.options[selObj.selectedIndex].value; if (restore) selObj.selectedIndex=0; var theLength = theFullString.length; var endPos = theFullString.lastIndexOf("~"); var theUrl, theTarget, theParent; if (endPos > 0) {theUrl = theFullString.substring(0,endPos);} else {theUrl = theFullString;} endPos++ if (endPos < theLength) {theTarget = theFullString.substring(endPos,theLength)} else {theTarget = "window:Main";} if (theTarget == "window:New") {window.open(theUrl);} else if (theTarget == "window:Main") {eval("parent.location='"+theUrl+"'");} else {eval("parent.frames[\'"+theTarget+"\'].location='"+theUrl+"'");}}function MM_checkBrowser(NSvers,NSpass,NSnoPass,IEvers,IEpass,IEnoPass,OBpass,URL,altURL) { //v4.0  var newURL='', verStr=navigator.appVersion, app=navigator.appName, version = parseFloat(verStr);  if (app.indexOf('Netscape') != -1) {    if (version >= NSvers) {if (NSpass>0) newURL=(NSpass==1)?URL:altURL;}    else {if (NSnoPass>0) newURL=(NSnoPass==1)?URL:altURL;}  } else if (app.indexOf('Microsoft') != -1) {    if (version >= IEvers || verStr.indexOf(IEvers) != -1)     {if (IEpass>0) newURL=(IEpass==1)?URL:altURL;}    else {if (IEnoPass>0) newURL=(IEnoPass==1)?URL:altURL;}  } else if (OBpass>0) newURL=(OBpass==1)?URL:altURL;  if (newURL) { window.location=unescape(newURL); document.MM_returnValue=false; }}function MM_findObj(n, d) { //v4.01  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_validateForm() { //v4.0  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);    if (val) { nm=val.name; if ((val=val.value)!="") {      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';      } else if (test!='R') { num = parseFloat(val);        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');          min=test.substring(8,p); max=test.substring(p+1);          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }  } if (errors) alert('The following error(s) occurred:\n'+errors);  document.MM_returnValue = (errors == '');}//--></SCRIPT>

<SCRIPT language=JavaScript 
src="themes/Ateneo/mm_menu.js"></SCRIPT>

⌨️ 快捷键说明

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