<?php
/**
* FILE_NAME : ucenter.php
*
* @copyright Copyright (c) www.shuangyulin.com
* @author 双鱼林设计
* @package 用户中心
* @subpackage
* @version QQ:287307421或254540457
*/

if ($_COOKIE['username']) {
	$username = $_COOKIE['username'];
	$password = $_COOKIE['userpsw'];
	$lastlogin = $_COOKIE['lastlogin'];
	
	echo '<ul><li>欢迎登陆：<b>'.$username.'</b></li><li>上次登录：<b>'.formatdate("Y-m-d",$lastlogin).'</b></li><li><a href="user.php?act=update">修改密码</a></li><li><a href="user.php?act=logout">退出登录</a></li></ul>';

}
?>