|
主题:请林总出山,出大事了 [收藏主题] |
也是把KS发挥到极限了,不能再复杂
在生成静态分页的时,内嵌SQL不识别,但动态时可以 静态不分页时也可以识别
在使用SQL两层内嵌生成静态分页时,无法识别内层SQL,但不分页时可以识别,在动态下均正常
状态如下: http://www.aqnanke.com/Html/list_579.html
外循环:select pho.id,pho.title,pho.photourl,pho.picturecontent,cls.foldername from ks_photo as pho,ks_class as cls where pho.tid in (Select ID From KS_Class Where DelTF=0 AND TS LIKE '%{$CurrClassID}%') and pho.tid=cls.id and pho.deltf=0 and pho.verific=1 order by pho.ks_order desc
[loop={$Param(0)}]<div class="m10">
内循环:select top {$Param(0)} id,foldername from ks_class where tn=(select id from ks_class where foldername='{$Param(1)}' and ts like '%20097665973953%' and channelid=1) order by folderorder
[loop=0]<a href="{$Field(id,GetInfoUrl,100,1)}" class="firstindex">{$Field(foldername,Text,0,...,0,)}</a>[/loop][loop=0]<a href="{$Field(id,GetInfoUrl,100,1)}">{$Field(foldername,Text,0,...,0,)}</a>[/loop] |
|
支持(0) | 反对(0) 顶端 底部 |
<上一主题 | 下一主题 > |