function content_51f3dccd330343_74916793($_smarty_tpl)
    {
        if (!is_callable('smarty_cms_function_cms_stylesheet')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.cms_stylesheet.php';
        }
        if (!is_callable('smarty_function_global_content')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.global_content.php';
        }
        ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php 
        if (empty($_smarty_tpl->tpl_vars['lang']->value)) {
            ?>
en<?php 
        } else {
            echo $_smarty_tpl->tpl_vars['lang']->value;
        }
        ?>
" >
<head>
<title> - <?php 
        if (isset($_smarty_tpl->tpl_vars['newstitle']->value)) {
            echo $_smarty_tpl->tpl_vars['newstitle']->value;
        } else {
        }
        ?>
</title>


<?php 
        echo smarty_cms_function_cms_stylesheet(array(), $_smarty_tpl);
        ?>



<?php 
        echo smarty_function_cms_selflink(array('dir' => 'prev', 'rellink' => 1), $_smarty_tpl);
        ?>

<?php 
        echo smarty_function_cms_selflink(array('dir' => 'next', 'rellink' => 1), $_smarty_tpl);
        ?>


<!-- JAVASCRIPT CALLS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="/uploads/tpl-buddy-001/jquery.cycle.all.js" type="text/javascript"></script> 
<script src="/uploads/tpl-buddy-001/init.js" type="text/javascript"></script>
<!-- END JS CALLS -->


<!--[if IE 7]>
<style type="text/css">
#mainNav {margin:-60px 0 0;}
</style>
<![endif]-->



<!--[if lte IE 8]>
<style type="text/css">
#search input {padding: 8px 0 0;height:26px;}
</style>
<![endif]-->


</head>
<body>
    <a id="top"></a>

    <!-- TEMPLATE BLOCKS --> 

    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_slider']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_slider"])) {
                $_smarty_tpl->tpl_vars["display_slider"] = clone $_smarty_tpl->tpl_vars["display_slider"];
                $_smarty_tpl->tpl_vars["display_slider"]->value = "-";
                $_smarty_tpl->tpl_vars["display_slider"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_slider"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_slider"] = new Smarty_variable("-", null, 0);
            }
        }
        ?>
 
    <?php 
        $_smarty_tpl->_capture_stack[0][] = array('default', "galleryfolder", null);
        ob_start();
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>
    
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_breadcrumbs']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_breadcrumbs"])) {
                $_smarty_tpl->tpl_vars["display_breadcrumbs"] = clone $_smarty_tpl->tpl_vars["display_breadcrumbs"];
                $_smarty_tpl->tpl_vars["display_breadcrumbs"]->value = "+";
                $_smarty_tpl->tpl_vars["display_breadcrumbs"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_breadcrumbs"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_breadcrumbs"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
    
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_sidebar_menu']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_sidebar_menu"])) {
                $_smarty_tpl->tpl_vars["display_sidebar_menu"] = clone $_smarty_tpl->tpl_vars["display_sidebar_menu"];
                $_smarty_tpl->tpl_vars["display_sidebar_menu"]->value = "+";
                $_smarty_tpl->tpl_vars["display_sidebar_menu"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_sidebar_menu"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_sidebar_menu"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_search']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_search"])) {
                $_smarty_tpl->tpl_vars["display_search"] = clone $_smarty_tpl->tpl_vars["display_search"];
                $_smarty_tpl->tpl_vars["display_search"]->value = "+";
                $_smarty_tpl->tpl_vars["display_search"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_search"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_search"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_news']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_news"])) {
                $_smarty_tpl->tpl_vars["display_news"] = clone $_smarty_tpl->tpl_vars["display_news"];
                $_smarty_tpl->tpl_vars["display_news"]->value = "+";
                $_smarty_tpl->tpl_vars["display_news"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_news"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_news"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_news_slider']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_news_slider"])) {
                $_smarty_tpl->tpl_vars["display_news_slider"] = clone $_smarty_tpl->tpl_vars["display_news_slider"];
                $_smarty_tpl->tpl_vars["display_news_slider"]->value = "+";
                $_smarty_tpl->tpl_vars["display_news_slider"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_news_slider"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_news_slider"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_to_top']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_to_top"])) {
                $_smarty_tpl->tpl_vars["display_to_top"] = clone $_smarty_tpl->tpl_vars["display_to_top"];
                $_smarty_tpl->tpl_vars["display_to_top"]->value = "+";
                $_smarty_tpl->tpl_vars["display_to_top"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_to_top"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_to_top"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_footer_menu']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_footer_menu"])) {
                $_smarty_tpl->tpl_vars["display_footer_menu"] = clone $_smarty_tpl->tpl_vars["display_footer_menu"];
                $_smarty_tpl->tpl_vars["display_footer_menu"]->value = "+";
                $_smarty_tpl->tpl_vars["display_footer_menu"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_footer_menu"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_footer_menu"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_validation']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_validation"])) {
                $_smarty_tpl->tpl_vars["display_validation"] = clone $_smarty_tpl->tpl_vars["display_validation"];
                $_smarty_tpl->tpl_vars["display_validation"]->value = "+";
                $_smarty_tpl->tpl_vars["display_validation"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_validation"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_validation"] = new Smarty_variable("+", null, 0);
            }
        }
        $_smarty_tpl->_capture_stack[0][] = array('default', 'pagetitle', null);
        ob_start();
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>

    <!-- END TEMPLATE BLOCKS -->
    
    <!-- ACCESSIBILITY SKIP LINKS -->
    <ul class="accessibility">
      <li></li>
      <li><?php 
        echo smarty_function_anchor(array('anchor' => 'main', 'title' => 'Skip to content', 'accesskey' => 's', 'text' => 'Skip to content'), $_smarty_tpl);
        ?>
</li>
    </ul>
    <!-- END ACCESSIBILITY SKIP LINKS -->
    <hr class="accessibility" />
    
    <!-- NEWS SLIDER SCRIPT --> 
    <?php 
        if ($_smarty_tpl->tpl_vars['display_news_slider']->value == "+") {
            ?>
      <script src="/uploads/tpl-buddy-001/news-banner.js" type="text/javascript"></script>
    <?php 
        }
        ?>
    <!-- END NEWS SLIDER SCRIPT --> 
    
    <!-- HEADER -->
    <div id="headerWrapper">
      <div id="header" class="span-950">
        <div id="logo">
          <h1><a href="" title="<?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
"><img alt="<?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
" src="/uploads/tpl-buddy-001/logo.png" /></a></h1>
          <hr class="accessibility" />
        </div>
        
        <!-- TOP NAVIGATION -->
        <div id="mainNav"> 
          <h2 class="accessibility">Navigation</h2>
           
          <hr class="accessibility" />
        </div>
        <!-- END TOP NAVIGATION -->
        
      </div>
    </div> 
    <!-- END HEADER -->

    
    <!-- SLIDER -->
    <div id="sliderWrapper">
      <div class="bannerHolder">
        <ul id="bannerNav">
        </ul>
        <a href="#"><span id="prevBanner">Previous</span></a> 
        <a href="#"><span id="nextBanner">Next</span></a> 	
        
		   
        
      </div>
    </div>
    <!-- END SLIDER -->
    

    <!-- CONTENT -->
    <div id="contentWrapper">
      <?php 
        if ($_smarty_tpl->tpl_vars['display_slider']->value == "+") {
            ?>
        <div id="content" class="span-950">
      <?php 
        } else {
            ?>
        <div id="content" class="span-950 border">
      <?php 
        }
        ?>
      
          <!-- MAIN CONTENT -->
          <div id="main" class="twoColumns float-left">
            
            <!-- BREADCRUMBS -->
            <?php 
        if ($_smarty_tpl->tpl_vars['display_breadcrumbs']->value == "+") {
            ?>
            <div class="breadcrumbs">
              <?php 
            if (isset($_smarty_tpl->tpl_vars['newstitle']->value)) {
                ?>
                 » <?php 
                echo $_smarty_tpl->tpl_vars['newstitle']->value;
                ?>

              <?php 
            } else {
                ?>
                <?php 
                echo smarty_function_breadcrumbs(array('starttext' => 'You are here', 'root' => 'Home', 'delimiter' => '&raquo;'), $_smarty_tpl);
                ?>

              <?php 
            }
            ?>
              <hr class="accessibility" />
            </div>
            <?php 
        }
        ?>
            <!-- END BREADCRUMBS -->

            <?php 
        if (isset($_smarty_tpl->tpl_vars['newstitle']->value)) {
            ?>
              <h2><?php 
            echo $_smarty_tpl->tpl_vars['newstitle']->value;
            ?>
</h2>
            <?php 
        } else {
            ?>
              <h2><?php 
            echo $_smarty_tpl->tpl_vars['pagetitle']->value;
            ?>
</h2>
            <?php 
        }
        ?>

            <?php 
        echo $_smarty_tpl->tpl_vars['capturedcontent']->value;
        ?>

            <?php 
        if ($_smarty_tpl->tpl_vars['display_to_top']->value == "+") {
            ?>
              
               <a href="#top" class='to-top float-right'>To Top of the page</a>
            <?php 
        }
        ?>
            <hr class="accessibility" />
          </div>
          <!-- END MAIN CONTENT -->

          <!-- SIDEBAR -->
          <div id="sidebar" class="float-right col-border">

	  <!-- SIDE NAVIGATION (SUBMENU) -->          
          <div id="subNav">
            <h2 class="accessibility">Sub Navigation</h2>
            <?php 
        if ($_smarty_tpl->tpl_vars['display_sidebar_menu']->value == "+") {
            ?>
              
            <?php 
        }
        ?>
            <hr class="accessibility" />
          </div>
          
	  <!-- END SIDE NAVIGATION -->    
          
	  <!-- SEARCH -->                       
          <?php 
        if ($_smarty_tpl->tpl_vars['display_search']->value == "+") {
            ?>
            <div id="search">
               
            </div>
          <?php 
        }
        ?>
          <!-- END SEARCH -->
            
          <!-- NEWS -->  
          <?php 
        if ($_smarty_tpl->tpl_vars['display_news']->value == "+") {
            ?>
  
          <div id="news">
<!-- <h2>Infos</h2>--> 
            
             
          </div>
          <?php 
        }
        ?>
          <!-- END NEWS -->
          
          <!-- SIDEBAR CONTENT BLOCK -->          
          
          <?php 
        if (!empty($_smarty_tpl->tpl_vars['sidecontent']->value)) {
            ?>
          <div class="sidecontent">
            <?php 
            echo $_smarty_tpl->tpl_vars['sidecontent']->value;
            ?>

          </div>
          <?php 
        }
        ?>
 
          <!-- END SIDEBAR CONTENT BLOCK -->
            
        </div>
      </div>
    </div>
    <!-- END CONTENT -->


    <!-- FOOTER -->
    <div id="footerWrapper">
      <div id="footer" class="span-950">
        
        <!-- FOOTER MENU -->
        <?php 
        if ($_smarty_tpl->tpl_vars['display_footer_menu']->value == "+") {
            ?>
        <div id="footerNav"> 
           
        </div>
        <?php 
        }
        ?>
        <!-- END FOOTER MENU -->
        
        <!-- VALIDATION ICONS -->
        <?php 
        if ($_smarty_tpl->tpl_vars['display_validation']->value == "+") {
            ?>
        <div class="footer-icons">
          <div class="validation"> 
            
             
          </div>
        </div>
        <?php 
        }
        ?>
        <!-- END VALIDATION ICONS -->
		
        <!-- GCB FOOTER -->
          <div class="clearer"> 
            <?php 
        echo smarty_function_global_content(array('name' => 'footer'), $_smarty_tpl);
        ?>

            <p class="float-right">
            	Design by <a href="http://www.cmstemplatebuddy.com" target="_blank">CMS Template Buddy </a>
            </p>
          </div>
        <!-- END GCB FOOTER -->
        
      </div>
    </div>
    <!-- END FOOTER -->
 
    <!-- 
      Template for CMS Made Simple
      Design by www.cmstemplatebuddy.com
      Version 1.01
      -->

</body>
</html><?php 
    }

<?php 
include "lib/tiki-dynamic-js.php";
?>
<script type="text/javascript" src="lib/tiki-js.js"></script>
<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "bidi.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<title>
<?php 
if ($this->_tpl_vars['trail']) {
    echo smarty_function_breadcrumbs(array('type' => 'fulltrail', 'loc' => 'head', 'crumbs' => $this->_tpl_vars['trail']), $this);
    ?>

<?php 
} else {
    echo $this->_tpl_vars['siteTitle'];
    ?>

<?php 
    if ($this->_tpl_vars['headtitle']) {
        ?>
 : <?php 
        echo $this->_tpl_vars['headtitle'];
        ?>

<?php 
    echo smarty_function_signin_link(array(), $this);
    ?>

            </ul>
          <?php 
}
?>
        </div>
      </div>
    </nav>

    <section class="container">
      <div class="row">
        <main class="page-content" role="main">
          <?php 
echo smarty_function_breadcrumbs(array(), $this);
?>

          <?php 
if (InSection(array('CategoryList', 'CategoryDiscussionList', 'DiscussionList'))) {
    ?>
            <div class="well search-form"><?php 
    echo smarty_function_searchbox(array(), $this);
    ?>
</div>
          <?php 
}
?>
          <?php 
echo smarty_function_asset(array('name' => 'Content'), $this);
?>
<div class="wikitopline">
<table><tr>
<td style="vertical-align:top;">
<?php 
if ($this->_tpl_vars['feature_wiki_pageid'] == 'y') {
    ?>
	<small><a class="link" href="tiki-index.php?page_id=<?php 
    echo $this->_tpl_vars['page_id'];
    ?>
">page id: <?php 
    echo $this->_tpl_vars['page_id'];
    ?>
</a></small>
<?php 
}
echo smarty_function_breadcrumbs(array('type' => 'desc', 'loc' => 'page', 'crumbs' => $this->_tpl_vars['crumbs']), $this);
?>

<?php 
if ($this->_tpl_vars['cached_page'] == 'y') {
    ?>
<small>(cached)</small><?php 
}
?>
</td>
<?php 
if ($this->_tpl_vars['is_categorized'] == 'y' && $this->_tpl_vars['feature_categories'] == 'y' && $this->_tpl_vars['feature_categorypath'] == 'y') {
    ?>
	<td style="vertical-align:top;width:100px;"><?php 
    echo $this->_tpl_vars['display_catpath'];
    ?>
            <?php 
if (!$this->_tpl_vars['User']['SignedIn']) {
    ?>
                <li class="SignInItem"><?php 
    echo smarty_function_link(array('path' => 'signin', 'class' => 'SignIn'), $this);
    ?>
</li>
            <?php 
}
?>
        </ul>
    </div>
    <div id="Body">
        <div class="BreadcrumbsWrapper">
            <?php 
echo smarty_function_breadcrumbs(array('homelink' => '0'), $this);
?>

        </div>
        <div id="Content">
            <?php 
echo smarty_function_asset(array('name' => 'Content'), $this);
?>

        </div>
    </div>
    <div id="Foot">
        <div class="FootMenu">
            <?php 
echo smarty_function_nomobile_link(array('wrap' => 'span'), $this);
?>
    function content_51f3bfcf494341_20472597($_smarty_tpl)
    {
        if (!is_callable('smarty_function_anchor')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.anchor.php';
        }
        if (!is_callable('smarty_function_root_url')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.root_url.php';
        }
        if (!is_callable('smarty_function_sitename')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.sitename.php';
        }
        if (!is_callable('smarty_function_breadcrumbs')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.breadcrumbs.php';
        }
        if (!is_callable('Search::function_plugin')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.search.php';
        }
        if (!is_callable('News::function_plugin')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.news.php';
        }
        if (!is_callable('smarty_function_valid_css')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.valid_css.php';
        }
        if (!is_callable('smarty_function_valid_xhtml')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.valid_xhtml.php';
        }
        if (!is_callable('smarty_function_global_content')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.global_content.php';
        }
        ?>
<body>
    <a id="top"></a>

    <!-- TEMPLATE BLOCKS --> 
<?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Header Slider", 'oneline' => "true", 'size' => "1", 'default' => "-", 'assign' => "display_slider", 'tab' => 'Header', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_slider']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_slider"])) {
                $_smarty_tpl->tpl_vars["display_slider"] = clone $_smarty_tpl->tpl_vars["display_slider"];
                $_smarty_tpl->tpl_vars["display_slider"]->value = "-";
                $_smarty_tpl->tpl_vars["display_slider"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_slider"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_slider"] = new Smarty_variable("-", null, 0);
            }
        }
        ?>
 
    <?php 
        $_smarty_tpl->_capture_stack[0][] = array('default', "galleryfolder", null);
        ob_start();
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "galleryfolder", 'oneline' => "true", 'label' => "Gallery Module foldername for Header Slideshow", 'tab' => 'Header', 'wysiwyg' => 'false'), $_smarty_tpl);
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Breadcrumbs", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_breadcrumbs", 'tab' => 'Header', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_breadcrumbs']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_breadcrumbs"])) {
                $_smarty_tpl->tpl_vars["display_breadcrumbs"] = clone $_smarty_tpl->tpl_vars["display_breadcrumbs"];
                $_smarty_tpl->tpl_vars["display_breadcrumbs"]->value = "+";
                $_smarty_tpl->tpl_vars["display_breadcrumbs"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_breadcrumbs"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_breadcrumbs"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Sidebar Menu", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_sidebar_menu", 'tab' => 'Sidebar', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_sidebar_menu']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_sidebar_menu"])) {
                $_smarty_tpl->tpl_vars["display_sidebar_menu"] = clone $_smarty_tpl->tpl_vars["display_sidebar_menu"];
                $_smarty_tpl->tpl_vars["display_sidebar_menu"]->value = "+";
                $_smarty_tpl->tpl_vars["display_sidebar_menu"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_sidebar_menu"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_sidebar_menu"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Search", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_search", 'tab' => 'Header', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_search']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_search"])) {
                $_smarty_tpl->tpl_vars["display_search"] = clone $_smarty_tpl->tpl_vars["display_search"];
                $_smarty_tpl->tpl_vars["display_search"]->value = "+";
                $_smarty_tpl->tpl_vars["display_search"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_search"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_search"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display News", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_news", 'tab' => 'Sidebar', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_news']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_news"])) {
                $_smarty_tpl->tpl_vars["display_news"] = clone $_smarty_tpl->tpl_vars["display_news"];
                $_smarty_tpl->tpl_vars["display_news"]->value = "+";
                $_smarty_tpl->tpl_vars["display_news"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_news"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_news"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Sliding News on/off", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_news_slider", 'tab' => 'Sidebar', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_news_slider']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_news_slider"])) {
                $_smarty_tpl->tpl_vars["display_news_slider"] = clone $_smarty_tpl->tpl_vars["display_news_slider"];
                $_smarty_tpl->tpl_vars["display_news_slider"]->value = "+";
                $_smarty_tpl->tpl_vars["display_news_slider"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_news_slider"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_news_slider"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display To Top of the page link", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_to_top", 'tab' => 'Footer', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_to_top']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_to_top"])) {
                $_smarty_tpl->tpl_vars["display_to_top"] = clone $_smarty_tpl->tpl_vars["display_to_top"];
                $_smarty_tpl->tpl_vars["display_to_top"]->value = "+";
                $_smarty_tpl->tpl_vars["display_to_top"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_to_top"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_to_top"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Footer Menu", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_footer_menu", 'tab' => 'Footer', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_footer_menu']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_footer_menu"])) {
                $_smarty_tpl->tpl_vars["display_footer_menu"] = clone $_smarty_tpl->tpl_vars["display_footer_menu"];
                $_smarty_tpl->tpl_vars["display_footer_menu"]->value = "+";
                $_smarty_tpl->tpl_vars["display_footer_menu"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_footer_menu"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_footer_menu"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Validation Icons", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_validation", 'tab' => 'Footer', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_validation']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_validation"])) {
                $_smarty_tpl->tpl_vars["display_validation"] = clone $_smarty_tpl->tpl_vars["display_validation"];
                $_smarty_tpl->tpl_vars["display_validation"]->value = "+";
                $_smarty_tpl->tpl_vars["display_validation"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_validation"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_validation"] = new Smarty_variable("+", null, 0);
            }
        }
        $_smarty_tpl->_capture_stack[0][] = array('default', 'pagetitle', null);
        ob_start();
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => 'Main Page Title', 'description' => 'H2 Title on a page frontend', 'wysiwyg' => "false", 'oneline' => "true", 'tab' => 'Main'), $_smarty_tpl);
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>

    <!-- END TEMPLATE BLOCKS -->
    
    <!-- ACCESSIBILITY SKIP LINKS -->
    <ul class="accessibility">
      <li><?php 
        echo smarty_function_anchor(array('anchor' => 'subNav', 'title' => 'Skip to navigation', 'accesskey' => 'n', 'text' => 'Skip to navigation'), $_smarty_tpl);
        ?>
</li>
      <li><?php 
        echo smarty_function_anchor(array('anchor' => 'main', 'title' => 'Skip to content', 'accesskey' => 's', 'text' => 'Skip to content'), $_smarty_tpl);
        ?>
</li>
    </ul>
    <!-- END ACCESSIBILITY SKIP LINKS -->
    <hr class="accessibility" />
    
    <!-- NEWS SLIDER SCRIPT --> 
    <?php 
        if ($_smarty_tpl->tpl_vars['display_news_slider']->value == "+") {
            ?>
      <script src="/uploads/tpl-buddy-001/news-banner.js" type="text/javascript"></script>
    <?php 
        }
        ?>
    <!-- END NEWS SLIDER SCRIPT --> 
    
    <!-- HEADER -->
    <div id="headerWrapper">
      <div id="header" class="span-950">
        <div id="logo">
          <h1><a href="<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
" title="<?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
"><img alt="<?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
" src="/uploads/tpl-buddy-001/logo.png" /></a></h1>
          <hr class="accessibility" />
        </div>
        
        <!-- TOP NAVIGATION -->
        <div id="mainNav"> 
          <h2 class="accessibility">Navigation</h2>
          <?php 
        echo MenuManager::function_plugin(array('loadprops' => 0, 'number_of_levels' => '1'), $_smarty_tpl);
        ?>
 
          <hr class="accessibility" />
        </div>
        <!-- END TOP NAVIGATION -->
        
      </div>
    </div> 
    <!-- END HEADER -->

    
    <!-- SLIDER -->
    <div id="sliderWrapper">
      <div class="bannerHolder">
        <ul id="bannerNav">
        </ul>
        <a href="#"><span id="prevBanner">Previous</span></a> 
        <a href="#"><span id="nextBanner">Next</span></a> 	
        
		  <?php 
        echo Gallery::function_plugin(array('template' => "buddySlider", 'dir' => 'slider'), $_smarty_tpl);
        ?>
 
        
      </div>
    </div>
    <!-- END SLIDER -->
    

    <!-- CONTENT -->
    <div id="contentWrapper">
      <?php 
        if ($_smarty_tpl->tpl_vars['display_slider']->value == "+") {
            ?>
        <div id="content" class="span-950">
      <?php 
        } else {
            ?>
        <div id="content" class="span-950 border">
      <?php 
        }
        ?>
      
          <!-- MAIN CONTENT -->
          <div id="main" class="twoColumns float-left">
            
            <!-- BREADCRUMBS -->
            <?php 
        if ($_smarty_tpl->tpl_vars['display_breadcrumbs']->value == "+") {
            ?>
            <div class="breadcrumbs">
              <?php 
            if (isset($_smarty_tpl->tpl_vars['newstitle']->value)) {
                ?>
                <?php 
                echo smarty_function_breadcrumbs(array('starttext' => 'You are here', 'root' => 'Home', 'delimiter' => '&raquo;'), $_smarty_tpl);
                ?>
 » <?php 
                echo $_smarty_tpl->tpl_vars['newstitle']->value;
                ?>

              <?php 
            } else {
                ?>
                <?php 
                echo smarty_function_breadcrumbs(array('starttext' => 'You are here', 'root' => 'Home', 'delimiter' => '&raquo;'), $_smarty_tpl);
                ?>

              <?php 
            }
            ?>
              <hr class="accessibility" />
            </div>
            <?php 
        }
        ?>
            <!-- END BREADCRUMBS -->

            <?php 
        if (isset($_smarty_tpl->tpl_vars['newstitle']->value)) {
            ?>
              <h2><?php 
            echo $_smarty_tpl->tpl_vars['newstitle']->value;
            ?>
</h2>
            <?php 
        } else {
            ?>
              <h2><?php 
            echo $_smarty_tpl->tpl_vars['pagetitle']->value;
            ?>
</h2>
            <?php 
        }
        ?>

            <?php 
        echo $_smarty_tpl->tpl_vars['capturedcontent']->value;
        ?>

            <?php 
        if ($_smarty_tpl->tpl_vars['display_to_top']->value == "+") {
            ?>
              
               <a href="#top" class='to-top float-right'>To Top of the page</a>
            <?php 
        }
        ?>
            <hr class="accessibility" />
          </div>
          <!-- END MAIN CONTENT -->

          <!-- SIDEBAR -->
          <div id="sidebar" class="float-right col-border">

	  <!-- SIDE NAVIGATION (SUBMENU) -->          
          <div id="subNav">
            <h2 class="accessibility">Sub Navigation</h2>
            <?php 
        if ($_smarty_tpl->tpl_vars['display_sidebar_menu']->value == "+") {
            ?>
              <?php 
            echo MenuManager::function_plugin(array('loadprops' => 0, 'start_level' => '2', 'collapse' => '1'), $_smarty_tpl);
            ?>

            <?php 
        }
        ?>
            <hr class="accessibility" />
          </div>
          
	  <!-- END SIDE NAVIGATION -->    
          
	  <!-- SEARCH -->                       
          <?php 
        if ($_smarty_tpl->tpl_vars['display_search']->value == "+") {
            ?>
            <div id="search">
              <?php 
            echo Search::function_plugin(array('search_method' => "post"), $_smarty_tpl);
            ?>
 
            </div>
          <?php 
        }
        ?>
          <!-- END SEARCH -->
            
          <!-- NEWS -->  
          <?php 
        if ($_smarty_tpl->tpl_vars['display_news']->value == "+") {
            ?>
  
          <div id="news">
<!-- <h2>Infos</h2>--> 
            
            <?php 
            echo News::function_plugin(array('number' => '2', 'moretext' => "En savoir plus"), $_smarty_tpl);
            ?>
 
          </div>
          <?php 
        }
        ?>


<a class="twitter-timeline"  href="https://twitter.com/BEAUPOTAGER"  data-widget-id="361139390489178112"><img alt="<?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
" src="/uploads/tpl-buddy-001/icone.gif" />Suivez-nous sur Twitter</a>







          <!-- END NEWS -->
          
          <!-- SIDEBAR CONTENT BLOCK -->          
          <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => 'sidebar', 'label' => 'Sidebar content block (to hide this block just leave it empty)', 'assign' => 'sidecontent', 'tab' => 'Sidebar'), $_smarty_tpl);
        ?>
          <?php 
        if (!empty($_smarty_tpl->tpl_vars['sidecontent']->value)) {
            ?>
          <div class="sidecontent">
            <?php 
            echo $_smarty_tpl->tpl_vars['sidecontent']->value;
            ?>

          </div>
          <?php 
        }
        ?>
 
          <!-- END SIDEBAR CONTENT BLOCK -->
            
        </div>
      </div>
    </div>
    <!-- END CONTENT -->


    <!-- FOOTER -->
    <div id="footerWrapper">
      <div id="footer" class="span-950">
        
        <!-- FOOTER MENU -->
        <?php 
        if ($_smarty_tpl->tpl_vars['display_footer_menu']->value == "+") {
            ?>
        <div id="footerNav"> 
          <?php 
            echo MenuManager::function_plugin(array('loadprops' => 0, 'number_of_levels' => '1'), $_smarty_tpl);
            ?>
 
        </div>
        <?php 
        }
        ?>
        <!-- END FOOTER MENU -->
        
        <!-- VALIDATION ICONS -->
        <?php 
        if ($_smarty_tpl->tpl_vars['display_validation']->value == "+") {
            ?>
        <div class="footer-icons">
          <div class="validation"> 
            <?php 
            echo smarty_function_valid_css(array('image' => 'false', 'class' => 'valid-css', 'target' => '_blank', 'text' => 'valid css3'), $_smarty_tpl);
            ?>

            <?php 
            echo smarty_function_valid_xhtml(array('image' => 'false', 'class' => 'valid-xhtml', 'target' => '_blank'), $_smarty_tpl);
            ?>
 
          </div>
        </div>
        <?php 
        }
        ?>
        <!-- END VALIDATION ICONS -->
		
        <!-- GCB FOOTER -->
          <div class="clearer"> 
            <?php 
        echo smarty_function_global_content(array('name' => 'footer'), $_smarty_tpl);
        ?>

            <p class="float-right">
            	Design by <a href="http://www.cmstemplatebuddy.com" target="_blank">CMS Template Buddy </a>
            </p>
          </div>
        <!-- END GCB FOOTER -->
        
      </div>
    </div>
    <!-- END FOOTER -->
 
    <!-- 
      Template for CMS Made Simple
      Design by www.cmstemplatebuddy.com
      Version 1.01
      -->

</body>
</html><?php 
    }