| <html> |
| <head> |
| <title>Config command examples </title> |
| </head> |
| <body bgcolor=white> |
| |
| |
| Setting errormsg using: <!--#config errmsg="..." --> <br> |
| <!--#config errmsg="errormsg: Sorry this command won't work." --> |
| |
| Trying to access non-existent "foo.shtml" using |
| <!--#fsize file="foo.shtml" --> |
| <br> |
| |
| <!--#fsize file="foo.shtml" --> |
| <br> |
| <br> |
| |
| Using <!--#config sizefmt="bytes" --> |
| <br> |
| This file ( index.shtml::size-> 2665) is |
| <!--#config sizefmt="bytes" --> |
| <!--#fsize file="index.shtml" --> |
| bytes in size. |
| |
| <br> |
| <br> |
| Setting sizefmt to abbrev using : <!--#config sizefmt="abbrev" --> |
| <br> |
| |
| |
| <!--#config sizefmt="abbrev" --> |
| |
| Size of file "index.shtml ( size->2665)" using sizefmt=abbrev -> |
| <!--#fsize file="index.shtml" --> |
| |
| <br> <br> |
| Size of file "saveindex.shtml(size->464)" using : <!--#fsize file="saveindex.shtml" --> -> |
| <!--#fsize file="saveindex.shtml" --> |
| <br><br> |
| |
| Size of file "check1.shtml(size->1000)" using : <!--#fsize file="check1.shtml" --> -> |
| <!--#fsize file="check1.shtml" --> |
| <br><br> |
| |
| Size of file "check2.html(size->1001)" using : <!--#fsize file="check2.html" --> -> |
| <!--#fsize file="check2.html" --> |
| <br><br> |
| |
| Size of file "check3.shtml(size->1499)" using : <!--#fsize file="check3.shtml" --> -> |
| <!--#fsize file="check3.shtml" --> |
| <br><br> |
| |
| Size of file "check4.shtml(size->1500)" using : <!--#fsize file="check4.shtml" --> -> |
| <!--#fsize file="check4.shtml" --> |
| <br><br> |
| |
| Size of file "check5.shtml(size->1501)" using : <!--#fsize file="check5.shtml" --> -> |
| <!--#fsize file="check5.shtml" --> |
| <br><br> |
| |
| Size of file "checkme ( size->1535)" using : <!--#fsize file"checkme" --> -> |
| <!--#fsize file="checkme" --> |
| <br><br> |
| |
| Size of file "check5.html(size->1536)" using : <!--#fsize file="check5.html" --> -> |
| <!--#fsize file="check5.html" --> |
| <br><br> |
| |
| Size of file "check55.html(size->1537)" using : <!--#fsize file="check55.html" --> -> |
| <!--#fsize file="check55.html" --> |
| <br><br> |
| |
| Size of file "check555.html(size->1538)" using : <!--#fsize file="check555.html" --> -> |
| <!--#fsize file="check555.html" --> |
| <br><br> |
| |
| Size of file "check5555.html(size->1539)" using : <!--#fsize file="check5555.html" --> -> |
| <!--#fsize file="check5555.html" --> |
| <br><br> |
| |
| Size of file "check6.shtml(size->1988)" using : <!--#fsize file="check6.shtml" --> -> |
| <!--#fsize file="check6.shtml" --> |
| <br><br> |
| |
| Size of file "check7.shtml(size->1999)" using : <!--#fsize file="check7.shtml" --> -> |
| <!--#fsize file="check7.shtml" --> |
| <br><br> |
| <p> |
| |
| |
| |
| |
| <FONT SIZE=+2 Color=blue> timefmt Tests : </FONT> |
| |
| <br> <br> |
| Using <!--#config timefmt="%A" --> |
| <!--#echo var="DATE_LOCAL" --> |
| <br> |
| Day -> <!--#config timefmt="%A" --> |
| <!--#echo var="DATE_LOCAL" -->, |
| <br> <br> |
| Using <!--#config timefmt="%d" --><br> |
| <!--#echo var="DATE_LOCAL" --> |
| <br> |
| Day of Month -> <!--#config timefmt="%d" --> |
| <!--#echo var="DATE_LOCAL" --> |
| |
| <br> <br> |
| Using <!--#config timefmt="%B" --><br> |
| <!--#echo var="DATE_LOCAL" --> |
| <br> |
| Month(full) -> <!--#config timefmt="%B" --> |
| <!--#echo var="DATE_LOCAL" --> |
| |
| <br> <br> |
| Using <!--#config timefmt="%b" --><br> |
| <!--#echo var="DATE_LOCAL" --> |
| <br> |
| Month(abbreviated) -> <!--#config timefmt="%b" --> |
| <!--#echo var="DATE_LOCAL" --> |
| |
| <br> <br> |
| Using <!--#config timefmt="%Y" --><br> |
| <!--#echo var="DATE_LOCAL" --> |
| <br> |
| Year -> <!--#config timefmt="%Y" |
| --> <!--#echo var="DATE_LOCAL" -->. |
| |
| <br> <br> |
| Using <!--#config timefmt="%W" --><br> |
| <!--#echo var="DATE_LOCAL" --> |
| |
| <br> |
| Week number of year as a decimal number: <!--#config timefmt="%W" --> |
| <!--#echo var="DATE_LOCAL" -->. |
| |
| </body> |
| </html> |