<?php include_once '../config/symbini.php'; include_once $serverRoot . '/classes/ProfileManager.php'; header("Content-Type: text/html; charset=" . $charset); $collId = array_key_exists("collid", $_REQUEST) ? $_REQUEST["collid"] : 0; $formSubmit = array_key_exists("formsubmit", $_REQUEST) ? $_REQUEST["formsubmit"] : ""; $specHandler = new ProfileManager(); $collArr = array(); if ($symbUid) { $specHandler->setUid($symbUid); $collArr = $specHandler->getPersonalCollectionArr(); } $statusStr = ''; ?> <div style="margin:10px;"> <?php if ($symbUid) { //Collection is defined and User is logged-in and have permissions if ($statusStr) { ?> <hr/> <div style="margin:15px;color:red;"> <?php echo $statusStr; ?> </div> <hr/> <?php } if (array_key_exists('observation', $collArr)) {