<!DOCTYPE html>
<html lang="{lang_code}">
  <head>
    <?php _widget('head');?>
    <script>
    $(document).ready(function(){

    });    
    </script>
  </head>

  <body>
  
{template_header}

<?php _subtemplate('headers', _ch($subtemplate_header, 'empty')); ?>

<?php _widget('top_ads');?>
<a id="content"></a>
<div class="wrap-content">
    <div class="container">
    
        <h2>{page_title}</h2>
        <div class="property_content">
        <?php _widget('center_defaultcontent');?>
        <?php if(file_exists(APPPATH.'controllers/admin/treefield.php')):?>
        <?php echo treefield_sitemap(64, $lang_id, 'ul'); ?>
        <br/>
        <?php endif;?>
        <h2>  <?php echo lang_check('Website sitemap');?> </h2>
        <?php echo website_sitemap($lang_id, 'ul'); ?>
        
        <?php _widget('center_imagegallery');?>
        
        {has_page_documents}
        <h2>{lang_Filerepository}</h2>
        <ul>
        {page_documents}
        <li>
            <a href="{url}">{filename}</a>
        </li>
        {/page_documents}
        </ul>
        {/has_page_documents}
        </div>
    </div>
</div>
    
<?php _subtemplate('footers', _ch($subtemplate_footer, 'standard')); ?>

<?php _widget('custom_javascript');?> 

  </body>
</html>