📄 dvmymodify.js
字号:
var CanUseTitle='False';
var vtitle='';
var sex='1';
var article='0';
var birthday='';
var sign='';
var showRe='1';
var usercookies='0'
var setusertrue='0'
var setuserinfo='0'
var realname='';
var country='';
var userphone='';
var college='';
var personal='';
var address='';
var blood='';
var shengxiao='';
var belief='';
var occupation='';
var marital='';
var education='';
var college='';
var userinfo;
var userphoto='';
var uface='';
var width='';
var height='';
var usersetting='';
var city='';
var province='';
var character='';
var GroupName=new Array();
function myinfo()
{
dvbbs_user_col();
userinfo=userinfo.split("|||")
usersetting=usersetting.split("|||")
if (usersetting.length==2)
{
setuserinfo=usersetting[0]
setusertrue=usersetting[1]
}
else
{
setuserinfo=1
setusertrue=0
}
if (userinfo.length==15)
{
realname=userinfo[0]
character=userinfo[1]
personal=userinfo[2]
country=userinfo[3]
province=userinfo[4]
city=userinfo[5]
shengxiao=userinfo[6]
blood=userinfo[7]
belief=userinfo[8]
occupation=userinfo[9]
marital=userinfo[10]
education=userinfo[11]
college=userinfo[12]
userphone=userinfo[13]
address=userinfo[14]
}
document.write ('<form action="mymodify.asp?action=updat&username='+Dvbbs.MemberName+'" method=POST name="theForm">');
document.write ('<table cellpadding=3 cellspacing=1 border=0 align=center class=tableborder1>');
document.write ('<tr>');
document.write ('<th colspan="2" width="100%">基本设置选项');
document.write ('</th>');
document.write ('</tr>');
if (Dvbbs.FoundIsChallenge)
{
document.write ('<tr>');
document.write ('<td colspan="2" width="100%" class=tablebody1 height=25><B>注 意</B>:阳光会员修改论坛密码、性别、OICQ、Email信息请到 <a href="challenge_mod.asp"><font color=red>阳光会员资料修改</font></a> 中进行修改。</td>');
document.write ('</tr>');
}
if (CanUseTitle=='True')
{
document.write ('<tr>');
document.write ('<td width="40%" class=tablebody1><B>头 衔</B>:</td>');
document.write ('<td width="60%" class=tablebody1> <input type="text" name="title" value="'+vtitle+'" size=15 maxlength=13> </td>');
document.write ('</tr>');
}
if (Dvbbs.FoundIsChallenge!=true)
{
document.write ('<tr>');
document.write ('<td width="40%" class=tablebody1><B>性 别</B>:<BR>请选择您的性别</td>');
document.write ('<td width="60%" class=tablebody1><input type="radio" value="1" ');
if (sex=='1')
{
document.write ('checked');
}
document.write (' name="Sex">酷哥');
document.write ('<input type="radio" name="Sex" ');
if (sex=='0')
{
document.write ('checked');
}
document.write (' value="0">靓妹</td>');
document.write ('</td>');
document.write ('</tr>');
}
document.write ('<tr>');
document.write ('<td width="40%" valign=top class=tablebody1><B>头 像</B>:<BR>');
document.write ('您可以选择一个个性图片,当你发表时将显示在您的名字下方。<BR>');
if ((((Dvbbs.Forum_Setting[54]*1)> 0 )&& (article*1) > (Dvbbs.Forum_Setting[54]*1)) || (Dvbbs.Forum_Setting[54]*1)==0 )
{
document.write ('如果你填写了下面的自定义头像部分,那么你的头像以自定义的为准。否则,请你留空自定义头像的所有栏目!<BR>');
document.write ('<B>关于自定义头像</B>:<BR>');
document.write ('你也可以在这里给出你自定义头像的 URL 地址,头像的高度和宽度(像素)。 如果不想要自定义头像,请将相应栏目栏目全部留空!');
}
document.write ('</td>');
document.write ('<td width="60%" class=tablebody1>');
document.write ('<table border="0" cellpadding="0" cellspacing="1" width="98%" >');
document.write ('<tr>');
document.write ('<td width="*" class=tablebody1>论坛头像选择');
document.write ('<select name=face size=1 onChange="myface.value=options[selectedIndex].value;document.images[\'face\'].src=options[selectedIndex].value;" style="BACKGROUND-COLOR: #99CCFF; BORDER-BOTTOM: 1px double; BORDER-LEFT: 1px double; BORDER-RIGHT: 1px double; BORDER-TOP: 1px double; COLOR: #000000">');
for (i=0;i<Dvbbs.Forum_userface.length-1;i++)
{
document.write ('<option value="'+Dvbbs.Forum_Info[11]+Dvbbs.Forum_userface[i]+'">'+Dvbbs.Forum_userface[i]+'</option>');
}
document.write ('</select>');
document.write ('<a href="allface.asp" target="_blank" title="头像预览列表">[<font color=red>头像预览</font>]</a></td>');
document.write ('<td width="180" rowspan="2" valign=top align=center>');
var myface=Dvbbs.Forum_Info[11]+Dvbbs.Forum_userface[0]
if (uface!='')
{
myface=uface
}
document.write (' <img id=face src='+myface+' width='+width+' height='+height+'> ');
document.write ('</td>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td width="*" class=tablebody1>');
if ((((Dvbbs.Forum_Setting[54]*1)> 0 )&& (article*1) > (Dvbbs.Forum_Setting[54]*1)) || (Dvbbs.Forum_Setting[54]*1)==0 )
{
if (Dvbbs.Forum_Setting[7]=='1')
{
document.write ('<iframe name="ad" frameborder=0 width=250 height=26 scrolling=no src=reg_upload.asp></iframe>');
}
document.write ('<br>自定义头像地址:<input type="TEXT" name="myface" size=30 maxlength=100 value='+uface+'>');
document.write ('<br>宽 度:<input type="TEXT" name="width" size=3 maxlength=3 value='+width+'>0---'+Dvbbs.Forum_Setting[57]+'的整数');
document.write ('<br>高 度:<input type="TEXT" name="height" size=3 maxlength=3 value='+height+'>0---'+Dvbbs.Forum_Setting[57]+'的整数');
document.write ('<br>');
}
document.write ('</td>');
document.write ('</tr>');
document.write ('</table>');
document.write ('</td>');
document.write ('</tr> ');
document.write ('<tr>');
document.write ('<td width="40%" class=tablebody1><B>个人照片</B>:<BR>如果您有照片在网上,请输入网页地址。此项可选</td>');
document.write ('<td width="60%" class=tablebody1>');
document.write ('<input type="TEXT" name="userphoto" value="'+userphoto+'" size=30 maxlength=100>');
document.write ('</td>');
document.write ('</tr>');
if (Dvbbs.Forum_Setting[32]=='1' )
{
document.write ('<tr>');
document.write ('<td width="40%" class=tablebody1><B>门 派</B>:<BR>如果您有兴趣,可加入以下门派</td>');
document.write ('<td width="60%" class=tablebody1>');
document.write ('<select name="GroupName">');
document.write ('<option value=无门无派>无门无派</option>');//循环门派
for (i=0;i<GroupName.length;i++)
{
document.write ('<option value="'+GroupName[i]+'">'+GroupName[i]+'</option>');
}
document.write ('</select>');
document.write ('</td>');
document.write ('</tr>');
}
document.write ('<tr>');
document.write ('<td width="40%" class=tablebody1><B>生 日</B><BR>如不想填写,请全部留空</td>');
document.write ('<td width="60%" class=tablebody1>');
document.write ('<input type=text name=birthday value="'+birthday+'" onfocus="show_cele_date(birthday,\'\',\'\',birthday)" >');
document.write ('</td>');
document.write ('</tr>');
if (Dvbbs.Forum_Setting[42]=='1' )
{
document.write ('<tr>');
document.write ('<td valign=top width="40%" class=tablebody1><B>签 名</B>:<BR>不能超过 250 个字符');
document.write ('<br>');
document.write ('文字将出现在您发表的文章的结尾处。</td>');
document.write ('<td width="60%" class=tablebody1>');
sign=sign.replace("<br>","\n")
document.write ('<textarea name="Signature" rows=5 cols=60 wrap=PHYSICAL>');
document.write (sign);
document.write ('</textarea>');
document.write ('</td>');
document.write ('</tr>');
}
document.write ('<tr>');
document.write ('<th colspan="2" width="100%">其他选项');
document.write ('</th>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td width="40%" class=tablebody1><B>有回帖时是否提示您</B>:<BR>当您的帖子有人回复后有信息通知您</td>');
document.write ('<td width="60%" class=tablebody1>');
document.write ('<input type="radio" name="showRe" value="1" ');
if (showRe=='1')
{
document.write (' checked');
}
document.write ('>');
document.write ('提示我');
document.write ('<input type="radio" name="showRe" value="0" ');
if (showRe=='0')
{
document.write (' checked');
}
document.write ('>');
document.write ('不提示');
document.write ('</td>');
document.write ('</tr> ');
document.write ('<tr>');
document.write ('<td width="40%" class=tablebody1><B>选择Cookie的保留时间</B>:</td>');
document.write ('<td width="60%" class=tablebody1>');
document.write ('<input type="radio" name="usercookies" value="1" ');
if (usercookies=='1')
{
document.write (' checked');
}
document.write ('>');
document.write ('<font color=red>1天</font>');
document.write ('<input type="radio" name="usercookies" value="2" ');
if (usercookies=='2')
{
document.write (' checked');
}
document.write ('>');
document.write ('1个月');
document.write ('<input type="radio" name="usercookies" value="3" ');
if (usercookies=='3')
{
document.write (' checked');
}
document.write ('>');
document.write ('1年');
document.write ('<input type="radio" name="usercookies" value="0"');
if (usercookies=='0')
{
document.write (' checked');
}
document.write ('>');
document.write ('不保留 </td>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td width=40% class=tablebody1><B>是否开放您的基本资料</B>:<BR>开放后别人可以看到您的性别、Email、QQ等信息</td> <td width=60% class=tablebody1>');;
document.write ('<input type=radio name=setuserinfo value=1 ');
if ( setuserinfo=='1')
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -