Location: PHPKode > scripts > Traffic Analyzer > trafficanalyzer/js/ta_live_init.js.php
/**
 *	Date : 05-Mar-2012 
 *	Author : George Mathew K
 *	E-Mail : hide@address.com
 */
<?php
	include '../config.php';


?>

(function(){
						
                        var head= document.getElementsByTagName('head')[0];
                        var script= document.createElement('script');
                        script.type= 'text/javascript';
			
			<?php
				if($server==1){
			?>
                        	script.src= 'http://wptrafficanalyzer.in/ta_live.js.php?ta_aoid=<?php echo $_GET['ta_aoid']; ?>';                        
			<?php
				}else if($server==0){
			?>
				
                        	script.src= 'http://localhost/ta_live.js.php?ta_aoid=<?php echo $_GET['ta_aoid']; ?>';                        
			<?php
				}
			?>
			
                        
                        head.appendChild(script);
})();
Return current item: Traffic Analyzer