/home/arranoyd/gazehome/wp-content/themes/uncode/sidebar.php
<?php
/**
 * The sidebar containing the main widget area.
 *
 * @package uncode
 */

$metabox_data = get_post_custom($post->ID);
$sidebar = (isset($metabox_data['_uncode_page_sidebar'][0])) ? 'uncode-' . $metabox_data['_uncode_page_sidebar'][0] : 'sidebar-1';

if ( ! is_active_sidebar( $sidebar ) ) {
	return;
}

?>

<div id="secondary" class="widget-area" role="complementary">
	<?php dynamic_sidebar( $sidebar ); ?>
</div><!-- #secondary -->