我想每页显示5行,每行显示5条信息,请问大侠,这该怎么修改? 20
<divclass="photo"><tablewidth="995"border="0"cellpadding="0"cellspacing="0"align="rig...
<div class="photo">
<table width="995" border="0" cellpadding="0" cellspacing="0" align="right">
<tr>
<%
do while not rs_baomu.eof
%>
<td>
<div class="div1">
<div class="p-img" align="center">
<a href="photo.asp"><img title='Hi...我叫<%=rs_baomu("bmname")%>,很高兴为你服务,我的技能是<%=rs_jn("jineng")%>......'alt='住家保姆。做家务'
<%if rs_baomu("photourl")<>"" then%>
src='images/baomu/<%=rs_baomu("photourl")%>'
<%else%>
src='images/baomu/noimage.jpg'
<%end if%>
width="" height="150" /></a>
</div>
<div class="jiesao">
<span>工号</span>:<%=rs_baomu("gonghao")%></br>
<span>类型</span>:<%if rs_baomu("lx")=true then response.write("住家") else response.write("钟点") end if%> <span>姓名</span>:<%=rs_baomu("bmname")%></br>
<span>学历</span>:<%=rs_xueli("xlname")%> <span>年龄</span>:<%=year(now())-year(rs_baomu("sr"))%>岁</br>
<span>经验</span>:<%=year(now())-left(rs_baomu("jingli"),4)%>年 <span>技能</span>:<%=rs_jn("jineng")%></br>
<span>籍贯</span>:<%=rs_baomu("jiguan")%></br>
<span>最近更新</span>:<%=rs_baomu("dakatime")%>
</div>
<div class="yuyue" align="center">
<%if rs_baomu("zt")=flase then%>
<a href="#"><img title="预约要快点哦......" src="images/yuyue.png" width="100" height="30" /></a>
<%else%>
<img title="不好意思我上岗了,请看看其他伙计吧......" src="images/yiping.png" width="100" height="30" />
<%end if%>
</div>
</div>
</td>
<%
rs_baomu.movenext
loop
%>
</tr>
</table>
</div> 展开
<table width="995" border="0" cellpadding="0" cellspacing="0" align="right">
<tr>
<%
do while not rs_baomu.eof
%>
<td>
<div class="div1">
<div class="p-img" align="center">
<a href="photo.asp"><img title='Hi...我叫<%=rs_baomu("bmname")%>,很高兴为你服务,我的技能是<%=rs_jn("jineng")%>......'alt='住家保姆。做家务'
<%if rs_baomu("photourl")<>"" then%>
src='images/baomu/<%=rs_baomu("photourl")%>'
<%else%>
src='images/baomu/noimage.jpg'
<%end if%>
width="" height="150" /></a>
</div>
<div class="jiesao">
<span>工号</span>:<%=rs_baomu("gonghao")%></br>
<span>类型</span>:<%if rs_baomu("lx")=true then response.write("住家") else response.write("钟点") end if%> <span>姓名</span>:<%=rs_baomu("bmname")%></br>
<span>学历</span>:<%=rs_xueli("xlname")%> <span>年龄</span>:<%=year(now())-year(rs_baomu("sr"))%>岁</br>
<span>经验</span>:<%=year(now())-left(rs_baomu("jingli"),4)%>年 <span>技能</span>:<%=rs_jn("jineng")%></br>
<span>籍贯</span>:<%=rs_baomu("jiguan")%></br>
<span>最近更新</span>:<%=rs_baomu("dakatime")%>
</div>
<div class="yuyue" align="center">
<%if rs_baomu("zt")=flase then%>
<a href="#"><img title="预约要快点哦......" src="images/yuyue.png" width="100" height="30" /></a>
<%else%>
<img title="不好意思我上岗了,请看看其他伙计吧......" src="images/yiping.png" width="100" height="30" />
<%end if%>
</div>
</div>
</td>
<%
rs_baomu.movenext
loop
%>
</tr>
</table>
</div> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询