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);
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>查 看 <?echo$name?> 的 资 料</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE type=text/css>A {
COLOR: #336699; FONT-FAMILY: "宋体"; FONT-SIZE: 9pt; TEXT-DECORATION: none
}
A:hover {
COLOR: #ff0000; FONT-FAMILY: "宋体"; FONT-SIZE: 9pt; TEXT-DECORATION: underline
}
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 {
BORDER-BOTTOM: #000066 1px solid; BORDER-LEFT: #4a3163 1px solid; BORDER-RIGHT: #4a3163 1px solid; BORDER-TOP: #4a3163 1px solid; FONT-SIZE: 9pt
}
.stbtm {
BORDER-BOTTOM: #665b8e 1px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-RIGHT: #665b8e 1px solid; BORDER-TOP: #ffffff 1px solid; COLOR: #000000; FONT-SIZE: 9pt; HEIGHT: 20px
}
.ddd {
COLOR: #ffffff; FILTER: glow(color=black,strength=1); FONT-SIZE: 9pt; LINE-HEIGHT: 13pt; POSITION: relative; WIDTH: 100%
}
</STYLE></HEAD><BODY bgColor=#333366>
<DIV align=center><TABLE bgColor=#000000 border=0 cellPadding=8 cellSpacing=1 height=312
width="80%"><CENTER>
<TR>
<TD align=middle bgColor=#b2b2b2 colSpan=2 height=6>
<P align=center><?echo$name?>的详细资料 </P>
</TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=6 width="34%">姓名</TD>
<TD align=left bgColor=#dedfdf height=6 width="66%"><?echo$name?> </TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12
width="34%">NickName</TD>
<TD align=middle bgColor=#dedfdf height=12 width="66%">
<P align=left><?echo$nickname?></P>
</TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">性别</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$sex?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">邮件地址</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$mail?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">个人主页</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><a href=<?echo$home?<?echo$home?></a></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">目前职业</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$job?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=14 width="34%">OICQ号码</TD>
<TD align=left bgColor=#dedfdf height=14 width="66%">
<?
if($oicq=="")echo "不告诉你!";
else{
?>
<A href="http://search.tencent.com/cgi-bin/friend/user_show_info?ln=<?echo$oicq?>" target=_blank title=<?echo$name?>的OICQ号码是<?echo$oicq?>,点击查看资料><IMG border=0 height=16 src="http://infocenter.tencent.com/<?echo$oicq?>/l/00/0/" width=16> <?echo$oicq?></A>
<?
}
?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">ICQ 号码</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%">
<?
if($oicq=="")echo "不告诉你!";
else{
?><img src=http://wwp.icq.com/scripts/online.dll?icq=<?echo$icq;?>&img=7><?echo$icq?>
<?
}?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">生日日期</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$birth?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">联系地址</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$add?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">联系电话</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$tel?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">个人简介</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$intro?></TD>
</TR>
</center>
</TABLE>
</DIV></BODY></HTML>
<?
}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 }
好了,完了
<?
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);
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>查 看 <?echo$name?> 的 资 料</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE type=text/css>A {
COLOR: #336699; FONT-FAMILY: "宋体"; FONT-SIZE: 9pt; TEXT-DECORATION: none
}
A:hover {
COLOR: #ff0000; FONT-FAMILY: "宋体"; FONT-SIZE: 9pt; TEXT-DECORATION: underline
}
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 {
BORDER-BOTTOM: #000066 1px solid; BORDER-LEFT: #4a3163 1px solid; BORDER-RIGHT: #4a3163 1px solid; BORDER-TOP: #4a3163 1px solid; FONT-SIZE: 9pt
}
.stbtm {
BORDER-BOTTOM: #665b8e 1px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-RIGHT: #665b8e 1px solid; BORDER-TOP: #ffffff 1px solid; COLOR: #000000; FONT-SIZE: 9pt; HEIGHT: 20px
}
.ddd {
COLOR: #ffffff; FILTER: glow(color=black,strength=1); FONT-SIZE: 9pt; LINE-HEIGHT: 13pt; POSITION: relative; WIDTH: 100%
}
</STYLE></HEAD><BODY bgColor=#333366>
<DIV align=center><TABLE bgColor=#000000 border=0 cellPadding=8 cellSpacing=1 height=312
width="80%"><CENTER>
<TR>
<TD align=middle bgColor=#b2b2b2 colSpan=2 height=6>
<P align=center><?echo$name?>的详细资料 </P>
</TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=6 width="34%">姓名</TD>
<TD align=left bgColor=#dedfdf height=6 width="66%"><?echo$name?> </TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12
width="34%">NickName</TD>
<TD align=middle bgColor=#dedfdf height=12 width="66%">
<P align=left><?echo$nickname?></P>
</TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">性别</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$sex?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">邮件地址</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$mail?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">个人主页</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><a href=<?echo$home?<?echo$home?></a></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">目前职业</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$job?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=14 width="34%">OICQ号码</TD>
<TD align=left bgColor=#dedfdf height=14 width="66%">
<?
if($oicq=="")echo "不告诉你!";
else{
?>
<A href="http://search.tencent.com/cgi-bin/friend/user_show_info?ln=<?echo$oicq?>" target=_blank title=<?echo$name?>的OICQ号码是<?echo$oicq?>,点击查看资料><IMG border=0 height=16 src="http://infocenter.tencent.com/<?echo$oicq?>/l/00/0/" width=16> <?echo$oicq?></A>
<?
}
?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">ICQ 号码</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%">
<?
if($oicq=="")echo "不告诉你!";
else{
?><img src=http://wwp.icq.com/scripts/online.dll?icq=<?echo$icq;?>&img=7><?echo$icq?>
<?
}?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">生日日期</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$birth?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">联系地址</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$add?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">联系电话</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$tel?></TD>
</TR>
<TR>
<TD align=middle bgColor=#dedfdf height=12 width="34%">个人简介</TD>
<TD align=left bgColor=#dedfdf height=12 width="66%"><?echo$intro?></TD>
</TR>
</center>
</TABLE>
</DIV></BODY></HTML>
<?
}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 }
好了,完了
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
暂无评论...
更新日志
2024年11月25日
2024年11月25日
- 凤飞飞《我们的主题曲》飞跃制作[正版原抓WAV+CUE]
- 刘嘉亮《亮情歌2》[WAV+CUE][1G]
- 红馆40·谭咏麟《歌者恋歌浓情30年演唱会》3CD[低速原抓WAV+CUE][1.8G]
- 刘纬武《睡眠宝宝竖琴童谣 吉卜力工作室 白噪音安抚》[320K/MP3][193.25MB]
- 【轻音乐】曼托凡尼乐团《精选辑》2CD.1998[FLAC+CUE整轨]
- 邝美云《心中有爱》1989年香港DMIJP版1MTO东芝首版[WAV+CUE]
- 群星《情叹-发烧女声DSD》天籁女声发烧碟[WAV+CUE]
- 刘纬武《睡眠宝宝竖琴童谣 吉卜力工作室 白噪音安抚》[FLAC/分轨][748.03MB]
- 理想混蛋《Origin Sessions》[320K/MP3][37.47MB]
- 公馆青少年《我其实一点都不酷》[320K/MP3][78.78MB]
- 群星《情叹-发烧男声DSD》最值得珍藏的完美男声[WAV+CUE]
- 群星《国韵飘香·贵妃醉酒HQCD黑胶王》2CD[WAV]
- 卫兰《DAUGHTER》【低速原抓WAV+CUE】
- 公馆青少年《我其实一点都不酷》[FLAC/分轨][398.22MB]
- ZWEI《迟暮的花 (Explicit)》[320K/MP3][57.16MB]