public static function add_sidebar_category()
 {
     $obj = new TMM_Custom_Sidebars();
     $sidebar_id = $_REQUEST['sidebar_id'];
     $cat_id = $_REQUEST['cat_id'];
     $data = array();
     $data['select'] = $obj->get_categories_select('', "sidebars[" . $sidebar_id . "][cat][" . $cat_id . "]", "sidebars_cat_" . $sidebar_id);
     echo TMM::draw_html('custom_sidebars/add_sidebar_page', $data);
     exit;
 }
function tmm_init()
{
    //custom widget areas
    global $before_widget, $after_widget, $before_title, $after_title;
    TMM_Custom_Sidebars::register_custom_sidebars($before_widget, $after_widget, $before_title, $after_title);
}
<?php

if (!defined('ABSPATH')) {
    die('No direct access allowed');
}
if ($_REQUEST['sidebar_position'] != 'no_sidebar') {
    ?>
	</section><!--/ #main-->
	<aside id="sidebar" class="four columns"><?php 
    TMM_Custom_Sidebars::show_custom_sidebars();
    ?>
</aside>	
<?php 
}
?>
</div><!--/ .container-->


<!-- - - - - - - - - - - - - end Container - - - - - - - - - - - - - - - - -->		
</div>

</div><!--/ #wrapper-->

<!-- - - - - - - - - - - - - - - - Dynamic Content - - - - - - - - - - - - - - - - -->


<!-- - - - - - - - - - - - - - - - end Header - - - - - - - - - - - - - - - - -->


<!-- - - - - - - - - - - - - - - Footer - - - - - - - - - - - - - - - - -->
<footer id="footer" <?php