How to hide parts of a template from non-members.

Hi Everyone,

Can you tell me how I can hide part of a template from different member groups. I have two levels, Gold and Standard, and I want to hide part of the template from standard members. I see that you can do this for content/page parts by using the [level-gold] shortcode, however, this doesn't work outside of the page.

For example, if I want to hide the #main-title from standard members. what would I add to the following full-width template code:

<!-- MAIN SECTION
================================================ -->
<section>
<div id="main">
<div id="main-content">

<?php
/**
* Before main part - action
*/
do_action('kleo_before_main');
?>

<div class="row row-full">

/**** HIDE THIS SECTION ****/

<div id="main-title">
<h2><?php echo get_the_title(); ?></h2>
<div id="member-count">
<span><?php echo bp_get_online_users(); ?> Members Online</span>
</div>
<div class="clear"></div>
</div>

/***************************/

<div id="main-content2">
<div class="twelve columns">
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>

Thanks for the support and I look forward to hearing back from you.

Regards,
Ryan