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

📄 special.jsp

📁 “JSP数据库项目案例导航”一书从第一章到第十一章各章实例的源程序文件以及数据库文件。 注意: 1. 本书中的案例提供的数据库环境不同
💻 JSP
字号:
<%@ page contentType="text/html;charset=gb2312"%>
<%@page import="com.db.StaticBean"%>
<%
com.util.DealString ds = new com.util.DealString();
String uid = ds.toString((String)session.getAttribute("ID"));


	com.db.CommonBean myBean = new com.db.CommonBean();			
	String sql5 = "select a.name from kjc_role a,kjc_people b"
				+" where a.id=b.role "
				+"   and b.id="+uid;

	java.util.Vector vect5 = myBean.getDataBySql(sql5);
	myBean.closeConn ( ) ;





String navi = "navi.htm";
if(vect5.toString().indexOf("普通教师")!=-1)navi="navi_common.htm";

//系统设置
boolean b1_1 = StaticBean.existOfMan(uid,"学院配置");
boolean b1_2 = StaticBean.existOfMan(uid,"系所配置");
boolean b1_4 = StaticBean.existOfMan(uid,"人员配置");
boolean b1_5 = StaticBean.existOfMan(uid,"角色权限配置");


//文章发布
boolean b10_4 = StaticBean.existOfMan(uid,"发布论文");
boolean b10_5 = StaticBean.existOfMan(uid,"发布科技专著");
boolean b10_6 = StaticBean.existOfMan(uid,"发布学术报告会");

//文章管理
boolean b11_4 = StaticBean.existOfMan(uid,"管理论文");
boolean b11_5 = StaticBean.existOfMan(uid,"管理科技专著");
boolean b11_6 = StaticBean.existOfMan(uid,"管理学术报告会");

//文章检索
boolean b12_4 = StaticBean.existOfMan(uid,"检索论文");
boolean b12_5 = StaticBean.existOfMan(uid,"检索科技专著");
boolean b12_6 = StaticBean.existOfMan(uid,"检索学术报告会");

String str = "项目管理";
if(vect5.toString().indexOf("普通教师")!=-1)str="项目查看";

%>
<html>
<head>
<link rel=stylesheet href="../index.css" type="text/css">
<title>Welcome to Kevin's Homepage</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<style type="text/css">
<!--
.style1 {color: #990000}
-->
</style>
</head>
<body topmargin="0" leftmargin="0" bgcolor="#BBCDFD">
<style type=text/css>
<!--
BODY {
SCROLLBAR-FACE-COLOR:#F7F7F7;
SCROLLBAR-HIGHLIGHT-COLOR:#F7F7F7;
SCROLLBAR-SHADOW-COLOR:#ffffff;
SCROLLBAR-3DLIGHT-COLOR:#ffffff;
SCROLLBAR-ARROW-COLOR:#2B70BD;
SCROLLBAR-DARKSHADOW-COLOR:#F7F7F7;
}
-->
</style>










<table cellpadding=5><tr><td>
<!-----第1个---->
<%if(b1_1||b1_2||b1_4||b1_5){%>
	  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width="100%" align=left>
		  <A><img src="image/menu1.gif" height=20 width=20> <font color="#00006E" style="font-size:10pt">系统设置</b></font></A></TD></TR>
	    </TBODY></TABLE>
      <DIV id=sub1>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY>
		<%if(b1_1){%><TR><TD align=left width="100%"><img src="image/join.gif"><img src="image/menu2.gif" width=15 height=14><a style="cursor:hand"  onclick="parent.mainFrame.location='a.htm'"><font color="#006BBE" size=2>学院配置</font></a></TD></TR><%}%>
		<%if(b1_2){%><TR><TD align=left width="100%"><img src="image/join.gif"><img src="image/menu2.gif" width=15 height=14><a style="cursor:hand"  onclick="parent.mainFrame.location='b.htm'"><font color="#006BBE" size=2>系所配置</font></a></TD></TR><%}%>
		<%if(b1_4){%><TR><TD align=left width="100%"><img src="image/join.gif"><img src="image/menu2.gif" width=15 height=14><a style="cursor:hand"  onclick="parent.mainFrame.location='d.htm'"><font color="#006BBE" size=2>人员配置</font></a></TD></TR><%}%>
		<%if(b1_5){%><TR><TD align=left width="100%"><img src="image/join.gif"><img src="image/menu2.gif" width=15 height=14><a style="cursor:hand"  onclick="parent.mainFrame.location='e.htm'"><font color="#006BBE" size=2>角色权限配置</font></a></TD></TR><%}%>
	  </TBODY></TABLE></DIV>
<%}%>




<!-----第10个---->
<!------------------------------------kjc二期 发布项目等12-21------------------------------->
<%if(b10_4||b10_5||b10_6){%>
	  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width="100%" align=left>
		  <A><img src="image/menu1.gif" height=20 width=20> <font color="#00006E" style="font-size:10pt">论文发布</b></font></A></TD></TR>
	    </TBODY></TABLE>
      <DIV id=sub10>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY>
		<%if(b10_4){%><TR><TD align=left width="100%"><img src="image/join.gif"><img src="image/menu2.gif" width=15 height=14><a style="cursor:hand"  onclick="parent.mainFrame.location='e4.htm'"><font color="#006BBE" size=2>发布论文</font></a></TD></TR><%}%>
		<%if(b10_5){%><TR><TD align=left width="100%"><img src="image/join.gif"><img src="image/menu2.gif" width=15 height=14><a style="cursor:hand"  onclick="parent.mainFrame.location='e5.htm'"><font color="#006BBE" size=2>发布科技专著</font></a></TD></TR><%}%>
		<%if(b10_6){%><TR><TD align=left width="100%"><img src="image/joinb.gif"><img src="image/menu2.gif" width=15 height=14><a style="cursor:hand"  onclick="parent.mainFrame.location='e6.htm'"><font color="#006BBE" size=2>发布学术报告</font></a></font></TD></TR><%}%>
	  </TBODY></TABLE></DIV>
<%}%>


<!-----第11个---->
<!------------------------------------kjc二期 管理项目等12-21------------------------------->
<%if(b11_4||b11_5||b11_6){%>
	  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width="100%" align=left>
		  <A><img src="image/menu1.gif" height=20 width=20> <font color="#00006E" style="font-size:10pt">论文管理</b></font></A></TD></TR>
	    </TBODY></TABLE>
      <DIV id=sub11>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY>
		<%if(b11_4){%><TR><TD align=left width="100%"><img src="image/join.gif"><img src="image/menu2.gif" width=15 height=14><a style="cursor:hand"  onclick="parent.mainFrame.location='m4.htm'"><font color="#006BBE" size=2>管理论文</font></a></TD></TR><%}%>
		<%if(b11_5){%><TR><TD align=left width="100%"><img src="image/join.gif"><img src="image/menu2.gif" width=15 height=14><a style="cursor:hand"  onclick="parent.mainFrame.location='m5.htm'"><font color="#006BBE" size=2>管理科技专著</font></a></TD></TR><%}%>
		<%if(b11_6){%><TR><TD align=left width="100%"><img src="image/joinb.gif"><img src="image/menu2.gif" width=15 height=14><a style="cursor:hand"  onclick="parent.mainFrame.location='m6.htm'"><font color="#006BBE" size=2>管理学术报告</font></a></font></TD></TR><%}%>
	  </TBODY></TABLE></DIV>
<%}%>





<p>
      <img src="../pics/welcome50.gif" width=120><br>
	  <img src="../pics/search_lunwen.gif" width=120></p>

</td></tr></table>
</body>
</html>

⌨️ 快捷键说明

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