大体修改步骤如下: 
 
user/userjoin.asp中,查找: 
 
<tr> 
                                <td height="25" align=center> 
                                        <p>QQ号码: 
                                </td> 
                                <td height="25"> 
                                        <input class=fminpt maxlength=10 name=form_oicq size=14  
 
value="" onchange="changeshow()"> 
                                </td> 
                        </tr> 
 
后面添加: 
 
<tr> 
                                <td height="25" align=center> 
                                        <p>QQshow:<br>系统头像: 
                                </td> 
                                <td height="25"> 
                                        <table border=0 cellpadding=0 cellspacing=0  
 
width=270><tr> 
                                        <td width=140><img name=qqshowimg id=qqshowimg  
 
src=http://qqshow-user.tencent.com/10000/10/00/ align=absmiddle height=226 width=140></td> 
                                        <td width=10></td> 
                                        <td align=left valign=bottom><img name=faceimg id=faceimg  
 
src=/null.gif align=absmiddle> 
                                        </td> 
                                        </tr></table> 
                                </td> 
                        </tr> 
 
查找: 
 
<tr> 
                                <td height="25" align=center> 
                                        <p>用户头像: 
                                </td> 
                                <td height="25"> 
                                        <input class=fminpt onchange="javascript:changeface();"  
 
maxlength=4 name=form_userphoto size=4 value=""> 
                                        <span style='cursor:hand' title='查看头像代号'  
 
onclick="setface();">查看头像代号</span> 
                                </td> 
                        </tr> 
 
后面添加: 
 
<tr> 
                                <td height="25" align=center> 
                                        <p>qq秀头像: 
                                </td> 
                                <td height="25"> 
                                        <span style='cursor:hand' title='把QQshow当作我的头像'  
 
onclick="setshow();">把QQshow当作我的头像</span> 
                                </td> 
                        </tr> 
 
查找: 
 
function changeface() 
        { 
                var temp; 
                temp=document.leadbbsfm.form_userphoto.value; 
                if (temp!="" && isnum(temp)==1 && temp.length==4) 
                { 
                        if (parseint(temp) > 0 && parseint(temp) <= 228) 
                        { 
                                document.faceimg.src='/face/'+temp+'.gif'; 
                        } 
                        else 
                        { 
                                alert("错误!此图像代号不存在!"); 
                                document.faceimg.src='/null.gif'; 
                                document.leadbbsfm.form_userphoto.value=''; 
                                validationpassed = false; 
                        } 
                } 
                else 
                { 
                        alert("错误!此图像代号不存在!\n图像代号必须是4位数,比如 0001 ,最大为 
 
228"); 
                        document.faceimg.src='/null.gif'; 
                        document.leadbbsfm.form_userphoto.value=''; 
                        validationpassed = false; 
                } 
        } 
 
在其下面添加:         
         
        function changeshow() 
        { 
                var temp; 
                temp=document.leadbbsfm.form_oicq.value; 
                if (temp!="" && isnum(temp)==1 && parseint(temp) >= 10000) 
                { 
                        document.qqshowimg.src="http://qqshow-user.tencent.com/"+temp+"/10/00/"; 
                } 
                else 
                { 
                        document.qqshowimg.src="http://qqshow-user.tencent.com/10000/10/00/"; 
                } 
        } 
        function setshow() 
        { 
                if (! isnum(document.leadbbsfm.form_oicq.value)) 
                { 
                        alert("喂,你填入了QQ框中的东西怎么不是数字?\n"); 
                } 
                else 
                { 
                        if (document.leadbbsfm.form_oicq.value<10000) 
                        { 
                                alert("喂,你填入了QQ框中的东西怎么小于5位?\n"); 
                        } 
                        else 
                        { 
                                document.leadbbsfm.form_faceurl.value="http://qqshow- 
 
user.tencent.com/"+document.leadbbsfm.form_oicq.value+"/11/00/"; 
                                document.leadbbsfm.form_faceheight.value="113"; 
                                document.leadbbsfm.form_facewidth.value="70"; 
                                changeface2(); 
                        } 
                } 
        } |