PHP Classes

File: script.js.dummy

Recommend this page to a friend!
  Classes of Gianluca Zanferrari   Mail dispatcher   script.js.dummy   Download  
File: script.js.dummy
Role: Auxiliary script
Content type: text/plain
Description: javascript dummy
Class: Mail dispatcher
Send mail to many recipients in batches
Author: By
Last change:
Date: 13 years ago
Size: 695 bytes
 

Contents

Class file image Download
<script>
<!--
//
 var millisec=0 ;
 var sent = '@SENT@';
 var seconds=@DELAY@; /*___ DELAY IN SECONDS BETWEEN TWO SENDING BLOCKS (FOR MY WEBSERVER IS ABOUT 15 MIN.)___*/
 document.getElementById('d2').innerHTML=seconds;

function display(){
 if (millisec<=0){
    millisec=9;
    seconds-=1;
 }
 if (seconds<=-1){
    millisec=0;
    seconds+=1;
 }
 else
    millisec-=1;
    document.getElementById('d2').innerHTML='Remaining (sec.): '+seconds+"."+millisec;
    setTimeout("display()",100);
}
display();

var t=window.setInterval("document.getElementById('form1').submit()",(seconds*1000));

document.getElementById('sent').value=sent;
-->
</script>