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

📄 index.jsp

📁 网上购物系统
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>

<!--
┌─ 深度学习之IT学习网  ───────  www.ITstudy.cn  ────┐
│  感谢你使用 深度学习之IT学习网 
│  本代码完全公开和免费,你可以任意复制、传播、修改和使用,
│  但不得公开发表代码 不得用做商业用途,不得向其他使用者收费。 
│  使用时,请保留此段信息,谢谢配合      
│                        作者:吕海鹏      2006/6/18
└──────────────────  www.DeepTeach.com  ───┘
-->
<%@include file="ConnDB.jsp"%>

<%
//网站配置
//创建语句对象
Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
String sql = "select * from tSiteConfig";
ResultSet RsSiteConfig = stmt.executeQuery(sql);
RsSiteConfig.next();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
	<meta name="keywords" content="<%=RsSiteConfig.getString("fMetaKeywords")%>" />
	<meta name="description" content="<%=RsSiteConfig.getString("fMetaDescription")%>" />
	<title><%=RsSiteConfig.getString("fSiteTitle")%></title>
	<link rel="icon" href="favicon.ico" type="image/x-icon" />
	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
	<link href="Style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<%@include file="index_Top.jsp"%>
<table width="995" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td>
	  <br />
	<!--广告 760 开始-->
	  <div align="center">
        <%//call Advert("首页上方大幅广告")%>
		<%--<script language=javascript src="http://a.keyrun.com/pcode.php?username=advert&repl=1&adsuser=chaqiang&adsid=642&iw=760&ih=60&mode=1"></script>--%>
      </div>
	<!--广告 760 结束-->
	
    <!--新闻动态 开始-->
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="250">
	    <!--新闻幻灯片 开始-->
		<table border="2" align="center" bordercolor="#E1E1E1">
		<tr><td>
		<div align="center">
		<script language=javascript src="http://a.keyrun.com/pcode.php?username=advert&repl=1&adsuser=ycstar&adsid=852&iw=150&ih=150&mode=1"></script>
		</div>
		</td></tr></table>
	    <!--新闻幻灯片 结束-->
	</td>
    <td>
	
	<!--新闻 开始-->
	<%@include file="IndexNews.jsp"%>
	<!--新闻 结束-->

	</td>
  </tr>
</table>
		<!--新闻动态 结束-->
	
	
	</td>
    <td width="230" valign="top">

	<br />
		<%@include file="Announce.jsp"%>
	<br />
	  <div align="center">
        <%//call Advert("首页侧栏上")%>
      </div>
	
	</td>
  </tr>
</table>


<table width="995" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td valign="top">
	<div align="center">
		<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"   framespacing="0" frameborder="0" scrolling="no" width="468" height="40" src="http://unstat.baidu.com/bdun.bsc?tn=advert&cv=0&cid=136707&csid=107&rkcs=4&bgcr=FFFFFF&ftcr=0000CC&rk=1&bd=0&tbsz=&tbst=&bdas=0"></iframe>
	</div>


	<!--上部文章栏目 开始-->
	<%@include file="IndexClassTop.jsp"%>
	<!--上部文章栏目 结束-->

    </td>
	
    <td width="230" valign="top">
	  <table width="220" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FF0000">
        <tr>
          <td height="36" valign="middle" background="images/index-left2-1.gif" bgcolor="#FFFFFF"><div align="center" class="glow_white">论坛登录入口</div></td>
        </tr>
        <tr>
          <td height="120" align="center" valign="middle" bgcolor="#FFFFFF">
		  <!--论坛入口 开始-->
		  <br />
			  <div align="center">
                  <form action="http://www.deepteach.com/Forum/login.asp?action=chk" method="post">
                    用户姓名:<input tyep="text" name="username" size="12" /><br />
                    用户密码:<input type="password" name="password" size="12" /><br />
                    验证码:<input type="text" name="codestr" size="4" /><img src="http://www.deepteach.com/Forum/DV_getcode.asp" height="18" alt="验证码,看不清楚?请点击刷新验证码" style="cursor : pointer;" onclick="this.src='http://www.deepteach.com/Forum/DV_getcode.asp'" /><br /> 
					Cookie: <select name="CookieDate">
					<option value="0" selected="selected">不保存</option>
					<option value="1">保存一天</option>
					<option value="2">保存一月</option>
					<option value="3">保存一年</option>
					</select>
                    <br />
                    <input type="submit" name="submit" value="登录" />
                    &nbsp;
                    <input name="button" type="button" onclick=window.open("http://www.deepteach.com/Forum/reg.asp") value="注册" />
                    &nbsp;
                    <input name="button" type="button" onclick=window.open("http://www.deepteach.com/Forum/index.asp") value="游客进入" />
                  </form>
              </div>
		  <!--论坛入口 结束-->
		  </td>
        </tr>
      </table>
	<br />
	<!--本站统计-->
	<%@include file="Statistic.jsp"%>	
	 <br />
     </td>
  </tr>
</table>


<!--中部通栏文章栏目 开始-->
	<%@include file="IndexClassMiddleT.jsp"%>
	
<!--中部通栏文章栏目 结束-->

<!--侧栏左 开始-->
<table width="995" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
          <tr bgcolor="#FFFFFF">
            <td width="230" valign="top">
      <br />
      <table width="220" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FF0000">
        <tr>
          <td height="36" valign="middle" background="images/index-left2-1.gif" bgcolor="#FFFFFF"><div align="center" class="glow_white">论坛新贴</div></td>
        </tr>
        <tr>
          <td height="100" bgcolor="#FFFFFF">
		  <table width="95%" align="center" cellpadding="0" cellspacing="0">
              
              <tr>
                <td>
					<script src="http://www.deepteach.com/Forum/Dv_News.asp?GetName=deepteach"></script>
				</td>
              </tr>
          </table></td>
        </tr>
      </table>
<div align="center">

        <br />
      <table width="220" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FF0000">
        <tr>
          <td height="36" valign="middle" background="images/index-left2-1.gif"><div align="center" class="glow_white">友情链接</div></td>
        </tr>
        <tr>
          <td bgcolor="#FFFFFF">
		  	<%@include file="FriendSite.jsp"%>
		  </td>
        </tr>
      </table>
	  
	<br />
        <%//call Advert("首页侧栏下")%>
	 <br />
	  
	  
            </div>
			
			</td>
            <td>
	  <div align="center">
        <%//call Advert("首页中部大幅广告")%>
      </div>
	<!--下部文章栏目 开始-->
	<%@include file="IndexClassBottom.jsp"%>
	<!--下部文章栏目 结束-->
	
	<!--资源下载 开始-->
	<%@include file="IndexClassSoft.jsp"%>
	<!--资源下载 结束-->
	  <div align="center">
        <%//call Advert("首页下部大幅广告")%>
      </div>
			</td>
          </tr>
</table>	
<!--侧栏左 结束-->

<%@include file="index_Bottom.jsp"%>
</body>
</html>

<%
RsSiteConfig.close(); //关闭记录集对象
stmt.close(); //关闭语句对象
//*********** 数据库关闭代码 ************
conn.close(); //关闭连接对象
%>

⌨️ 快捷键说明

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