<?php
/**
 * Class to create theme options
 */
class Kopa_Customize_Options_Control extends WP_Customize_Control {
    public $description = '';

    public function render_content() {
        switch ( $this->type ) {
            case 'theme_options':
                include_once get_template_directory() . '/library/includes/cpanel/theme-options.php';
            break;

            case 'sidebar_manager':
                include_once trailingslashit(get_template_directory()) . '/library/includes/cpanel/sidebar-manager.php';
            break;

            case 'layout_manager':
                include_once trailingslashit(get_template_directory()) . '/library/includes/cpanel/layout-manager.php';
            break;
        }
    }
}