SQL语句:SELECT TOP 15 ID,FolderName,TS,TN FROM KS_Class Where TopFlag=1 and TN='0' and ID not in('20093824078814','20090838299584','20098925672717') ORDER BY FolderOrder
循 环 体:
<div id="menubox">
<ul id="dleft_tab1">
[loop=15]
<div class="left_menu" id="td_{$AutoID}" onClick="javascript:switchShow({$AutoID},1);" height=26> <a href="javascript:">{$Field(FolderName,Text,0,...,0,)}</a></div>
<div class="hid" id="subTable{$AutoID}" style="WIDTH: 100%">
{$IF("{$Field(FolderName,Text,0,...,0,)}"="教学工作"|| <li><a href='{$Field(ID,GetInfoUrl,100,1)}'>{$Field(FolderName,Text,0,...,0,)}</a></li>||<li>{$Field(FolderName,Text,0,...,0,)}<li>)}
</div>
[/loop]
</ul>
</div>
哪里错误呀?