Beispiel #1
0
            $s->assign('header', 'Most-Followed Friends');
            $s->assign('people', $fd->getMostFollowedFollowees($i->network_user_id, 15));
            break;
        case "friends-former":
            $s->assign('header', 'Former Friends');
            $s->assign('people', $fd->getFormerFollowees($i->network_user_id, 15));
            break;
        case "friends-notmutual":
            $s->assign('header', 'Not Mutual Friends');
            $s->assign('people', $fd->getFriendsNotFollowingBack($i->network_user_id));
            break;
        case "links-friends":
            $s->assign('header', 'Links From Friends');
            $s->assign('description', 'Links your friends posted');
            $s->assign('links', $ld->getLinksByFriends($i->network_user_id));
            break;
        case "links-favorites":
            $s->assign('header', 'Links From Favorites');
            $s->assign('description', 'Links in posts you favorited');
            //$s->assign('links', $ld->getLinksByFriends($cfg->twitter_user_id));
            break;
        case "links-photos":
            $s->assign('header', 'Photos');
            $s->assign('description', 'Photos your friends have posted');
            $s->assign('links', $ld->getPhotosByFriends($i->network_user_id));
            break;
    }
}
# clean up
$db->closeConnection($conn);
$s->display('inline.view.tpl', $i->network_username . "-" . $_SESSION['user'] . "-" . $_REQUEST['d']);
Beispiel #2
0
            $s->assign('header', 'Most-Followed Friends');
            $s->assign('people', $fd->getMostFollowedFollowees($cfg->twitter_user_id, 15));
            break;
        case "friends-former":
            $s->assign('header', 'Former Friends');
            $s->assign('people', $fd->getFormerFollowees($cfg->twitter_user_id, 15));
            break;
        case "friends-notmutual":
            $s->assign('header', 'Not Mutual Friends');
            $s->assign('people', $fd->getFriendsNotFollowingBack($cfg->twitter_user_id));
            break;
        case "links-friends":
            $s->assign('header', 'Links From Friends');
            $s->assign('description', 'Links your friends tweeted.');
            $s->assign('links', $ld->getLinksByFriends($cfg->twitter_user_id));
            break;
        case "links-favorites":
            $s->assign('header', 'Links From Favorites');
            $s->assign('description', 'Links in tweets you favorited.');
            //$s->assign('links', $ld->getLinksByFriends($cfg->twitter_user_id));
            break;
        case "links-photos":
            $s->assign('header', 'Photos');
            $s->assign('description', 'Photos your friends have tweeted.');
            $s->assign('links', $ld->getPhotosByFriends($cfg->twitter_user_id));
            break;
    }
}
# clean up
$db->closeConnection($conn);
$s->display('inline.view.tpl', $i->twitter_username . "-" . $_SESSION['user'] . "-" . $_REQUEST['d']);