function widget($args, $instance)
    {
        global $wp_sh_setting_opt;
        extract($args);
        $title = apply_filters('widget_title', $instance['title']);
        $sourcecode = $instance['sourcecode'];
        $sourcecode = wp_sh_replace_marker(wp_sh_escape_code($sourcecode));
        // Apply shortcode parser
        if ($wp_sh_setting_opt['wiget_shorcode'] == 1) {
            $sourcecode = wp_sh_do_shortcode(wp_sh_add_extra_bracket($sourcecode));
        }
        ?>
			<?php 
        echo $before_widget;
        if ($title) {
            echo $before_title . $title . $after_title;
        }
        if ($sourcecode != "") {
            echo $sourcecode;
        }
        echo $after_widget;
        ?>
			<?php 
        wp_sh_load_scripts_by_shortcut();
        ?>
		<?php 
    }
function wp_sh_bbpress_load_scripts()
{
    wp_sh_load_scripts_by_shortcut();
}