Stars at Night

* required field

"> Name: * Lat: * Long: *
Timezone: * Days to view: *
Your Input:"; $atts = ['name' => $name,'lat' => $lat,'long' => $long,'timezone' => $timezone,'days' => $days,'graphical' => '' ]; //print_r ($atts); //echo "
"; //call to run starsatnight require_once 'plugins/content/starsatnight/starsatnight.php'; $state = JPluginHelper::importPlugin('content'); if ($state) {$state = "true";}else{$state = "false";} //echo "importPlugin = " . $state . "
"; $dispatcher = JEventDispatcher::getInstance(); //print_r ("dispatcher = " . $dispatcher . "
"); //call to run starsatnight and print results $results = $dispatcher->trigger( 'starsatnight', $atts); //if ($results) {$state = "true";}else{$state = "false";} //echo "trigger results = " . $state . "
"; //print( $results); foreach($results as $x => $value) { echo $value; } ?>