Prev |  | Next

### 1.4.2. General syntax

Templates are built using HTML code. Embedded in this HTML code, there can be template language statements. All template statements in the templates are surrounded by "{" and "}" characters. Here's a simple example of what a template could look like:

Example 1.2. Template example

    <html>
     <head>
    <title>{HTML_TITLE}</title>
     </head>
     <body>
    Your username is: {USER->username}

    {IF USER->username "george"}
      <b>Hello, George!</b>
    {/IF}
     </body>
    </html>

Prev | Up | Next
| Home |