毕业论文范文网-论文范文
电气工程 会计论文 金融论文 国际贸易 财务管理 人力资源 学前教育 德语论文 工程管理 文化产业 工商管理 会计专业 行政管理 广告学
机械设计 汉语文学 英语论文 物流论文 电子商务 法律论文 工商管理 旅游管理 市场营销 药学论文 播音主持 人力资源 金融论文 保险学
制药工程 生物工程 包装工程 模具设计 测控专业 工业工程 教育管理 行政管理 计算机论 电子信息 市场营销 法学论文 财务管理 投资学
体育教育 小学教育 印刷工程 土木工程 书法论文 护理论文 心理学论 信息管理 公共事业 给水排水 新闻专业 摄影专业 广电编导 经济学
  • 范文首页 |
  • 毕业论文 |
  • 论文范文 |
  • 计算机论文 |
  • 外文翻译 |
  • 工作总结 |
  • 工作计划 |
  • 现成论文 |
  • 论文下载 |
  • 教学设计 |
  • 免费论文 |
  • 原创论文 |
搜索 高级搜索

原创毕业论文

当前位置:毕业论文范文网-论文范文 -> 免费论文 -> 计算机论文

网上商城的设计与实现(六)

作者: 浏览:1910次
免费专业论文范文
免费专业论文
政治工作论文
计算机论文
营销专业论文
工程管理论文范文
医药医学论文范文
法律论文范文
生物专业论文
物理教学论文范文
人力资源论文范文
化学教学论文范文
电子专业论文范文
历史专业论文
电气工程论文
社会学专业论文
英语专业论文
行政管理论文范文
语文专业论文
电子商务论文范文
焊工钳工技师论文
社科文学论文
教育论文范文
数学论文范文
物流论文范文
建筑专业论文
食品专业论文
财务管理论文范文
工商管理论文范文
会计专业论文范文
专业论文格式
化工材料专业论文
英语教学专业论文
电子通信论文范文
旅游管理论文范文
环境科学专业论文
经济论文
人力资源论文范文
营销专业论文范文
财务管理论文范文
物流论文范文
财务会计论文范文
数学教育论文范文
数学与应用数学论文
电子商务论文范文
法律专业论文范文
工商管理论文范文
汉语言文学论文
计算机专业论文
教育管理论文范文
现代教育技术论文
小学教育论文范文
机械模具专业论文
报告,总结,申请书
心理学论文范文
学前教育论文范文

收费计算机专业论文范文
收费计算机专业论文
Delphi
ASP
VB
JSP
ASP.NET
VB.NET
java
VC
pb
VS
dreamweaver
c#.net
vf
VC++
计算机论文
毕业论文范文题目:网上商城的设计与实现(六),论文范文关键词:网上商城的设计与实现(六)
网上商城的设计与实现(六)毕业论文范文介绍开始:

  <%if Page=1 then%>
   <td><img src="Images/button.jpg"></td>
  <%else%>
   <td><a href="Main.asp?Page=1"><img src="Images/start.jpg" alt="第一家柜台"></a></td>
  <%end if%>
  </tr>
     <tr>
  <%if Page=1 then%>
   <td><img src="Images/button.jpg"></td>
  <%else%>
       <td><a href="Main.asp?Page=<%=page-1%>"><img src="Images/pageup.jpg" alt="上一家柜台"></a></td>
  <%end if%>
  </tr>
  <tr><td>第<font color="red">1-<%=4*Page%></font>家商柜</td></tr>
  <tr><td><a href="../eshop/index.asp" target="_top"><img src="Images/jump.jpg" alt="一键进入虚拟商场" border="0"></a></td><tr>
  
   </table>
   <table border="1" cellspacing="0" cellpadding="1">
     <tr><td><a href="LogOut.asp" target="_top"><img src="Images/exit.jpg" alt="退出购物广场" border="0"></a></td></tr>
   </table>
   <table border="1" cellspacing="0" cellpadding="1">
      <tr><td>共<font color="red"><%=MainRs.PageCount*MainRs.PageCount%></font>家商柜</td></tr>
      <tr>
       <%if Page=MainRs.PageCount then%>
      <td><img src="Images/button.jpg"></td>
    <%else%>
      <td><a href="Main.asp?Page=<%=Page+1%>"><img src="Images/pagedown.jpg" alt="下一家柜台"></a></td>
    <%end if%>
  </tr>
  <tr>
   <%if Page=MainRs.PageCount then%>
    <td><img src="Images/button.jpg"></td>
   <%else%>
   <td><a href="Main.asp?Page=<%=MainRs.PageCount%>"><img src="Images/end.jpg" alt="最后一家柜台"></a></td>
   <%
     end if
     end if
   %>
  </tr>
   </table>
   <!--右部切换店铺end-->
  </td>
  </tr>
 </table>
 <!--显示整个页面的表end-->
 </body>
 </html>
 
 Cult3DShow.asp  用来显示商品的三维实体
 <%
   picture=ViewRs("Cult3D")
 %>
 <div align="center">
 <table width="100%">
    <tr>
      <td align="left">
   <!--代码的解释:param 的代码是用在Internet Explorer里的;embed 的代码是用在 Netscape里的。所以要在两个地方都写一次Cult3D文件的属性-->
   <object classid="clsid:31B7EB4E-8B4B-11D1-A789-00A0CC6651A8"
 width="100" height="100" codebase="http://www.Cult3D.com/download/cult.cab">
 <param name="SRC" value="../eshop/Admin/Cult3D/<%=picture%>" >
 <embed pluginspage="http://www.Cult3D.com/download/"
 width="300" height="200" src="../eshop/Admin/Cult3D/<%=picture%>" type="application/x-Cult3D-object">
 </embed>
 </object>
   </td>
    </tr>
 <tr><td>&nbsp;</td></tr>
 <tr><td >如果您看不清旋转<br>物体请安装插件</td></tr>
 <tr><td>下载:<a href="../download/Cult3D_IE_5.3.0.228.exe">Cult3D_IE_5.3.0.228</a><br>大小:1.5M</td></tr>
 <table>
 </div>
 </body>
 </html>
 购买物品
 …
 <!--#include file="IsLogin.asp"-->
 <!--#include file="../eshop/ConnDB.asp"-->
 <%
   GoodsId=CInt(request("Id"))
 if request("Action")="buy" then
         if request("count")="" then
         count=1
 else
         count=request("count")
 end if
 if request("GoodsId")="" and request("GoodsName")="" then
         response.write"<SCRIPT language=java script>alert('您没有选择要购买的商品!返回!');"
 response.write"java script:history.go(-1)</SCRIPT>"
 response.end
 end if
 set Rs=server.createobject("adodb.recordset")
 sql="select * from Basket where GoodsId="&GoodsId&" and UserId='"&trim(session("UserId"))+"' and OrderCheck=0"
 Rs.open sql, Conn, 1, 3
 response.Write(sql)
 if Rs.eof then
         Rs.addnew
 Rs("GoodsId")=GoodsId
 Rs("UserId")=session("UserId")
 Rs("BasketGoodsNum")=CInt(count)
 Rs("OrderDateTime")=now()
 Rs("GoodsName")=request("GoodsName")
 Rs("Price")=request("Price")
 else
         Rs("BasketGoodsNum")=CInt(count)
 end if
 Rs.update
 Rs.close
 end if
 response.redirect "Basket.asp?Id="&GoodsId
  %>
 …
 Basket.asp购物车程序
 …
 <script language=java script>
 <!--
 function regInput(obj, reg, inputStr)
 {
         var docSel = document.selection.createRange()
         if(docSel.parentElement().tagName != "INPUT")return false
                 oSel = docSel.duplicate()
         oSel.text = ""
         var srcRange = obj.createTextRange()
         oSel.setEndPoint("StartToStart", srcRange)
         var str = oSel.text + inputStr + srcRange.text.substr(oSel.text.length)
         return reg.test(str)
 }
 function checkspace(checkstr)
 {
         var str = '';
         for(i = 0; i < checkstr.length; i++)
         {
                 str = str + ' ';
         }
         return(str == checkstr);
 }
 //-->
 </script>
 
 <body>
 <!--#include file="IsLogin.asp"-->
 <!--#include file="ConnDB.asp"-->
 …
 <%
 Sql="select * from Basket where UserId='"&session("UserId")&"' and OrderCheck=0"
 set Rs=server.createobject("adodb.recordset")
 Rs.open Sql, Conn, 1, 3
 if Rs.eof then
         %>
   <tr>
     <td height="25" colspan="5" align="center">你还没有选购任何商品</td>
    </tr>
 <%else
 do while not Rs.eof%>
    <tr>
      <td width="44" height="25">
 <div align="center"><a href="ClearBasket.asp?Id=<%=Rs("Id")%>">清除</a></div>
      </td>
      <td width="208" height="25"><%=Rs("GoodsName")%></td>
      <td width="88" height="25">
     <div align="center"><%=Rs("Price")%> 元</div>
     </td>
     <td width="75" height="25">
      <div align="center"><%=Rs("BasketGoodsNum")%> </div>
     </td>
 <%a=0%>
    <td width="95" height="25">
      <div align="center"><%=Rs("BasketGoodsNum")*Rs("Price")%> 元</div>
    </td>
 </tr>
 <%TotalCach=TotalCach+(Rs("BasketGoodsNum")*Rs("Price"))%>
 <%Rs.movenext
 loop
 end if
 Rs.close
 set Rs=nothing%>
   <tr>
    <td height="25" colspan="4">
     <div align="center">总计</div>
    </td>
 
   <td width="95" height="25">
     <div align="center"><font color=red><%=TotalCach%></font> 元</div>
   </td>
 </tr>
 </table>
 <table width="500" border="1" cellspacing="0" cellpadding="0" align="center" background="Images/menu.jpg">
 
  <tr>
   <td width="33%" align="center"><a href="ClearBasket.asp"><img src="images/relbcar.gif" width="100" height="20" border="0"></a></td>
    <td width="33%" align="center"><a href="Cash.asp"><img src="images/gobuy.gif" width="100" height="20" border="0"></a></td>
    <td width="33%" align="center"><input type="button" name="Submit2" value="继续购物" onClick="location.href='Index.asp'"></td>
  </tr>
 </table>
 <%
 if trim(request("Id"))="" then
    response.write"购物车已清空"
    response.redirect "MyBasket.asp"
    response.end
 end if
 Sql="select * from Goods where Id="&request("Id")
 set Rs=server.createobject("adodb.recordset")
 Rs.open Sql, Conn, 1, 3
 %>
 <br>
   <table width="500" border="1" cellspacing="0" cellpadding="0" align="center" background="Images/menu.jpg">
    <tr>
      <td height="27" align="center"> 本次所选购的商品信息 </td>
    </tr>
    <tr>
     <td height="16" align="center">
 <form method="POST" Action="Buy.asp?Action=buy&Id=<%=Rs("Id")%>&GoodsName=<%=Rs("GoodsName")%>">
 <table width="100%" border="1" cellspacing="0" cellpadding="0" align="center">
 <tr align="center">
     <td width="155" height="25"> 商品名称 </td>
     <td width="60" height="25"> 商品单价 </td>
     <td width="60" height="25"> 订购数量 </td>
     <td width="80" height="25"> 确认购买 </td>
 </tr>
 <tr align="center">
   <td width="155" height="30">
     <font color="#FF0000"><%=Rs("GoodsName")%></font>
   </td>
   <td width="60" height="30">
 <%If Rs("CX") Then
    ComPrice = Rs("CPrice")
    VipPrice = Rs("CPrice")
 else
    ComPrice=Rs("ComPrice")
    VipPrice=Rs("VipPrice")
 End If%>
 <%if session("Grade")="会员" then
   Price=Comprice
 response.write ComPrice
 elseif session("Grade")="VIP" then
   Price=VipPrice
   response.write(VipPrice)
 end if%>
   </td>
  <td><input type="hidden" name="Price" value="<%=Price%>"></td>
   <td width="60" height="30">
 <input type="text" name="count" size="5" value="1" onkeypress= "return regInput(this,/^[0-9]*$/, String.fromCharCode(event.keyCode))"onpaste = "return regInput(this, /^[0-9]*$/, window.clipboardData.getData('Text'))"ondrop= "return regInput(this, /^[0-9]*$/, event.dataTransfer.getData('Text'))">
   </td>
   <td width="80" height="30">
 <input name="B1" type="image" Id="B1" src="IMAGES/ok.gif" alt="确认购买" align="absMiddle" width="45" height="20" cache tppabs="">
   </td>
 </tr>
 </table>
 </form>
 </td>
 </tr>
 <%Rs.close
 set Rs=nothing%>
 …

首页 上一页 3 4 5 6 下一页 尾页 6/6/6


以上为本篇毕业论文范文网上商城的设计与实现(六)的介绍部分。
本论文在计算机论文栏目,由论文网(www.zjwd.net)整理,更多论文,请点论文范文查找

毕业论文降重 相关论文

收费专业论文范文
收费专业论文
汉语言文学论文
物理学论文
自动化专业论文
测控技术专业论文
历史学专业论文
机械模具专业论文
金融专业论文
电子通信专业论文
材料科学专业论文
英语专业论文
会计专业论文
行政管理专业论文
财务管理专业论文
电子商务国贸专业
法律专业论文
教育技术学专业论文
物流专业论文
人力资源专业论文
生物工程专业论文
市场营销专业论文
土木工程专业论文
化学工程专业论文
文化产业管理论文
工商管理专业论文
护理专业论文
数学教育专业论文
数学与应用数学专业
心理学专业论文
信息管理专业论文
工程管理专业论文
工业工程专业论文
制药工程专业论文
电子机电信息论文
现代教育技术专业
新闻专业论文
艺术设计专业论文
采矿专业论文
环境工程专业论文
西班牙语专业论文
热能与动力设计论文
工程力学专业论文
酒店管理专业论文
安全管理专业论文
交通工程专业论文
体育教育专业论文
教育管理专业论文
日语专业论文
德语专业论文
理工科专业论文
轻化工程专业论文
社会工作专业论文
乡镇企业管理
给水排水专业
服装设计专业论文
电视制片管理专业
旅游管理专业论文
物业管理专业论文
信息管理专业论文
包装工程专业论文
印刷工程专业论文
动画专业论文
环境艺术专业论文
信息计算科学专业
物流专业论文范文
人力资源论文范文
营销专业论文范文
工商管理论文范文
汉语言文学论文范文
法律专业论文范文
教育管理论文范文
小学教育论文范文
学前教育论文范文
财务会计论文范文

电子商务论文范文

上一篇:企业客户资源管理系统开题报告 下一篇:基于VB和Access的电信人事管理系..

最新论文

精品推荐

毕业论文排版

热门论文


本站简介 | 联系方式 | 论文改重 | 免费获取 | 论文交换

本站部分论文来自网络,如发现侵犯了您的权益,请联系指出,本站及时确认删除 E-mail:229120615@qq.com

毕业论文范文-论文范文-论文同学网(www.zjwd.net)提供计算机论文毕业论文,毕业论文范文,毕业设计,论文范文,毕业设计格式范文,论文格式范文

Copyright@ 2010-2024 zjwd.net 毕业论文范文-论文范文-论文同学网 版权所有