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

📄 index.jsp

📁 交易撮合系统是一套买卖信息沟通的平台
💻 JSP
📖 第 1 页 / 共 4 页
字号:
<%@ page language="java"
	import="java.util.*,domain.*,struts.page.*" 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"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="h"%>
<html xmlns="http://www.w3.org/1999/xhtml">

	<%
		List<Index> plist = (List<Index>) request
				.getAttribute("plist");

		Users us = (Users) request.getSession().getAttribute("user");
		
		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();
			
			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;
}

.STYLE7 {
	font-size: 12px;
	color: #666666;
}

.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
}
.STYLE24 {
	font-family: "宋体";
	font-size: 14px;
}
.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">
														&nbsp;密码:
													</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%" valign="middle">
														<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="4%">
														<img src="images/yj.jpg" width="29" height="26" />
													</td>
													<td width="10%">
														邮件订阅:
													</td>
													<td width="8%" align="center">
														邮件地址
													</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">&nbsp;
														

												  </td>
													<td width="27%">&nbsp;</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">

																	<h:errors property="nameerror" />


																</td>
																<td width="9%"></td>
															</tr>
														</table>
													</td>
													<td>
													</td>
												</tr>
												<tr>
													<td height="12">&nbsp;
														

													</td>
													<td>&nbsp;
														

													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					<table width="1000" border="0" cellpadding="0" cellspacing="0" bgcolor="fefbf6">
						<tr>
							<td width="242" height="139" valign="top">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="239" valign="top" background="images/index-03.jpg"><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 height="5"></td></tr>
												<tr>
													<td align="center">
														<span class="STYLE1"><a href="#">名牌商品&nbsp;为您提供高质量的名牌产品</a>														</span>													</td>
												</tr>
												<tr>
													<td align="center">
														<font color="#003399">行业企业&nbsp;为您提供最合适的价格服务</font>													</td>
												</tr>
												<tr>
													<td align="center">
														<span class="STYLE4">劳务信息 为您提供最合适的劳务外包</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">网络搜索</span>
													</td>
												</tr>
												<tr align="center">
													<td>
														全面掌握商品信息
													</td>
												</tr>
												<tr align="center">
													<td>
														包括品牌、质量、价格
													</td>
												</tr>
											</table>
										</td>
										<td width="137" valign="top" bgcolor="fcf9f4">
											<table width="137" height="67" cellspacing="0"
												cellpadding="0">
												<tr>
													<td align="center">
														<span class="STYLE11">2</span>&nbsp;
														<a href="tie1.jsp"><span class="STYLE13">发布需求</span></a>

⌨️ 快捷键说明

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