<ul>
<loop from="1" to="#ArrayLen(GLOBAL.Def.Pages)#" index="x">
<var _Page = GLOBAL.Def.Pages[x]>
<if listFindNoCase(GLOBAL.Def.Prefs.spfpages,_Page.tag,"|#CHR(10)#")>
<li><a href="http://#this_domain#/p/#_Page.tag#" class="<if get.s1 EQ 'p' AND get.s2 EQ _Page.tag>selected</if>">#_Page.title#</a></li>
</if>
</loop>
</ul>