Documentazione concorsi

<?php $allowedgroups = array(’18’); $username = JFactory::getUser()->username; $gr = JFactory::getUser()->groups; if (count(array_intersect($allowedgroups, $gr)) > 0) {$group=1;} else {$group=0;} echo file_get_contents(“http://www.di.unipi.it/scripts/concorsi/Documentazioneconcorsi.php” . $group. “&username=” . $username);