<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	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>My JSP 'index.jsp' starting page</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">
		
	</head>
	<frameset rows="112,*" frameborder="no" border="0" framespacing="0">
		<frame src="admin/top.jsp" name="topFrame" scrolling="No"
			noresize="noresize" id="topFrame" title="topFrame" />
		<frameset id="mainframe" border="0" frameborder="no" framespacing="0"
			cols="184,*">
			<frame src="admin/left.jsp" name="side" id="side" title="side"
				scrolling="auto" />
			<frame src="admin/main.jsp" name="main" id="main" title="main"
				scrolling="auto" />
		</frameset>
	</frameset>
</html>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
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>My JSP 'top.jsp' starting page</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="css/css.css">
	


  </head>
  
  <body>
    <img src="images/logo.jpg" height="112" width="100%"/>
    <img src="images/top12.jpg" height="26" width="100%">
  </body>
</html>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>


<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'left.jsp' starting page</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="css/css.css">


  </head>
  
  <body bgcolor="#31827C">
    <table width="170" height="135" align="center" cellpadding="0" cellspacing="0" background="images/msg.gif">
    <tr>
      <td width="170" height="64" valign="bottom" background="" class="menu_title"><table width="100%" height="21" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="80">&nbsp;</td>
          <td><a href="index.jsp" target="_parent"><strong>退出系统</strong></a></td>
        </tr>
        
      </table></td>
    </tr>
    <tr>
      <td width="170" align="center"><table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="38%">&nbsp;</td>
          <td width="62%"><span class="red_9">&nbsp;&nbsp;Admin</span></td>
        </tr>
        <tr>
          <td width="38%">&nbsp;</td>
          <td>&nbsp;<span class="red_9">&nbsp;&nbsp;1级</span></td>
        </tr>
      </table></td>
    </tr>
  </table>
  
  <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
  <tr align="center">
  	<td background="images/bar.gif" valign="middle"><a href="admin/addTopic.jsp" target="main"><strong>添加主题</strong></a></td>
  </tr>
  </table>
  
  <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
  <tr align="center">
  	<td background="images/bar.gif" valign="middle"><a href="admin/showAllTopic.jsp" target="main"><strong>查看主题</strong></a></td>
  </tr>
  </table>
  
  <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
  <tr align="center">
  	<td background="images/bar.gif" valign="middle"><a href="admin/showAllTopic.jsp" target="main"><strong>编辑主题</strong></a></td>
  </tr>
  </table>
  
  <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
  <tr align="center">
  	<td background="images/bar.gif" valign="middle"><a href="admin/showAllUser.jsp" target="main"><strong>查看用户</strong></a></td>
  </tr>
  </table>
  
  <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
  <tr align="center">
  	<td background="images/bar.gif" valign="middle"><a href="admin/register.jsp" target="main"><strong>添加用户</strong></a></td>
  </tr>
  </table>
  <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
  <tr align="center">
  	<td background="images/bar.gif" valign="middle"><a href="admin/addNews.jsp" target="main"><strong>添加新闻</strong></a></td>
  </tr>
  </table>
  <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
  <tr align="center">
  	<td background="images/bar.gif" valign="middle"><a href="admin/addNews.jsp" target="main"><strong>编辑新闻</strong></a></td>
  </tr>
  </table>
  </body>
</html>
<%@ page language="java" 
import="java.util.*,java.text.SimpleDateFormat" 
pageEncoding="utf-8"%>
<%
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>My JSP 'main.jsp' starting page</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">
	<style type="text/css">
		body{
			background-image: url(images/Bg.gif)
		}
	</style>


  </head>
  
  <body>
     <%
     	SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
     	String str = sdf.format(new Date());
      %>
      <%=str %>
  </body>
</html>


posted on 2016-11-05 11:48  波波嘟  阅读(192)  评论(0编辑  收藏  举报