<?php /*template name: L+R side bars
*/?>
<?php get_header() ?>
<?php do_action( 'bp_before_sidebar' ) ?>
<div class="v_line v_line_right"></div>
<div id="sidebar" class="widgetarea">
<div class="right-sidebar-padder">
<?php do_action( 'bp_before_after_sidebar' ) ?>
<?php if( ! dynamic_sidebar( 'sidebar' )): ?>
<?php endif; // end primary widget area ?>
<?php do_action( 'bp_inside_after_sidebar' ) ?>
</div><!-- .padder -->
</div><!-- #sidebar -->
<table style="width: 770px;">
<tbody>
<tr>
<td>
<div id="content" >
<?php do_action( 'bp_after_sidebar' ) ?>
<div class="padder">
<?php do_action( 'bp_after_sidebar' ) ?>
<?php do_action( 'bp_before_blog_page' ) ?>
<div class="page" id="blog-page" >
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2 class="pagetitle"><?php the_title(); ?></h2>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry">
<?php the_content( __( '<p class="serif">Read the rest of this page →</p>', 'cc' ) ); ?>
<div class="clear"></div>
<?php wp_link_pages( array( 'before' => __( '<p class="cc_pagecount"><strong>Pages:</strong> ', 'cc' ), 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
<div class="clear"></div>
</div>
<?php endwhile; endif; ?>
</div><!-- .page -->
<?php cc_list_posts_on_page(); ?>
<div class="clear"></div>
<?php edit_post_link( __( 'Edit this page.', 'cc' ), '<p class="edit-link">', '</p>'); ?>
</div><!-- .padder -->
</div><!-- #content -->
</td>
</tr>
</tbody>
</table>
<?php get_footer() ?>