II. PHÂN TíCH Và THIếT Kế CƠ Sở Dữ LIệU 1.Sơ đồ liên kết các thực thể (ERDiagram)
CHƯƠNG III: PHẦN THIẾT KẾ MÃ NGUỒN Trang giao diện người sử dụng.
Trang giao diện người sử dụng.
Nhµ qu¶n trÞ Trang qu¶n lý giíi thiÖu Trang qu¶n lý logo-banner WEB SERVER ( Trang Default.asp) Trang
Login.asp Trang qu¶n lýaccount
Trang qu¶n lý th«ng tin kh¸ch hµng Trang qu¶n lý chuyªn môc s¶n phÈm Trang qu¶n lý s¶n phÈm Trang qu¶n lý qu¶ng c¸o Trang qu¶n lý th«ng b¸o Trang qu¶n lý chuyªn môc
Long
Long
Long
Long
Long
Trang quản lý dữ liệu
<%
Long
duongdan="provider=microsoft.jet.OLEDB.4.0 ; data source=" & server.mappath("database\data.mdb")
ketnoi.open duongdan %>
Xem tiếp_nội dung
<!--#include file="ketnoidl.asp"--> <% chiso=cint(request.querystring("loainoidung")) %> <% set banghi_noidung=server.createobject("ADODB.recordset")
SQL_noidung="SELECT * FROM SANPHAM WHERE id="&chiso banghi_noidung.open SQL_noidung,ketnoi,1,3
%> <html> <head>
<meta http-equiv="Content-Language" content="vi">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>New Page 1</title>
<LINK href="main.css" type=text/css rel=stylesheet> </head>
<body>
<div align="center"> <center>
Long
<table border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"> <tr>
<td width="100%" bgcolor="#C0C0C0"><p align="center"><span lang="en-us"> </span></td> </tr> <tr> <td width="100%"> </td> </tr> <tr> <td width="100%" align="center"> <a href="xemanh.asp?chiso=<%=banghi_noidung.fields("id")%>"> <img border="0" src="<%=banghi_noidung.fields("ddanh_sanpham") %>" width="250" align="center" height="175"></a></td>
</tr> <tr> <td width="100%"> </td> </tr> <tr> <td width="100%"> <p align="center"> <%=banghi_noidung.fields("gioithieu") %></td> </tr>
Long
<td width="100%">
<p align="center"><font color="#FF0000"><span lang="en-us"> < %=banghi_noidung.fields("tt_sanpham")%></span></font> </tr> <tr> <td width="100%"> <div align="right"> <tr> <td width="100%"> </td> </tr> </table> <p align="center"> </p>
<p align="center"><span lang="en-us"><font color="#800000"> <a href="javascript:history.back(-1)">Quay lai trang
truoc</a></font> &n bsp;
<a href="#top">l</a><font color="#800000"><a href="#top">en dau</a></font></span></p>
</body> </html>
Xem tiếp_tỡm kiếm
<!--#include file ="ketnoidl.asp"--> <%
chiso=cint(request.querystring("id"))
set banghi_timkiem=server.createobject("ADODB.recordset") SQL_timkiem="SELECT * FROM sanpham where id="&chiso
Long
banghi_timkiem.open SQL_timkiem,ketnoi,1,3 %>
<html> <head>
<meta http-equiv="Content-Language" content="vi">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>chuong trinh thiet ke website ...</title>
<LINK href="main.css" type=text/css rel=stylesheet> </head>
<body>
<div align="center"> <center>
<table border="0" cellpadding="0" cellspacing="0" width="758" > <tr>
<td width="758" align="center" colspan="3"><!--#include file="tren.asp"--></td>
</tr> <tr>
<td width="139" align="center" valign="top" bgcolor="#6699FF"><!-- #include file="trai.asp"--></td>
<td width="465" align="center" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"> <tr>
Long
<td width="64%" align="center"><span lang="en-us">< %=banghi_timkiem.fields("gioithieu")%></span> </td> <td width="18%" align="center"> </td> </tr> <tr> <td width="19%" align="center"> </td> <td width="64%" align="center"> </td> <td width="18%" align="center"> </td> </tr> <tr> <td width="19%" align="center"> </td>
<td width="64%" align="center"><span lang="en-us"><
%=banghi_timkiem.fields("tt_sanpham")%></span> </td> <td width="18%" align="center"> </td>
</tr> </table> </td>
<td width="155" align="center" valign="top" bgcolor="#6699FF"><!-- #include file="phai.asp"--></td>
</tr> <tr>
<td width="758" align="center" colspan="3" valign="top"><!--#include file="duoi.asp"--></td>
</tr> </table> </center> </div>