<%
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 ))) {
if( $user ) {
$cache = remove_contact( $user, $u );
$users = get_contacts();
%>
<h1>removing <%= $user %> from <%= get_ownoun() %> list of peeps</h1>
<meta http-equiv=Refresh content="0; URL=/contacts/">
<%
} else {
%>
<h1>oops! no user to remove.</h1>
<%
}
} # end auth
%>