{* *}{strip} {* *} {if $content === $smarty.const.CONTENT_MESSAGE_NO_PAGE|default:''} {$uri = $smarty.server.REQUEST_URI|default:''|lower} {$root = $root_dir|default:''|lower} {* *} {if $uri == $root|cat:'discount-sale'} {include 'common/discount-sale.htm' assign=v} {elseif $uri == $root|cat:'highlight-sale'} {include 'common/highlight-sale.htm' assign=v} {elseif $uri == $root|cat:'make-money' && empty($config->noRightMakeMoney)} {include 'common/make-money.htm' assign=v} {* *} {else} {include 'missing_template.htm' assign=v} {/if} {$content = $v scope=global} {else} {* *} {$v = preg_replace('/([~#:\+\[\]\{\}\(\)\?\.\$\^\|\\\\])/u', '\\\\$1', $smarty.const.CONTENT_MESSAGE_NO_MODULE|default:'')} {$v = '~^'|cat:($v|replace:'*':'[a-z0-9_]+')|cat:'$~iu'} {if preg_match($v, $content)} {* *} {include 'missing_template.htm' assign=v} {$content = $v scope=global} {/if} {/if} {/strip}