fetch1("select * from {$dbtbpre}enewsmemberadd where userid='".$user[userid]."' limit 1"); //头像 $userpic=$addr['userpic']?$addr['userpic']:$public_r[newsurl].'e/data/images/nouserpic.gif'; //有效?$userdate=0; if($r[userdate]) { $userdate=$r[userdate]-time(); if($userdate<=0) { $userdate=0; } else { $userdate=round($userdate/(24*3600)); } } //是否有短消息 $havemsg="?; if($user[havemsg]) { $havemsg="您有新消?/font>"; } //注册时间 $registertime=eReturnMemberRegtime($r['registertime'],"Y-m-d H:i:s"); //导入模板 require(ECMS_PATH.'e/template/member/cp.php'); db_close(); $empire=null; ?>޵ջ˽ܲƷô