<%
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"];
%>
<link rel="stylesheet" type="text/css" href="/new-portal.css" title="default stylings">
<%
if( $tok && $tok == md5( getPasswdForUser( $u ))) {
$users = get_contacts();
%>
<%= get_contactlist_html( $users, get_ownoun() . " peeps", $cache ) %>
<h3>a sample list of users for testing...</h3>
<ul>
<%
$sampleUsers = array("jm3", "pheezy", "gus", "kid_sleep", "xutella" );
foreach( $sampleUsers as $user ) {
%>
<li><%= makeUserLink( $user ) %></li>
<%
}
%>
</ul>
<%
} # end auth
%>