?> <li><a href="?userId=<?php echo $_GET['userId']; ?> &flag=<?php echo $flag; ?> &type=<?php echo $type; ?> &direction=out"><strong><?php echo $flag; ?> </strong></a> <?php if ($type == "content") { echo $POD->pluralize($user->flaggedCount($flag), "@number piece of content", "@number pieces of content"); } else { echo $POD->pluralize($user->flaggedCount($flag), "@number person", "@number people"); } ?> </li> <?php } ?> </ul> <?php } if ($iflags) { ?> <p>Flags have been added to this <?php echo $content ? 'content' : 'person';
<div class="info"> Updates to the database schema are required! <a href="options/upgrade.php">Click to upgrade.</a> </div> <?php } ?> <div id="options"> <div class="stats option_set"> <div class="stat"> <a href="<?php $POD->podRoot(); ?> /admin/people/search.php?mode=newest"><?php echo $POD->pluralize($stats['members_total'], '<span class="number">@number</span> member', '<span class="number">@number</span> members'); ?> </a> <?php echo $stats['members_today']; ?> joined today<br /> <?php echo $stats['members_week']; ?> over the last week </div> <div class="stat"> <a href="<?php $POD->podRoot(); ?>
header("Location: " . $POD->siteRoot(false)); exit; } $max_friends = 20; $offset = 0; if (isset($_GET['offset'])) { $offset = $_GET['offset']; } $mode = "friends"; if (isset($_GET['mode'])) { $mode = $_GET['mode']; } if ($mode == "friends") { $people = $POD->currentUser()->friends($max_friends, $offset); $title = "My Friends"; $header = "You have " . $people->totalCount() . " " . $POD->pluralize($people->totalCount(), 'friend', 'friends'); } if ($mode == "followers") { $people = $POD->currentUser()->followers($max_friends, $offset); $title = "My Followers"; $header = "You have " . $people->totalCount() . " " . $POD->pluralize($people->totalCount(), 'follower', 'followers'); } if ($mode == "recommended") { $people = $POD->currentUser()->recommendFriends(2); $title = "Recommended Friends"; $header = "You might like these folks"; } $POD->header($header); ?> <div id="friends_actions"> <h1><?php