Accounts Active

newUser == true) { echo "

Created account for "; echo $this->firstName." ".$this->lastName.". PIN: ".$this->tempPin; echo "

×
"; } ?>
accounts) > 0) { foreach ($this->accounts as $account) { switch ($account['type']) { case "part": $type = "Part Time"; break; case "full": $type = "Full Time"; break; default: $type = " - "; } switch ($account['status']) { case 0: $status = "Inactive"; break; case 1: $status = "Active"; break; default: $status = " - "; } foreach ($this->allAccounts as $allAccount) { if ($allAccount['id'] == $account['supervisorId']) { $supervisor = $allAccount['lastName'] . ", " . $allAccount['firstName']; } } echo " "; } } ?>
Account Type Status Supervisor Action
" . $account['lastName'] . ", " . $account['firstName'] . " $type $status $supervisor link(array('accounts', 'edit', $account['id'])) . "\">Edit