<div class="page-margin">
	<div class="row">
		<div class="col-md-2 leftcol"><?php echo Wo_LoadPage("sidebar/left-sidebar"); ?></div>
		<div class="col-md-7 middlecol">
			<?php $up = Wo_GetUserProType($wo['user']['pro_type']); ?>
			<div class="alert alert-warning">
				<?php if (!empty(in_array($wo['user']['pro_type'], array_keys($wo['pro_packages'])) && !empty($wo['pro_packages'][$wo['user']['pro_type']]['image'])) && $_COOKIE['mode'] == 'day') { ?>
					<img src="<?php echo($wo['pro_packages'][$wo['user']['pro_type']]['image']) ?>" class="pro_packages_icon_inline">
				<?php }
				elseif (!empty(in_array($wo['user']['pro_type'], array_keys($wo['pro_packages'])) && !empty($wo['pro_packages'][$wo['user']['pro_type']]['night_image'])) && $_COOKIE['mode'] == 'night') { ?>
					<img src="<?php echo($wo['pro_packages'][$wo['user']['pro_type']]['night_image']) ?>" class="pro_packages_icon_inline">
				<?php } else{ ?>
					<i class="fa fa-<?php echo $up['icon'];?> fa-fw"></i> 
				<?php } ?>
				<?php 
					$string = str_replace('{type_name}', $up['type_name'], $wo['lang']['boost_posts_in_same_time']);
					$string = str_replace('{can_boost}', $up['can_boost'], $string);
					echo $string;
				?>
			</div>
			<div class="alert alert-info">
				<i class="fa fa-check fa-fw"></i> <?php echo $wo['lang']['boosted_pages_viewable'];?>
			</div>
			<div class="saved-posts">
				<?php
					$stories = Wo_GetBoostedPosts($wo['user']['user_id']);
					if (count($stories) <= 0) {
						echo Wo_LoadPage('boosted-posts/no-posts');
					} else {
						foreach ($stories as $wo['story']) {
							echo Wo_LoadPage('story/content');
						}
					}
				?>
			</div>
		</div>
		<?php echo Wo_LoadPage('sidebar/content');?>
	</div>
</div>