예제 #1
0
파일: index.php 프로젝트: pixelhulk/LEPTON
</div>    <!-- END left column -->   

	<!-- Content -->
	
	<div id="cont">
	<?php 
page_content(1);
?>
	
	</div>
	<br style="clear: both;" />
	<div id="foot">
	<?php 
show_menu2(2, SM2_ROOT, SM2_ALL, SM2_TRIM | SM2_PRETTY | SM2_XHTML_STRICT);
?>
	</div>

<!-- Block Bottom -->
	<div id="basic">
	<div id="links"><?php 
page_footer();
?>
</div>
	<div id="design"><a href='http://cms-lab.com'>Design by CMS-LAB</a></div>
	</div>
</div>
<?php 
get_page_footers();
?>
</body>
</html>
예제 #2
0
 /**
  *	Print the admin backend footer
  *
  */
 public function print_footer()
 {
     $footer_vars = array('BACKEND_BODY_MODULE_JS' => get_page_footers('backend'), 'LEPTON_URL' => LEPTON_URL, 'LEPTON_PATH' => LEPTON_PATH, 'ADMIN_URL' => ADMIN_URL, 'THEME_URL' => THEME_URL);
     echo $this->parser->render("@theme/footer.lte", $footer_vars);
     /**
      *	Droplet support
      *
      */
     $this->html_output_storage = ob_get_clean();
     if (true === $this->droplets_ok) {
         $this->html_output_storage = evalDroplets($this->html_output_storage);
     }
     // CSRF protection - add tokens to internal links
     if ($this->is_authenticated()) {
         if (file_exists(LEPTON_PATH . '/framework/functions/function.addTokens.php')) {
             include_once LEPTON_PATH . '/framework/functions/function.addTokens.php';
             if (function_exists('addTokens')) {
                 addTokens($this->html_output_storage, $this);
             }
         }
     }
     echo $this->html_output_storage;
 }
예제 #3
0
 /**
  *	Print the admin backend footer
  *
  */
 public function print_footer()
 {
     $footer_template = new Template(THEME_PATH . '/templates');
     $footer_template->set_file('page', 'footer.htt');
     $footer_template->set_block('page', 'footer_block', 'header');
     $footer_template->set_var(array('BACKEND_BODY_MODULE_JS' => get_page_footers('backend'), 'LEPTON_URL' => LEPTON_URL, 'LEPTON_PATH' => LEPTON_PATH, 'ADMIN_URL' => ADMIN_URL, 'THEME_URL' => THEME_URL));
     $footer_template->parse('header', 'footer_block', false);
     $footer_template->pparse('output', 'page');
     /**
      *	Droplet support
      *
      */
     $this->html_output_storage = ob_get_clean();
     if (true === $this->droplets_ok) {
         $this->html_output_storage = evalDroplets($this->html_output_storage);
     }
     // CSRF protection - add tokens to internal links
     if ($this->is_authenticated()) {
         if (file_exists(LEPTON_PATH . '/framework/functions/function.addTokens.php')) {
             include_once LEPTON_PATH . '/framework/functions/function.addTokens.php';
             if (function_exists('addTokens')) {
                 addTokens($this->html_output_storage, $this);
             }
         }
     }
     echo $this->html_output_storage;
 }