ProductView.asp
资源名称:1.rar [点击查看]
上传用户:yrf020
上传日期:2007-07-24
资源大小:1287k
文件大小:7k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

HTML/CSS

  1. <!--#include file="Head.asp"-->
  2.   <div id="Bodyer_page">
  3.     <div id="Bodyer_banner_page"> <script type="text/javascript">
  4. <!--
  5. var focus_width=850
  6. var focus_height=190
  7. var text_height=0
  8. var swf_height = focus_height+text_height
  9. var pics='<%=pic%>'
  10. var links='<%=link%>'
  11. var texts='<%=texts%>'
  12. document.write('<object ID="focus_flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
  13. document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="../Include/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#000000">');
  14. document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
  15. document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
  16. document.write('<embed ID="focus_flash" src="../Include/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#000000" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
  17. document.write('</object>');
  18. //-->
  19. </script></div>
  20. <div id="Bodyer_left_page">
  21.       <div class="Bodyer_left_page_title"><img src="Images/Page_product.jpg" width="200" height="63"/></div>
  22.   <div class="Bodyer_left_page_menu"><%=WebMenu(0,0,3)%></div>
  23. </div>
  24. <div id="Bodyer_right_page">
  25.       <div class="Bodyer_right_page_location"><%=WebLocation()%></div>
  26.       <%=WebContent("CompanyCMS_Products",request.QueryString("ID"))%>
  27. </div>
  28.   </div>
  29. <%
  30. function WebMenu(ParentID,i,level)
  31.   dim rs,sql
  32.   set rs = server.createobject("adodb.recordset")
  33.   sql="select * from CompanyCMS_ProductSort where ViewFlag"&Language&" and ParentID="&ParentID&" order by ID asc"
  34.   rs.open sql,conn,1,1
  35.   if conn.execute("select ID from CompanyCMS_ProductSort Where ViewFlag"&Language&" and ParentID=0").eof then
  36.     response.write "鏆傛棤鐩稿叧淇℃伅"
  37.   end if
  38.   do while not rs.eof
  39. if ParentID=0 then
  40.   response.write "<a href=""ProductList.asp?SortID="&rs("ID")&""">"&rs("SortName"&Language)&"</a><br/>"
  41. else
  42.   response.write string(i,"銆