[if ...]...[/if]
[if1 ...]...[/if1]
$tpl->set( '{title}', str_replace("&", "&", htmlspecialchars( $row['title'], ENT_QUOTES, $config['charset'] ) ) );
$tpl->set( '{title.lowercase}', str_replace("&", "&", htmlspecialchars( mb_strtolower($row['title'], $config['charset']), ENT_QUOTES, $config['charset'] ) ) );
[title]Скачать {title} для [cat-tag id="9,10,19-44,101,102" sub="no"]Симс 4[/cat-tag][cat-tag id="53,55,56,57,66,70,74,77-100" sub="no"]Симс 3[/cat-tag][/title]
$key == 'header_title' && $metatags[$key] = mb_strtolower($metatags[$key], $config['charset']);
$metatags[$key] = trim(strip_tags($meta_found[2]));
$key == 'title' && $metatags[$key] = mb_strtolower($metatags[$key], $config['charset']);
! empty ( $metatags['title'] ) && $metatags['title'] = mb_convert_case( $metatags['title'], MB_CASE_LOWER, $config['charset'] ); ! empty ( $metatags['title'] ) && $metatags['title'] = mb_convert_case( $metatags['title'], MB_MB_CASE_TITLE, $config['charset'] );