<?php
$counter = 0;
foreach ($related_bug_report as $related_bug_report_info) {
    ?>
    <span class="col-sm-12 form-group text-left" >      

        <a href="<?php echo base_url() ?>support-bug-report/<?php echo $related_bug_report_info->support_id; ?>" >
            <i class="fa fa-arrow-circle-o-right"> </i> 
            <?php echo $related_bug_report_info->support_title ?>
        </a>    

    </span> 

    <?php
    $counter ++;
}
?>

<?php if ($total_bug_report->total_bug_report > $counter) { ?>
    <a href="javascript:void(0)" onclick="more_view_bug_report('<?php echo base_url(); ?>support-more-bug-report/', '<?php echo $counter; ?>')" > More...</a>
<?php }
?>