".$mess." | "; echo "ID号: | ".$reginfo[13]." | "; echo "用户: | ".$reginfo[0]." | "; echo "密码: | ".$reginfo[1]." | "; echo "主页: | ".$reginfo[9]." | "; echo "邮箱: | ".$reginfo[8]." | "; echo "oicq: | ".$reginfo[3]." | "; echo "昵称: | ".$reginfo[2]." | "; echo "等级: | ".$reginfo[11]." | "; echo "性别: | ".$reginfo[4]." | "; echo "年龄: | ".$reginfo[5]." | "; echo "职业: | ".$reginfo[6]." | "; echo "来自: | ".$reginfo[7]." | "; echo "信息保密: | ".$reginfo[12]." | "; echo "签名: | ".$reginfo[10]." | "; echo "邮件通知: | ".$reginfo[18]." | "; echo "注册时间: | ".$reginfo[15]." | "; echo "登录时间: | ".$reginfo[16]." | "; echo "头像: | | "; $reginfo=$reginfo[0]; echo ""; echo "";
}
//檢視資訊並寫入記錄 function reg($usename,$usepass,$usemail,$useweb,$useni,$useoicq,$usesex,$useage,$usezy,$useaddr, $useinf,$usety,$usebq,$useqm) { if ($usename) //如果有使用者名稱傳入則處理 使用者模組8) return 1; else if(strlen($usepass)>8) return 2; else if(strlen($useoicq)>12) return 3 else>; $usepass,pass)) return 4; else if(!uinfo($usename,name)) return 5; else if(!uinfo($useoicq,oicq)) re (!uinfo($usemail,mail)) return 7; else { $query="select * from useinfo where usename=' ".$usename."'"; //是否已有使用者 $req=mysql_query($query); if ($useinfp[0]) return 8; else { $useqm=nl2br($useqm); //寫入使用者資訊 $query="insert into useinfo (usename,usepass,usemail,useweb,useni,useoicq,usesex,useage,usezy,useaddr,usein,useni,useoicq,usesex,beatage,usezy,usec,usein,forep. usename."','".$usepass."','".$usemail."','".$useweb."','".$useni."','".$useoicq."', '".$usesex."','".$useage."','".$usezy."','".$useaddr."','".$useinf."','".$usety ."','".$usebq."','".$useqm."',1,now(),'".$time."')"; ; if ($req) query="select * from useinfo where usename='".$usename."'"; //取出使用者訊息,並傳出使用者端 $req=mysql_query($query); $useinfo=mysql_fetch_array($req); return $useinfo; } else return 10; } } return 9; } }
function usemess($mess,$usename,$usemail,$useweb,$useni,$useoicq,$useaddr,$useqm) //信息输入表单 { echo " |
|