decodeProperties(array ( 'file_dependency' => array ( 'c0360d049dff10f364dfc53ba2cc3958abf6ee6d' => array ( 0 => './templates/index.tpl', 1 => 1323208095, 2 => 'file', ), 'dcf64f36a8afd5f887bb61bf9b6a5f77c9e60d5f' => array ( 0 => './configs/test.conf', 1 => 1323208095, 2 => 'file', ), '97c13ae6868bbc459509c9f1b968154acd23eecc' => array ( 0 => './templates/header.tpl', 1 => 1323208095, 2 => 'file', ), '3a4f6f0d327fc7bc3ea86f63906a1bf934ca50c7' => array ( 0 => './templates/footer.tpl', 1 => 1323208095, 2 => 'file', ), ), 'nocache_hash' => '12640292194ede8dc07d9679-56216527', 'variables' => array ( 'SCRIPT_NAME' => 0, 'Name' => 1, 'FirstName' => 0, 'LastName' => 0, 'contacts' => 0, 'option_values' => 0, 'option_selected' => 0, 'option_output' => 0, ), 'has_nocache_code' => true, 'version' => 'Smarty-3.1.6', 'unifunc' => 'content_4ede8dc0ac1cf', 'cache_lifetime' => 120, ),true); /*/%%SmartyHeaderCode%%*/?>
Title: Welcome To Smarty!
The current date and time is 2011-12-06 22:48:48
The value of global assigned variable $SCRIPT_NAME is /kunden/smarty/demo/index.php
Example of accessing server environment variable SERVER_NAME: localhost
The value of {$Name} is tpl_vars['Name']->value;?>
variable modifier example of {$Name|upper}
tpl_vars['Name']->value,SMARTY_RESOURCE_CHAR_SET);?>
An example of a section loop:
1 * John Doe
2 * Mary Smith
3 . James Johnson
4 . Henry Case
An example of section looped key values:
phone: 1
fax: 2
cell: 3
phone: 555-4444
fax: 555-3333
cell: 760-1234
testing strip tags
| This is a test |