<?php /** * * Template footer * **/ // create an access to the template main object global $tpl; // disable direct access to the file defined('GAVERN_WP') or die('Access denied'); ?> <footer id="gk-footer" class="gk-page"> <?php gavern_menu('footermenu', 'gk-footer-menu'); ?> <div class="gk-copyrights"> <?php echo str_replace('\\', '', htmlspecialchars_decode(get_option($tpl->name . '_template_footer_content', ''))); ?> <a href="#top" id="gk-top-link"><?php _e('Back to top', GKTPLNAME); ?> </a> </div> <?php
} ?> <div id ="gk-main-menu" <?php if (get_option($gk_tpl->name . '_menu_type', 'overlay') == 'overlay') { ?> class="gk-menu-overlay" <?php } ?> > <nav class="gk-menu-wrap"> <?php if (gk_show_menu('mainmenu')) { ?> <?php gavern_menu('mainmenu', 'gk-main-menu', array('walker' => new GKMenuWalker())); ?> <?php } ?> </nav> </div> <?php if (get_option($gk_tpl->name . '_search_form', 'Y') == 'Y') { ?> <div id="gk-search"> <?php get_template_part('searchform'); ?> </div> <?php