<?php $social = \Components\Footer\Footer::getSocialNetwork(); if (!empty($social)) { ?> <div class="ui horizontal list"> <?php if ($social['facebook']) { ?> <a class="ui circular facebook icon button" href="<?php echo $social['facebook']; ?> " target="_blank"> <i class="facebook icon"></i> </a> <?php } ?> <?php if ($social['gplus']) { ?> <a class="ui circular google plus icon button" href="<?php echo $social['gplus']; ?> " target="_blank"> <i class="google plus icon"></i> </a> <?php } ?> <?php