if (isset($_GET['publisherPlatformID']) && $_GET['publisherPlatformID'] != '') { $publisherPlatformID = $_GET['publisherPlatformID']; $platformID = ''; $obj = new PublisherPlatform(new NamedArguments(array('primaryKey' => $_GET['publisherPlatformID']))); } else { $publisherPlatformID = ''; $platformID = $_GET['platformID']; $obj = new Platform(new NamedArguments(array('primaryKey' => $_GET['platformID']))); } //if this publisher platform is already set up with an organization if ($obj->organizationID != '' && $obj->organizationID != 0) { $externalLoginArray = $obj->getOrganizationExternalLogins(); if (count($externalLoginArray) > 0) { ?> For <?php echo $obj->getOrganizationName() . " <a href='" . $util->getOrganizationURL() . $obj->organizationID . "' target='_blank'>view organization</a>"; ?> <table class='verticalFormTable'> <tr> <th>Login Type</th> <th>Username</th> <th>Password</th> <th>URL</th> <th>Notes</th> </tr> <?php foreach ($externalLoginArray as $externalLogin) { echo "<tr>"; echo "<td>" . $externalLogin['externalLoginType'] . "</td>"; echo "<td>" . $externalLogin['username'] . "</td>";