<div id="main_borders">
 <div id="main_inner_borders">
 <h2><strong><?=$title?></strong></h2>
<? if ($content) { ?>
<? $text = str_replace('src="images/cat_images/', 'src="'.base_url().'images/cat_images/', $content['content']); ?>
<? $text = str_replace('src="images/photos/', 'src="'.base_url().'images/photos/', $text); ?>
<?=$text?>
<? } ?>
</div>
</div>