📄 case.asp
字号:
<!--#include file="Inc/SysProduct.asp" -->
<!--#include file="inc/Skin_css.asp"-->
<%
HeadTitle="成功案例"
%>
<!-- #include file="Head.asp" -->
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="5" valign="top" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="72" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="276"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="tdbg_left" width="190" height="179" valign="top" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="34" class="title_left"> <img src="Images/smallbook.jpg" width="10" height="10"> <span class="Regester_title">客户案例</span></td>
</tr>
<tr>
<td height="5"></td>
</tr>
<tr>
<td height="10"><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<%
set rs_Case=server.createobject("adodb.recordset")
sqltext="select top 8 * from 0791idc_Case order by id desc"
rs_Case.open sqltext,conn,1,1
%>
<% Do While Not rs_Case.EOF%>
<TR >
<TD height=25 colspan="1"> <strong><img src="Images/arrow_down.gif" width="16" height="15" /></strong> <a href="<%=rs_Case("website")%>" target="_blank"><%=left(rs_Case("title"),11)%></a>
</td>
</TR>
<TR>
<TD height=1 background= "Skins/Default/CnImg/1x1_pix.gif" ></TD>
</TR>
<%
rs_Case.MoveNext
Loop
rs_Case.close
%>
<TR>
<TD height=15 ></TD>
</TR>
</TABLE></td>
</tr>
<tr>
<td height="5"></td>
</tr>
</table></td>
<td width="6"></td>
<td valign="top"><table Class=border width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="206" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="title_right" height="32"> <img src="Images/smallbook.jpg" width="10" height="10"> <span class="Regester_title">客户案例</span></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="32" valign="top"><img src="Images/yytop_left.gif" width="32" height="315"></td>
<td width="506" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="6%"> </td>
<td width="94%"><a href="/">首 页</a> >>
<span class="Regester_title">客 户 案 例</span></td>
</tr>
<tr>
<td height="10"> </td>
<td > </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%
set rs=server.createobject("adodb.recordset")
sqltext="select * from 0791idc_Case order by id desc"
rs.open sqltext,conn,1,1
dim MaPerPage
MaPerPage=9
dim text,checkpage
text="0123456789"
Rs.PageSize=MaPerPage
for i=1 to len(request("page"))
checkpage=instr(1,text,mid(request("page"),i,1))
if checkpage=0 then
exit for
end if
next
If checkpage<>0 then
If NOT IsEmpty(request("page")) Then
CurrentPage=Cint(request("page"))
If CurrentPage < 1 Then CurrentPage = 1
If CurrentPage > Rs.PageCount Then CurrentPage = Rs.PageCount
Else
CurrentPage= 1
End If
If not Rs.eof Then Rs.AbsolutePage = CurrentPage end if
Else
CurrentPage=1
End if
call showpages
call list
If Rs.recordcount > MaPerPage then
call showpages
end if
'显示帖子的子程序
Sub list()%>
<tr>
<td align="center" ><TABLE width="97%" border=0 cellPadding=2 cellSpacing=0>
<%i=1 %>
<TR>
<TD height="280" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<%i=1 %>
<TR>
<% Do While Not rs.EOF%>
<TD> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="38%" rowspan="4">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="bottom" ><img src="Images/case_left.gif" width="10" height="85"></td>
<td align="center" style="border: 1px solid #eeeeee"><a href="<%=rs("img")%>" target="_blank"><img src="<%=rs("img")%>" alt="<%=rs("title")%>" width=165 height=121 border="0"></a></td>
<td align="center" valign="bottom" ><img src="Images/case_right.gif" width="10" height="85"></td>
</tr>
</table></td>
<td height="20" colspan="2" bgcolor="#F1F1F1"><strong>·客户名称:</strong><%=rs("title")%></td>
</tr>
<tr>
<td width="28%" height="20"><strong>·所属类型:</strong><%=rs("cnClass")%>
</td>
<td width="40%" height="20"><strong>·开发周期:</strong><%=rs("times")%>个工作日</td>
</tr>
<tr>
<td height="20" colspan="2">
<strong>·浏览网站:</strong><a href="http://<%=rs("website")%>" target="_blank"><%=rs("website")%></a></td>
</tr>
<tr>
<td colspan="2" valign="top">
<strong>·案例简介:</strong><%=left(rs("Content"),50)%>.....</td>
</tr>
<tr>
<td height="10" colspan="3" align="center" ><table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height='12'></td>
</tr>
<tr>
<td height="1" background=Skins/Default/CnImg/1x1_pix.gif>
</td>
</tr>
<tr>
<td height='12'></td>
</tr>
</table></td>
</tr>
</table></td>
<% if i mod 1 =0 then%>
</TR>
<tr>
<%end if%>
<%
'rs.MoveNext
'i=i+1
'Loop
'end sub
%>
<%
i=i+1
if i >= 10 then exit do
rs.MoveNext
loop
end sub
%>
</tr>
</table></TD>
</tr>
<TR>
<TD height=20 colspan="3" align="center" bgcolor="#FCFCFC">
<%
Response.write "<strong>-> 全部-"
Response.write "共" & "<font color=#FF0000>" & Cstr(Rs.RecordCount) & "</font>" & "条信息</font></strong> "
Response.write "<strong>第" & "<font color=#FF0000>" & Cstr(CurrentPage) & "</font>" & "/" & Cstr(rs.pagecount) & "</font></strong> "
If currentpage > 1 Then
response.write "<strong><a href='Case.asp?&page="+cstr(1)+"'>首页</a><font color='#ffffff'> </font></strong>"
Response.write "<strong><a href='Case.asp?page="+Cstr(currentpage-1)+"'>上一页</a><font color='#ffffff'> </font></strong>"
Else
Response.write "<strong>上一页 </font></strong>"
End if
If currentpage < Rs.PageCount Then
Response.write "<strong><a href='Case.asp?page="+Cstr(currentPage+1)+"'>下一页</a><font color='#ffffff'> </font>"
Response.write "<a href='Case.asp?page="+Cstr(Rs.PageCount)+"'>尾页</a></strong> "
Else
Response.write ""
Response.write "<strong>下一页</strong> "
End if
%>
</TD>
</TR>
</TABLE></td>
</tr>
</table></td>
<td width="40" valign="top"><img src="Images/yytop_right.gif" width="32" height="263"></td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<%
rs.close
set rs=nothing
%>
<!-- #include file="Inc/Foot.asp" -->
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -