Difference between revisions of "HypertWiki:Code/lib/data"

From HypertWiki
Jump to navigation Jump to search
(some tidying)
(more tidying; remove debug code)
Line 243: Line 243:


<func ShowRecentBlogEntriesByTopic max topic>
<func ShowRecentBlogEntriesByTopic max topic>
  <let name=including val=1 />
   <let name=topic self with="_"> </let>
   <let name=topic self with="_"> </let>


Line 252: Line 250:
   <let name=sql append>') ORDER BY page_title DESC LIMIT </let>
   <let name=sql append>') ORDER BY page_title DESC LIMIT </let>
   <let name=sql append copy=max />
   <let name=sql append copy=max />
<echo>SQL 1: <get name=sql /></echo>


   <for sql=$sql>
   <for sql=$sql>
Line 272: Line 269:
     <let name=data />
     <let name=data />
   </for>
   </for>
</func>
</func>
</func>



Revision as of 18:06, 14 September 2011