{include file="blocks/header.tpl"}    

        <div class="header">
            <div class="wrapper">
                <br/>
                <div class="logo fleft">
                    <a href="{$config.url}" title="">
                        <img src="{$config.templateImagesDir}logo.png" alt="" />
                    </a>
                </div>
                <div class="menu">
                    <ul>
                        {foreach from=$menuItems key=k item=menuItem}
                            <li><a href="{$config.url}{$menuItem.link}" title="{$menuItem.title}">{$menuItem.title}</a></li>
                        {/foreach}
                    </ul>
                </div>
                <div class="clear"></div>
                <br/>
                <div class="h-spacer"></div>
                <div class="desc">{$config.description}</div>
            </div>
        </div>
        <div class="content">
            <div class="wrapper">
                {if $smarty.session.msg.text}
                    <div class="{if $smarty.session.msg.err}msgerr{else}msgok{/if}">
                        Message: {$smarty.session.msg.text}
                    </div>    
                {/if}

                {if $tplFileName && file_exists("`$config.currentTemplateDir`/$tplFileName.tpl")}
                        {include file="$tplFileName.tpl"}
                {elseif $link[0] && file_exists("`$config.currentTemplateDir`/$link[0].tpl")}
                        {include file="$link[0].tpl"}
                {elseif $link[0]}
                        {include file="displaypage.tpl"}
                {else}
                        {include file="start.tpl"}
                {/if}
            </div>
        </div>
        <div class="footer">
            <div class="links">
                <div class="wrapper">
                    <div class="column fleft">
                        <h3>EUROPE</h3>
                        <ul>
                            <li><a href="http://e-speedtest.com/" title="Speed Test">Speed Test</a></li>
                        </ul>
                    </div>
                    <div class="column fleft">
                        <h3>RUSSIA</h3>
                        <ul>
                            <li><a href="http://testskorosti.ru/" title="TestSkorosti.ru">TestSkorosti.ru</a></li>
                        </ul>
                    </div>
                    <div class="column fleft">
                        <h3>SPAIN</h3>
                        <ul>
                            <li><a href="http://speed-test.es/" title="Speed-Test.es">Speed-Test.es</a></li>
                        </ul>
                    </div>
                    <div class="column fleft">
                        <h3>INDIA</h3>
                        <ul>
                            <li><a href="http://speedtest.net.in/" title="SpeedTest.net.in">SpeedTest.net.in</a></li>
                        </ul>
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
            <div class="wrapper" style="text-align: center;">
                <br/>
                COPYRIGHT &copy; {$year} <a href="http://v-speed.eu" title="V-SPEED.EU">V-SPEED.EU</a> ALL RIGHTS RESERVED
                <br/><br/>
            </div>
        </div>    
      
{include file="blocks/footer.tpl"}