- 積分
- 237
- 威望
- 237
- 金錢
- 72
- 最後登錄
- 2015-5-27
|
- <script>var chymb=当前人数;var Nonl=最高人数;var chyke=显示的人数;var yoke='<li><img src="游客的图标地址" /> 游客</li>';if($("online")!=null){var chyol=$("online").getElementsByTagName('em');chyol[0].innerHTML=Number(chyol[0].innerHTML)+chymb;if(chyol[5]!=null){chyol[3].innerHTML=Number(chyol[3].innerHTML)+chymb;chyol[4].innerHTML=Number(chyol[4].innerHTML)+Nonl;}else{chyol[1].innerHTML=Number(chyol[1].innerHTML)+Nonl;}};if($("onlinelist")!=null){var chyls=$("onlinelist").getElementsByTagName('ul');if(chyls[0]!=null){var InHtml='';for(i=0;i<chyke;i++){InHtml=InHtml+yoke;};chyls[0].innerHTML=chyls[0].innerHTML+InHtml;}};</script>
複製代碼 |
|