Version: 1.3
Http://asptemplate.sourceforge.net/
Variable definition:{Variable name }}
1. First, call the template class
2. Declare new template variables and create
Dim t
Set T = newAsptemplate
3. Set the template storage path. If not set, the default "templates /"
T. settemplatesdir (relative path)
4. Set the file to be used, which will be called from the previously set path
T. settemplatefile "layout.html"
5. Replace tags
T. setvariable "title", "ASP template example script 1"
6. You can append the TAG content.
T. APPEND "title", "-main page"
7. Replace tags with an external file
T. setvariablefile "content", "content.html"
8. start updating a block.
T. updateblock "menu_block"
9. It is enough to end a block once. block content can be replaced between start and end.
T. parseblock "menu_block"
10. Generate the page
T. parse
11. Release Variables
Set T = nothing