WebRoot/Kaoqin/qingjia_index.jsp

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" pageEncoding="gb2312"%>
<%@ page import="java.util.*"%>
<jsp:directive.page import="com.hiernate.util.*,com.hiernate.persistence.*"/>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
	<html:base />
	<title>请假登记</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  <link href="../CSS/style.css" rel="stylesheet" type="text/css">
   
</head>
<body background="../Images/main_center.jpg">
    <table width="801" height="505" border="0" cellpadding="0" cellspacing="0" background="../Images/main_center.jpg">
  <tr>
    <td width="801" height="100%" valign="top"> 
		<table width="100%" height="514" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="100%" height="40" valign="bottom" background="../Images/main_top.JPG"><table width="100%" height="100%" border="0">
          <tr>
            <td class="STYLE1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../Images/isexists.gif" width="16" height="16"/>&nbsp;<b>请假登记</b></td>
			 <td width="71" valign="middle">
          <p><a href="#" class="STYLE1" onClick="Javascript:window.open('qingjia_add.jsp','','width=580,height=350');return false">登记</a></p></td>
          </tr>
        </table></td>
        
      </tr>
	 
      <tr>
        <td height="451" colspan="2" valign="top"><br><br>
			 
		<table width="724" height="109" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
		  <td height="39" colspan="6" background="../Images/tiao.jpg"><table width="720" height="26" border="0">

<tr>
                <td width="87"><div align="center" class="STYLE1">姓名</div></td>
                <td width="110"><div align="center" class="STYLE1">所属部门</div></td>
                <td width="136"><div align="center" class="STYLE1">开始时间</div></td>
                <td width="121"><div align="center" class="STYLE1">终止时间</div></td>
                <td width="152"><div align="center" class="STYLE1">请假原因</div></td>
                <td width="88"><div align="center" class="STYLE1">是否销假</div></td>
                </tr>
            </table>
           <% 
              String currPage = request.getParameter("currPage");
              int iCurrPage = 1 ;
              int pages = 1 ;
              int allRecCount = 0 ;
              int recPerPage = 5 ;
              allRecCount = HibernateUtil.findQingjiaCount();   //查询出总的记录数
              pages = (allRecCount - 1)/recPerPage + 1 ;        //计算出总的页数
           if(pages == 0){                                      //对页数进行有效性处理,使页数的最小值是1
           	pages = 1;
后面还有 72 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。