Beispiel #1
0
        $util = new Utility();
        //both publishers and platforms will have organizations lookup
        if ($config->settings->organizationsModule == 'Y') {
            echo "<br /><br /><br /><h3>Organization Accounts</h3>";
            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() . "&nbsp;&nbsp;<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