[QQzone]怎样克隆别人的QQ空间

1
回复
8768
查看
[复制链接]
发表于 2007-2-23 12:36:14 | 显示全部楼层 |阅读模式
许多QQ空间的新手不会搜集代码,看着别人做的QQ空间超酷,自己却不知怎么入手。学习从模仿开始,我们可以先把别人的空间代码复制一份,弄个和他一样的QQ空间来研究研究。
  第一步:首先我找一位朋友的QQ空间(在复制前最好先征得对方的同意),呵呵~卡通的透明背景Flash、飘移的文字……估计大多数人都喜欢这种布局吧(如图1)。

此主题相关图片


图1

第二步:找到要复制的QQ空间后,记下对方的QQ号码,接着在IE浏览器中输入“http://q-zone.qq.com/fcg-bin/cgi_access_self.fcg?uin=对方的QQ号码&type=0”,此时会打开一个XML文件,在QQ空间中所有自定义的模块和设置都在这个XML文件里了,以下是部分代码:

-

496
-1
-
-
1
1333
0
0
0
0
0

-
6
703
706
280
210
120
0

-
7
3942
0
0
1
73
0



第三步:新建一个文本文件,接着将XML文件的“”中的数字以如下形式进行整理:
  1333|703|3942|3942……
  第四步:在IE浏览器中输入“http://q-zone.qq.com/fcg-bin/cgi_diy_window.fcg?uin=对方的QQ号码&type=11&wndid=在文本文件中整理的数字”,呵呵~打开后你看到了什么?是不是有些像自定义的代码呢?下面是部分代码:

-
-
219107532
滚动条
-
18134

http://<;/img>
<br> <url><a target=_blank href=http://<>http://<</a>;/url> <br> <content><img src="javascript:document.getElementById<br>   ('initd').style.overflow='hidden';"></content> <br> </item><br> </window><br> - <window><br> <id>220026097</id> <br> <title>flash2
-
17966

http://<;/img>
<br> <url><a target=_blank href=http://<>http://<</a>;/url> <br> <content><img src="javascript:document.getElementById ('Mlogo').innerHTML+='<div <br>   style=\'position:absolute;top:0;left:0;\'><EMBED <br>   src=\'<a ta</td></tr></table> </div> <div id="comment_54272" class="cm"> </div> <div id="post_rate_div_54272"></div> </div> </div> </td></tr> <tr><td class="plc plm"> </td> </tr> <tr id="_postposition54272"></tr> <tr> <td class="pls"></td> <td class="plc" style="overflow:visible;--> width:100%"> <div class="po hin"> <div class="pob cl"> <em> <a class="fastre" href="forum.php?mod=post&action=reply&fid=67&tid=105045&reppost=54272&extra=page%3D1&page=1" onclick="showWindow('reply', this.href)">回复</a> </em> <p> <a href="javascript:;" id="mgc_post_54272" onmouseover="showMenu(this.id)" class="showmenu">使用道具</a> <a href="javascript:;" onclick="showWindow('miscreport54272', 'misc.php?mod=report&rtype=post&rid=54272&tid=105045&fid=67', 'get', -1);return false;">举报</a> </p> <ul id="mgc_post_54272_menu" class="p_pop mgcmn" style="display: none;"> <li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=105045" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="static/image/magic/bump.small.gif" />提升卡</a></li> <li><a href="home.php?mod=magic&mid=stick&idtype=tid&id=105045" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="static/image/magic/stick.small.gif" />置顶卡</a></li> <li><a href="home.php?mod=magic&mid=close&idtype=tid&id=105045" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="static/image/magic/close.small.gif" />沉默卡</a></li> <li><a href="home.php?mod=magic&mid=open&idtype=tid&id=105045" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="static/image/magic/open.small.gif" />喧嚣卡</a></li> <li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=105045" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="static/image/magic/highlight.small.gif" />变色卡</a></li> <li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=54272:105045" id="a_namepost_54272" onclick="showWindow(this.id, this.href)"><img src="static/image/magic/namepost.small.gif" />显身卡</a><li> </ul> <script type="text/javascript" reload="1">checkmgcmn('post_54272')</script> </div> </div> </td> </tr> <tr class="ad"> <td class="pls"> </td> </tr> </table> </div> <div id="post_77211" class="viewbox otherfloor cl" > <table id="pid77211" class="plhin boxtable" summary="pid77211" cellspacing="0" cellpadding="0"> <tr> <td class="pls" rowspan="2"> <div id="favatar77211" class="pls favatar"> <a name="lastpost"></a><div class="p_pop blk bui vuimg card_gender_" id="userinfo77211" style="display: none; margin-top: -11px;"> <div class="m z"> <div id="userinfo77211_ma"></div> </div> <div class="i y"> <div> <strong><a href="home.php?mod=space&uid=1594" target="_blank" class="xi2" style="color: #FF0000">Escaper</a></strong> <em>当前离线</em> </div><dl class="cl"> <dt>积分</dt><dd><a href="home.php?mod=space&uid=1594&do=profile" target="_blank" class="xi2">4798</a></dd> </dl><div class="imicn"> <a href="home.php?mod=space&uid=1594&do=profile" target="_blank" title="查看详细资料"><img src="static/image/common/userinfo.gif" alt="查看详细资料" /></a> <a href="home.php?mod=magic&mid=showip&idtype=user&id=Escaper" id="a_showip_li_77211" class="xi2" onclick="showWindow(this.id, this.href)"><img src="static//image/magic/showip.small.gif" alt="" /> IP卡</a> <a href="home.php?mod=magic&mid=checkonline&idtype=user&id=Escaper" id="a_repent_77211" class="xi2" onclick="showWindow(this.id, this.href)"><img src="static//image/magic/checkonline.small.gif" alt="" /> 狗仔卡</a> </div> <div id="avatarfeed"><span id="threadsortswait"></span></div> </div> </div> <div> <div class="avatar"><a href="home.php?mod=space&uid=1594" class="avtm" target="_blank"><img src="http://www.nehe.com.cn/uc_server/avatar.php?uid=1594&size=middle" /></a></div> </div> <div class="pi"> <div class="authi"><a href="home.php?mod=space&uid=1594" target="_blank" style="color: #FF0000">Escaper</a> </div> </div> </div> </td> <td class="plc" style="width:100%"> <div class="pi"> <div class="pti"> <div class="pdbt"> </div> <div class="authi "> <img class="authicn vm" id="authicon77211" src="static/image/common/online_admin.gif" /> <em id="authorposton77211">发表于 2007-9-16 16:10:15</em> <span class="pipe">|</span> <a href="forum.php?mod=viewthread&tid=105045&page=1" rel="nofollow">显示全部楼层</a> </div> </div> </div><div class="pct"><div class="pcb"> <h2>re:翻一下</h2> <div class="t_fsz"> <table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_77211"> 翻一下</td></tr></table> </div> <div id="comment_77211" class="cm"> </div> <div id="post_rate_div_77211"></div> </div> </div> </td></tr> <tr><td class="plc plm"> </td> </tr> <tr id="_postposition77211"></tr> <tr> <td class="pls"></td> <td class="plc" style="overflow:visible;--> width:100%"> <div class="po hin"> <div class="pob cl"> <em> <a class="fastre" href="forum.php?mod=post&action=reply&fid=67&tid=105045&repquote=77211&extra=page%3D1&page=1" onclick="showWindow('reply', this.href)">回复</a> <a class="replyadd" href="forum.php?mod=misc&action=postreview&do=support&tid=105045&pid=77211&hash=fc18efac" onclick="showWindow('login', this.href)" onmouseover="this.title = ($('review_support_77211').innerHTML ? $('review_support_77211').innerHTML : 0) + ' 人 支持'">支持 <span id="review_support_77211"></span></a> <a class="replysubtract" href="forum.php?mod=misc&action=postreview&do=against&tid=105045&pid=77211&hash=fc18efac" onclick="showWindow('login', this.href)" onmouseover="this.title = ($('review_against_77211').innerHTML ? $('review_against_77211').innerHTML : 0) + ' 人 反对'">反对 <span id="review_against_77211"></span></a> </em> <p> <a href="javascript:;" id="mgc_post_77211" onmouseover="showMenu(this.id)" class="showmenu">使用道具</a> <a href="javascript:;" onclick="showWindow('miscreport77211', 'misc.php?mod=report&rtype=post&rid=77211&tid=105045&fid=67', 'get', -1);return false;">举报</a> </p> <ul id="mgc_post_77211_menu" class="p_pop mgcmn" style="display: none;"> <li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=77211:105045" id="a_namepost_77211" onclick="showWindow(this.id, this.href)"><img src="static/image/magic/namepost.small.gif" />显身卡</a><li> </ul> <script type="text/javascript" reload="1">checkmgcmn('post_77211')</script> </div> </div> </td> </tr> <tr class="ad"> <td class="pls"> </td> <td class="plc"> </td> </tr> </table> </div> <div id="postlistreply" class="pl"><div id="post_new" class="viewthread_table" style="display: none"></div></div> </div> <form method="post" autocomplete="off" name="modactions" id="modactions"> <input type="hidden" name="formhash" value="fc18efac" /> <input type="hidden" name="optgroup" /> <input type="hidden" name="operation" /> <input type="hidden" name="listextra" value="page%3D1" /> <input type="hidden" name="page" value="1" /> </form> <div class="pgs mtm mbm cl"> <span class="pgb y"><a href="forum.php?mod=forumdisplay&fid=67">返回列表</a></span> <a class="nex_fabuanniu" onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=67')" href="javascript:;" title="发新帖">发表新帖</a> </div> <!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]--> <script type="text/javascript"> var postminchars = parseInt('10'); var postmaxchars = parseInt('10000'); var disablepostctrl = parseInt('0'); </script> <div id="f_pst" class="pl bm bmw"> <form method="post" autocomplete="off" id="fastpostform" action="forum.php?mod=post&action=reply&fid=67&tid=105045&extra=page%3D1&replysubmit=yes&infloat=yes&handlekey=fastpost" onSubmit="return fastpostvalidate(this)"> <table cellspacing="0" cellpadding="0"> <tr> <td class="pls"> </td> <td class="plc"> <span id="fastpostreturn"></span> <div class="cl"> <div id="fastposteditor"> <div class="tedt mtn"> <div class="bar"> <span class="y"> <a href="forum.php?mod=post&action=reply&fid=67&tid=105045" onclick="return switchAdvanceMode(this.href)">高级模式</a> </span><script src="data/cache/seditor.js?OQv" type="text/javascript"></script> <div class="fpd"> <a href="javascript:;" title="文字加粗" class="fbld">B</a> <a href="javascript:;" title="设置文字颜色" class="fclr" id="fastpostforecolor">Color</a> <a id="fastpostimg" href="javascript:;" title="图片" class="fmg">Image</a> <a id="fastposturl" href="javascript:;" title="添加链接" class="flnk">Link</a> <a id="fastpostquote" href="javascript:;" title="引用" class="fqt">Quote</a> <a id="fastpostcode" href="javascript:;" title="代码" class="fcd">Code</a> <a href="javascript:;" class="fsml" id="fastpostsml">Smilies</a> </div></div> <div class="area"> <div class="pt hm"> 您需要登录后才可以回帖 <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)" class="xi2">登录</a> | <a href="member.php?mod=register" class="xi2">注册</a> <a href="http://o2fi8.nehe.com.cn/connect.php?mod=login&op=init&referer=forum.php%3Fextra%3Dpage%253D1%26mod%3Dviewthread%26tid%3D105045&statfrom=login" target="_top" rel="nofollow"><img src="static/image/common/qq_login.gif" class="vm" /></a> </div> </div> </div> </div> </div> <div id="seccheck_fastpost"> </div> <input type="hidden" name="formhash" value="fc18efac" /> <input type="hidden" name="usesig" value="" /> <input type="hidden" name="subject" value=" " /> <p class="ptm pnpost"> <a href="home.php?mod=spacecp&ac=credit&op=rule&fid=67" class="y" target="_blank">本版积分规则</a> <button type="button" onclick="showWindow('login', 'member.php?mod=logging&action=login&guestmessage=yes')" name="replysubmit" id="fastpostsubmit" class="pn pnc vm" value="replysubmit" tabindex="5">发表回复</button> <label class="lb"><input type="checkbox" name="adddynamic" class="pc" value="1" />回帖并转播</label> <label for="fastpostrefresh"><input id="fastpostrefresh" type="checkbox" class="pc" />回帖后跳转到最后一页</label> <script type="text/javascript">if(getcookie('fastpostrefresh') == 1) {$('fastpostrefresh').checked=true;}</script> </p> </td> </tr> </table> </form> </div> </div> </div> <div class="wp mtn"> <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]--> </div> <script type="text/javascript"> function succeedhandle_followmod(url, msg, values) { var fObj = $('followmod_'+values['fuid']); if(values['type'] == 'add') { fObj.innerHTML = '不收听'; fObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid']; } else if(values['type'] == 'del') { fObj.innerHTML = '收听TA'; fObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash=fc18efac&fuid='+values['fuid']; } } fixed_avatar([54272,77211], 1); </script> </div> <div class="nexfooter"> <div class="nexfttop"> <div class="w1180"> <div class="nexfttop_L"> <div class="nexftllogo"><img src="template/wfdsoft_freegift_171220/neoconex/footer/ft_logo.png" /></div> <div class="nexftltxt">关注讷河,关注nehe.com.cn</div> <div class="nexftlbtms"> </div> </div> <div class="nexfttop_M"> <ul> <li> <h5>关于我们</h5> <a href="#" target="_blank">关于我们</a> <a href="#" target="_blank">联系我们</a> <a href="#" target="_blank">商务中心</a> </li> <li> <h5>帮助中心</h5> <a href="#" target="_blank">发布须知</a> <a href="#" target="_blank">新手入门</a> <a href="#" target="_blank">注册账号</a> </li> <li> <h5>新手指南</h5> <a href="#" target="_blank">新人报道</a> <a href="#" target="_blank">网上活动</a> <a href="#" target="_blank">VIP购买</a> </li> <div class="clear"></div> </ul> </div> <div class="nexfttop_K"> <div class="nexfttop_R_nums"> <h5>微信&QQ号</h5> <h3>3623459</h3> <p>周一至周日9:00-23:00</p> <h1>反馈建议</h1> <a class="nexCmails" href="mailto:3623459@qq.com">3623459@qq.com</a> <a class="nexolkefu" href="tencent://Message/?Uin=3623459&websiteName=#=&Menu=yes"> <span> <img src="template/wfdsoft_freegift_171220/neoconex/footer/kfs.png" /> </span> <em>在线QQ咨询</em> <div class="clear"></div> </a> </div> </div> <div class="nexfttop_R"> <div class="nexfttop_R_ewm"> <img src="template/wfdsoft_freegift_171220/neoconex/footer/ftqrcode.jpg" /> <p>扫描二维码访问手机版</p> </div> <div class="clear"></div> </div> <div class="clear"></div> </div> </div> <div class="nexftbottom"> <div class="w1180"> <p>Powered by <a href="http://www.nehe.com.cn" target="_blank">讷河在线</a> <em>X3.4</em> <a href="#" target="_blank">Licensed</a>© 2004-2021 <a href="#" target="_blank">Nehe.com.cn.</a>( <a href="http://www.miitbeian.gov.cn/" target="_blank">京ICP备12033312号-1 京公网安备1101055246号</a> )</p> </div> </div> </div> <div id="ft" style="margin:0;padding:0; height:0;"></div> <script src="home.php?mod=misc&ac=sendmail&rand=1734847029" type="text/javascript"></script> <div id="scrolltop" style="display:none;"> <span hidefocus="true"><a title="返回顶部" onclick="window.scrollTo('0','0')" id="scrolltopa" ><b>返回顶部</b></a></span> <span> <a href="forum.php?mod=forumdisplay&fid=67" hidefocus="true" class="returnlist" title="返回列表"><b>返回列表</b></a> </span> </div> <script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });checkBlind();</script> </body> </html>