?? success.jsp
字號:
<%@ page language="java" import="java.util.*,domain.*"
pageEncoding="GB2312"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<%
List<Index> plist = (List<Index>) request
.getAttribute("plist");
Iterator<Index> pname = plist.iterator();
List<Article> alist1 = (List<Article>)request.getSession().getAttribute("alist1");
Iterator<Article> in1 = alist1.iterator();
List<Article> alist2 = (List<Article>)request.getSession().getAttribute("alist2");
Iterator<Article> in2 = alist2.iterator();
List<Article> alist3 = (List<Article>)request.getSession().getAttribute("alist3");
Iterator<Article> in3 = alist3.iterator();
List<Article> alist4 = (List<Article>)request.getSession().getAttribute("alist4");
Iterator<Article> in4 = alist4.iterator();
List<Article> alist5 = (List<Article>)request.getSession().getAttribute("alist5");
Iterator<Article> in5 = alist5.iterator();
%>
<head>
<script language="JavaScript">
function checkForm(){
var theform = document.sun;
if(theform.email.value==""){
alert("請輸入您的郵箱!");
theform.email.focus();
return false;
}
else if(theform.password.value==""){
alert("請輸入您的密碼!");
theform.password.focus();
return false;
}
}
var q;
function clearContent(){
q = document.getElementById("word").value;
document.getElementById("word").value="";
}
function addContent(){
if(document.getElementById("word").value==""){
document.getElementById("word").value=q;
return true;
}
}
function checkform(){
var page = document.getElementById("Page").value;
var regString = /^[0-9]{0,9}$/;
if(!page.match(regString)){
alert("您輸入的頁碼有錯誤!");
return false;
}
}
</script>
<%
int rowNum = plist.size();
System.out.println(rowNum);
int myi = (Integer) request.getAttribute("mypage");
int pages = myi;
int pageSize = 18;
int totalPage = 0;
if (rowNum % pageSize == 0) {
totalPage = rowNum / pageSize;
} else {
totalPage = rowNum / pageSize + 1;
}
%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>交易撮合</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
}
.STYLE1 {
color: #67CA06;
font-size: 9pt;
}
.STYLE4 {
color: #fd9a01;
font-size: 9pt;
}
body,td,th {
font-size: 9pt;
}
#form1 input {
width: 0px; border 2px solid #7E8E7E width : 460px;
height: 20px;
}
a:link {
text-decoration: none;
color: #67CA06;
}
a:visited {
text-decoration: none;
color: #67CA06;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
.STYLE5 {
color: #3B8E32;
font-size: 14px;
}
.STYLE8 {
font-size: 14px;
color: #666666;
}
.STYLE9 {
color: #0065CF
}
.STYLE11 {
color: #FF0000
}
.STYLE13 {
color: #9A6401;
font-size: 14px;
}
.STYLE14 {
color: #FF9864
}
.STYLE16 {
color: #0065CF;
font-size: 14px;
font-weight: bold;
}
.STYLE17 {
font-size: 12px;
color: #000000;
font-weight: bold;
}
.STYLE19 {
color: #0065CF;
font-size: 12px;
font-weight: bold;
}
.STYLE20 {
color: #999999
}
.STYLE21 {
font-size: 14px;
color: #000000;
font-weight: bold;
}
.STYLE23 {
font-size: 12px
}
.STYLE27 {font-size: 18px}
-->
</style>
</head>
<script type="text/javascript">
function reg(){
window.location.href="reg.jsp";
}
</script>
<body>
<table width="1000" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="337" height="113" valign="top">
<img src="images/index_01.jpg" width="337" height="113" />
</td>
<td width="663" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
background="images/index_02.jpg">
<tr>
<td height="29" width="658" valign="top">
<form action="login.do" method="post" name="sun"
onSubmit="JavaScript:return checkForm();">
<table width="100%" height="29" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td width="8%">
郵箱名:
</td>
<td width="11%">
<input name="email" type=text size="10" />
</td>
<td width="7%" align="center">
密碼:
</td>
<td width="11%">
<input name="password" type=password size="10" />
</td>
<td width="6%">
<input type=submit name="登陸" value="登陸" />
</td>
<td width="6%">
<input type="button" value="注冊" onclick="reg();" />
</td>
<td width="8%">
<input type=checkbox name="checkbox" checked=checked />
記住
</td>
<td width="2%">
<img src="images/pw.jpg" width="12" height="26" />
</td>
<td width="8%">
忘記密碼
</td>
<td width="8%" align="center">
<a href="userplatform/userplatform.jsp">我的平臺</a>
</td>
<td width="5%">
<img src="images/yj.jpg" width="29" height="26" />
</td>
<td width="10%">
郵件訂閱
</td>
<td width="6%" align="center">
訂閱
</td>
<td width="5%" align="center">
退訂
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td height="85" width="663" valign="top">
<table width="663" height="83" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td width="73%" height="23">
</td>
<td width="27%">
</td>
</tr>
<tr>
<td valign="top">
<table width="100%" height="42" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td width="5%" height="30"></td>
<td width="86%" valign="middle">
歡迎<%=request.getAttribute("name")%>到來!
</td>
<td width="9%"></td>
</tr>
</table>
</td>
<td>
</td>
</tr>
<tr>
<td height="12">
</td>
<td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="1000" border="0" cellpadding="0" cellspacing="0" bgcolor="fefbf6">
<tr>
<td width="241" height="139" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="239" valign="top">
<img src="images/index-03.jpg" width="239" height="72" />
</td>
</tr>
<tr>
<td>
<table width="99%" height="68" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td align="center">
<span class="STYLE1"><a href="#">名牌商品 為您提供高質(zhì)量的名牌產(chǎn)品</a>
</span>
</td>
</tr>
<tr>
<td align="center">
<font color="#003399">行業(yè)企業(yè) 為您提供最合適的價格服務(wù)</font>
</td>
</tr>
<tr>
<td align="center">
<span class="STYLE4">勞務(wù)信息 為您提供最合適的勞務(wù)外包</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" height="140" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td width="128" bgcolor="fefbf6">
<img src="images/index_04.jpg" width="128" height="72" />
</td>
<td width="137" valign="top" bgcolor="fcf9f4">
<a href="tie1.jsp"><img src="images/index_05.jpg" width="137" height="72" border="0"/></a>
</td>
<td width="135" height="72" valign="top" bgcolor="faf7ee">
<img src="images/index_06.jpg" width="135" height="72" />
</td>
<td width="113" height="72" valign="top" bgcolor="f9f6ec">
<img src="images/index_07.jpg" width="113" height="72" />
</td>
<td width="136" height="72" valign="top" bgcolor="#F7F3E8">
<img src="images/index_08.jpg" width="104" height="72" />
</td>
</tr>
<tr align="center">
<td bgcolor="fefbf6">
<table width="128" height="67" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td align="center">
<span class="STYLE11">1</span>
<span class="STYLE13">網(wǎng)絡(luò)搜索</span>
</td>
</tr>
<tr align="center">
<td>
全面掌握商品信息
</td>
</tr>
<tr align="center">
<td>
包括品牌、質(zhì)量、價格
</td>
</tr>
</table>
</td>
<td width="137" valign="top" bgcolor="fcf9f4">
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -