10、會員資訊顯示檔案show.php3
if($login){
require("common.php3");
if(!isset($id))error("怎麼沒有填寫使用者的ID?");
else{
$id=chop($id);
$dbm=dbmopen("class","r");
if(!dbmexists($dbm,$id))error("沒有這個使用者ID!");
else{
$data=dbmfetch($dbm,$id);
$info=explode("|!:!|",$data);
$name=$info[0]; $nickname=$info[1]; $mail=$info[2]; $home=$info[3]; $oicq=$info[4];
$icq=$info[5]; $add=$info[6]; $tel=$info[7]; $birth=$info[8]; $job=$info[9];
$intro=$info[10]; $sex=$info[11];
}
dbmclose($dbm);
}
?>
查 看 <?echo$name?> 的 資 料
width="80%">
的詳細資料
姓名
width="34%">NickName
性別
郵件地址
個人首頁
>
目前職業
OICQ號碼
if($oicq=="")echo "不告訴你!";
else{
?>
" target=_blank title=的OICQ號碼是,點擊查看資料>/l/00/0/" width=16>
}
?>
ICQ 號碼
if($oicq=="")echo "不告訴你!";
else{
?>&img=7>
}?>
生日日期
聯絡地址
聯絡電話
簡歷
}else header("location:login.php3");
?>
11、css檔案:
A {text-decoration: none; color: #336699; font-family: "宋體"; font-size: 9pt}
A:hover {text-decoration: underline; color: #FF0000; font-family: "宋體"; font-size: 9pt}
body { font-family: "宋體", "serif"; font-size: 9pt}
td { font-family: "宋體", "serif"; font-size: 9pt}
input { font-size: 9pt}
p { font-size: 9pt}
br { font-size: 9pt}
tr { font-size: 9pt}
table { font-size: 9pt}
INPUT { FONT-FAMILY: arial,宋體; FONT-SIZE: 9pt; PADDING-TOP: 3px }
INPUT.text {
BACKGROUND-COLOR: #f0f0f0; BORDER-BOTTOM: #101010 1px solid; BORDER-LEFT: #101010 1px solid; BORDER-RIGHT: #101010 1px solid; BORDER-TOP: #101010 1px solid; COLOR: #000000
}
INPUT.file {
BACKGROUND-COLOR: #f0f0f0; BORDER-BOTTOM: #101010 1px solid; BORDER-LEFT: #101010 1px solid; BORDER-RIGHT: #101010 1px solid; BORDER-TOP: #101010 1px solid; COLOR: #000000
}
SELECT {
BACKGROUND-COLOR: #f0f0f0; BORDER-BOTTOM: #101010 1px solid; BORDER-LEFT: #101010 1px solid; BORDER-RIGHT: #101010 1px solid; BORDER-TOP: #101010 1px solid; COLOR: #000000
}
TEXTAREA {
BACKGROUND-COLOR: #f0f0f0; BORDER-BOTTOM: #101010 1px solid; BORDER-LEFT: #101010 1px solid; BORDER-RIGHT: #101010 1px solid; BORDER-TOP: #101010 1px solid; COLOR: #000000
}
.stedit { font-size: 9pt; border-left: 1px solid #4a3163;
border-right: 1px solid #4a3163; border-top: 1px solid #4a3163;
border-bottom: 1px solid #000066 }
.stbtm { background-color: #cococo; color: #000000; font-size: 9pt; height: 20px;
border-left: 1px solid #ffffff; border-right: 1px solid #665b8e;
border-top: 1px solid #ffffff; border-bottom: 1px solid #665b8e }
好了,完了