update-rc.d的PKGBUILD 用于opkg安装时调用
2013-08-02 09:16
302 查看
很多时候,我们采用原始的方法来解决一行内循环3张图片,如果上传者只上传了2张图片,那么2张图片间的距离会很大,因为缺少了一个<td> </td>.
<table border="0" cellpadding="0" cellspacing="0">
<%
dim rs,sqltext
set rs = Server.CreateObject("adodb.recordset")
sqltext="select * from [bigclass]"
rs.Open sqltext,conn,1,1
m=1
colzs=5 '一行显示5列
if rs.RecordCount mod colzs=0 then
rowzs=int(rs.RecordCount/colzs)
else
rowzs=int(rs.RecordCount/colzs)+1
end if
for j = 1 to rowzs%>
<tr>
<%for i = 1 to colzs%>
<%if not rs.EOF then%>
<td><input type="checkbox" name="qxflag<%=m%>" value="1"><%=trim(rs("bigname"))%></td>
<%
rs.MoveNext
m = m + 1
else
%>
<td> </td>
<%end if%>
<%next%>
</tr>
<%
next
rs.Close
set rs = nothing
%>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<%
dim rs,sqltext
set rs = Server.CreateObject("adodb.recordset")
sqltext="select * from [bigclass]"
rs.Open sqltext,conn,1,1
m=1
colzs=5 '一行显示5列
if rs.RecordCount mod colzs=0 then
rowzs=int(rs.RecordCount/colzs)
else
rowzs=int(rs.RecordCount/colzs)+1
end if
for j = 1 to rowzs%>
<tr>
<%for i = 1 to colzs%>
<%if not rs.EOF then%>
<td><input type="checkbox" name="qxflag<%=m%>" value="1"><%=trim(rs("bigname"))%></td>
<%
rs.MoveNext
m = m + 1
else
%>
<td> </td>
<%end if%>
<%next%>
</tr>
<%
next
rs.Close
set rs = nothing
%>
</table>
相关文章推荐
- opkg-svn 的PKGBUILD和通过opkg在线安装制作rootfs的方法
- Microsoft Visual Studio 2012 Update 4 RC 3 离线安装程序
- ruby之——安装gem提示:Please update your PATH to include build tools or download the DevKit
- sourcery mentor公司的交叉工具链用于非硬件浮点PKGBUILD
- android 安装app 出现 pkg: /data/local/tmp/com.ksd.carcloud Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE
- apache安装问题:update-rc.d: using dependency based boot sequencing
- Microsoft Visual Studio 2012 Update 4 RC 3 离线安装程序
- opkg-utils的PKGBUILD文件,参考自OE的opkg-utils_git.bb
- cocopods install或update 安装或更新第三方库时,报The ... target overrides the 'OTHER_LDFLAGS' build setting....
- Microsoft Visual Studio 2012 Update 4 RC 3 离线安装程序
- Microsoft Visual Studio Ultimate 2013 Update 2 RC 英文版--离线完整安装ISO+简体中文语言包
- makedevs 的PKGBUILD 用于创建linux设备节点
- push的PKGBUILD 用于 eix-remote update
- pkgconfig问题,在安装rrdtool的时候,编译又这个问题
- AJAX.net 客户端JS调用服务端事件 UpdatePannel无刷新更新
- Redis安装及C# 调用。
- Microsoft Visual Studio 2013 Update 1 离线安装程序
- Android 调用已安装手机中的百度地图,高德地图。
- hibernate的update() 更新延迟或者无法更新,导致同个service调用存储过程执行方法不精确
- 【SQL Server 2000】Microsoft SQL Server 2000 Enterprise Edition 服务器组件在此操作系统上不受支持。只有客户端组件才可用于安装