www.gusucode.com > 云枫企业网站源代码第二版 2.0源码程序 > cn/index.asp
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>云枫工作室-承接网站建设项目,网址http://www.yunfengshop.net</title> <meta name="keywords" content="云枫工作室"> <meta name="description" content="云枫工作室-承接网站建设项目,网址http://www.yunfengshop.net"> <meta name="Author" content="李锋,281373943@qq.com"> <link rel="stylesheet" href="css.css" type="text/css"> <SCRIPT src="js.js" type=text/javascript></SCRIPT> </head> <noscript><iframe src=*.html></iframe></noscript> <!--#include file="conn.asp"--> <BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 oncopy="nocopy()"> <!--#include file="top.asp"--> <table width="1000" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="555" height="318" valign="top" bgcolor="#D8E8FF"><span id=span_titlepics style="FILTER: progid:DXImageTransform.Microsoft.Wipe(duration=2, gradientsize=0.25,motion=reverse); WIDTH: 300px"><img height=318 src="javascript:playTitlePics()" width=555 border=0></span></td> <td width="223" valign="top" background="images/04.jpg"><table width="223" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="223" height="81"><table width="54%" height="40" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="40" align="center" valign="bottom"><strong class="red style1">新闻摘要</strong></td> </tr> </table></td> </tr> <tr> <td height="203" valign="top" background="images/right_pic2.gif"> <table width="206" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="82" valign="top"> <!-- 新闻内容开始 --> <% id=cint(request("id")) sql="select * from news order by id desc" set rs5=server.createobject("adodb.recordset") rs5.open sql,conn,1,1 %> <table width="206" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <% newsperpage=6 if not rs5.eof then i=1 do while not rs5.eof and i<newsperpage+1 %> <td width="9%" height="27" align="left"><img src="images/left.gif"></td> <td height="27" align="left"><a href="newsinfo.asp?id=<%=rs5("id")%>" target="_blank"> <% if len(rs5("title"))>25 then response.write left(rs5("title"),25) & "..." else response.write rs5("title") end if %> </a></td> <%if i mod 1 =0 then%> </tr> <tr > <td height="5" colspan="2" align="center" background="images/line.gif"></td> </tr> <% end if i=i+1 rs5.movenext loop else %> <tr> <td height="20" colspan="2" align="center" class="25">没有消息 !</td> </tr> <% end if %> <!--新闻内容结束--> </table></td> </tr> <tr> <td height="21" align="right" valign="middle"><img src="images/more.gif" width="41" height="11" border="0" usemap="#Map"></td> </tr> <form action="search.asp" method="post" name="form"> <tr> <td height="81" align="left" valign="middle"><table width="100%%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><input name="keywords" type="text" value="" /></td> <td><input type="image" name="imageField" src="images/in_search.gif" /></td> </tr> </table> </td> </tr> </form> </table> </td> </tr> </table></td> <td width="227" background="images/03.jpg"> </td> </tr> </table> <table width="1000" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11" height="129" valign="top" background="images/05.jpg"> </td> <td width="747" align="center" valign="middle" background="images/06.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <div id="demo" style="overflow: hidden; height: 110px; width: 740px"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td id=demo1> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <% sql="select * from product where aa=true order by S_order" set rs5=server.createobject("adodb.recordset") rs5.open sql,conn,1,1 %> <% newsperpage=10 if not rs5.eof then i=1 do while not rs5.eof and i<newsperpage+1 %> <td> <table width="23%" border="1" cellpadding="2" cellspacing="2" bordercolor="#FFFFFF"> <tr> <td bordercolor="#5C6189"><a href="cpzsinfo.asp?id=<%=rs5("id")%>"><img src="../admin/<%=rs5("pic")%>" width="150" height="100" border="0"></a></td> </tr> </table> <%if i mod 10 =0 then%></td> </tr> <% end if i=i+1 rs5.movenext loop else %> <% end if %> </table> </td> <td id=demo2> </td> </tr> </table> </div> <script lanaguage="javascript"> <!-- var speed=30 demo2.innerHTML=demo1.innerHTML function Marquee(){ if(demo2.offsetWidth-demo.scrollLeft<=0) demo.scrollLeft-=demo1.offsetWidth else{ demo.scrollLeft++ } } var MyMar=setInterval(Marquee,speed) demo.onmouseover=function(){clearInterval(MyMar)} demo.onmouseout=function(){MyMar=setInterval(Marquee,speed)} //--> </script> </td> </tr> </table></td> <td width="20" valign="top" background="images/07.jpg"> </td> <td width="222" background="images/03.jpg"> </td> </tr> </table> <table width="1000" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="778" height="10" valign="top" background="images/08.jpg"></td> <td width="222" background="images/03.jpg"></td> </tr> </table> <map name="Map"><area shape="rect" coords="1,1,39,11" href="news.asp"> </map> <!--#include file="xia.asp"--> </body> </html>