[include ainc/-Top.inc] [include ainc/-Side.inc] [include Ainc/title.inc] [text]keywords_pp=100[/text] [SQL dsn=[sql_dsn]&username=[sql_usr]&password=[sql_pwd]&statement= SELECT keyword, name FROM `search_terms` ORDER BY keyword LIMIT [hideif [startat]=[raw][startat][/raw]][math]([startat] - 1) * [keywords_pp][/math], [/hideif][keywords_pp]; ]
[founditems] [showif [index]=50]
[name]
  [/showif] [/founditems]
[/SQL]

[SQL dsn=[sql_dsn]&username=[sql_usr]&password=[sql_pwd]&statement= SELECT count(*) as total_keywords FROM `search_terms` ORDER BY keyword; ] [founditems] [loop start=1&end=[math]ceil( [total_keywords] / [keywords_pp] )[/math]] [hideif [startat]=[index]] [index] [/hideif] [showif [startat]=[index]] [index] [/showif] [/loop] [/founditems] [/SQL]

[include Ainc/Right.inc] [include Ainc/-footer.inc]