📄 index.asp
字号:
<tr>
<td width="41" height="26" align="center"><strong><img src="Skins/Default/Cnimg/arrow_down.gif" width="16" height="15" /></strong></td>
<td width="223"><strong class="menu" >产 品 导 航-></strong></td>
<td width="93" align="center" id="A101" onClick="secBlue1(1);" class="gray-Selected">推荐产品</td>
<td width="4" align="center"><img src="Skins/Default/Cnimg/i_typeline.gif" width="1" height="18" /></td>
<td width="93" align="center" class="gray-Normal" id="A102" onClick="secBlue1(2);">产品分类</td>
<td width="4" align="center"><img src="Skins/Default/Cnimg/i_typeline.gif" width="1" height="18" /></td>
<td width="93" align="center" class="gray-Normal" id="A103" onClick="secBlue1(3);">产品搜索</td>
<td width="28" align="center"></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="5" >
<tr>
<td valign="top" style="line-height:170%">
<span id="tb_A101">
<!--------------------显示最新产品的子程序开始--------------------->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%
set rs_Product=server.createobject("adodb.recordset")
sqltext="select top 6 * From Hover_Product where Passed=True And Elite=True order by UpdateTime desc"
rs_Product.open sqltext,conn,1,1
%>
<tr align="center">
<%
If rs_Product.eof and rs_Product.bof then
response.write "<td><p align='center'><font color='#ff0000'>还没任何产品</font></p></td>"
else
row_count=1
Do While Not rs_Product.EOF%>
<td><table border="0" cellpadding="0" cellspacing="8" >
<tr>
<td width="38%" height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td align="center"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid #cccccc">
<tr>
<td align="center"><a href="Product_Show.asp?ArticleID=<%=rs_Product("articleid")%>"><img src=<%=rs_Product("DefaultPicUrl")%> width="153" height="153" border=0></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="22" align="center" bgcolor="#F5F5F5"><a href="Product_Show.asp?ArticleID=<%=rs_Product("articleid")%>"><%=rs_Product("Title")%></a></td>
</tr>
</table></td>
</tr>
</table></td>
<% if row_count mod 3 =0 then%>
</tr>
<tr>
<%end if%>
<%
rs_Product.MoveNext
row_count=row_count+1
Loop
end if
rs_Product.close
%>
</tr>
</table><!--------------------显示最新产品的子程序结束--------------------->
</span>
<span id="tb_A102" style="display:none;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td ><% call ShowAllClass() %></td>
</tr>
</table>
</span>
<span id="tb_A103" style="display:none;">
<TABLE width="100%" border=0 align="right" cellPadding=0 cellSpacing=0>
<TR>
<TD colspan="2" > <% call ShowSearchResult() %> </TD>
</TR>
<TR>
<TD width="85%" align="center" > <% call SearchResultTotal() %></TD>
<TD width="15%" align="right"> <a href="Search.asp" >更多>></a> </TD>
</TR>
</TABLE>
</span></td>
</tr>
</table></td>
</tr>
</table>
</td>
<td width="1" bgcolor="#CCCCCC"></td>
</tr>
</table></td>
<td valign="top"><table width="50%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"> </td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="26%" align="center" valign="top"><table width="100%" height="450" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="8"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="Skins/Default/Cnimg/newbg.jpg" bgcolor="#F6F6F6">
<tr>
<td width="12%" height="25" align="center"><img src="Skins/Default/Cnimg/arrow_down.gif" width="16" height="15"></td>
<td width="78%" ><strong><a href="Case.asp">最 新 案 例 >></a><a href="Faq.asp"></a></strong></td>
<td width="10%" align="center"> </td>
</tr>
</table></td>
</tr>
<tr align="center">
<td><!--------------------成功案例开始--------------------->
<%
set rs=server.createobject("adodb.recordset")
sqltext="select top 1 * from Hover_Case order by id desc"
rs.open sqltext,conn,1,1
%>
<table border="0" cellpadding="0" cellspacing="0">
<% Do While Not rs.EOF%>
<tr>
<td align="center"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="bottom" ><img src="Skins/Default/Cnimg/case_left.gif"></td>
<td align="center" style="border: 1px solid #DBDBDB"><a href="http://<%=rs("website")%>" target="_blank"><img src="<%=rs("img")%>" alt="<%=rs("title")%>" width="205" height="127" border="0"></a></td>
<td align="center" valign="bottom" ><img src="Skins/Default/Cnimg/case_right.gif"></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center"><a href="http://<%=rs("website")%>" target="_blank"><%=rs("title")%></a></td>
</tr>
<%
rs.MoveNext
Loop
rs.close
%>
</table>
<!--------------------典型案例结束---------------------> </td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="8" align="left" ><table width="100%" border="0" cellpadding="0" cellspacing="0" background="Skins/Default/Cnimg/newbg.jpg" bgcolor="#F6F6F6">
<tr>
<td width="12%" height="25" align="center"><img src="Skins/Default/Cnimg/arrow_down.gif" width="16" height="15"></td>
<td width="78%" ><strong><a href="Faq.asp">解 决 方 案 >></a></strong></td>
<td width="10%" align="center"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="160" valign="top"><!--------------------显示新闻的子程序开始--------------------->
<!-- -->
<%
flag="尚未处理"
set rs=server.createobject("adodb.recordset")
sqltext="select top 10 * from Hover_faq Order BY id desc"
rs.open sqltext,conn,1,1
'假如没有数据时
If rs.eof and rs.bof then
response.write "<p align='center'><font color='#ff0000'>还没任何新闻</font></p>"
else
%>
<%do while not rs.eof%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td height="20" valign="middle"> ·<a href="faqInfo.asp?id?id=<%=rs("id")%>" target="_blank"> <%=rs("title")%></a></td>
</tr>
<%
rs.movenext
loop
%>
</table>
<%
End if
rs.close
%>
<!--------------------显示新闻的子程序结束---------------------> </td>
</tr>
</table></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="49%" height="4"></td>
</tr>
<tr>
<td width="51%" height="8" colspan="2"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="Skins/Default/Cnimg/newbg.jpg" bgcolor="#F6F6F6">
<tr>
<td width="12%" height="25" align="center"><img src="Skins/Default/Cnimg/arrow_down.gif" width="16" height="15"></td>
<td width="78%" ><strong>在 线 调 查 >><a href="Faq.asp"></a></strong></td>
<td width="10%" align="center"> </td>
</tr>
</table></td>
</tr>
<tr align="center">
<td colspan="2"><TABLE cellSpacing=0 cellPadding=0 width="90%" align=center border=0>
<TBODY>
<TR>
<TD><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<TD align="center"><% call ShowVote() %></TD>
</tr>
</table></TD>
</TR>
</TBODY>
</TABLE></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<!-- #include file="Inc/Foot.asp" -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -