<table width="98%" height="123" border="0" cellpadding="0" cellspacing="3">
<tr>
<td width="41%"><div align="center">
<%
set rsimg=cnnDB.execute("select top 1 strfile from t_prize where project='最上镜女生' order by whatdate desc ")
if not(rsimg.eof and rsimg.bof) then
%>
<a href="UserList.asp?class=%D7%EE%C9%CF%BE%B5%C5%AE%C9%FA"><img src="admin/upfile/<%=rsimg("strfile")%>" width="98" height="104" border="0"></a> <%
else
%>
<img src="images/aa1.jpg" width="98" height="104">
<%
end if
rsimg.close
set rsimg=nothing
%>
</div></td>
<td width="59%" rowspan="2" valign="top"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><a href="UserList.asp?class=%D7%EE%C9%CF%BE%B5%C5%AE%C9%FA">首次女生贴纸相擂台赛开幕,美丽、可爱是你们的专利,展示你们风采的时候到了,KITTY熊在等待着她的主人....</a></td>
</tr>
<tr>
<td>
<%
'得到本期编号
dim tempid,total
total=0
tempid=0
set gno=cnnDB.execute("select top 1 ID from SetTitle where PerClass='每月' order by id desc ")
if not(gno.eof and gno.bof) then
tempid=gno("ID")
end if
if tempid<>0 then
set rstotal=cnnDB.execute("select count(*) as total from Baoming where WhatDate="&tempid&" and Project='最上镜女生'")
total=rstotal("total")
rstotal.close
set rstotal = nothing
end if
%>
现参加人数:<strong><font color="#990000"><%=total%><img src="images/wa.jpg" width="14" height="18"><br>
</font></strong><font color="#000000">总投票数:</font><font color="#990000"><strong>220
<img src="images/wa1.jpg" width="18" height="13">
<br>
</strong></font> <table width="100%" border="0" cellpadding="0" cellspacing="2">
<tr>
<td width="29%" rowspan="2"><img src="images/wa2.jpg" width="39" height="34"></td>
<td colspan="2">目前领先者:</td>
</tr>
<tr>
<td width="34%">小册子</td>
<td width="37%">一散人</td>
</tr>
</table>
<font color="#990000"><strong> </strong></font></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="90%" height="31" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#DDDDDD"> <p>擂台举办时间:<br>
每月1日-25日 </p></td>
</tr>
</table></td>
</tr>
</table>
<tr>
<td width="41%"><div align="center">
<%
set rsimg=cnnDB.execute("select top 1 strfile from t_prize where project='最上镜女生' order by whatdate desc ")
if not(rsimg.eof and rsimg.bof) then
%>
<a href="UserList.asp?class=%D7%EE%C9%CF%BE%B5%C5%AE%C9%FA"><img src="admin/upfile/<%=rsimg("strfile")%>" width="98" height="104" border="0"></a> <%
else
%>
<img src="images/aa1.jpg" width="98" height="104">
<%
end if
rsimg.close
set rsimg=nothing
%>
</div></td>
<td width="59%" rowspan="2" valign="top"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><a href="UserList.asp?class=%D7%EE%C9%CF%BE%B5%C5%AE%C9%FA">首次女生贴纸相擂台赛开幕,美丽、可爱是你们的专利,展示你们风采的时候到了,KITTY熊在等待着她的主人....</a></td>
</tr>
<tr>
<td>
<%
'得到本期编号
dim tempid,total
total=0
tempid=0
set gno=cnnDB.execute("select top 1 ID from SetTitle where PerClass='每月' order by id desc ")
if not(gno.eof and gno.bof) then
tempid=gno("ID")
end if
if tempid<>0 then
set rstotal=cnnDB.execute("select count(*) as total from Baoming where WhatDate="&tempid&" and Project='最上镜女生'")
total=rstotal("total")
rstotal.close
set rstotal = nothing
end if
%>
现参加人数:<strong><font color="#990000"><%=total%><img src="images/wa.jpg" width="14" height="18"><br>
</font></strong><font color="#000000">总投票数:</font><font color="#990000"><strong>220
<img src="images/wa1.jpg" width="18" height="13">
<br>
</strong></font> <table width="100%" border="0" cellpadding="0" cellspacing="2">
<tr>
<td width="29%" rowspan="2"><img src="images/wa2.jpg" width="39" height="34"></td>
<td colspan="2">目前领先者:</td>
</tr>
<tr>
<td width="34%">小册子</td>
<td width="37%">一散人</td>
</tr>
</table>
<font color="#990000"><strong> </strong></font></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="90%" height="31" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#DDDDDD"> <p>擂台举办时间:<br>
每月1日-25日 </p></td>
</tr>
</table></td>
</tr>
</table>
解决方案 »
- cookie怎么得到这种编辑的汉字%u5357%u660C
- 100分asp.net 分页打印
- asp.net 如何限定一个文本框只能输入形如http://www.……的网址?
- VS2010 asp.net调试运行时不能用IE访问调试页面
- 研究 microsoft enterprise library 时,遇到的问题。。
- 奇怪问题
- 承接各类ASP.net(C#)软件开发[成都]
- 有个问题好奇怪,treeview,menu你们用sitemap作数据源~~
- 如何获得DATAGRID里INPUT里的值(或是属性)呢?
- 我用c#建立了虚拟目录,可是在IIS里面看不见我所建立的虚拟目录?????
- 文章内容为何不能以正常格式显示?急!
- 如何用C#写组件用ASP调用?
if rsimg.eof=false and rsing.bof=true then
……
end if
set rsimg=nothing
这里错