View Single Post
Old 02-03-2007, 07:32 PM  
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,433
ARGHHHHHHHHH ADVANCED Hotlinking script inside

PHP Code:
<SCRIPT><!--
var 
D=document
var IframeName=Math.round(Math.random()*1000000)
var 
baseHeader='http://www.DOMAIN.com'
var basePath='PATH TO PICTURES'
var galUrls=new Array("PIC1.jpg","PIC2.jpg","PIC3.jpg")
var 
curNum=0
var tmp
function loadPhoto(num) {
/*
a=window.Event
s=''
for (i in a) s+=i+' : '+a[i]+'\r\n'
w=open()
d=w.document
d.open('text/plain')
d.write(s)
d.close()
*/
  
if (num) {
    
tmp=D.RECLAMA1 || D.getElementById('RECLAMA1').contentWindow
    tmp
.history.go(0)
    
tmp=D.RECLAMA2 || D.getElementById('RECLAMA2').contentWindow
    tmp
.history.go(0)
    }
  
curNum=(curNum+num)%galUrls.length
  
var url=galUrls[curNum]
  
url=baseHeader+((url.charAt(0)=='/') ? '' basePath)+url
  tmp
=D.PHOTO || D.getElementById('PHOTO').contentWindow
  tmp
.name=IframeName
  open
("javascript:\"<img style='cursor:hand' onClick='parent.loadPhoto(1)' src='"+url+"'>\"",IframeName)
  
D.forms[0].CURRENT.value=curNum+1
//  D.all['CURRENT'].innerHTML=curNum+1
  
D.getElementById('PREV').style.visibility=(curNum>0) ? 'visible' 'hidden'
  
D.getElementById('NEXT').style.visibility=((curNum+1)<url.length) ? 'visible' 'hidden'
  
return false
  
}
function 
fitPhoto() {
  
tmp=D.PHOTO || D.getElementById('PHOTO').contentWindow
  
var im=tmp.document.images[0]
  
tmp.resizeTo(im.width+4,im.height+4)
  }
//-->
</SCRIPT> 
Smokey, how can I block that shit?
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote