index.jsp
上传用户:xjrzjk
上传日期:2022-07-31
资源大小:1585k
文件大小:30k
- <%@ page contentType="text/html; charset=GBK" %>
- <%@ page import="java.sql.*"%>
- <%@ page import="javax.sql.*"%>
- <%
- try{
- //数据库连接
- Class.forName("oracle.jdbc.driver.OracleDriver");
- String strUrl = "jdbc:oracle:thin:@slight:1521:LOCAL";
- String strUser = "eshop";
- String strPassword = "eshop";
- Connection con = DriverManager.getConnection(strUrl, strUser, strPassword);
- Statement st = con.createStatement();
- //最近注册商品
- String sql = "select * from product order by regtime desc";
- ResultSet rs = st.executeQuery(sql);
- %>
- <html>
- <head>
- <script>
- function openbag(id) { window.open("eshop.jsp?cpbm="+id,"","height=400,width=630,left=200,top=0,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");}
- </script>
- <script language="javascript">
- <!--
- function winopen(url)
- {
- window.open(url,"search","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=yes,width=640,height=450,top=200,left=100");
- }
- function MM_openBrWindow(theURL,winName,features) { //v2.0
- window.open(theURL,winName,features);
- }
- //-->
- </script>
- <title>
- 网上商城
- </title>
- <link rel="stylesheet" type="text/css" href="style.css">
- </head>
- <body leftmargin="0" topmargin="0">
- <table cellSpacing="0" cellPadding="0" width="764" align="center" border="0" height="90" bgcolor="#336699">
- <tbody>
- <tr>
- <td width="100%" height="1"> <img src="images/logo_old.gif" width="760" height="80" border="0" usemap="#Map">
- <center>
- </center></td>
- </tr>
- </tbody>
- </table>
- <map name="Map">
- <area shape="rect" coords="280,14,736,72" href="http://www.cefirst.com/version2.01/product/esystem/default.asp" target="_blank">
- </map>
- <div align="center">
- <table border="0" width="764" cellspacing="0" cellpadding="0" height="60">
- <center>
- <tr>
- <td width="153" valign="top" bgcolor="#336699" height="60" rowspan="4">
- <div align="center">
- <table>
- <tr>
- <td width="160" height="20"> </td>
- </tr>
- <tr>
- <td width="160" bgcolor="#000033" height="1"><spacer type="block" height="1"> </td>
- </tr>
- <tr>
- <td width="160" bgcolor="#a0a0a0" height="1"><spacer type="block" height="1"> </td>
- </tr>
- <tr>
- <td width="160" bgcolor="#b0b0b0" height="1"><spacer type="block" height="1"> </td>
- </tr>
- <tr>
- <td width="160" bgcolor="#c0c0c0" height="1"><spacer type="block" height="1"> </td>
- </tr>
- <tr>
- <td width="160" bgcolor="#d0d0d0" height="1"><spacer type="block" height="1"> </td>
- </tr>
- <tr>
- <td width="160" bgcolor="#F0F1EF" height="80"> <div align="center">
- <table cellspacing="0" cellpadding="0" width="86%" align="center" background border="0">
- <tbody>
- <tr>
- <td>
- <jsp:include page="news/rollnews.jsp" flush="true" />
- </td>
- </tr>
- </tbody>
- </table>
- </div></td>
- </tr>
- <tr>
- <td width="160" bgcolor="#000000" height="1"><spacer type="block" height="1"> </td>
- </tr>
- <tr>
- <td width="160" bgcolor="#c0c0c0" height="1"><spacer type="block" height="1"> </td>
- </tr>
- <tr>
- <td width="160" bgcolor="#b0b0b0" height="1"><spacer type="block" height="1"> </td>
- </tr>
- <tr>
- <td width="160" bgcolor="#a0a0a0" height="1"><spacer type="block" height="1"> </td>
- </tr>
- <tr>
- <td width="160" bgcolor="#000000" height="1"><spacer type="block" height="1"> </td>
- </tr>
- <tr>
- <td align="middle" width="160"> <p> </p></td>
- </tr>
- </table>
- <table class="main" cellspacing="0" cellpadding="2" width="153" border="0" height="67">
- <tbody>
- <tr>
- <td valign="top" align="middle" width="152" height="63">
- <form language="javascript" name="FORM1" onSubmit="return FORM1_onsubmit()" action="orderloginsb.jsp" method="post">
- <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0"><font color="#B0E8F8">
- <!--webbot bot="HTMLMarkup" startspan -->
- <script language=javascript id=clientEventHandlersJS>
- //函数名:chksafe
- //功能介绍:检查是否含有"'",'\',"/"
- //参数说明:要检查的字符串
- //返回值:0:是 1:不是
- function chksafe(a)
- {
- return 1;
- /* fibdn = new Array ("'" ,"\", "、", ",", ";", "/");
- i=fibdn.length;
- j=a.length;
- for (ii=0;ii<i;ii++)
- { for (jj=0;jj<j;jj++)
- { temp1=a.charAt(jj);
- temp2=fibdn[ii];
- if (tem';p1==temp2)
- { return 0; }
- }
- }
- return 1;
- */
- }
- //函数名:chkspc
- //功能介绍:检查是否含有空格
- //参数说明:要检查的字符串
- //返回值:0:是 1:不是
- function chkspc(a)
- {
- var i=a.length;
- var j = 0;
- var k = 0;
- while (k<i)
- {
- if (a.charAt(k) != " ")
- j = j+1;
- k = k+1;
- }
- if (j==0)
- {
- return 0;
- }
- if (i!=j)
- { return 2; }
- else
- {
- return 1;
- }
- }
- //函数名:fucCheckLength
- //功能介绍:检查字符串的长度
- //参数说明:要检查的字符串
- //返回值:长度值
- function fucCheckLength(strTemp)
- {
- var i,sum;
- sum=0;
- for(i=0;i<strTemp.length;i++)
- {
- if ((strTemp.charCodeAt(i)>=0) && (strTemp.charCodeAt(i)<=255))
- sum=sum+1;
- else
- sum=sum+2;
- }
- return sum;
- }
- </script>
- <script language=javascript>
- function chkitem(str)
- {
- var strSource ="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_";
- var ch;
- var i;
- var temp;
- for (i=0;i<=(str.length-1);i++)
- {
- ch = str.charAt(i);
- temp = strSource.indexOf(ch);
- if (temp==-1)
- {
- return 0;
- }
- }
- if (strSource.indexOf(ch)==-1)
- {
- return 0;
- }
- else
- {
- return 1;
- }
- }
- function FORM1_onsubmit()
- {
- if (chkitem(document.FORM1.uid.value)==0)
- {
- alert("请输入正确的会员帐号。");
- document.FORM1.uid.focus();
- return false;
- }
- if ((document.FORM1.uid.vlaue=='') || (chkspc(document.FORM1.uid.value)==0)|| (chkspc(document.FORM1.uid.value)==2))
- {
- alert("请将会员帐号填写完整,且不能使用空格!");
- document.FORM1.uid.focus();
- return false;
- }
- if (chkitem(document.FORM1.pwd.value)==0)
- {
- alert("请将填写密码!");
- document.FORM1.pwd.focus();
- return false;
- }
- if ( fucCheckLength(document.FORM1.uid.value) != document.FORM1.uid.value.length )
- {
- alert("会员帐号请不要使用中文!");
- document.FORM1.uid.focus();
- return false;
- }
- if (fucCheckLength(document.FORM1.uid.value) <4 )
- {
- alert("会员帐号必须至少4位");
- document.FORM1.uid.focus();
- return false;
- }
- }
- </script>
- <!--webbot bot="HTMLMarkup" endspan -->
- 帐号
- <input maxlength="16" size="14" name="uid">
- </font> </p>
- <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0"><font color="#B0E8F8">密码
- <input maxlength="16" size="14" name="pwd" type="password">
- </font> </p>
- <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0">
- <font color="#B0E8F8"> <br>
- <input type="submit" size="3" value="登录" name="Submit2">
- <input type="button" value="注册会员" name="B1" onClick="window.location.href='reguser.htm';">
- </font> </p>
- </form></td>
- </tr>
- </tbody>
- </table>
- <table border="0" width="90%" cellspacing="0" cellpadding="0">
- <tr>
- <td width="100%"> <div align="center">
- <table height="10" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tbody>
- <tr>
- <td width="100%"> <font color="#B0E8F8">
- <%
- //一级分类
- sql = "select * from class_1";
- ResultSet rs1 = st.executeQuery(sql);
- String strClass1Name = "";
- while (rs1.next()){
- sql = "select * from class_2 where class_1_name = '" + rs1.getString("class_1_name") + "'";
- strClass1Name = rs1.getString("Class_1_Name");
- ResultSet rs2 = st.executeQuery(sql);
- %>
- </font> <div align="center">
- <table border="0" cellspacing="0" width="100%" height="1" bordercolorlight="#C0C0C0" cellpadding="0" bordercolordark="#336699">
- <tr>
- <td height="1" width="100%"> <table border="0" width="100%" bgcolor="#0099CC" cellspacing="0" cellpadding="0">
- <tr>
- <td height="22" bgcolor="#6094C8"> <p align="center"><font color="#F7F7E7"><b>
- <%=strClass1Name%></b>
- </font></td>
- </tr>
- </table></td>
- </tr>
- <%
- int j = 1;
- while(rs2.next()){
- %>
- <td width="139" height="22" bgcolor="#B1CBE4">
- <p align="center"><a href="splb.jsp?spdl=<%=rs2.getString("Class_1_Name")%>&spxl=<%=rs2.getString("Class_2_Name")%>"><font color="#000000"><%=rs2.getString("Class_2_Name")%></font></a>
- </td>
- </tr>
- <tr>
- <%
- j=j+1;
- }
- rs2.close();
- %>
- </tr>
- </table>
- </div>
- <font color="#B0E8F8">
- <%
- }
- rs1.close();
- %>
- </font> </td>
- </tr>
- </tbody>
- </table>
- </div></td>
- </tr>
- </table>
- <br>
- </div></td>
- <td width="610" valign="top" colspan="2" height="16" bgcolor="#336699" align="center">
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <tr align="center">
- <td width="25"><img src="images/left.gif"></td>
- <td width="86" background="images/bgguide.gif"><a href="index.jsp" class="guide">首 页</a></td>
- <td background="images/bgguide.gif"><img src="images/guide.gif"></td>
- <td width="86" background="images/bgguide.gif"><a href="zxsp.jsp" class="guide">最新商品</a></td>
- <td background="images/bgguide.gif"><img src="images/guide.gif"></td>
- <td width="86" background="images/bgguide.gif"><a href="reguser.htm" class="guide">会员注册</a></td>
- <td background="images/bgguide.gif"><img src="images/guide.gif"></td>
- <td width="86" background="images/bgguide.gif"><a href="javascript:openbag()">察看购物车</a></td>
- <td background="images/bgguide.gif"><img src="images/guide.gif"></td>
- <td width="86" background="images/bgguide.gif">购物帮助</td>
- <td width="25"><img src="images/right.gif"></td>
- </tr>
- </table></td>
- </tr>
- </center>
- <tr>
- <td width="610" valign="top" colspan="2" height="25"> <table border="0" width="100%" height="1" cellspacing="0" cellpadding="0">
- <tr>
- <center>
- <td width="50%" height="1"> <form method="POST" action="orderofind.jsp" target="_blank">
- <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0" align="center">订单查询
- <input name="Form_Id" type="text" value="订单号" size="8">
- <input type="submit" value="查询" name="djB1" class="a">
- </form></td>
- </center>
- <td width="50%" height="1">
- <form method="POST" action="spss.jsp" target="_blank">
- <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0"> 商品查询
- <input type="text" name="Product_Name" size="10" class="a" style="font-size: 14px">
- <select name="Product_Class" size="1" tabindex="0" class="a" style="font-size: 14px">
- <option value="礼品">礼品</option>
- <option value="影视">影视</option>
- <option value="化妆">化妆</option>
- <option value="互联网">互联网</option>
- </select>
- <input type="image" height="20" cache width="52" src="images/go.gif" align="absMiddle" value="GO" border="0" name="I55">
- </p>
- </form></td>
- </tr>
- </table></td>
- </tr>
- <center>
- <tr>
- <td width="100%" valign="top" height="10"> <div align="center">
- <center>
- <table cellspacing="0" cellpadding="0" width="417" bgcolor="#f0f1ef" border="0">
- <tbody>
- <tr>
- <td valign="top" width="10" rowspan="2"><img height="26" src="images/enet_lt.gif" width="10"></td>
- <td width="505" bgcolor="#10a6be" height="1"><spacer width="1" type="block"></td>
- <td valign="top" width="10" rowspan="2"><img src="images/enet_rt.gif"></td>
- </tr>
- <tr height="25">
- <td> <table cellspacing="3" cellpadding="0" width="100%" border="0">
- <tbody>
- <tr>
- <td align="middle" width="10"></td>
- <td width="475"><img height="10" src="images/arrow_1.gif" width="13"> 商城动态</td>
- </tr>
- </tbody>
- </table></td>
- </tr>
- </tbody>
- </table>
- </center>
- </div>
- <div align="center">
- <center>
- <table border="0" width="417" cellspacing="0" cellpadding="0">
- <tr>
- <td width="1" bgcolor="#10A6BE"> </td>
- <td width="415" bgcolor="#F0F1EF"><script src="news/news.jsp"></script>
- </td>
- <td width="1" bgcolor="#10A6BE"> </td>
- </tr>
- </table>
- </center>
- </div>
- <div align="center">
- <center>
- <table cellspacing="0" cellpadding="0" width="417" bgcolor="#f0f1ef" border="0">
- <tbody>
- <tr>
- <td valign="top" width="10" rowspan="2"><img height="26" src="images/enet_bl.gif" width="10"></td>
- <td width="505" height="19"> <table cellspacing="3" cellpadding="0" width="100%" border="0">
- <tbody>
- <tr>
- <td align="right"> <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0" align="right">以往新闻>>>></p></td>
- </tr>
- </tbody>
- </table></td>
- <td valign="top" width="10" rowspan="2"><img height="26" src="images/enet_br.gif" width="10"></td>
- </tr>
- <tr height="1">
- <td width="505" bgcolor="#10a6be" height="1"><spacer width="1" type="block"></td>
- </tr>
- </tbody>
- </table>
- <br>
- </center>
- </div></td>
- <td width="161" valign="top" height="10" align="right"> <table cellspacing="0" cellpadding="0" width="150" border="0">
- <tbody>
- <tr>
- <td valign="top" width="4" bgcolor="#336699" rowspan="2"><img height="18" src="images/tl_img.gif" width="4" border="0"></td>
- <td bgcolor="#000000" height="1"><img height="1" src="images/stretch.gif" width="142" border="0"></td>
- <td valign="top" width="4" bgcolor="#336699" rowspan="2"><img height="18" src="images/tr_img.gif" width="4" border="0"></td>
- </tr>
- <tr>
- <td height="16" valign="bottom" bgcolor="#336699"> <div align="left"><font class="portletTitle" color="#ffffff"> 新品速递</font><font class="portletTitle" color="#ffffff" size="1"><br>
- </font> </div></td>
- </tr>
- </tbody>
- </table>
- <table cellspacing="0" cellpadding="0" width="150" border="0">
- <tbody>
- <tr>
- <td width="1" bgcolor="#000000"><img src="images/stretch.gif" width="1" border="0"></td>
- <td valign="top" bgcolor="#f7f7e7"><img height="1" src="images/stretch.gif" width="146" border="0"><br>
- <table border="0" cellpadding="0" cellspacing="0" width="100%" height="1">
- <%
- while (rs.next()){
- %>
- <tr>
- <td width="100%" align="center" height="11">
- <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0" align="left">
- <img height="14" src="images/point002.GIF" width="14">
- <a href="javascript:winopen('spjj.jsp?ProductNO=<%=rs.getLong("Product_No")%>')"><%=rs.getString("Product_name")%></a></p></td>
- </tr>
- <%
- }
- rs.close();
- %>
- </table></td>
- <!-- this is the shade the right of the Portlet -->
- <td width="1" bgcolor="#000000"><img src="images/stretch.gif" width="1" border="0"></td>
- <td width="1" bgcolor="#9a9c9a"><img src="images/stretch.gif" width="1" border="0"></td>
- <td width="1" bgcolor="#b3b4b3"><img src="images/stretch.gif" width="1" border="0"></td>
- </tr>
- </tbody>
- </table>
- <table cellspacing="0" cellpadding="0" width="150" border="0">
- <tbody>
- <tr>
- <td valign="top" width="4" rowspan="4"><img height="6" src="images/bl_img.gif" width="4" border="0"></td>
- <td bgcolor="#f7f7e7" height="3"><img height="1" src="images/stretch.gif" width="142" border="0"></td>
- <td valign="top" width="4" rowspan="4"><img height="6" src="images/br_img.gif" width="4" border="0"></td>
- </tr>
- <tr>
- <td width="1" bgcolor="#000000"><img height="1" src="images/stretch.gif" width="1" border="0"></td>
- </tr>
- <tr>
- <td width="1" bgcolor="#9a9c9a"><img height="1" src="images/stretch.gif" width="1" border="0"></td>
- </tr>
- <tr>
- <td width="1" bgcolor="#b3b4b3"><img height="1" src="images/stretch.gif" width="1" border="0"></td>
- </tr>
- </tbody>
- </table></td>
- </tr>
- <tr>
- <td width="100%" valign="top" height="95"> <div align="center">
- <center>
- <table cellspacing="0" cellpadding="0" width="417" bgcolor="#f0f1ef" border="0">
- <tbody>
- <tr>
- <td valign="top" width="10" rowspan="2"><img height="26" src="images/enet_lt.gif" width="10"></td>
- <td width="505" bgcolor="#10a6be" height="1"><spacer width="1" type="block"></td>
- <td valign="top" width="10" rowspan="2"><img src="images/enet_rt.gif"></td>
- </tr>
- <tr height="25">
- <td> <table cellspacing="3" cellpadding="0" width="100%" border="0">
- <tbody>
- <tr>
- <td align="middle" width="10"></td>
- <td width="475"><img height="10" src="images/arrow_1.gif" width="13"> <font class="105v">热卖商品</font>
- <%
- sql = "select * from product where rownum<7 order by look_count desc ";
- ResultSet rshot = st.executeQuery(sql);
- %>
- </td>
- </tr>
- </tbody>
- </table></td>
- </tr>
- </tbody>
- </table>
- </center>
- </div>
- <div align="center">
- <center>
- <table cellspacing="0" cellpadding="0" width="417" border="0">
- <tbody>
- <tr>
- <td width="100%"> <table cellspacing="1" width="100%" border="0" height="51" bgcolor="#10A6BE">
- <tbody>
- <tr valign="top">
- <td class="default" height="41" width="100%" bgcolor="#FFFFFF">
- <table border="0" cellpadding="0" cellspacing="0" width="100%" height="98">
- <%
- int k = 1;
- %>
- <tr>
- <%
- while (rshot.next()){
- %>
- <td>
- <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0">
- <img border="0" src="<%=rshot.getString("p_pic")%>">
- <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0"><a href="javascript:winopen('spjj.jsp?ProductNO=<%=rshot.getLong("Product_No")%>')"><b><%=rshot.getString("Product_Name")%></b></a></p>
- <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0">市场价:¥
- <strike><%=rshot.getDouble("P_OldPrice")%></strike><br>
- 会员价:¥ <font color="#FF0000"><%=rshot.getDouble("P_NewPrice")%></font><br>
- <a href="javascript:winopen('spjj.jsp?ProductNO=<%=rshot.getLong("Product_No")%>')">[详细介绍]</a></p>
- <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0"><a href="javascript:openbag(<%=rshot.getString("Product_Id")%>)"><img border="0" src="images/mybuy.gif"></a></p>
- <hr size="1" color="#808000" width="80%">
- </td>
- <%
- if ((double)k/3 == k/3){
- %>
- </tr>
- <tr>
- <%
- }
- k=k+1;
- }
- rshot.close();
- con.close();
- %>
- </tr>
- </table></td>
- </tr>
- </tbody>
- </table></td>
- </tr>
- </tbody>
- </table>
- </center>
- </div>
- <div align="center">
- <center>
- <table cellspacing="0" cellpadding="0" width="417" bgcolor="#f0f1ef" border="0">
- <tbody>
- <tr>
- <td valign="top" width="10" rowspan="2"><img height="26" src="images/enet_bl.gif" width="10"></td>
- <td width="505" height="19"> <table cellspacing="3" cellpadding="0" width="100%" border="0">
- <tbody>
- <tr>
- <td align="right"> 谢谢你光临我们的商店 </td>
- </tr>
- </tbody>
- </table></td>
- <td valign="top" width="10" rowspan="2"><img height="26" src="images/enet_br.gif" width="10"></td>
- </tr>
- <tr height="1">
- <td width="505" bgcolor="#10a6be" height="1"><spacer width="1" type="block"></td>
- </tr>
- </tbody>
- </table>
- <br>
- </center>
- </div></td>
- <td width="161" valign="top" height="95" align="right"> <table border="0" width="100%" cellspacing="0" cellpadding="0">
- <tr>
- <td width="100%"> </td>
- </tr>
- </table>
- <table cellspacing="0" cellpadding="0" width="150" border="0">
- <tbody>
- <tr>
- <td valign="top" width="4" bgcolor="#336699" rowspan="2"><img height="18" src="images/tl_img.gif" width="4" border="0"></td>
- <td bgcolor="#000000" height="1"><img height="1" src="images/stretch.gif" width="142" border="0"></td>
- <td valign="top" width="4" bgcolor="#336699" rowspan="2"><img height="18" src="images/tr_img.gif" width="4" border="0"></td>
- </tr>
- <tr>
- <td height="16" valign="bottom" bgcolor="#336699"> <div align="left"><font class="portletTitle" color="#ffffff"> 在线调查</font><font class="portletTitle" color="#ffffff" size="1"><br>
- </font> </div></td>
- </tr>
- </tbody>
- </table>
- <table cellspacing="0" cellpadding="0" width="150" border="0">
- <tbody>
- <tr>
- <td width="1" bgcolor="#000000"><img src="images/stretch.gif" width="1" border="0"></td>
- <td valign="top" bgcolor="#f7f7e7"><img height="1" src="images/stretch.gif" width="146" border="0">
- <table class="main" cellspacing="0" cellpadding="2" width="100%" border="0">
- <tbody>
- <tr>
- <td valign="top" align="middle" width="152" height="6">
- <jsp:include page="showvote.jsp" flush="true" />
- </td>
- </tr>
- </tbody>
- </table></td>
- <!-- this is the shade the right of the Portlet -->
- <td width="1" bgcolor="#000000"><img src="images/stretch.gif" width="1" border="0"></td>
- <td width="1" bgcolor="#9a9c9a"><img src="images/stretch.gif" width="1" border="0"></td>
- <td width="1" bgcolor="#b3b4b3"><img src="images/stretch.gif" width="1" border="0"></td>
- </tr>
- </tbody>
- </table>
- <table cellspacing="0" cellpadding="0" width="150" border="0">
- <tbody>
- <tr>
- <td valign="top" width="4" rowspan="4"><img src="images/bl_img.gif" border="0"></td>
- <td bgcolor="#f7f7e7" height="3"><img height="1" src="images/stretch.gif" width="142" border="0"></td>
- <td valign="top" width="4" rowspan="4"><img height="6" src="images/br_img.gif" width="4" border="0"></td>
- </tr>
- <tr>
- <td width="1" bgcolor="#000000"><img height="1" src="images/stretch.gif" width="1" border="0"></td>
- </tr>
- <tr>
- <td width="1" bgcolor="#9a9c9a"><img height="1" src="images/stretch.gif" width="1" border="0"></td>
- </tr>
- </tbody>
- </table>
- <br>
- <table cellspacing="0" cellpadding="0" width="150" border="0">
- <tbody>
- <tr>
- <td valign="top" width="4" bgcolor="#336699" rowspan="2"><img height="18" src="images/tl_img.gif" width="4" border="0"></td>
- <td bgcolor="#000000" height="1"><img height="1" src="images/stretch.gif" width="142" border="0"></td>
- <td valign="top" width="4" bgcolor="#336699" rowspan="2"><img height="18" src="images/tr_img.gif" width="4" border="0"></td>
- </tr>
- <tr>
- <td height="16" valign="bottom" bgcolor="#336699"> <div align="left"><font class="portletTitle" color="#ffffff"> 邮件订阅</font><font class="portletTitle" color="#ffffff" size="1"><br>
- </font> </div></td>
- </tr>
- </tbody>
- </table>
- <table cellspacing="0" cellpadding="0" width="150" border="0">
- <tbody>
- <tr>
- <td width="1" bgcolor="#000000"><img src="images/stretch.gif" width="1" border="0"></td>
- <td valign="top" bgcolor="#f7f7e7"><img height="1" src="images/stretch.gif" width="146" border="0">
- <table class="main" cellspacing="0" cellpadding="2" width="100%" border="0">
- <tbody>
- <tr>
- <form method="POST" action="" target="_blank">
- <td valign="top" align="middle" width="152" height="6">
- <p align="center"><input type="text" name="fsemail" size="16"></p>
- <p align="center"><input type="submit" value="订阅" name="B1" disabled>
- <input type="submit" value="退订" name="td" disabled></p>
- </td>
- </form>
- </tr>
- </tbody>
- </table></td>
- <!-- this is the shade the right of the Portlet -->
- <td width="1" bgcolor="#000000"><img src="images/stretch.gif" width="1" border="0"></td>
- <td width="1" bgcolor="#9a9c9a"><img src="images/stretch.gif" width="1" border="0"></td>
- <td width="1" bgcolor="#b3b4b3"><img src="images/stretch.gif" width="1" border="0"></td>
- </tr>
- </tbody>
- </table>
- <table cellspacing="0" cellpadding="0" width="150" border="0">
- <tbody>
- <tr>
- <td valign="top" width="4" rowspan="4"><img src="images/bl_img.gif" border="0"></td>
- <td bgcolor="#f7f7e7" height="3"><img height="1" src="images/stretch.gif" width="142" border="0"></td>
- <td valign="top" width="4" rowspan="4"><img height="6" src="images/br_img.gif" width="4" border="0"></td>
- </tr>
- <tr>
- <td width="1" bgcolor="#000000"><img height="1" src="images/stretch.gif" width="1" border="0"></td>
- </tr>
- <tr>
- <td width="1" bgcolor="#9a9c9a"><img height="1" src="images/stretch.gif" width="1" border="0"></td>
- </tr>
- </tbody>
- </table>
- <br> <br> </td>
- </tr>
- </center>
- </table>
- </center>
- </div>
- <table align="center" border="0" cellPadding="4" cellSpacing="0" width="764" bgcolor="#FFFFFF">
- <tbody>
- <tr>
- <td align="right" class="unnamed1"><hr size="1" color="#000000"></td>
- </tr>
- <tr>
- <td align="right" class="unnamed1"> <p align="center" style="word-spacing: 0; margin-top: 0; margin-bottom: 0">Copyright
- ©亮中计算机技术服务有限公司 2004 </p>
- </td>
- </tr>
- </tbody>
- </table>
- </body>
- </html>
- <%
- }catch(Exception e){
- e.printStackTrace();
- }
- %>