<br /> <a href='ajax_forms.php?action=getOrganizationForm&platformID=<?php echo $platformID; ?> &publisherPlatformID=<?php echo $publisherPlatformID; ?> &height=150&width=285&modal=true' class='thickbox'>link to associated organization</a> <?php } //additionally, display any login records belonging to publishers below this platform if (isset($_GET['platformID']) && $_GET['platformID'] != '') { $pubArray = array(); foreach ($platform->getPublisherPlatforms() as $publisherPlatform) { $orgArray = $publisherPlatform->getOrganizationExternalLogins(); $externalLoginArray = $publisherPlatform->getExternalLogins(); if (count($orgArray) > 0 || count($externalLoginArray) > 0) { $pub = new Publisher(new NamedArguments(array('primaryKey' => $publisherPlatform->publisherID))); $pubArray[$publisherPlatform->publisherID] = $pub->name; } } if (count($pubArray) > 0) { echo "<br />"; echo "Login Credentials are also available for the following publishers:<br />"; foreach ($pubArray as $pubID => $pubName) { echo "<a href='publisherPlatform.php?publisherPlatformID=" . $pubID . "'>" . $pubName . "</a><br />"; } } }