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

📄 top.jsp

📁 本系统是一个通讯薄管理系统记录的是学生的一些基本信息以方便以后同学们的联系。
💻 JSP
字号:
<%@ page contentType="text/html;charset=gb2312"%>
<%@ include file="check.jsp"%>
<html>
<style type="text/css">
<!--
.STYLE1 {
	color: #006600;
	font-weight: bold;
}
.STYLE2 {
	color: #FFFF00;
	font-weight: bold;
}
.STYLE4 {color: #FFFFFF}
.STYLE5 {color: #FFFF00}
-->
</style>
<body background="0008.jpg" >
<bgsound src="D:\Tomcat 6.0\webapps\userinfo\风雨同路 笛子.mp3" loop="-1">

<font color= '#006600' size="5">
<p>
  <marquee scrollamount="5" width=900 height=22 direction=left>
  <strong>
 <span class="STYLE4"><%=session.getAttribute("username")%>!愿你在人生的道路上一帆风顺~ 事业有成!</span> </strong>
  </font>
  </marquee>
</p>
</span>
</div>
<div align="right">
  <a href="left.htm"  target="left" class="STYLE1 STYLE5">查询用户</a>
  <%
	String id=(String)session.getAttribute("loginId");
	int i=Integer.parseInt(id);
	//若小于10001,说明是管理员登录
	if(i<10001)
	{   
		out.println("<a href='insert.htm' a href='right.jsp' target='left' class='STYLE5' >添加用户 </a>");
		out.println("<a href='delete.jsp' target='right' class='STYLE5' >删除用户 </a>");
	}
	else
	    //否则,是普通用户,仅显示修改个人资料
		out.println("<a href='update.jsp?updateid="+id+"' target='left' class='STYLE5' >修改个人资料</a>");
%>
<a href="logout.jsp" target="_top" class="STYLE2">退出</a></div>
</body>
</html>

⌨️ 快捷键说明

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