<?php $allnotices = $this->requestAction('/homes/getNotice');  if(!empty($allnotices)){?>
<div class="container">
    <div class="row">
        <div class="latestnews">
            <div class="col-xs-12 col-sm-12 col-md-12">
                <ul id="news">
                	<?php foreach($allnotices as $notice){?>
                    <li><a href="<?php echo $this->webroot;?>"><span aria-hidden="true" class="glyphicon glyphicon-star"></span><?php echo $notice['Notice']['title'];?></a></li>
                    <?php } ?>
                </ul>
            </div>
        </div>
    </div>
</div>
<?php } ?>