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

📄 html.php

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

/////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////
///									      
/// PhpMyLibrary is a Php-MySQL driven online library automation, it          
/// offers cataloging, circulation, and web public access catalog.	      
///									      
/// Copyright (C) 2000  Polerio T. Babao Jr. II				      
/// 									      
/// This program is free software; you can redistribute it and/or modify      
/// it under the terms of the GNU General Public License as published by      
/// the Free Software Foundation; either version 2 of the License, or	      
/// (at your option) any later version.					      
///									      
/// This program is distributed in the hope that it will be useful,	      
/// but WITHOUT ANY WARRANTY; without even the implied warranty of	      
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the	      
/// GNU General Public License for more details.			      
///									      
/// You should have received a copy of the GNU General Public License	      
/// along with this program; if not, write to the Free Software		      
/// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
/// 									      
/// Refer to http://phpmylibrary.sourceforge.net/phpmylibrary for an online   
/// demonstration of the phpmylibrary online application program.	      
/// 									      
/// Modified 21 December 17, 2002 01:25p GMT+8				      
/// Copy of license at http://phpmylibrary.sourceforge.net/LICENSE
/// http://www.phpmylibrary.n3.net or http://phpmylibrary.sourceforge.net
/// Polerio T. Babao Jr.II http://www.polerio.n3.net			      
/// 43-A Bagong Lote, Potrero Malabon, Metro Manila Philippines.	      
///									      
/////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////

Class OUTPUT
{

function ListHoldings()
{
return '		

					
			<!--%UM_BEGIN_MESSAGE_LIST%-->
			<table border="1" width="75%" border cellspacing="0"  
			bordercolordark="white" bordercolorlight="black">
			<tr bgcolor="<!--%BGCOLOR2%-->" align="center">
			    <td><b><!--%ACCESS_NO%--></b></td>
			    <td><b><!--%LOCATION%--></b></td>
			    <td><b><!--%STATUS%--></b></td>
			    <td><b><!--%DATE_BORROWED%--></b></td>
			    <td><b><!--%DATE_DUE%--></b></td>			    
			</tr>
			<!--%UM_ML_LOOPBEGIN%-->
			<tr bgcolor="<!--%BGCOLOR1%-->" align="left">
			    <td align="center"><b><!--%VACCESS_NO%--></B></td>
			    <td align="center"><!--%VLOCATION%--></td>
			    <td align="center"><!--%VSTATUS%--></td>
			    <td align="center"><!--%VDATE_BORROWED%--></td>
			    <td align="center"><!--%VDATE_DUE%--></td>				
			</tr>
			<!--%UM_ML_LOOPEND%-->
			<!--%UM_END_MESSAGE_LIST%-->
		</table><BR><BR>
';
}

function HoldingsEditData()

{
return '		

					
			
			<!--%UM_BEGIN_MESSAGE_LIST%-->	
			<form action="<!--%VPHPMYLIBRARYLINK%-->" method="POST">		
			<center><br><br>
			<table border="1" width="60%" border cellspacing="0"  bordercolordark="white" 
			bordercolorlight="black">
			<tr bgcolor="<!--%BGCOLOR2%-->"  align="left"><td align="left">
			<b>&nbsp;<!--%HOLDINGS%--></b></td></tr></table>

			
			<table border="1" width="60%" border cellspacing="0"  
			bordercolordark="white" bordercolorlight="black">
			<tr bgcolor="<!--%BGCOLOR1%-->" align="center">
			    <td><b><!--%ACCESS_NO%--></b></td>
			    <td><b><!--%LOCATION%--></b></td>
			    <td><b><!--%STATUS%--></b></td>
			    <td><b><!--%LEVEL%--></b></td>			    
			    <td><b><!--%ACTION%--></b></td>			    
			</tr>
			<!--%UM_ML_LOOPBEGIN%-->
			<tr bgcolor="<!--%BGCOLOR1%-->" align="center">
			    
			    <td>
			    <input type="text" name="vaccessno[]" size="8" value="<!--%VACCESS_NO%-->">
			    <input type="hidden" name="uniqueids[]" value="<!--%VUNIQUEID%-->">
			    </td>
			    <td><input type="text" name="vlocation[]" size="8" value="<!--%VLOCATION%-->"></td>
			    <td><input type="text" name="vstatus[]" size="1" value="<!--%VSTATUS%-->"</td>
			    <td><input type="text" name="vlevel[]" size="1" value="<!--%VLEVEL%-->"</td>			    
			    <td align="center"><a href="<!--%VPHPMYLIBRARYLINKMED%-->_a=5&delete_hld_id=<!--%VUNIQUEID%-->
			    &EditID=<!--%VEDITID%-->&bakto=<!--%VBAKTO%-->"  
			    onclick= "return confirmLink(this, \'<!--%DELETETHISHOLDINGSNO%--> <!--%VUNIQUEID%-->\',\'<!--%DOYOUREALLYWANTTO%-->\')">
			    <!--%VDELETE%--></a></td>			    
			</tr>
			<!--%UM_ML_LOOPEND%-->
			<!--%UM_END_MESSAGE_LIST%-->			
		</table><br>
		<table border="0" >
		<tr align="center">
		<td><input type="submit" name="holdingsaction" value="Update"></td>
		<td><input type="submit" name="holdingsaction" value="Add"></td>
		</tr></td></table><BR><BR></center>
		<input type="hidden" name="EditID" value="<!--%VEDITID%-->">
		<input type="hidden" name="add_hld_id" value="<!--%VACCESSID%-->">		
		<input type="hidden" name="_a" value="5">		
		</form>
';
}


function FetchDetailedTable()
{
return '		


					
			<!--%UM_BEGIN_MESSAGE_LIST%-->

			<table border=1 width=100% border cellspacing=0  bordercolordark=white bordercolorlight=black>
			<tr><td width="100%" align="left" bgcolor="<!--%BGCOLOR2%-->"><b>&nbsp;<!--%_VIEW%-->&nbsp&nbsp;</b></td></tr>
			</table>
			<table border=1 width=100% border cellspacing=0  bordercolordark=white bordercolorlight=black>
			<tr align="left"><td width="100%" align="left" bgcolor="<!--%BGCOLOR3%-->">&nbsp;<!--%FPAGE%-->&nbsp;<!--%PREV%--> <!--%NEXT%-->&nbsp;
			<!--%LPAGE%--> <!--%BOTTOM%--> <!--%_CURRENT_LABEL%--> <!--%BRIEF%--> <!--%SHOWING%--></td></tr>
			</table>
		        <table border=1 width=100% border cellspacing=0  bordercolordark=white bordercolorlight=black>			
			<!--%UM_ML_LOOPBEGIN%-->
			<tr>
			    <td width="<!--%WIDTHL%-->" align="right" bgcolor="<!--%BGCOLOR3%-->" >&nbsp;&nbsp;<b><!--%VNAME%--></b>&nbsp;&nbsp;</td>
			    <td width="<!--%WIDTHR%-->%" align="left"  bgcolor="<!--%BGCOLOR1%-->" ><!--%VVALUE%--></td>			    
			</tr>
			<!--%UM_ML_LOOPEND%-->
			</table>
			<table border=1 width=100% border cellspacing=0  bordercolordark=white bordercolorlight=black>
			<tr><td width="100%" align="left" bgcolor="<!--%BGCOLOR3%-->">&nbsp;<!--%FPAGE%-->&nbsp;<!--%PREV%--> <!--%NEXT%-->
			&nbsp;<!--%LPAGE%--> <!--%BOTTOM%--> <!--%_CURRENT_LABEL%--> <!--%BRIEF%--> <!--%SHOWING%--></td></tr>
			</table>			
			<!--%UM_END_MESSAGE_LIST%-->
		<BR><BR>
';
}
	
	
}

?>

⌨️ 快捷键说明

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