MVC模式示例[第一辑]

该网页展示了一个宠物查询系统的用户界面,包括客户管理、宠物管理等功能模块,支持按宠物名称或主人姓名查询宠物信息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

<%@ page contentType="text/html; charset=gb2312" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>宠物查询</title>
<link href="style.css" rel="stylesheet" type="text/css">
<script language="JavaScript">

<!--
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(!&& d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_swapImgRestore() //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}


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];}}

}


//-->
</script>
</head>

<body>
<form name="form1" method="post" action="/web/petservlet">
<table width="600" height="480" border="1" align="center">
  
<tr>
    
<td colspan="2">
      
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  
<tr>
      
<td class=linebar height=4></td>
  
</tr>
  
<tr>
    
<td height="100" background="images/logo.jpg"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="778" height="100">
      
<param name="movie" value="images/xt08.swf">
      
<param name="quality" value="high">
      
<param name="wmode" value="transparent">
      
<param name="">
      
<embed src="images/xt08.swf" width="778" height="100" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
    
</object></td>
  
</tr>
  
<tr>
    
<td>
      
<TABLE width="99%" height=25 border=0 align="center" cellPadding=3 cellSpacing=2 bgColor=#eeeeee id=mmenutable style="BORDER-RIGHT: #f4a460 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #f4a460 1px solid; PADDING-LEFT: 0px; FONT-SIZE: 9pt; FILTER: Alpha(Opacity=80); PADDING-BOTTOM: 0px; BORDER-LEFT: #f4a460 1px solid; CURSOR: hand; COLOR: menutext; PADDING-TOP: 0px; BORDER-BOTTOM: #f4a460 1px solid; FONT-FAMILY: 宋体" onselectstart=event.returnValue=false>
        
<TBODY>
          
<TR>
            
<TD style="BORDER-RIGHT: #eeeeee 0px solid; BORDER-TOP: #eeeeee 0px solid; BORDER-LEFT: #eeeeee 0px solid; COLOR: menutext; BORDER-BOTTOM: #eeeeee 0px solid" noWrap align=middle onMouseOver="this.style.backgroundColor='#FEFEFE';" onMouseOut="this.style.backgroundColor='#eeeeee';">
              
<li><href="index_01.htm" target="_parent">客户管理</a></li></TD>
            
<TD style="BORDER-RIGHT: #eeeeee 0px solid; BORDER-TOP: #eeeeee 0px solid; BORDER-LEFT: #eeeeee 0px solid; COLOR: menutext; BORDER-BOTTOM: #eeeeee 0px solid" noWrap align=middle onMouseOver="this.style.backgroundColor='#FEFEFE';" onMouseOut="this.style.backgroundColor='#eeeeee';">
              
<li><href="index_02.htm" target="_parent">宠物管理</a> </li></TD>
            
<TD style="BORDER-RIGHT: #eeeeee 0px solid; BORDER-TOP: #eeeeee 0px solid; BORDER-LEFT: #eeeeee 0px solid; COLOR: menutext; BORDER-BOTTOM: #eeeeee 0px solid" noWrap align=middle onMouseOver="this.style.backgroundColor='#FEFEFE';" onMouseOut="this.style.backgroundColor='#eeeeee';">
              
<li><href="index_03.htm" target="_parent">病历管理</a> </li></TD>
            
<TD style="BORDER-RIGHT: #eeeeee 0px solid; BORDER-TOP: #eeeeee 0px solid; BORDER-LEFT: #eeeeee 0px solid; COLOR: menutext; BORDER-BOTTOM: #eeeeee 0px solid" noWrap align=middle onMouseOver="this.style.backgroundColor='#FEFEFE';" onMouseOut="this.style.backgroundColor='#eeeeee';">
              
<li><href="index_04.htm" target="_parent">医生查询</a> </li></TD>
            
<TD style="BORDER-RIGHT: #eeeeee 0px solid; BORDER-TOP: #eeeeee 0px solid; BORDER-LEFT: #eeeeee 0px solid; COLOR: menutext; BORDER-BOTTOM: #eeeeee 0px solid" noWrap align=middle onMouseOver="this.style.backgroundColor='#FEFEFE';" onMouseOut="this.style.backgroundColor='#eeeeee';">
              
<li><href="index_05.htm" target="_parent">退出系统</a> </li></TD>
          
</TR>
        
</TBODY>
      
</TABLE>
</td>
  
</tr>
</table>
</td>
  
</tr>
  
<tr>
    
<td width="185"><table width="185" border="0" cellspacing="0" cellpadding="0">
  
<tr>
    
<td><img src="images/kcjs.jpg" width="185" height="84"></td>
  
</tr>
  
<tr>
    
<td><href="2/2_1.htm" target="_parent" onmouseover="MM_swapImage('menu111','','images/menu2_1_over.jpg',1)" onmouseout=MM_swapImgRestore()><img id="menu111" src="images/menu2_1.jpg" width="185" height="28" border="0"></A></td>
  
</tr>
   
<tr>
    
<td><href="/web/petservlet?param=addnewpet" target="_parent" onMouseOver="MM_swapImage('menu1113','','images/menu2_3_over.jpg',1)" onMouseOut=MM_swapImgRestore()><img id="menu1112" src="images/menu2_3.jpg" width="185" height="28" border="0"></a></td>
  
</tr>
     
<tr>
    
<td>&nbsp;</td>
  
</tr>
  
<tr>
    
<td>&nbsp;</td>
  
</tr>
  
<tr>
    
<td><div align="center"><img src="images/wysj.jpg" width="128" height="128"></div></td>
  
</tr>
  
<tr>
    
<td>&nbsp;</td>
  
</tr>
</table></td>
    
<td width="587">

      
<table width="396" height="48" border="0" align="center" cellspacing="1">
          
<tr>
            
<td width="49"><div align="center">我想查询</div></td>
            
<td width="84"><div align="center">
                
<select name="selectPet">
                  
<option value="pet" selected>宠物名称</option>
                  
<option value="owner">主人姓名</option>
                
</select>
              
</div></td>
            
<td width="19"><div align="center"></div></td>
            
<td width="154"><div align="center">
                
<input type="text" name="petname">
              
</div></td>
            
<td width="74"><div align="left">的宠物</div></td>
          
</tr>
          
<tr>
            
<td colspan="5"> <div align="center"></div>
<p>&nbsp;</p>

                
<align="center">
                  
<input type="submit" name="Submit" value="查询">
                
</p>
                
<p>&nbsp;</p>
</td>
          
</tr>
        
</table>
      
<p>&nbsp;</p><div align="center"></div></td>
  
</tr>
  
<tr>
    
<td colspan="2"><table width="778" border="0" cellspacing="0" cellpadding="0">
  
<tr>
    
<td height="10"></td>
  
</tr>
  
<tr>
      
<td class=linebar height=4></td>
  
</tr>
    
<tr>
    
<td height="10"></td>
  
</tr>

  
<tr>
    
<td><div align="center">版权所有&copy;2006Lee开发组</div></td>
  
</tr>
</table></td>
  
</tr>
</table>
<input type="hidden" name="param" value="search">
      
</form>
</body>
</html>
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值