<?php get_header( 'buddypress' ); ?>





<div id="main_news_wrapper">





<div id="row"> 


<!-- Left wrapper Start -->


<div id="left_wrapper">


<div class="header">





<?php if(of_get_option('general_title_text')!="") { ?>


<h2> <span><?php bloginfo('name'); ?> //&nbsp;</span>


	


<?php if ( bp_account_was_activated() ) : ?>





				<?php _e( 'Account Activated', 'buddypress' ); ?>


				<?php else : ?>


				<?php _e( 'Activate your Account', 'buddypress' ); ?>


				<?php endif; ?>


</h2>


<?php } else { ?>


<h2><span><?php bloginfo('name'); ?> //&nbsp;</span> <?php echo get_the_title(); ?> </h2>


<?php } ?>





</div>


<div id="post_wrapper">





	<div id="content">


		<div class="padder">





		<?php do_action( 'bp_before_activation_page' ); ?>





		<div class="page" id="activate-page">





			<?php if ( bp_account_was_activated() ) : ?>





			





				<?php do_action( 'bp_before_activate_content' ); ?>





				<?php if ( isset( $_GET['e'] ) ) : ?>


					<p><?php _e( 'Your account was activated successfully! Your account details have been sent to you in a separate email.', 'buddypress' ); ?></p>


				<?php else : ?>


					<p><?php _e( 'Your account was activated successfully! You can now log in with the username and password you provided when you signed up.', 'buddypress' ); ?></p>


				<?php endif; ?>





			<?php else : ?>





				<?php do_action( 'bp_before_activate_content' ); ?>





				<p><?php _e( 'Please provide a valid activation key.', 'buddypress' ); ?></p>





				<form action="" method="get" class="standard-form" id="activation-form">





					<label for="key"><?php _e( 'Activation Key:', 'buddypress' ); ?></label>


					<input type="text" name="key" id="key" value="" />





					<p class="submit">


						<input type="submit" name="submit" value="<?php _e( 'Activate', 'buddypress' ); ?>" />


					</p>





				</form>





			<?php endif; ?>





			<?php do_action( 'bp_after_activate_content' ); ?>





		</div><!-- .page -->





		<?php do_action( 'bp_after_activation_page' ); ?>





		</div><!-- .padder -->


	</div><!-- #content -->


</div>





<div class="clear"></div>


</div>


<!-- Left wrapper end --> 





	<?php get_sidebar( 'buddypress' ); ?>





<div class="clear"></div>


</div>


</div>





<?php get_footer( 'buddypress' ); ?>