<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<div id="topnavbar">
    <?php $theme_options = pmthemes_theme_options();
    if ( isset($theme_options['topbar_date']) and $theme_options['topbar_date'] == true ) :?>
        <div class="topnavbarleft">
            <p><?php echo date("l, F j, Y"); ?></p>
        </div>
    <?php endif; ?>
    <?php $theme_options = pmthemes_theme_options();
    if ( isset($theme_options['topbar_icons']) and $theme_options['topbar_icons'] == true ) : ?>
        <div class="topnavbarright">
                <?php pmthemes_display_social_icons(); ?>
        </div>
    <?php endif; ?>
</div>