<div class="sidebar">
    <?php if (!dynamic_sidebar('primary-widget-area')) : ?>
        <h3>
            <a href="#">
                <?php _e('Categories', 'golden-eagle-lite'); ?>
            </a>
        </h3>
        <ul>
            <?php wp_list_categories('title_li'); ?>
        </ul>
        <h3>
            <a href="#">
                <?php _e('Archives', 'golden-eagle-lite'); ?>
            </a>
        </h3>
        <ul>
            <?php wp_get_archives('type=monthly'); ?>
        </ul>
        <h3>
            <a href="#">
                <?php _e('Search:', 'golden-eagle-lite'); ?>
            </a>
        </h3>
        <?php
        get_search_form();
    endif; // end primary widget area 
// A second sidebar for widgets, just because.
    if (is_active_sidebar('secondary-widget-area')) :
        dynamic_sidebar('secondary-widget-area');
    endif;
    ?>
</div>