<?php
$this->load->view('header');
?>
<table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td colspan="3" height="30"> </td>
</tr>
<tr>
<td colspan="3" align="center" class="t4" height="20" bgcolor="#F4F4F4"><b>Статьи</b></td>
</tr>
<tr>
<td colspan="3" align="center" height="30" ></td>
</tr>
<tr>
<td colspan="3" height="150">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php
if ($articles_array!='')
foreach ($articles_array as $Article)
{
?>
<tr>
<td height="4px" background="<?php echo $config['images']?>tchk.jpg"></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="center"><a href="<?php echo base_url(); ?>articles/full/<?php echo $Article['id']?>/"><strong><?php echo $Article['title']?></strong></a></td>
</tr>
<tr>
<td>
<?php
if (strlen($Article['text'])>70)
{
$Article['text']=substr($Article['text'],0,400);
$Article['text']=$Article['text'] .'...';
}
echo $Article['text'];
?>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td height="4px" background="<?php echo $config['images']?>tchk.jpg"></td>
</tr>
<tr>
<td> </td>
</tr>
<?php
}
?>
</table>
</td>
</tr>
</table>
<?php
$this->load->view('footer');
?>