<div {if $mod.css_prefix!=''} class="module {$mod.css_prefix}" {else} class="module"{/if}>
    {if $mod.showtitle neq 0}
        <div {if $mod.css_prefix!=''} class="modtitlewrap {$mod.css_prefix}" {else} class="modtitlewrap"{/if}>
        <div {if $mod.css_prefix!=''} class="moduletitle {$mod.css_prefix}" {else} class="moduletitle"{/if}>
        <div {if $mod.css_prefix!=''} class="moduletitle1 {$mod.css_prefix}" {else} class="moduletitle1"{/if}>
            {$mod.title}
            {if $cfglink}
                <span class="fast_cfg_link">
                    <a href="javascript:moduleConfig({$mod.module_id})" title="Настроить модуль">
                        <img src="/templates/octopus/images/icons/settings.png"/>
                    </a>
                </span>
            {/if}
        </div>
        </div>
        </div>
    {/if}
    
    <div {if $mod.css_prefix!=''} class="modulebody {$mod.css_prefix}" {else} class="modulebody"{/if}>
   <div {if $mod.css_prefix!=''} class="modulebody1 {$mod.css_prefix}" {else} class="modulebody1"{/if}>
   <div {if $mod.css_prefix!=''} class="modulebody2 {$mod.css_prefix}" {else} class="modulebody2"{/if}>
   <div {if $mod.css_prefix!=''} class="modulebody3 {$mod.css_prefix}{if $mod.showtitle neq 0} padded{/if}" {else} class="modulebody3 {if $mod.showtitle neq 0} padded{/if}"{/if}>
    {$mod.body}
   
</div>
</div>
</div>
</div>
</div>
