Please help me. Will be work that sequence in template?
...
Code: Select all
<div>
{HEADER}
[PHP]
if(empty($content['CB']['HEADER'])
{echo ('<img src="i/himage_02.jpg" width="500" height="375" />');}
[/PHP]
<div>Code: Select all
<div>
{HEADER}
[PHP]
if(empty($content['CB']['HEADER'])
{echo ('<img src="i/himage_02.jpg" width="500" height="375" />');}
[/PHP]
<div>Code: Select all
[PHP]
echo empty($GLOBALS['content']['CB']['HEADER']) ? 'UNFILLED' : 'FILLED';
[/PHP]