<span class="dropDownNotificationList">
                            <?php 
        render_footer_link_content('my', $notificationsList);
        ?>
                        </span>
                    </span>
                <?php 
    } else {
        echo '<span class="notificationLinks inactive-notify no-data" id="my-notifications-icon"><span class="notification-count">0</span><span class="dropDownNotificationList"><span class="nodata">Nothing to see here</span></span></span>';
    }
    ?>

                <!-- Start Friend Request Notification -->
                <?php 
    $objFriend = new BuckysFriend();
    $friendRequestsNum = $objFriend->getNewFriendRequests($userID);
    if ($friendRequestsNum > 0) {
        $friendRequests = $objFriend->getReceivedRequests($userID);
        ?>
                    <span class="notificationLinks" id="friend-notifications-icon">
                        <span class="dropDownNotificationList">                    
                            <?php 
        render_footer_link_content('friend', $friendRequests);
        ?>
                        </span>
                    </span>
                <?php 
    } else {
        echo '<span class="notificationLinks inactive-notify no-data" id="friend-notifications-icon"><span class="dropDownNotificationList"><a href="/myfriends.php?type=requested" class="nodata">No one wants to be your friend</a></span></span>';
    }
    ?>
    echo $userID;
    ?>
"
            class="accountSubLinks">View All</a> <br/>

        <h6>Information</h6>
        <a href="/info_basic.php" class="accountSubLinks">Basic Info</a> <br/> <a href="/info_contact.php"
            class="accountSubLinks">Contact</a> <br/> <a href="/info_education.php"
            class="accountSubLinks">Education</a> <br/> <a href="/info_employment.php"
            class="accountSubLinks">Employment</a> <br/> <a href="/info_links.php" class="accountSubLinks">Links</a>
        <br/>

        <h6>Friends</h6>
        <a href="/myfriends.php" class="accountSubLinks">All</a> <br/>
        <?php 
    $newFriendRequestsNum = BuckysFriend::getNewFriendRequests($userID);
    ?>
        <a href="/myfriends.php?type=requested"
            class="accountSubLinks<?php 
    echo $newFriendRequestsNum > 0 ? 'Bold' : '';
    ?>
">Requests<?php 
    echo $newFriendRequestsNum > 0 ? ' (' . $newFriendRequestsNum . ')' : '';
    ?>
</a>
        <br/> <a href="/myfriends.php?type=pending" class="accountSubLinks">Pending</a> <br/>

        <!-- <a href="/moderator.php" class="accountLinks">Vote</a> -->

        <?php 
    ?>
Example #3
0
            echo BuckysActivity::getActivityHTML($row, $userID);
        }
        ?>
                        <a class="view-detail-links" href="/account.php">                        
                            View All Notifications
                        </a>       
                    </span>
            </span>
            <?php 
    }
    ?>
            
            <!-- Start Friend Request Notification -->
            <?php 
    $objFriend = new BuckysFriend();
    $friendRequestsNum = $objFriend->getNewFriendRequests($BUCKYS_GLOBALS['user']['userID']);
    if ($friendRequestsNum > 0) {
        $friendRequests = $objFriend->getReceivedRequests($BUCKYS_GLOBALS['user']['userID']);
        ?>
            <span class="notificationLinks" id="friend-notifications-icon">
                <span class="dropDownNotificationList">                    
                    <?php 
        foreach ($friendRequests as $row) {
            ?>
                    <span class="singleNotificationListItem">
                        <img src="<?php 
            echo BuckysUser::getProfileIcon($row);
            ?>
" class="dropDownNotificationImages" />
                        <span class="redBold"><?php 
            echo $row['fullName'];