getAttributes(); $projectManager = new \pvv\side\ProjectManager($pdo); $project = $projectManager->getByID($projectID); if (!$project) { echo ":^)"; exit(); } $members = $projectManager->getProjectMembers($projectID); $normal_members = $members; foreach($normal_members as $i => $data){ if($data['lead']){ unset($normal_members[$i]); } } $is_owner = False; $is_member = False; if ($attrs){ $uname = $attrs['uid'][0]; foreach($members as $member){ if ($member['uname'] == $uname){ if ($member['owner']==1){ $is_owner = True; } else if ($member['owner']==0){ $is_member = True; } } } } ?> Prosjektverkstedet
Prosjekt­verk­stedet

getName(); ?>

text(implode("\n", $project->getDescription())); ?>

Prosjektledelsen

$data){ if($data['lead']){ ?>

0){ ?>

Medlemmer

$data){ ?>