function content_56b3277cf1f472_28542202($_smarty_tpl)
    {
        echo CMS_Content_Block::smarty_fetch_pagedata(array(), $_smarty_tpl);
        ?>
<!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="en" lang="en">



  <?php 
    }
    function content_51f3bfcf2dcf86_79668215($_smarty_tpl)
    {
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('assign' => "capturedcontent"), $_smarty_tpl);
        ?>
<!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;
        }
        ?>
" >
<?php 
    }
    function content_56b326ae37d505_36806185($_smarty_tpl)
    {
        if (!is_callable('smarty_function_metadata')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.metadata.php';
        }
        if (!is_callable('smarty_function_global_content')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.global_content.php';
        }
        echo smarty_function_metadata(array(), $_smarty_tpl);
        ?>

<?php 
        echo smarty_function_global_content(array('name' => 'header'), $_smarty_tpl);
        ?>

<?php 
        echo smarty_function_global_content(array('name' => 'nav-bar'), $_smarty_tpl);
        ?>

<?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array(), $_smarty_tpl);
        echo smarty_function_global_content(array('name' => 'footer'), $_smarty_tpl);
    }
示例#4
0
     $validinfo = false;
 }
 if ($validinfo) {
     try {
         $parser = cmsms()->get_template_parser();
         cms_utils::set_app_data('tmp_template', $content);
         try {
             $parser->fetch('template:appdata;tmp_template');
             // do the magic.
         } catch (SmartyCompilerException $e) {
             debug_display($e);
             die;
             $error .= "<li>" . $e->getMessage() . '</li>';
             $validinfo = false;
         }
         $contentBlocks = CMS_Content_Block::get_content_blocks();
         if (!is_array($contentBlocks) || count($contentBlocks) == 0) {
             throw new CmsEditContentException('No content blocks defined in template');
         }
         if (!isset($contentBlocks['content_en'])) {
             throw new CmsEditContentException('No default content block {content} or {content block=\'content_en\'} defined in template');
         }
         // if we got here, we're golden.
     } catch (CmsEditContentException $e) {
         $error .= "<li>" . $e->getMessage() . '</li>';
         $validinfo = false;
     }
 }
 if ($validinfo) {
     $onetemplate = $templateops->LoadTemplateByID($template_id);
     $onetemplate->name = $template;
 public static function smarty_compiler_moduleblock($params, $smarty)
 {
     // {content_image} tag encountered.
     if (!isset($params['block']) || empty($params['block'])) {
         throw new CmsEditContentException('{content_module} tag requires block parameter');
     }
     $rec = array('type' => 'module', 'id' => '', 'name' => '', 'module' => '', 'label' => '', 'blocktype' => '', 'tab' => '');
     $parms = array();
     foreach ($params as $key => $value) {
         if ($key == 'block') {
             $key = 'name';
         }
         $value = trim(trim($value, '"\''));
         if (isset($rec[$key])) {
             $rec[$key] = $value;
         } else {
             $parms[$key] = $value;
         }
     }
     if (!$rec['name']) {
         $n = count(self::$_contentBlocks) + 1;
         $rec['id'] = $rec['name'] = 'module_' + $n;
     }
     if (!$rec['id']) {
         $rec['id'] = str_replace(' ', '_', $rec['name']);
     }
     $rec['params'] = $parms;
     if ($rec['module'] == '') {
         throw new CmsEditContentException('Missing module param for content_module tag');
     }
     // check for duplicate.
     if (isset(self::$_contentBlocks[$rec['name']])) {
         throw new CmsEditContentException('Duplicate content block: ' . $rec['name']);
     }
     if (!is_array(self::$_contentBlocks)) {
         self::$_contentBlocks = array();
     }
     self::$_contentBlocks[$rec['name']] = $rec;
 }
 function content_52699db8a31413_93682402($_smarty_tpl)
 {
     CMS_Content_Block::smarty_internal_fetch_contentblock(array(), $_smarty_tpl);
 }
示例#7
0
 /**
  * parse content blocks
  *
  * @access private
  * @internal
  */
 private function parse_content_blocks()
 {
     if ($this->_contentBlocksLoaded) {
         return TRUE;
     }
     CMS_Content_Block::reset();
     $parser = cmsms()->get_template_parser();
     $parser->fetch('template:' . $this->TemplateId());
     // do the magic.
     $this->_contentBlocks = CMS_Content_Block::get_content_blocks();
     if (!is_array($this->_contentBlocks) || !count($this->_contentBlocks)) {
         return FALSE;
     }
     $this->_contentBlocksLoaded = TRUE;
     return TRUE;
 }
    function content_56b3277d0ac3f4_92884917($_smarty_tpl)
    {
        if (!is_callable('smarty_function_anchor')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.anchor.php';
        }
        if (!is_callable('smarty_function_cms_selflink')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.cms_selflink.php';
        }
        if (!is_callable('Search::function_plugin')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.search.php';
        }
        if (!is_callable('smarty_function_cms_version')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.cms_version.php';
        }
        if (!is_callable('smarty_function_cms_versionname')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.cms_versionname.php';
        }
        if (!is_callable('News::function_plugin')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.news.php';
        }
        if (!is_callable('smarty_function_title')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.title.php';
        }
        if (!is_callable('smarty_function_global_content')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.global_content.php';
        }
        ?>
  <body>
    <div id="ncleanblue">
      <div id="pagewrapper" class="core-wrap-960 core-center">

        <ul class="accessibility">
          <li><?php 
        echo smarty_function_anchor(array('anchor' => 'menu_vert', '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>

        <hr class="accessibility" />



        <div id="header" class="util-clearfix">

          <div id="logo" class="core-float-left">
            <?php 
        echo smarty_function_cms_selflink(array('dir' => "start", 'text' => (string) $_smarty_tpl->tpl_vars['sitename']->value), $_smarty_tpl);
        ?>

          </div>
          

          <div id="search" class="core-float-right">
            <?php 
        echo Search::function_plugin(array('search_method' => "post"), $_smarty_tpl);
        ?>

          </div>

          <span class="util-clearb">&nbsp;</span>
          

          <h2 class="accessibility util-clearb">Navigation</h2>

          <div class="page-menu util-clearfix">
          <?php 
        echo MenuManager::function_plugin(array('loadprops' => 0, 'template' => 'cssmenu_ulshadow.tpl'), $_smarty_tpl);
        ?>

          </div>
          <hr class="accessibility util-clearb" />


        </div>



        <div id="content" class="util-clearfix"> 


          <div title="CMS - <?php 
        echo smarty_function_cms_version(array(), $_smarty_tpl);
        ?>
 - <?php 
        echo smarty_function_cms_versionname(array(), $_smarty_tpl);
        ?>
" id="version">
          <?php 
        $_smarty_tpl->_capture_stack[0][] = array('default', 'cms_version', null);
        ob_start();
        ob_start();
        echo smarty_function_cms_version(array(), $_smarty_tpl);
        echo mb_strtolower(ob_get_clean(), 'UTF-8');
        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();
        }
        echo preg_replace("/-([a-z]).*/", '', $_smarty_tpl->tpl_vars['cms_version']->value);
        ?>

          </div>



          <div id="bar" class="util-clearfix">

            <div class="breadcrumbs core-float-right">
              <?php 
        echo MenuManager::smarty_cms_breadcrumbs(array('root' => 'Home'), $_smarty_tpl);
        ?>

            </div>


            <hr class="accessibility util-clearb" />
          </div>



          <div id="left" class="core-float-left">
            <div class="sbar-top">
              <h2 class="sbar-title">News</h2>
            </div>
            <div class="sbar-main">

              <div id="news">
              <?php 
        echo News::function_plugin(array('number' => '3', 'detailpage' => 'news'), $_smarty_tpl);
        ?>

              </div>
              <img class="screen" src="uploads/NCleanBlue/screen-1.6.jpg" width="139" height="142" title="CMS - <?php 
        echo smarty_function_cms_version(array(), $_smarty_tpl);
        ?>
 - <?php 
        echo smarty_function_cms_versionname(array(), $_smarty_tpl);
        ?>
" alt="CMS - <?php 
        echo smarty_function_cms_version(array(), $_smarty_tpl);
        ?>
 - <?php 
        echo smarty_function_cms_versionname(array(), $_smarty_tpl);
        ?>
" />
 
            </div>
            <span class="sbar-bottom">&nbsp;</span> 
          </div>



          <div id="main"  class="core-float-right">


            <div class="main-top">
              <div class="print core-float-right">
                <?php 
        echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['print'][0][0]->_my_function_plugin(array('showbutton' => true), $_smarty_tpl);
        ?>

              </div>
            </div> 
            

            <div class="main-main util-clearfix">
              <h1 class="title"><?php 
        echo smarty_function_title(array(), $_smarty_tpl);
        ?>
</h1>
            <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array(), $_smarty_tpl);
        ?>
            </div>
            

            <div class="main-bottom">
              <div class="right49 core-float-right">
              <?php 
        echo smarty_function_anchor(array('anchor' => 'main', 'text' => '^&nbsp;&nbsp;Top'), $_smarty_tpl);
        ?>

              </div>
              <div class="left49 core-float-left">
                <span>
                  <?php 
        echo smarty_function_cms_selflink(array('dir' => "previous", 'label' => "Previous page: "), $_smarty_tpl);
        ?>
&nbsp;

                </span>
                <span>
                  <?php 
        echo smarty_function_cms_selflink(array('dir' => "next"), $_smarty_tpl);
        ?>
&nbsp;
                </span>
              </div>


              <hr class="accessibility" />
            </div>


          </div>


        </div>


      </div>

      <span class="util-clearb">&nbsp;</span>
      

      <div id="footer-wrapper">
        <div id="footer" class="core-wrap-960">

          <div class="block core-float-left">
            <?php 
        echo MenuManager::function_plugin(array('loadprops' => 0, 'template' => 'minimal_menu.tpl', 'number_of_levels' => '1'), $_smarty_tpl);
        ?>

          </div>
          

          <div class="block core-float-left">
            <?php 
        echo MenuManager::function_plugin(array('loadprops' => 0, 'template' => 'minimal_menu.tpl', 'start_level' => "2"), $_smarty_tpl);
        ?>

          </div>
          

          <div class="block cms core-float-left">
            <?php 
        echo smarty_function_global_content(array('name' => 'footer'), $_smarty_tpl);
        ?>

          </div>
          
          <span class="util-clearb">&nbsp;</span>
        </div>
      </div>

    </div>

  </body>
</html><?php 
    }
    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 
    }