草窩兒
          我的地盤兒
          posts - 4,  comments - 13,  trackbacks - 0
           1<div id="orgsDiv">
           2    <c:set var="j" value="0" />
           3    <c:set var="type" value="" />
           4    <c:forEach items="${orgs}" var="org" varStatus="i">
           5        <c:if test="${type != org.type && i.index!=0}">
           6            <c:forEach begin="${j%4}" end="3">
           7                    <td width="25%">&nbsp;</td>
           8            </c:forEach>
           9            </tr>
          10            </table>
          11            <hr width="100%" style="border: 1px solid #cadae8; height: 1px">
          12        </c:if>
          13        <c:if test="${type != org.type }">
          14            <c:set var="j" value="0" />
          15            <table border="0" width="100%" cellpadding="0" cellspacing="0">
          16        </c:if>
          17        <c:if test="${j%4 == 0}">
          18            <tr>
          19        </c:if>
          20        <td width="25%">
          21            <html:multibox property="orgIds">${org.id}</html:multibox>
          22            <c:out value="${org.shortName}" />
          23        </td>
          24        <c:if test="${(i.last) || (j%4 == 3)}">
          25            <c:if test="${i.last}">
          26                <c:forEach begin="${i.index%4}" end="2">
          27                    <td width="25%">&nbsp;</td>
          28                </c:forEach>
          29            </c:if>
          30            </tr>
          31            <c:if test="${i.last}">                            
          32                </table>
          33            </c:if>    
          34        </c:if>
          35        <c:set var="j" value="${j+1}" />
          36        <c:set var="type" value="${org.type}" />
          37    </c:forEach>
          38</div>
          posted on 2008-01-18 16:14 芨芨草 閱讀(462) 評論(10)  編輯  收藏

          FeedBack:
          # re: 這邊再發(fā)段代碼試一下效果
          2008-01-18 16:37 | 芨芨草
          html 的代碼看著很舒服,還可以。  回復(fù)  更多評論
            
          # movie=http://xiaodi.any2000.com/x/i/xiaodi/fh/28.swf?mp3= 歌曲地址&g_url= 你的個(gè)人的照片地址 &titler=離我的生日&yy=2009&mm=1&dd=2&hh=0&autostart=1&autorepeat=1&]
          2008-05-14 21:58 | egtgn
          gnbfgngbn b  回復(fù)  更多評論
            
          # re: 這邊再發(fā)段代碼試一下效dfgd果
          2008-05-23 08:49 | dg
          gsdgdf  回復(fù)  更多評論
            
          # [movie=http://xiaodi.any2000.com/x/i/xiaodi/fh/28.swf?mp3=http://epys.com.cn/mpxj.mp3|http://epys.com.cn/mpxj.mp3&g_url=a/xintongdewufa/1192936814_0.45394900s.jpg&titler=神經(jīng)生日&yy=2009&mm=01&dd=05&hh=00&autostart=1&autorepeat
          2008-06-04 18:27 | 李森
          455445  回復(fù)  更多評論
            
          # re: 這邊再發(fā)段代碼試一下效果
          2008-10-11 10:15 | 阿浩
          我怎么不會1啊啊啊   回復(fù)  更多評論
            
          # http://home.51.com/xianwen12366
          2008-12-25 20:06 | 現(xiàn)穩(wěn)
          我的  回復(fù)  更多評論
            
          # http://home.51.com/xianwen12366
          2008-12-25 20:06 | 現(xiàn)穩(wěn)
          好啊  回復(fù)  更多評論
            
          # re: 這邊再發(fā)段代碼試一下效果
          2009-01-27 17:49 | 王曉君
          # 離路路生日還有
          2009-06-28 07:52 | 張路玉
          2反對黨方法的   回復(fù)  更多評論
            

          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          想讓草兒飛上天 ...

          <2025年6月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          常用鏈接

          留言簿

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          Hibernate

          Oracle

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 河源市| 崇义县| 霍州市| 紫金县| 揭西县| 佛教| 屏东县| 宜丰县| 渝中区| 林州市| 宁陕县| 襄汾县| 信丰县| 海阳市| 荥阳市| 临湘市| 大冶市| 陆河县| 东平县| 郁南县| 靖安县| 潢川县| 吉安县| 南皮县| 彰化市| 纳雍县| 郓城县| 朝阳区| 施甸县| 磐安县| 襄汾县| 汕尾市| 明溪县| 甘泉县| 杭州市| 隆回县| 思南县| 疏附县| 青田县| 社旗县| 宜州市|