See the License for the specific language governing permissions and limitations under the License. */ /**Colaborators are per diagram*/ require_once dirname(__FILE__) . '/common/delegate.php'; if (!isset($_SESSION)) { session_start(); } require_once dirname(__FILE__) . '/common/rememberme.php'; if (!isset($_SESSION['userId']) || !is_numeric($_SESSION['userId'])) { addError("Access denied"); redirect('./index.php'); } $delegate = new Delegate(); $loggedUser = $delegate->userGetById($_SESSION['userId']); $users = $delegate->userGetAll(); $page = 'users'; $rawLicense = $delegate->settingsGetByKeyNative('LICENSE'); $l = new License(); if (trim($rawLicense) != '') { $l->load($rawLicense); } $currentHost = $_SERVER['HTTP_HOST']; if (strpos($currentHost, ':')) { $currentHost = substr($currentHost, 0, strpos($currentHost, ':')); } ?> <!DOCTYPE html> <html> <!--Copyright 2010 Scriptoid s.r.l-->