<?php if(!empty($srcarr['data'])):?>

    <h1><?php $this->__("Search Reasult for") ?> '<?php echo $srcstr;?>'</h1>
    <p><?php echo $this->__("Total result found ");?><?php echo $srcarr['total']; ?></p>

    <?php if($srcarr['paging']): ?>
        <br />
        <p><?php echo $srcarr['link'];?> <?php echo $srcarr['paging'];?></p>
    <?php endif;?>
    
    <ul>
    <?php foreach($srcarr['data'] as $val):?>
        <li><h2><?php echo($val['_parmalink']);?></h2><p><?php echo substr(strip_tags($val['_parmadesc']),0,400);?></p></li>			
    <?php endforeach?>
    </ul>

    <?php if($srcarr['paging'] != ""): ?>
    <br />
    <p><?php echo $srcarr['link'];?> <?php echo $srcarr['paging'];?></p>
    <?php endif;?>
    
<?php else:?>

    <h2><?php echo $this->__("Sorry! No search reslult found.") ?></h2>

<?php endif; ?>
