function getAdminLog($name, $start, $end)
{
    global $area;
    global $terminated;
    global $smID;
    if (isset($terminated) && $terminated == 'true') {
        echo "<h3>Terminated </h3>";
        echo getTerminatedLog($name);
    }
    echo "<h3>Absences: </h3>";
    getAbsenceLog($name, $start, $end);
    echo "<h3>Tardies: </h3>";
    getTardyLog($name, $start, $end);
    echo "<h3>Commendable Performance:</h3>";
    getCommendables($name, $start, $end);
    if ($area == 4) {
        echo "<h3>Quizzes: </h3>";
        echo "<h3>Certifications: </h3>";
        echo "<h3>Missed Punches: ";
        getMissedPunchesLog($name, $start, $end);
    }
    if ($area != 2) {
        echo "<h3>Silent Monitor Performance:</h3>";
        getSilentMonitorPerformance($name, $start, $end, $smID);
        if ($area != 4) {
            echo "<h3>Ticket Performance: <img src='question-mark.jpg' alt='?' title='To edit category percentage please go to the Ticket Review Log application and update tickets.'></h3>";
            getTicketReviewStats($name, $start, $end);
        }
        echo "<h3>Performance Comments</h3>";
        getCommentLog($name, $start, $end);
    }
    echo "<h3>Policy Reminders: </h3>";
    getPolicyReminderLog($name, $start, $end);
    if ($area == 2) {
        echo "<h3>Security Violations</h3>";
        getSecurityViolationsLog($name, $start, $end);
    }
}
            echo "<td>" . $current['date'] . "</td>";
            echo "<td>" . nameByNetId($current['submitter']) . "</td>";
            echo "<td>" . $current['reason'] . "</td>";
            echo "<td>";
            if ($current['public'] == 1) {
                echo "Yes";
            } else {
                echo "No";
            }
            echo "</td>";
            if ($admin) {
                echo "<td><input type='button' value='Edit' onclick='editLog(\"" . $current['ID'] . "\",\"commendable\")' /></td>";
                echo "<td><input type='button' value='Delete' onclick='deleteLog(\"" . $current['ID'] . "\",\"Commendable\")' /></td>";
            }
            echo "</tr>";
        }
        echo "</table>";
    } else {
        echo "0 Commendable Performances during this time period";
    }
}
$params[':start'] = $start;
$params[':end'] = $end;
echo "<h2>Reports</h2>";
printReport($employee, $outages, $problems, $misc, $params);
echo "<h2>Absences</h2>";
getAbsenceLog($params);
echo "<h2>Tardies</h2>";
getTardyLog($params);
echo "<h2>Commendable Performances</h2>";
getCommendables($params);