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 
    }
    function content_56b3277d7604d2_98777959($_smarty_tpl)
    {
        if (!is_callable('smarty_function_title')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.title.php';
        }
        if (!is_callable('smarty_function_sitename')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.sitename.php';
        }
        if (!is_callable('smarty_function_metadata')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.metadata.php';
        }
        if (!is_callable('smarty_cms_function_cms_stylesheet')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.cms_stylesheet.php';
        }
        if (!is_callable('smarty_function_cms_selflink')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.cms_selflink.php';
        }
        ?>
<head>
<?php 
        if (isset($_smarty_tpl->tpl_vars['canonical']->value)) {
            ?>
<link rel="canonical" href="<?php 
            echo $_smarty_tpl->tpl_vars['canonical']->value;
            ?>
" /><?php 
        } elseif (isset($_smarty_tpl->tpl_vars['content_obj']->value)) {
            ?>
<link rel="canonical" href="<?php 
            echo $_smarty_tpl->tpl_vars['content_obj']->value->GetURL();
            ?>
" /><?php 
        }
        ?>

<title><?php 
        echo smarty_function_title(array(), $_smarty_tpl);
        ?>
 | <?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
</title>


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



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



<?php 
        echo smarty_function_cms_selflink(array('dir' => "start", 'rellink' => 1), $_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);
        ?>



<!--[if IE 6]>
<script type="text/javascript" src="modules/MenuManager/CSSMenu.js"></script>
<![endif]-->





<!--[if IE 6]>
<script type="text/javascript"  src="uploads/NCleanBlue/js/ie6fix.js"></script>
<script type="text/javascript">
 // argument is a CSS selector
 DD_belatedPNG.fix('.sbar-top,.sbar-bottom,.main-top,.main-bottom,#version');
</script>
<style type="text/css">
/* enable background image caching in IE6 */
html {filter:expression(document.execCommand("BackgroundImageCache", false, true));} 
</style>
<![endif]-->


  </head><?php 
    }
    function content_51f3bfcf854621_40671827($_smarty_tpl)
    {
        if (!is_callable('smarty_function_sitename')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.sitename.php';
        }
        if (!is_callable('smarty_function_title')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.title.php';
        }
        if (!is_callable('smarty_function_metadata')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.metadata.php';
        }
        if (!is_callable('smarty_cms_function_cms_stylesheet')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.cms_stylesheet.php';
        }
        if (!is_callable('smarty_function_cms_selflink')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.cms_selflink.php';
        }
        ?>
<head>
<title><?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
 - <?php 
        if (isset($_smarty_tpl->tpl_vars['newstitle']->value)) {
            echo $_smarty_tpl->tpl_vars['newstitle']->value;
        } else {
            echo smarty_function_title(array(), $_smarty_tpl);
        }
        ?>
</title>

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

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


<?php 
        echo smarty_function_cms_selflink(array('dir' => 'start', 'rellink' => 1), $_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><?php 
    }
    function content_523730db70b506_68136762($_smarty_tpl)
    {
        if (!is_callable('smarty_function_sitename')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.sitename.php';
        }
        if (!is_callable('smarty_function_cms_jquery')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.cms_jquery.php';
        }
        if (!is_callable('smarty_function_root_url')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.root_url.php';
        }
        ?>
<!doctype html>
<html>
	<head>
		<meta charset="<?php 
        echo $_smarty_tpl->tpl_vars['encoding']->value;
        ?>
" />
		<title><?php 
        echo lang('logintitle');
        ?>
 - <?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
</title>
		<base href="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/" />
		<meta name="generator" content="CMS Made Simple - Copyright (C) 2004-12 Ted Kulp. All rights reserved." />
		<meta name="robots" content="noindex, nofollow" />
		<meta name="viewport" content="initial-scale=1.0 maximum-scale=1.0 user-scalable=no" />
		<meta name="HandheldFriendly" content="True"/>
		<link rel="shortcut icon" href="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/images/favicon/cmsms-favicon.ico"/>
		<link rel="stylesheet" href="loginstyle.php" />
		<!-- learn IE html5 -->
		<!--[if lt IE 9]>
		<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->
		<?php 
        echo smarty_function_cms_jquery(array('exclude' => "jquery.ui.nestedSortable-1.3.4.js,jquery.json-2.2.js", 'append' => (string) $_smarty_tpl->tpl_vars['config']->value['admin_url'] . "/themes/OneEleven/includes/login.js"), $_smarty_tpl);
        ?>

	</head>
	<body id="login">
		<div id="wrapper">
			<div class="login-container">
				<div class="login-box cf"<?php 
        if (isset($_smarty_tpl->tpl_vars['error']->value)) {
            ?>
 id="error"<?php 
        }
        ?>
>
					<div class="logo">
						<img src="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/images/layout/cmsms_login_logo.png" width="180" height="36" alt="CMS Made Simple&trade;" />
					</div>
					<div class="info-wrapper open">
					<aside class="info">
					<h2><?php 
        echo lang('login_info_title');
        ?>
</h2>
						<p><?php 
        echo lang('login_info');
        ?>
</p>
							<?php 
        echo lang('login_info_params');
        ?>

							<p><strong>(<?php 
        echo $_SERVER['HTTP_HOST'];
        ?>
)</strong></p>					
						<p class="warning"><?php 
        echo lang('warn_admin_ipandcookies');
        ?>
</p>
					</aside>
					<a href="#" title="<?php 
        echo lang('open');
        ?>
/<?php 
        echo lang('close');
        ?>
" class="toggle-info"><?php 
        echo lang('open');
        ?>
/<?php 
        echo lang('close');
        ?>
</a>
					</div>					
					<header>
						<h1><?php 
        echo lang('logintitle');
        ?>
</h1>
					</header>
					<form method="post" action="login.php">
						<fieldset>
                                                        <?php 
        if (isset($_smarty_tpl->tpl_vars['usernamefld'])) {
            $_smarty_tpl->tpl_vars['usernamefld'] = clone $_smarty_tpl->tpl_vars['usernamefld'];
            $_smarty_tpl->tpl_vars['usernamefld']->value = 'username';
            $_smarty_tpl->tpl_vars['usernamefld']->nocache = null;
            $_smarty_tpl->tpl_vars['usernamefld']->scope = 0;
        } else {
            $_smarty_tpl->tpl_vars['usernamefld'] = new Smarty_variable('username', null, 0);
        }
        ?>
							<?php 
        if (isset($_GET['forgotpw'])) {
            if (isset($_smarty_tpl->tpl_vars['usernamefld'])) {
                $_smarty_tpl->tpl_vars['usernamefld'] = clone $_smarty_tpl->tpl_vars['usernamefld'];
                $_smarty_tpl->tpl_vars['usernamefld']->value = 'forgottenusername';
                $_smarty_tpl->tpl_vars['usernamefld']->nocache = null;
                $_smarty_tpl->tpl_vars['usernamefld']->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars['usernamefld'] = new Smarty_variable('forgottenusername', null, 0);
            }
        }
        ?>
							<label for="lbusername"><?php 
        echo lang('username');
        ?>
</label>
							<input id="lbusername"<?php 
        if (!isset($_POST['lbusername'])) {
            ?>
 class="focus"<?php 
        }
        ?>
 placeholder="<?php 
        echo lang('username');
        ?>
" name="<?php 
        echo $_smarty_tpl->tpl_vars['usernamefld']->value;
        ?>
" type="text" size="15" value="" autofocus="autofocus" />
						<?php 
        if (isset($_GET['forgotpw']) && !empty($_GET['forgotpw'])) {
            ?>
							<input type="hidden" name="forgotpwform" value="1" />
						<?php 
        }
        ?>
						<?php 
        if (!isset($_GET['forgotpw']) && empty($_GET['forgotpw'])) {
            ?>
							<label for="lbpassword"><?php 
            echo lang('password');
            ?>
</label>
							<input id="lbpassword"<?php 
            if (!isset($_POST['lbpassword']) || isset($_smarty_tpl->tpl_vars['error']->value)) {
                ?>
 class="focus"<?php 
            }
            ?>
 placeholder="<?php 
            echo lang('password');
            ?>
" name="password" type="password" size="15" />
						<?php 
        }
        ?>
						<?php 
        if (isset($_smarty_tpl->tpl_vars['changepwhash']->value) && !empty($_smarty_tpl->tpl_vars['changepwhash']->value)) {
            ?>
 
							<label for="lbpasswordagain"><?php 
            echo lang('passwordagain');
            ?>
</label>
							<input id="lbpasswordagain"  name="passwordagain" type="password" size="15" placeholder="<?php 
            echo lang('passwordagain');
            ?>
" />
							<input type="hidden" name="forgotpwchangeform" value="1" />
							<input type="hidden" name="changepwhash" value="<?php 
            echo $_smarty_tpl->tpl_vars['changepwhash']->value;
            ?>
" />
						<?php 
        }
        ?>
							<input class="loginsubmit" name="loginsubmit" type="submit" value="<?php 
        echo lang('submit');
        ?>
" />
							<input class="loginsubmit" name="logincancel" type="submit" value="<?php 
        echo lang('cancel');
        ?>
" />
						</fieldset>
					</form>
					<?php 
        if (isset($_GET['forgotpw']) && !empty($_GET['forgotpw'])) {
            ?>
						<div class="message warning">
							<?php 
            echo lang('forgotpwprompt');
            ?>

						</div>
					<?php 
        }
        ?>
					<?php 
        if (isset($_smarty_tpl->tpl_vars['error']->value)) {
            ?>
						<div class="message error">
							<?php 
            echo $_smarty_tpl->tpl_vars['error']->value;
            ?>

						</div>
					<?php 
        }
        ?>
					<?php 
        if (isset($_smarty_tpl->tpl_vars['warninglogin']->value)) {
            ?>
						<div class="message warning">
							<?php 
            echo $_smarty_tpl->tpl_vars['warninglogin']->value;
            ?>

						</div>
					<?php 
        }
        ?>
					<?php 
        if (isset($_smarty_tpl->tpl_vars['acceptlogin']->value)) {
            ?>
						<div class="message success">
							<?php 
            echo $_smarty_tpl->tpl_vars['acceptlogin']->value;
            ?>

						</div>
					<?php 
        }
        ?>
					<?php 
        if (isset($_smarty_tpl->tpl_vars['changepwhash']->value) && !empty($_smarty_tpl->tpl_vars['changepwhash']->value)) {
            ?>
						<div class="warning message">
							<?php 
            echo lang('passwordchange');
            ?>

						</div>
					<?php 
        }
        ?>
 <a href="<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
" title="<?php 
        echo lang('goto');
        ?>
 <?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
"> <img class="goback" width="16" height="16" src="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/images/layout/goback.png" alt="<?php 
        echo lang('goto');
        ?>
 <?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
" /> </a>
					<p class="forgotpw">
						<a href="login.php?forgotpw=1"><?php 
        echo lang('lostpw');
        ?>
</a>
					</p>
				</div>			
				<footer>
					<small class="copyright">Copyright &copy; <a rel="external" href="http://www.cmsmadesimple.org">CMS Made Simple&trade;</a></small>
				</footer>
			</div>
		</div>
	</body>
</html><?php 
    }
    function content_56b328bd90ad29_08480200($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_truncate')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\lib\\smarty\\plugins\\modifier.truncate.php';
        }
        if (!is_callable('smarty_function_sitename')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.sitename.php';
        }
        if (!is_callable('smarty_function_cms_jquery')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.cms_jquery.php';
        }
        if (!is_callable('smarty_cms_function_module_available')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.module_available.php';
        }
        if (!is_callable('smarty_function_cms_module')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.cms_module.php';
        }
        ?>
<!doctype html>
<html lang="<?php 
        echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['lang']->value, '2', '');
        ?>
" dir="<?php 
        echo $_smarty_tpl->tpl_vars['lang_dir']->value;
        ?>
">
	<head>
		<meta charset="utf-8" />
		<title><?php 
        if (!empty($_smarty_tpl->tpl_vars['pagetitle']->value)) {
            echo $_smarty_tpl->tpl_vars['pagetitle']->value;
            ?>
 - <?php 
        }
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
</title>
		<base href="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/" />
		<meta name="generator" content="CMS Made Simple - Copyright (C) 2004-12 Ted Kulp. All rights reserved." />
		<meta name="robots" content="noindex, nofollow" />
		<meta name="viewport" content="initial-scale=1.0 maximum-scale=1.0 user-scalable=no" />
		<meta name="HandheldFriendly" content="True"/>
		<link rel="shortcut icon" href="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/images/favicon/cmsms-favicon.ico"/>
		<link rel='apple-touch-icon' href='<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/images/favicon/apple-touch-icon-iphone.png' /> 
		<link rel='apple-touch-icon' sizes='72x72' href='<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/images/favicon/apple-touch-icon-ipad.png' /> 
		<link rel='apple-touch-icon' sizes='114x114' href='<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/images/favicon/apple-touch-icon-iphone4.png' />
		<link rel='apple-touch-icon' sizes='144x144' href='<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/images/favicon/apple-touch-icon-ipad3.png' />		
		<meta name='msapplication-TileImage' content='<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/images/favicon/ms-application-icon.png' />
		<meta name='msapplication-TileColor' content='#f89938'>
		<link rel="stylesheet" href="style.php?<?php 
        echo $_smarty_tpl->tpl_vars['secureparam']->value;
        ?>
" />
		<!-- learn IE html5 -->
		<!--[if lt IE 9]>
		<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->
		<?php 
        echo smarty_function_cms_jquery(array('append' => (string) $_smarty_tpl->tpl_vars['config']->value['admin_url'] . "/themes/OneEleven/includes/jquery.cookie.min.js," . (string) $_smarty_tpl->tpl_vars['config']->value['admin_url'] . "/themes/OneEleven/includes/standard.js"), $_smarty_tpl);
        ?>

		<!-- THIS IS WHERE HEADER STUFF SHOULD GO -->
	 	<?php 
        echo ($tmp = @$_smarty_tpl->tpl_vars['headertext']->value) === null || $tmp === '' ? '' : $tmp;
        ?>

		<!-- custom jQueryUI Theme 1.8.21 see style.css or link in UI Stylesheet for color reference //-->
		<link href="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/css/default-cmsms/jquery-ui-1.8.21.custom.css" rel="stylesheet" />
        <?php 
        echo smarty_cms_function_module_available(array('name' => 'FileManager', 'assign' => 'fmgood'), $_smarty_tpl);
        ?>

        <?php 
        if (isset($_smarty_tpl->tpl_vars['fmgood']->value) && $_smarty_tpl->tpl_vars['fmgood']->value) {
            echo smarty_function_cms_module(array('module' => 'FileManager', 'action' => 'javascript'), $_smarty_tpl);
        }
        ?>
	</head>
	<body##BODYSUBMITSTUFFGOESHERE## lang="<?php 
        echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['lang']->value, '2', '');
        ?>
" id="<?php 
        echo md5($_smarty_tpl->tpl_vars['pagetitle']->value);
        ?>
" class="<?php 
        echo $_smarty_tpl->tpl_vars['pagealias']->value;
        ?>
">
		<!-- start container -->
		<div id="oe_container" class="sidebar-on">
			<!-- start header -->
			<header role="banner" class="cf header">
				<!-- start header-top -->
				<div class="header-top cf">
					<!-- logo -->
					<div class="cms-logo">
						<a href="http://www.cmsmadesimple.org" rel="external"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/images/layout/cmsms-logo.jpg" width="205" height="69" alt="CMS Made Simple" title="CMS Made Simple" /></a>
					</div>
					<!-- title -->
					<span class="admin-title"> <?php 
        echo lang('adminpaneltitle');
        ?>
 - <?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        if (!empty($_smarty_tpl->tpl_vars['pagetitle']->value)) {
            ?>
 - <?php 
            echo $_smarty_tpl->tpl_vars['pagetitle']->value;
        }
        ?>
</span>
				</div>
				<div class='clear'></div>
				<!-- end header-top //-->
				<!-- start header-bottom -->
				<div class="header-bottom cf">
					<!-- welcome -->
					<div class="welcome">
						<span><a class="welcome-user" href="myaccount.php?<?php 
        echo $_smarty_tpl->tpl_vars['secureparam']->value;
        ?>
" title="<?php 
        echo lang('myaccount');
        ?>
"><?php 
        echo lang('myaccount');
        ?>
</a> <?php 
        echo lang('welcome_user');
        ?>
: <a href="myaccount.php?<?php 
        echo $_smarty_tpl->tpl_vars['secureparam']->value;
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['user']->value->username;
        ?>
</a></span>
					</div>
					<!-- breadcrubms -->
					<?php 
        echo $_smarty_tpl->getSubTemplate('breadcrumbs.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('items' => $_smarty_tpl->tpl_vars['theme']->value->get_breadcrumbs()), 0);
        ?>
 
					<!-- bookmarks -->
					<?php 
        echo $_smarty_tpl->getSubTemplate('shortcuts.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

				</div>
				<!-- end header-bottom //-->
			</header>
			<!-- end header //-->
			<!-- start content -->
			<div id="oe_admin-content">
				<div class="shadow">
					&nbsp;
				</div>
				<!-- start sidebar -->
				<div id="oe_sidebar">
					<aside>
						<?php 
        if (isset($_smarty_tpl->tpl_vars['is_notifications'])) {
            $_smarty_tpl->tpl_vars['is_notifications'] = clone $_smarty_tpl->tpl_vars['is_notifications'];
            $_smarty_tpl->tpl_vars['is_notifications']->value = $_smarty_tpl->tpl_vars['theme']->value->get_notifications();
            $_smarty_tpl->tpl_vars['is_notifications']->nocache = null;
            $_smarty_tpl->tpl_vars['is_notifications']->scope = 0;
        } else {
            $_smarty_tpl->tpl_vars['is_notifications'] = new Smarty_variable($_smarty_tpl->tpl_vars['theme']->value->get_notifications(), null, 0);
        }
        ?>
						<span title="<?php 
        echo lang('open');
        ?>
/<?php 
        echo lang('close');
        ?>
" class="toggle-button close<?php 
        if (empty($_smarty_tpl->tpl_vars['is_notifications']->value)) {
            ?>
 top<?php 
        }
        ?>
"><?php 
        echo lang('open');
        ?>
/<?php 
        echo lang('close');
        ?>
</span>
						<!-- notifications -->
						<?php 
        echo $_smarty_tpl->getSubTemplate('notifications.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('items' => $_smarty_tpl->tpl_vars['theme']->value->get_notifications()), 0);
        ?>
 
							<!-- start navigation -->
						<?php 
        echo $_smarty_tpl->getSubTemplate('navigation.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('nav' => $_smarty_tpl->tpl_vars['theme']->value->get_navigation_tree()), 0);
        ?>
 
						<!-- end navigation //-->
					</aside>
				</div>
				<!-- end sidebar //-->
				<!-- start main -->
				<div id="oe_mainarea" class="cf">
					<?php 
        echo $_smarty_tpl->getSubTemplate('messages.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        if (isset($_smarty_tpl->tpl_vars['fmgood']->value) && $_smarty_tpl->tpl_vars['fmgood']->value) {
            echo smarty_function_cms_module(array('module' => 'FileManager', 'action' => 'dropzone', 'id' => 'dropzone', 'assign' => 'droparea'), $_smarty_tpl);
        }
        ?>
<article role="main" class="content-inner"><header class="pageheader<?php 
        if (isset($_smarty_tpl->tpl_vars['is_ie']->value)) {
            ?>
 drop-hidden<?php 
        }
        ?>
 cf"><?php 
        if (isset($_smarty_tpl->tpl_vars['module_icon_url']->value) || isset($_smarty_tpl->tpl_vars['pagetitle']->value)) {
            ?>
<h1><?php 
            if (isset($_smarty_tpl->tpl_vars['module_icon_url']->value)) {
                ?>
<img src="<?php 
                echo $_smarty_tpl->tpl_vars['module_icon_url']->value;
                ?>
" alt="<?php 
                echo ($tmp = @$_smarty_tpl->tpl_vars['module_name']->value) === null || $tmp === '' ? '' : $tmp;
                ?>
" class="module-icon" /><?php 
            }
            echo ($tmp = @$_smarty_tpl->tpl_vars['pagetitle']->value) === null || $tmp === '' ? '' : $tmp;
            ?>
</h1><?php 
            if (isset($_smarty_tpl->tpl_vars['module_help_url']->value) || isset($_smarty_tpl->tpl_vars['wiki_url']->value)) {
                ?>
 <span class="helptext"> <?php 
                if (isset($_smarty_tpl->tpl_vars['module_help_url']->value)) {
                    ?>
<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['module_help_url']->value;
                    ?>
"><?php 
                    echo lang('module_help');
                    ?>
</a><?php 
                }
                if (isset($_smarty_tpl->tpl_vars['wiki_url']->value)) {
                    ?>
<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['wiki_url']->value;
                    ?>
" class="external" target="_blank"><?php 
                    echo lang('help');
                    ?>
</a> <em>(<?php 
                    echo lang('new_window');
                    ?>
)</em><?php 
                }
                ?>
 </span> <?php 
            }
        }
        if (isset($_smarty_tpl->tpl_vars['droparea']->value) && !isset($_smarty_tpl->tpl_vars['is_ie']->value)) {
            echo $_smarty_tpl->tpl_vars['droparea']->value;
        }
        ?>
</header><section class="cf"><?php 
        echo $_smarty_tpl->tpl_vars['content']->value;
        ?>
</section></article>
				</div>
				<!-- end main //-->
				<div class="spacer">
					&nbsp;
				</div>
			</div>
			<!-- end content //-->
			<!-- start footer -->
			<?php 
        echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
 
			<!-- end footer //-->
		</div>
		<!-- end container //-->
		</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 
    }