| dddd | |
|---|---|
| Tweet Topic Started: May 18 2008, 07:19 PM (105 Views) | |
| Test69 | May 18 2008, 07:19 PM Post #1 |
|
Administrator
|
dddd |
![]() |
|
| Test69 | May 22 2008, 02:56 AM Post #2 |
|
Administrator
|
Testing uh idk what |
![]() |
|
| Test69 | May 22 2008, 03:15 AM Post #3 |
|
Administrator
|
<script> /************************************************************************************* Complete Money, Word Count, Character count for each post by Viral of http://www.zetaresources.comNot to be modified or redistributed without author's permission*************************************************************************************/ cash="on"; characters="on"; countwords="on"; money=["€","1.26","decimal"]; dl=document.getElementsByTagName('dl'); posts=[];d=0 for(i=0;i<dl.length;i++){ if(dl.className=="user_info"){ dt=dl.getElementsByTagName('dt'); for(c=0;c<dt.length;c++){ if(dt[c].innerHTML=="Posts:"){ posts[d]=parseInt(dt[c].nextSibling.innerHTML); postlength=dt[c].parentNode.parentNode.parentNode.getElementsByTagName('td'); usernames=document.getElementsByTagName('td'); for(g=0;g<postlength.length;g++){ if(postlength[g].className=="c_post"){ lol=postlength[g].innerHTML.length-34; words=postlength[g].innerHTML.split(' ').length; if(cash=="on" && money[2]=="decimal"){money[1]=parseFloat(money[1]);dl.innerHTML+="<dt>Money:</dt><dd>"+money[0]+(posts[d]*money[1])+"</dd>";} else if(cash=="on" && money[2]=="integer"){money[1]=parseInt(money[1]);dl.innerHTML+="<dt>Money:</dt><dd>"+money[0]+(posts[d]*money[1])+"</dd>";} if(characters=="on"){dl.innerHTML+="<dt>Post Length:</dt><dd>"+lol+"</dd>";} if(countwords=="on"){dl.innerHTML+="<dt>Amount of Words:</dt><dd>"+words+"</dd>";} }} d++; }}}} </script> |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Announcements & News · Next Topic » |





10:25 AM Jul 11