| 
<?php
//traffic jam class 0.1 beta
 include('trafficjam.class.php');
 
 $tJam = new trafficJam();
 
 $jamCode = $tJam->jamTraffic();
 
 if( !empty($jamCode) ){
 
 include('jam_'.$jamCode.'.php');
 exit;
 
 }
 ?>
 <html>
 <head>
 <title>Traffic Jam Example</title>
 </head>
 <body>
 <a href="example.php">Click Me</a>
 <p>To test, click link as a normal human would and then click as quickly as possible. Depending on your humanSpeed and jamTime settings, you should get jammed.</p>
 <p>Once jammed, you can refresh the page or visit again later to see countdown to when you will be allowed back in</p>
 </body>
 </html>
 |