<? $this->load->view( $this->aSystemVar['template_viewer_root'] . '_header') ?>

	<div class="colCapt">
		users post
	</div>
	<div class="mb10">
		<div class="clearBoth"></div>
		<div style="float:left;">
		<?= $this->lang->line('post_by') ?> :
		</div>
		<div style="float:left; left:10px;">
			<img src="<?= $data['User']['iconUrl']?>" alt="<?= $data['User']['Name'] ?>" /><br />
			<?= anchor( 'user/profile/' . $data['User']['Name'], $data['User']['Name']) ?>
		</div>
		<div class="clearBoth"></div>
	</div>

	<div>
		<?
			$i = 0;
			foreach( $data['PostList'] as $aPost )
			{
				if( ($i%2) == 0 )
				{
					$aPost['class'] = 'even';
				}
				else
				{
					$aPost['class'] = 'odd';
				}
				$this->load->view( $this->aSystemVar['template_viewer_root'] . 'design_items/post_box', $aPost );
				$i++;
			}
		?>
	</div>

	<div class="paginateBlock">
		<?
			$aPagination['Pagination'] = $data['Pagination'];
			$this->load->view( $this->aSystemVar['template_viewer_root'] . 'design_items/pagination', $aPagination );
		?>
	</div>
<? $this->load->view( $this->aSystemVar['template_viewer_root'] . '_footer') ?>