[!] [text]v=On[/text] [include vars.inc] [/!] [include body_tag.inc] [text]page_title=Edit Additional Pages[/text] [text]helpid=edit_additional_pages[/text] [include banner.inc] [text]hColor=#CCFFFF[/text] [!]=====================================================================[/!] [!] Process forms [/!] [!]=====================================================================[/!] [showif [mode]=Delete] [Delete db=pages.db&eqRANKdatarq=[Rank]] [commitdatabase db=pages.db] [redirect additional.tpl] [/showif] [showif [action]=Update] [replace db=pages.db&eqRankdatarq=[Rank]&append=T]PAGENAME=[__PAGENAME]&PAGESTYLE=[__PAGESTYLE][/replace] [/showif] [!]---------------------------------------------------------------------[/!] [!] Show Form [/!] [!]---------------------------------------------------------------------[/!] [showif [mode]=edit] [Search db=pages.db&eqRankdatarq=[Rank]&max=1] [FoundItems] [Text]__PAGENAME=[pagename][/Text] [Text]__PAGESTYLE=[pagestyle][/Text] [/FoundItems] [/search] [/showif]

Page Name: [__PAGENAME]
Page Style: [__PAGESTYLE]

[!]---------------------------------------------------------------------[/!] [!] Show all paragraphs [/!] [!]---------------------------------------------------------------------[/!] [search db=pages.db&eqRANKdata=[Rank]&asPARAGRAPHRANKsort=1] [Text]RecordCnt=[numFound][/text] [Showif [numFound]=0] [/Showif] [Founditems] [/Founditems]
Header Text/Paragraph Delete
None
[HeaderText] [showif [RecordCnt]=1]
[/Showif] [showif [RecordCnt]!1] Delete [/Showif]
   [Paragraph]
[/search]

[showif [action]![Raw][action][/Raw]] [include last_updated.inc] [/showif]