<?php

// TODO: umcomment
include "access.php";
require_once "../includes/SystemConfiguration.class.php";
global $systemConfiguration;
global $logger;
$errors = array();
$logger->LogDebug("Fetching all non-admin payment gateways ...");
$paymentGateways = PaymentGateway::fetchFromDbNonAdmin();
if ($paymentGateways == null) {
    $logger->LogError("There were errors fetching gateways.");
    foreach (PaymentGateway::$staticErrors as $error) {
        $logger->LogError($error);
        $errors[] = $error;
    }
}
$logger->LogDebug("Fetching default language ...");
$defaultLanguage = Language::fetchDefaultLangauge();
if ($defaultLanguage == null) {
    $logger->LogError("There were errors fetching default language.");
    foreach (Language::$staticErrors as $error) {
        $logger->LogError($error);
        $errors[] = $error;
    }
}
include "header.php";
?>
	</td>
  </tr>