Location: PHPKode > projects > Prsaar Social Networking Platform > PrsaarColour-0.7.alpha.6.3/pr-admin/friend.php
<?php
	require_once('./admin.php');
	//for display
	$Display->Title = 'Friends';
	$Display->Subtitle = 'General';
	require('./admin-display-header.php');
	
	//---------------------------- database quries
	$FriendCount = $DC->Result("SELECT count(*) FROM ".PR_DATABASE_PREFIX."friend");
	//--------------------------------------------
	if($FriendCount == false) $FriendCount = 0;
	else $FriendCount = $FriendCount[0]['count(*)'];
?>
<h2> Friends </h2> 
<ul> <li> You have total <?php _p($FriendCount); ?> friend/s </li>
	 <li> <a href='friend-new.php'>Add new friends</a> </li>
	 <li> <a href='friend-manage.php'>Manage your friends</a> </li>
</ul>
<?php include('./admin-display-footer.php'); ?>
Return current item: Prsaar Social Networking Platform