• 图书管理系统的管理者界面


    管理者界面内容

    <%@ page language="java" import="java.util.*" import="bean.*" pageEncoding="utf-8"%>
    <!DOCTYPE html>
    <html>
    <head>
    <title>Insert title here</title>
    </head>
    <body style="text-align:center;">
    <br><br><br>
    <pre>
    <%
        String poi=(String)session.getAttribute("account");
        String pos=(String)session.getAttribute("type");
        dao dao=new dao();
        if(pos.equals("1")){
            out.print("欢迎管理员"+poi+"使用本系统
    ");
            
    %><br>
    <form name="form2" action="logreader.jsp" method="post">
    <input type="submit" value="添加读者信息">
    </form><br>
    <form name="form2" action="logbooks.jsp" method="post">
    <input type="submit" value="添加书类信息">
    </form><br>
    <form name="form2" action="masterv.jsp" method="post">
    <input type="submit" value="显示催还书目">
    </form><br>
    <%               
        }else{
        out.print("欢迎读者"+poi+"使用本系统
    "); 
        
        readerform bc;
        bc=dao.selfcheck(poi);
        out.println("姓名:"+bc.getName());
        out.println("性别:"+bc.getSex());
        out.println("所属学院:"+bc.getAcd());
    %>
    <form name="form2" action="viewall.jsp" method="post">
    <input type="submit" value="浏览全部图书信息">
    </form><br>
    <form name="form2" action="seekbook.jsp" method="post">
    <input type="submit" value="查询图书信息">
    </form><br>
    <form name="form2" action="back.jsp" method="post">
    <input type="submit" value="催还书目">
    </form>
    <form name="form2" action="where.jsp" method="post">
    <input type="submit" value="归还图书">
    </form><br>
    <%} %>
    <form name="form2" action="login.jsp" method="post">
    <input type="submit" value="重新登录">
    </form>
    </pre>
    </body>
    </html>

    非常多所以单独拿出来

  • 相关阅读:
    Factorial Trailing Zeroes
    Convert Integer A to Integer B
    函数防抖、函数节流
    localstorage sessionstorage和cookie的区别
    element中表格中的表头与表格内容边框错位的解决方法
    解决Minio生成图片文件的分享链接无法正常下载的问题
    gin编写后端API的使用技巧
    YOLOV5源码解读-export.py网络结构、配置文件
    《三、YOLOV3细节原理全解析》
    《二、YOLOV2细节原理全解析》
  • 原文地址:https://www.cnblogs.com/lkwkk/p/14218674.html
Copyright © 2020-2023  润新知