Location: PHPKode > projects > FeedMeLinks, Social BookmarkingSince2002 > feedmelinks.com/contacts/big.php
<%
	include_once( "../modules/utils.inc.php" );
	include_once( "$modules/header.insecure.inc.php" );
	session_register("cache");
	$tok = $_COOKIE["c_pass_token"];
	$u = $_COOKIE["c_uid"];
	if( ! $_internal ) {
%>
	<title>
		Feed Me Links! : Your Contacts' Recent Links
	</title>
	<link rel="stylesheet" type="text/css" href="/style/new-site.css" title="default stylings">
	</head>
	<body>

<%
	}
	if( $_internal == 1 || ($tok && $tok == md5( getPasswdForUser( $u )))) {
		if( $_internal ) {
			$cache = rebuild_cache( $_u );
%>
<base href="http://feedmelinks.com/">
<link rel="stylesheet" type="text/css" href="/style/new-site.css">
<%
		} else {
			include_once( "$modules/menu.inc.php" );
		}
%>
<div id="main">

<h2> Your Peeps&rsquo; Recent Links: <%= date("l, F jS, g:i:s A") %> </h2>

	<p>
<%
		$users = get_contacts();
		if( $users )
			foreach( $users as $u=>$dingus ) {
				echo get_recent_for_user( $u );
			}
		else
			echo "you appear to have no peeps yet...";
		if( $_internal ) {
%>
<p>
Hello, I'm sending these messages from a script in order to beta-test
a new feature -- emails of your friends' recent links on feedmelinks.
This is only a test but if you are immensely distrurbed by it, I
will happily add your email address to an exclusion list and you
won't receive any further emails. Thanks!
</p>
<p>
-- jm3 @ feedmelinks.com
</p>
<%
		}
%>

	</p>
</div>
<%
	} else {  # end auth
		echo bounceTo( $site . urldecode( "/portal" ) );
	} 
%>

Return current item: FeedMeLinks, Social BookmarkingSince2002