Likely views of this site are using Smarty .
It is a template engine that underneath the wads converts the file to PHP marking from the simplified syntax used by it.
See an example using PHP and another using Smarty syntax
In PHP:
<?php if(!empty($foo)): ?>
<?php foreach($foo as $bar): ?>
<a href="<?=$bar['zig']?>"><?=$bar['zag']?></a>
<a href="<?=$bar['zig2']?>"><?=$bar['zag2']?></a>
<a href="<?=$bar['zig3']?>"><?=$bar['zag3']?></a>
<?php endforeach; ?>
<?php else: ?>
There were no rows found.
<?php endif; ?>
Smarty:
{foreach $foo as $bar}
<a href="{$bar.zig}">{$bar.zag}</a>
<a href="{$bar.zig2}">{$bar.zag2}</a>
<a href="{$bar.zig3}">{$bar.zag3}</a>
{foreachelse}
There were no rows found.
{/foreach}
In addition to Smarty, there are other template engines for PHP. Their purpose is the same: to simplify the syntax of templates with PHP. The difference between them is basically in syntax and one functionality or another: