㈠ 網上購物系統源代碼
去網上下載,很多的!像 ShopEx EcShop HiShop 都是不要錢的!
㈡ 求一個 購物網站的靜態html頁面,不需要後台代碼。謝謝
我發你個工具吧 只下載單頁模板的 看好了 什麼網頁自己下吧
㈢ jsp網上購物系統代碼
看懂這個,就OK了,實現會員管理界面(會員查詢,刪除)
呵呵,注意下面兩點,我標志的
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@ page import="java.sql.*"%>
<%@ page import="Bean.QueryBean"%>
<jsp:useBean id="query" scope="page" class="Bean.QueryBean"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>
admincontrol
</title>
</head>
<%!
ResultSet rs=null;
String sql,login;
int code;
int pagesize=3;
int rowcount=0;
int pagecount=1,n;
int showpage=1;
%>
<script language="javascript">
function check_delete()
{if (confirm("你確定它刪除嗎?"))
return true;
else
return false;}
</script>
<body bgcolor="#ffffff">
<a href="index.jsp">返回首頁<a>
<table border="1" width="786" align="center"bordercolor="#FFFFFF" cellpadding="0" cellspacing="0"bordercolordark="#333333" bordercolorlight="#FFFFFF">
<tr>
<td width="786" align="center" colspan="6" height="32">用戶管理</td>
</tr>
<form name="form1" method="post" action="">
<tr>
<td width="18%" align="center"height="27">用戶ID</td>
<td width="17%" align="center"height="27">用戶名</td>
<td width="17%" align="center"height="27">用戶身份</td>
<td width="17%" align="center"height="27">注冊時間</td>
<td width="17%" align="center"height="27">管理</td>
</tr>
<%
sql="select * from userinfo order by addtime desc";//會員查詢
try
{
rs=query.executeQuery(sql);
if(!rs.next())
{
%>
<script language="javascript">
alert("沒有用戶信息");
</script>
<%
}else
{
rs.last();
rowcount=rs.getRow();
pagecount=((rowcount%pagesize)==0?(rowcount/pagesize):(rowcount/pagesize)+1);
String topage=request.getParameter("topage");
if(topage!=null)
{
showpage=Integer.parseInt(topage);
if(showpage>pagecount){
showpage=pagecount;
}else if(showpage<=0){
showpage=1;
}
}
rs.absolute((showpage-1)*pagesize+1);
for(int i=1;i<=pagesize;i++)
{
code=rs.getInt("id");
%>
<tr>
<td width="17%" align="center" height="27"><%=code%></td>
<td width="17%" align="center"height="27"><%=rs.getString("username")%></td>
<td width="17%" align="center"height="27"><%=rs.getString("logrole")%></td>
<td width="18%" align="center"height="27"><%=rs.getString("addtime")%></td>
<td width="17%" align="center"height="27"><a href="Userdel?id=<%=code%>" onclick="return check_delete();">刪除</a> </td>
</tr>//刪除功能
<%
if(!rs.next())
break;
}}
}catch(Exception e)
{out.println("查詢異常!!!");}
%>
<tr>
<td width="786" height="30" colspan="9" align="right">
<table width="786" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="786" height="30" colspan="6" align="right">
<div align="center">共<%=pagecount%>頁
<a href="admincontrol.jsp?topage=<%=1%>">第一頁</a>
<a href="admincontrol.jsp?topage=<%=showpage-1%>">上一頁</a>
<a href="admincontrol.jsp?topage=<%=showpage+1%>">下一頁</a>
<a href="admincontrol.jsp?topage=<%=pagecount%>">最後一頁</a>
</div>
</td>
</tr>
</table>
</td>
</tr>
</form>
</table>
</body>
</html>
希望對你能有所幫助。
㈣ 基於web的JSP網上購物系統源代碼。mysql資料庫與tomcat的環境下運行的。
application過程改一下:
Sub application() '申請專
Dim cid
cid = Trim(Request("cid"))
If cid = "" Then
Exit Sub
End If
Dim rs
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "Select * From client Where cid = " & cid,conn,3,2
If rs.RecordCount > 0 Then
屬dim rsg
Set rsg = Server.CreateObject("ADODB.Recordset")
rsg.Open "Select * From [user] Where uName = '" & OldUser & "'",conn,3,1
oldgroup= rsg("uGroup")
rsg.Close
㈤ jsp網上購物系統源代碼
題主這個是畢業設計吧 ,還是很簡單的,我這也有一些java體系的網上購物商城源碼,常見的技術框架都有涉及
題主可以從這些代碼里好好的學習一下mvc模式,以及資料庫設計,以及如果前後端怎麼聯調起來的
㈥ 基於web的JSP網上購物系統源代碼
JSP源碼:http://www.codepub.com/software/download-4-1.html
裡面有很多項目供你挑專選參考屬
㈦ 誰發我個html和CSS的商品購物網站的源代碼
找個購物網站,選文件->頁面另存為 或者乾脆直接ctrl+s就有了
㈧ 網上商城系統登錄頁面html代碼怎麼寫
<div>
<div>
<lable>賬號</lable>
<input placeholder="輸入你的賬號">
</div>
<div>
<lable>密碼</lable>
<input placeholder="輸入你的密碼">
</div>
<button>登錄</botton>
</div>
結構大致這樣 樣式內自己調了容