The web sites used a relatively simple trick. A known loophole in the Google algorithm is that a web page that redirects to another web page will get the PageRank number of the redirected web page.
Code: 
http://www.searchenginepromotionhelp.com/m/articles/link-popularity-improvement/fake-google-page-rank.php
sniffdog Reviewed by sniffdog on . Good News For LinkDDL Submitters http://www.linkddl.com/images/linkddl.png Hello Everyone,i just want to announce to all submitters to linkddl.com that we have bought a new domain for linkddl which is Page Ranked 5 on Google :D ,we bought it to increase traffic to your submitted Downloads so you can get more traffic <3,if you dont understand what i mean,its simple,its like we have 2 domain names for 1 site :D ,see here: this is the real site : http://www.linkddl.com/ and Check the new domain here: Rating: 5