📄 profile.php
字号:
(如果为空,则不做修改,下同) </td>
<td width=70%>
<input type=password size=20 maxlength=75 name="addpassword" value="" style="background-color:#FEFEFF; color:#0000ff; border: 1 double #B4B4B4" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''">
(最好是英文字母或数字等)</td>
</tr>
<tr bgcolor=$article_color1>
<td valign=middle> 您的E-MAIL:<br>
(您可以选择不公开 )</td>
<td><b>
<input type="text" size="20" maxlength="75" name="addemail" value="$email" $style onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''">
</b>(很重要,用于寄送密码<font color="#000000">)<br>
</font>
<input type="checkbox" name="publicemail" value="1" $pe>
<font color=#000000>公开邮箱 </font></td>
</tr>
<tr bgcolor=$article_color1>
<td> 您的QQ号码:</td>
<td><input type="text" size="20" maxlength="14" name="oicqnumber" value="$oicq" $style onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''"></td>
</tr>
<tr bgcolor=$article_color2>
<td> 门派:(<a href="group.php" target=_balnk>点这里查看门派信息</a>)</td>
<td>$showgroup
</td>
</tr>
<tr bgcolor=$article_color1>
<td> 您的ICQ号码:</td>
<td><input type="text" size="20" maxlength="14" name="icqnumber" value="$icq" $style onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''"></td>
</tr>
<tr bgcolor=$article_color2>
<td> 如果您有个人主页:</td>
<td><input type="text" size="50" maxlength="75" name="homepage" value="$homepage" $style onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''"></td>
</tr>
<tr bgcolor=$article_color1>
<td> 个性化签名:<br>
将附在每篇文章后 <br>
<font face=verdana><a href="javascript:openScript('ftbcode.htm',700,500)">ftb Code</a>
EOT;
if ($sign_use_ftbcode) {
echo ' 开启';
echo '<br> [img] -';
if ($ftbcode_sign['pic']) echo " 开启"; else echo " 关闭";
echo '<br> [flash] -';
if ($ftbcode_sign['flash']) echo " 开启"; else echo " 关闭";
echo '<br> [size] -';
if ($ftbcode_sign['fontsize']) echo " 开启"; else echo " 关闭";
} else echo ' 关闭';
print <<<EOT
</font>
</td>
<td><textarea cols=50 name="signature" $style2 onMouseOver="this.style.backgroundColor = '#E5F0FF'" onMouseOut="this.style.backgroundColor = ''" rows="4">$sign</textarea></td>
</tr>
EOT;
if($gender==1)$gender1selected="selected";
elseif($gender==2)$gender2selected="selected";
elseif($gender==0)$gender0selected="selected";
if($birth=str_replace("/","/",$birth));
{
list($biryear,$birmon,$birday)=split('\/',$birth);}
if($sx=="")$sx="blank";
elseif($sx=="sx1") $sxselected1="selected";
elseif ($sx=="sx2") $sxselected2="selected";
elseif ($sx=="sx3") $sxselected3="selected";
elseif ($sx=="sx4") $sxselected4="selected";
elseif ($sx=="sx5") $sxselected5="selected";
elseif ($sx=="sx6") $sxselected6="selected";
elseif ($sx=="sx7") $sxselected7="selected";
elseif ($sx=="sx8") $sxselected8="selected";
elseif ($sx=="sx9") $sxselected9="selected";
elseif ($sx=="sx10") $sxselected10="selected";
elseif ($sx=="sx11") $sxselected11="selected";
elseif ($sx=="sx12") $sxselected12="selected";
if($star=="")$star="blank";
elseif($star=="z1") $starselected1="selected";
elseif ($star=="z2") $starselected2="selected";
elseif ($star=="z3") $starselected3="selected";
elseif ($star=="z4") $starselected4="selected";
elseif ($star=="z5") $starselected5="selected";
elseif ($star=="z6") $starselected6="selected";
elseif ($star=="z7") $starselected7="selected";
elseif ($star=="z8") $starselected8="selected";
elseif ($star=="z9") $starselected9="selected";
elseif ($star=="z10") $starselected10="selected";
elseif ($star=="z11") $starselected11="selected";
elseif ($star=="z12") $starselected12="selected";
print <<<EOT
<tr bgcolor=$article_color2>
<td> 来自:</td>
<td><input type=text value="$area" size="12" maxlength="12" name="fromwhere" $style2 onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''"></td>
</tr>
<tr bgcolor=$article_color1>
<td valign=middle> 性别:</td>
<td><select name="addgender">
<option value="0" $gender0selected>保密</option>
<option value="1" $gender1selected>帅哥</option>
<option value="2" $gender2selected>美女</option></select></td>
</tr>
<tr bgcolor=$article_color2>
<td valign=middle> 是否使用虚拟形象:</td>
<td>
<input type=radio name=setface value="1" $checked1>启用 <input type=radio name=setface value="0" $checked2> 关闭 </td>
</tr>
<tr bgcolor=$article_color2>
<td> 出生:
</td>
<td>
<SELECT name="adduseryear" size="1" >
EOT;
list($biryear,$birmon,$birday)=explode("/",$birth);
echo"<option value=\"\">年</option>";
for ($i=1950;$i<=2003;$i++) {
echo " <OPTION value=\"$i\"";
echo ($biryear=="$i") ? " selected" : "";
echo ">$i</OPTION>\n";
}
echo"</SELECT>-<SELECT name=\"addusermonth\" size=\"1\" >";
if($birmon=="")echo"<option value=\"\">月</option>";
for ($i=1;$i<=12;$i++) {
echo " <OPTION value=\"";
echo "$i";
echo "\"";
echo ($birmon=="$i") ? " selected" : "";
echo ">";
echo "$i";
echo "</OPTION>\n";
}
echo"</SELECT>-<SELECT name=\"adduserday\" size=\"1\" >";
if($birday=="")echo"<option value=\"\">日</option>";
for ($i=1;$i<=31;$i++) {
echo " <OPTION value=\"";
echo "$i";
echo "\"";
echo ($birday=="$i") ? " selected" : "";
echo ">";
echo "$i";
echo "</OPTION>\n";
}
echo"</td></tr>";
print <<<EOT
<SCRIPT language=javascript>
function showsx(){document.images.usersxs.src="images/sx/"+document.creator.usersx.options[document.creator.usersx.selectedIndex].value+".gif";}
</SCRIPT>
<tr bgcolor=$article_color2><td vAlign=top>所属生肖:请选择你所属的生肖。<br>如果你正确输入了生日的话,那么此项无效!</td>
<td><SELECT name="usersx" onchange=showsx() size="1"> <OPTION value="blank">保密</OPTION> <OPTION value="sx1" $sxselected1>子鼠</OPTION> <OPTION value="sx2" $sxselected2>丑牛</OPTION> <OPTION value="sx3" $sxselected3>寅虎</OPTION> <OPTION value="sx4" $sxselected4>卯兔</OPTION> <OPTION value="sx5" $sxselected5>辰龙</OPTION> <OPTION value="sx6" $sxselected6>巳蛇</OPTION> <OPTION value="sx7" $sxselected7>午马</OPTION> <OPTION value="sx8" $sxselected8>未羊</OPTION> <OPTION value="sx9" $sxselected9>申猴</OPTION> <OPTION value="sx10" $sxselected10>葵鸡</OPTION> <OPTION value="sx11" $sxselected11>戌狗</OPTION> <OPTION value="sx12" $sxselected12>亥猪</OPTION></SELECT><IMG border=0 name=usersxs src=images/sx/$sx.gif align=absmiddle>
</TD></TR>
<SCRIPT language=javascript>
function showxz(){document.images.userxzs.src="images/star/"+document.creator.userstar.options[document.creator.userstar.selectedIndex].value+".gif";}
</SCRIPT>
<tr bgcolor=$article_color1><td vAlign=top>所属星座:请选择你所属的星座。<br>如果你正确输入了生日的话,那么此项无效!</td>
<td><SELECT name="userstar" onchange=showxz() size="1"> <OPTION value="blank">保密</OPTION> <OPTION value="z1" $starselected1>白羊座(3月21--4月19日)</OPTION> <OPTION value="z2" $starselected2>金牛座(4月20--5月20日)</OPTION> <OPTION value="z3" $starselected3>双子座(5月21--6月21日)</OPTION> <OPTION value="z4" $starselected4>巨蟹座(6月22--7月22日)</OPTION> <OPTION value="z5" $starselected5>狮子座(7月23--8月22日)</OPTION> <OPTION value="z6" $starselected6>处女座(8月23--9月22日)</OPTION> <OPTION value="z7" $starselected7>天秤座(9月23--10月23日)</OPTION> <OPTION value="z8" $starselected8>天蝎座(10月24--11月21日)</OPTION> <OPTION value="z9" $starselected9>射手座(11月22--12月21日)</OPTION> <OPTION value="z10" $starselected10>魔羯座(12月22--1月19日)</OPTION> <OPTION value="z11" $starselected11>水瓶座(1月20--2月18日)</OPTION> <OPTION value="z12" $starselected12>双鱼座(2月19--3月20日)</OPTION></SELECT><IMG border=0 height=15 name=userxzs src=images/star/$star.gif width=15 align=absmiddle>
</TD></TR>
EOT;
if ($postamount>=$use_honor || $username==$manager ) {
print <<<EOT
<tr bgcolor=$article_color1>
<td> 荣誉头衔:</td>
<td><input name="newhonor" value="$honor" type="text" size="20" maxlength="20" $style2 onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''"></td>
</tr>
EOT;
}
print <<<EOT
<tr bgcolor=$article_color1>
<td> 自我简介:<br> 限一百字以内</td>
<td><textarea name="addcomment" rows="4" cols="50" $style2 onMouseOver = "this.style.backgroundColor = '#f3f3f3'" onMouseOut = "this.style.backgroundColor = ''">$comment</textarea></td>
</tr>
EOT;
echo (
"<tr align=left bgcolor=$article_color1>
<td align=left valign=middle> 选择您的头像:<br> 点<a href=javascript:openScript('job.php?listpicjob=listpit&dir=face',700,500)><b>这里</b></a>看所有图<br>
<br> <b>自定义头像:</b><br>");
if (!$use_own_portait) echo ' - 被管理员关闭';
else echo ' - 被管理员打开<br>你也可以在这里给出你自定义头像的 URL 地址,头像的高度和宽度(像素)。 如果不想要自定义头像,请将各选项留空';
echo '</td>
<td valign=top>
<script language="javascript">
function showimage(){
document.images.useravatars.src="images/face/"+document.creator.usericon.options[document.creator.usericon.selectedIndex].value;}
</script>
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=22% align=center valign=middle>
<select name="usericon" onChange="showimage()">';
$dh=opendir("images/face");
while ($imagefile=readdir($dh)) {
if (($imagefile!=".") && ($imagefile!="..") && ($imagefile!=""))
if ($imagefile==$usericon[0]) echo "<option selected value=\"$imagefile\">$imagefile</option>";
else echo "<option value=\"$imagefile\">$imagefile</option>";
}
closedir($dh);
echo "</select>
</td>
<td width=78% align=center valign=middle><img src='images/face/$usericon[0]' name=useravatars border=0></td>
</tr>
</table>
<br>";
if ($use_own_portait) {
print <<<EOT
图像位置:<input value="$usericon[1]" type=text size=35 name=own_portait[0] style="background-color:#FEFEFF; color:#666666; border: 1 double #B4B4B4" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''">输入完整的 URL 路径。<br>
图像宽度:<input value="$usericon[2]" type=text size=2 maxlength=3 name=own_portait[1] style="background-color:#FEFEFF; color:#666666; border: 1 double #B4B4B4" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''">必须是 70 -- 120 之间的一个整数。<br>
图像高度:<input value="$usericon[3]" type=text size=2 maxlength=3 name=own_portait[2] style="background-color:#FEFEFF; color:#666666; border: 1 double #B4B4B4" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''">必须是 70 -- 120 之间的一个整数。
EOT;
}
echo '</td>
</tr>';
print <<<EOT
<tr bgcolor=$article_color2>
<td valign=top colspan=2> 是否接受邮件:
<input type=radio name="receivemail" value="text" checked>
接收文本邮件
<input type=radio name="receivemail" value="html">
接收HTML邮件
<input type=radio name="receivemail" value="none">
不接收邮件 </td>
</tr>
<tr bgcolor=$subcolor>
<td align="center" bgcolor=$titlecolor colspan=2>
<input type="button" value="论坛首页" onClick="location.href='index.php'" style="height:20px; background-color:#f3f3f3; border:1 solid black;" onMouseOver ="this.style.backgroundColor='#FFC864'" onMouseOut ="this.style.backgroundColor='#f3f3f3'">
<input onClick="javascript:history.back(1)" type="button" value="返回前页" style="height:20px;background-color:#f3f3f3; border:1 solid black" onMouseOver ="this.style.backgroundColor='#FFC864'" onMouseOut ="this.style.backgroundColor='#f3f3f3'">
<input type=submit value="确认修改" style="height:20px;background-color:#f3f3f3;border:1 solid black" onMouseOver ="this.style.backgroundColor='#FFC864'" onMouseOut ="this.style.backgroundColor='#f3f3f3'">
<input type=hidden value="2" name="step">
<input type=reset value="清除重写" style="height:20px;background-color:#f3f3f3;border:1 solid black" onMouseOver ="this.style.backgroundColor='#FFC864'" onMouseOut ="this.style.backgroundColor='#f3f3f3'" name="reset">
</td></tr>
</table>
</td>
</tr>
</form>
</table>
EOT;
}
function show_member() {
global $target,$username,$bordercolor,$subcolor,$titlecolor,$tablewidth,$login_status,$article_color1,$article_color2,$tdtime;
list($fb,$name,$pwd,$usericon,$email,$oicq,$regdate,$sign,$homepage,$area,$comment,$honor,$lastpost,$postamount,$pe,$none,$rvrc,$time1,$time2,$icq,$gender,$birth,$flag,$tuijian,$money,$lastfiletitle,$lastfilelink,$group,$kong,$tdpost,$sx,$star,$bei1,$bei2,$bei3,$bei4,$bei5,$bei6)=get_user_info($target);
$usericon=get_user_portait($usericon);
if($bei1==1) $usericon=getofstarxiu($name,$ofstarid,140,226);
$groupadmin="";
if (file_exists('bbsdata/group.php')) {
$groupfile ="bbsdata/group.php";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -