亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? notice.jsp

?? 實(shí)現(xiàn)了一個(gè)OA系統(tǒng)基本的功能
?? JSP
字號(hào):
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>

<jsp:useBean id="pagecount" class="oabean.pageInfo" scope="page" />
<jsp:useBean id="getPages" class="oabean.pages" scope="page" />
<jsp:useBean id="date" class="oabean.date" scope="page" />

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>show worker info</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 rel="stylesheet" type="text/css" href="styles.css">
	-->
<style type="text/css" media="all">
@import "admin/Upimg/thickbox.css";
@import "css/pages.css";
</style>

<script src="admin/Upimg/jquery-1.1.3.1.pack.js" type="text/javascript"></script>
<script src="admin/Upimg/thickbox-compressed.js" type="text/javascript"></script>
<script src="admin/Upimg/global.js" type="text/javascript"></script>
<script type="text/javascript" src="/oa/js/popcalendar.js"></script>

<script language="javascript">
    function sty()
	{
	document.getElementById("add").style.textDecoration="underline";
	}
	function out()
	{
	document.getElementById("add").style.textDecoration="blink";
	}
</script>
</head>
  
<body>
    <%
       String uname=(String)session.getAttribute("user"); 
       if(uname==null) {response.sendRedirect("../index.jsp");}
       int pageNow=1;//初始頁
       int pageSize=4;//一頁顯示多少條記錄
       String s="";
       String pagenow=request.getParameter("pageNow");//接收頁碼
       //下面是獲取當(dāng)前要顯示的是重要還是普通的公告
       String sel1=request.getParameter("select1");
       String sel2=request.getParameter("select2");
       String dat=request.getParameter("ndate");
       if(pagenow!=null&&pagenow!="")
       {
         pageNow=Integer.parseInt(pagenow);
       }
       String sql= "select top "+pageSize+" * from oa_notice where noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice )";
	   String Countsql="select count(*) from oa_notice";
	  
	   //這里是只查詢普通還是重要的公告
	   if((sel1!=null&&sel1!="")&&sel2==""&&dat=="")
	   {
	    if(sel1.equals("1"))
	    {
	    sql="select top "+pageSize+" * from oa_notice where type='普通' and noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice where type='普通')";
	    Countsql="select count(*)from oa_notice where type='普通'";
	    }
	    else if(sel1.equals("2"))
	    {
	    sql="select top "+pageSize+" * from oa_notice where type='重要' and noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice where type='重要')";
	    Countsql="select count(*)from oa_notice where type='重要'";
	    }
	   }
	   
	   //這里是查詢關(guān)于那方面的公告
	   else if(sel1==""&&(sel2!=null&&sel2!="")&&dat=="")
	   {
	    if(sel2.equals("1"))
	    {
	    sql="select top "+pageSize+" * from oa_notice where lev='財(cái)務(wù)公告' and noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice where lev='財(cái)務(wù)公告')";
	    Countsql="select count(*) from oa_notice where lev='財(cái)務(wù)公告'";
	    }
	    else if(sel2.equals("2"))
	    {
	    sql="select top "+pageSize+" * from oa_notice where lev='人員調(diào)整' and noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice where lev='人員調(diào)整')";
        Countsql="select count(*) from oa_notice where lev='人員調(diào)整'";
	    }
	   }
	   
	   //查詢具體時(shí)間的公告
	   else if(sel1==""&&sel2==""&&dat!="")
	   {
	    sql="select top "+pageSize+" * from oa_notice where notime='"+dat+"' and noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice where notime='"+dat+"')";
	    Countsql="select count(*) from oa_notice where notime='"+dat+"'";
	   }
	   
	   //這里是查詢選了lev和type的公告
	   else if((sel1!=null&&sel1!="")&&(sel2!=null&&sel2!="")&&dat=="")
	   {
	    if((sel1.equals("1"))&&(sel2.equals("1")))
	    {
	    sql="select top "+pageSize+" * from oa_notice where type='普通' and lev='財(cái)務(wù)公告' and noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice where type='普通' and lev='財(cái)務(wù)公告')";
	    Countsql="select count(*) from oa_notice where lev='財(cái)務(wù)公告' and type='普通'";
	    }
	    else if((sel1.equals("1"))&&(sel2.equals("2")))
	    {
	    sql="select top "+pageSize+" * from oa_notice where type='普通' and  lev='人員調(diào)整' and noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice where type='普通' and lev='人員調(diào)整')";
	    Countsql="select count(*) from oa_notice where lev='人員調(diào)整' and type='普通'";
	    }
	    else if((sel1.equals("2"))&&(sel2.equals("1")))
	    {
	    sql="select top "+pageSize+" * from oa_notice where type='重要' and lev='財(cái)務(wù)公告' and noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice where type='重要' and lev='財(cái)務(wù)公告')";
	    Countsql="select count(*) from oa_notice where lev='財(cái)務(wù)公告' and type='重要'";
	    }
	    else if((sel1.equals("2"))&&(sel2.equals("2")))
	    {
	    sql="select top "+pageSize+" * from oa_notice where type='重要' and lev='人員調(diào)整' and noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice where type='重要' and lev='人員調(diào)整')";
	    Countsql="select count(*) from oa_notice where lev='人員調(diào)整' and type='重要'";
	    }
	   }
	   //這里是查詢選了lev和type和notime的公告
	   else if((sel1!=null&&sel1!="")&&(sel2!=null&&sel2!="")&&dat!="" )
	   {
	     if((sel1.equals("1"))&&(sel2.equals("1")))
	    {
	    sql="select top "+pageSize+" * from oa_notice where type='普通' and  lev='財(cái)務(wù)公告' and notime='"+dat+"' and noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice where type='普通' and  lev='財(cái)務(wù)公告' and notime='"+dat+"')";
	    Countsql="select count(*) from oa_notice where lev='財(cái)務(wù)公告' and type='普通' and notime='"+dat+"'";
	    }
	    else if((sel1.equals("1"))&&(sel2.equals("2")))
	    {
	    sql="select top "+pageSize+" * from oa_notice where type='普通' and  lev='人員調(diào)整' and notime='"+dat+"' and noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice where type='普通' and  lev='人員調(diào)整' and notime='"+dat+"')";
	    Countsql="select count(*) from oa_notice where lev='人員調(diào)整' and type='普通' and notime='"+dat+"'";
	    }
	    else if((sel1.equals("2"))&&(sel2.equals("1")))
	    {
	    sql="select top "+pageSize+" * from oa_notice where type='重要' and  lev='財(cái)務(wù)公告' and notime='"+dat+"' and noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice where type='重要' and  lev='財(cái)務(wù)公告' and notime='"+dat+"')";
	    Countsql="select count(*) from oa_notice where lev='財(cái)務(wù)公告' and type='重要' and notime='"+dat+"'";
	    }
	    else if((sel1.equals("2"))&&(sel2.equals("2")))
	    {
	    sql="select top "+pageSize+" * from oa_notice where type='重要' and  lev='人員調(diào)整' and notime='"+dat+"' and noId not in(select top "+pageSize*(pageNow-1)+" noId from oa_notice where type='重要' and  lev='人員調(diào)整' and notime='"+dat+"')";
	    Countsql="select count(*) from oa_notice where lev='人員調(diào)整' and type='重要' and notime='"+dat+"'";
	    }
	   }
	  
       int pageCount=pagecount.getpageCount(Countsql,pageSize);//得到總共有多少頁     
	   int rowCount=pagecount.getrowCount(Countsql);//得到總共有多少條記錄
	   ArrayList a1=getPages.getNotice(sql);//得到分頁信息
     //顯示
   %>
     <form action="admin/notice.jsp" method="post" name="student">
		<table width="100%" class="topList"  cellSpacing=1 align="center" border=0>
		 <tr>
		  <td align="center" colspan="10"><div align="center" class="STYLE3">
		   <select name="select1"  size="1">
		    <option value="">請(qǐng)選擇重要程度</option>
		  	<option value="1">普通</option>
		  	<option value="2">重要</option>		 
		   </select>
		   <select name="select2" size="1">
		    <option value="">請(qǐng)選擇類別</option>
		    <option value="1">財(cái)務(wù)公告</option>
		    <option value="2">人員調(diào)整</option>
		   </select>
		   <label>日期:</label>
		    <input id="sdv" name="ndate" onclick="showCalendar(this, this, 'yyyy-mm-dd','cn',1);" maxlength="20" size="10" value=""/>日
            <script>
              var osdv = document.getElementById('sdv');
              if(osdv != null) osdv.readOnly='true';
            </script>	
		    <input type="submit" name="ns" value="搜索"></div>
		  </td>
		</tr>
	    <tr>
	     <td scope="col"><div align="center" class="STYLE1">公告號(hào)</div></td>
	     <td scope="col"><div align="center" class="STYLE1">公告類型</div></td>
	     <td scope="col"><div align="center" class="STYLE1">標(biāo)題</div></td>
	     <td scope="col"><div align="center" class="STYLE1">公告類別</div></td>
	     <td scope="col"><div align="center" class="STYLE1">公告時(shí)間</div></td>
	     <td scope="col" colspan="3"><div align="center" class="STYLE1">操作</div></td>
	   </tr>
	   <%
	   	for(int i=0;i<a1.size();i++)
	   	{
	   	  //從a1中取出noticeBean
	   	  oanoticecrud.noticeBean St=(oanoticecrud.noticeBean)a1.get(i);
	   %>
        <tr>
         <% int noid=St.getNoId();%>
         <td align="center"><%=St.getNoId()%></td>
         <td align="center"><%=St.getLev() %></td>
         <td align="center"><a href="admin/noticecontent.jsp?id=<%=noid%>&modal=true" class="thickbox" style="text-decoration:none"><%=St.getTitle()%></td>
         <td align="center"><%=St.getType()%></td>
         <td align="center"><%=St.getNotime().substring(0,10)%></td>
         <td align="center"><img src="images/del.gif"><a href="notice/delnotice.notice?id=<%=noid%>" onclick="return window.confirm('您確認(rèn)要?jiǎng)h除嗎?');" style="text-decoration:none">刪除</a></td>
         <td align="center"><img src="images/mod.gif"><a href="admin/modnotice.jsp?id=<%=noid%>&modal=true" class="thickbox" style="text-decoration:none">修改</a></td>
       <%
         }
       %>
      <tr>
	    <td colspan="10">
	     <ul id="nav">
	    共有<span class="STYLE2"><%=rowCount%></span>條記錄
		   <%
		     out.println("<li><a href=admin/notice.jsp?pageNow=1&&select1="+sel1+"&&select2="+sel2+"&&ndate="+dat+" style='text-decoration:none'>首</a></li>");
		     if(pageNow!=1)
		     {
		      out.println("<li><a href=admin/notice.jsp?pageNow="+(pageNow-1)+"&&select1="+sel1+"&&select2="+sel2+"&&ndate="+dat+" style='text-decoration:none'>&laquo;</a></li>");
		     }
		     for(int j=1;j<=pageCount;j++)
		     {
		     out.println("<li><a href=admin/notice.jsp?pageNow="+j+"&&select1="+sel1+"&&select2="+sel2+"&&ndate="+dat+" style='text-decoration:none'>["+j+"]</a></li>");
		     }
		     if(pageNow!=pageCount)
		     {
		      out.println("<li><a href=admin/notice.jsp?pageNow="+(pageNow+1)+"&&select1="+sel1+"&&select2="+sel2+"&&ndate="+dat+" style='text-decoration:none'>&raquo;</a></li>");
		     }
		     out.println("<li><a href=admin/notice.jsp?pageNow="+pageCount+"&&select1="+sel1+"&&select2="+sel2+"&&ndate="+dat+" style='text-decoration:none'>末</a></li>");
		   %>
		  <span class="STYLE2"><% out.println(pageNow+"/"+pageCount);%></span>
		  </ul>
	    </td>
	    <td align="left"><img src="images/add.gif"><a href="admin/addnotice.jsp?modal=true" class="thickbox" onmouseover="sty();" onmouseout="out();" style='text-decoration:blink'>增加</a></td>
	    </tr> 
     </table>
     </form>
    <form action="admin/notice.jsp"> 跳轉(zhuǎn)到第<input type="text" name="pageNow" size="8">頁
    &nbsp;&nbsp;
    <input type="hidden" name="select1" value="<%=sel1%>">
    <input type="hidden" name="select2" value="<%=sel2%>">
    <input type="hidden" name="ndate" value="<%=dat%>">
    <input type="submit" value="Go">
    </form>
  </body>
</html>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人免费视频一区| 日韩精彩视频在线观看| 日韩视频一区在线观看| 91成人看片片| 色综合婷婷久久| 97精品视频在线观看自产线路二| 狠狠色丁香婷婷综合| 国产在线一区观看| 国产伦精品一区二区三区免费| 美国精品在线观看| 国产美女精品一区二区三区| 国产盗摄精品一区二区三区在线| 粉嫩一区二区三区性色av| 99久久伊人久久99| 色综合久久88色综合天天 | 性久久久久久久久久久久| 亚洲愉拍自拍另类高清精品| 日韩在线观看一区二区| 美女mm1313爽爽久久久蜜臀| 国产精品资源站在线| 99国产精品久久久久| 欧美日韩高清一区二区| 日韩欧美国产综合| 国产精品国模大尺度视频| 成人欧美一区二区三区1314| 亚洲地区一二三色| 国产一区二区导航在线播放| 99国产精品久久久久| 欧美午夜在线一二页| 精品1区2区在线观看| 亚洲色图制服丝袜| 麻豆国产精品视频| 色伊人久久综合中文字幕| 日韩欧美一级片| 中文字幕一区二区不卡| 日本女优在线视频一区二区| 成人黄色777网| 欧美写真视频网站| 国产日韩v精品一区二区| 亚洲国产中文字幕在线视频综合| 国产一区二区久久| 在线观看区一区二| 国产欧美精品一区二区三区四区| 亚洲一二三区视频在线观看| 国产精品77777竹菊影视小说| 欧美日韩一区小说| 中文字幕欧美三区| 老色鬼精品视频在线观看播放| 91视频免费播放| 久久在线免费观看| 首页亚洲欧美制服丝腿| av在线综合网| 国产女主播在线一区二区| 日本欧美在线看| 欧美日韩一区二区在线视频| 中文幕一区二区三区久久蜜桃| 久久国产精品无码网站| 欧美三级视频在线观看| 亚洲乱码国产乱码精品精小说 | av网站一区二区三区| 日韩三级中文字幕| 亚洲综合一区二区三区| 色综合欧美在线| 国产精品素人视频| 成人美女视频在线观看18| 久久亚洲私人国产精品va媚药| 青青草97国产精品免费观看无弹窗版| 日本伦理一区二区| 亚洲精品高清在线| 日本大香伊一区二区三区| 亚洲人成精品久久久久久| 成人免费视频网站在线观看| 国产欧美1区2区3区| 粉嫩av一区二区三区粉嫩| 国产女人18毛片水真多成人如厕 | 国产一区二区不卡在线| 26uuu久久天堂性欧美| 久久精品久久精品| 日韩欧美你懂的| 天天色综合天天| 91精品国产美女浴室洗澡无遮挡| 日韩主播视频在线| 日韩精品一区二区三区在线| 久久精品国产一区二区三区免费看| 欧美一区二区三区在线观看视频| 日韩高清不卡在线| 精品美女被调教视频大全网站| 国产一区二区福利| 国产精品精品国产色婷婷| 99久久99久久精品免费观看| 亚洲精品一二三| 欧美精品日韩一区| 美女视频网站久久| 国产日韩欧美a| 99久久夜色精品国产网站| 艳妇臀荡乳欲伦亚洲一区| 欧美视频在线一区二区三区| 男女男精品视频网| 久久色视频免费观看| 99久久99久久综合| 亚洲成精国产精品女| 精品日韩成人av| 暴力调教一区二区三区| 亚洲成人av电影| 久久久久久一级片| 欧美午夜精品一区二区蜜桃| 日韩国产高清在线| 欧美激情一区二区在线| 欧美在线999| 国产精品影视网| 亚洲一区二区三区激情| 精品处破学生在线二十三| 一本大道久久a久久综合| 久久精品av麻豆的观看方式| 亚洲视频资源在线| 欧美电影免费观看高清完整版在| heyzo一本久久综合| 人妖欧美一区二区| 亚洲激情自拍视频| 久久精品夜夜夜夜久久| 欧美日韩一区二区在线视频| 国产成人鲁色资源国产91色综| 有坂深雪av一区二区精品| 久久新电视剧免费观看| 欧洲av一区二区嗯嗯嗯啊| 国产91露脸合集magnet| 青娱乐精品视频在线| 亚洲美女视频一区| 日本一区二区三区四区| 日韩午夜电影av| 欧美调教femdomvk| 成人99免费视频| 国内精品嫩模私拍在线| 无码av免费一区二区三区试看| 国产精品成人免费| 久久久91精品国产一区二区精品| 欧美老肥妇做.爰bbww| 色婷婷国产精品| 91香蕉视频污| 成人黄动漫网站免费app| 国产一区二区三区不卡在线观看| 丝袜国产日韩另类美女| 午夜视频一区在线观看| 亚洲综合一区二区| 亚洲精品国产视频| 亚洲欧洲精品一区二区三区| 国产三区在线成人av| 欧美精品一区二区三区四区| 精品美女被调教视频大全网站| 欧美精品黑人性xxxx| 欧美久久久久免费| 欧美日韩在线精品一区二区三区激情| 91在线视频观看| 色综合久久久久久久久久久| aa级大片欧美| 91成人免费在线视频| 一本到三区不卡视频| 欧美午夜影院一区| 欧美精选在线播放| 日韩欧美综合一区| 久久综合色之久久综合| 久久久美女毛片| 中文子幕无线码一区tr| 亚洲欧洲性图库| 一区二区三区四区av| 日韩激情视频在线观看| 免费的国产精品| 国产成人精品免费看| 91论坛在线播放| 欧美老女人第四色| 久久久天堂av| 亚洲色图欧洲色图婷婷| 天天综合天天综合色| 国产在线视频精品一区| 成人精品视频.| 欧美日韩国产区一| www国产亚洲精品久久麻豆| 中文字幕第一区二区| 亚洲黄色在线视频| 日韩av成人高清| 成人自拍视频在线观看| 欧美综合欧美视频| 日韩美女一区二区三区四区| 国产精品久久福利| 视频一区视频二区中文| 国产精品一区二区黑丝| 在线免费观看日本一区| 精品国产露脸精彩对白| 一区二区不卡在线播放 | 国产欧美一区二区精品久导航| 亚洲欧洲av在线| 免费观看久久久4p| 91在线观看视频| 精品国产乱子伦一区| 亚洲日本电影在线| 韩国女主播一区二区三区| 在线视频欧美区| 日本一区二区三区四区| 免费成人美女在线观看.| 91香蕉视频mp4|