Exemplo n.º 1
0
            $platform = new Platform(new NamedArguments(array('primaryKey' => $publisherPlatform->platformID)));
        } else {
            $platform = new Platform(new NamedArguments(array('primaryKey' => $_GET['platformID'])));
        }
        ?>

		<h3>Import History for <?php 
        echo $platform->name;
        ?>
</h3>

		<div id="div_imports">

		<?php 
        $importLogArray = array();
        $importLogArray = $platform->getImportLogs();
        $importLog = new ImportLog();
        if (count($importLogArray) > 0) {
            echo "<table class='dataTable' style='width:100%;'>";
            echo "<tr>";
            echo "<th style='padding:3px;'>Import Date</th>";
            echo "<th style='padding:3px;'>Imported By</th>";
            echo "<th style='padding:3px;'>Import Summary</th>";
            echo "<th style='padding:3px;'>&nbsp;</th>";
            echo "<th style='padding:3px;'>&nbsp;</th>";
            echo "</tr>";
            $i = 0;
            foreach ($importLogArray as $importLog) {
                echo "<tr>";
                echo "<td {$classAdd} style='padding:3px;'>" . format_date($importLog->importDateTime) . "</td>";
                echo "<td {$classAdd} style='padding:3px;'>" . $importLog->loginID . "</td>";