Esempio n. 1
0
         }
     }
     // Brackets, Team
     if (!empty($_POST['FinalTeam'])) {
         $RET->TF = new StdClass();
         foreach ($_POST['FinalTeam'] as $Event) {
             $RET->TF->{$Event} = getRankingTeams(substr($Event, 2), $ORIS);
         }
     }
     // Medal standing
     if (!empty($_POST['MEDSTD'])) {
         $RET->MEDSTD = getMedalStand($ORIS);
     }
     // Medallists
     if (!empty($_POST['MEDLST'])) {
         $RET->MEDLST = getMedalList($ORIS);
     }
 } else {
     $RET->delete = array();
     if (!empty($_POST['ENS'])) {
         $RET->delete[] = 'ENS';
     }
     // List by targets
     if (!empty($_POST['ENC'])) {
         $RET->delete[] = 'ENC';
     }
     // List by Countries
     if (!empty($_POST['ENA'])) {
         $RET->delete[] = 'ENA';
     }
     // List by Entries
Esempio n. 2
0
<?php

require_once dirname(dirname(__FILE__)) . '/config.php';
require_once 'Common/pdf/OrisPDF.inc.php';
require_once 'Common/Fun_FormatText.inc.php';
require_once 'Common/OrisFunctions.php';
require_once 'Common/pdf/PdfChunkLoader.php';
$PdfData = getMedalList(true);
if (!isset($isCompleteResultBook)) {
    $pdf = new OrisPDF($PdfData->Code, $PdfData->Description);
} else {
    $pdf->setOrisCode('', $PdfData->Description);
}
require_once PdfChunkLoader('OrisMedalList.inc.php');
if (!isset($isCompleteResultBook)) {
    if (isset($_REQUEST['ToFitarco'])) {
        $Dest = 'D';
        if (isset($_REQUEST['Dest'])) {
            $Dest = $_REQUEST['Dest'];
        }
        $pdf->Output($_REQUEST['ToFitarco'], $Dest);
    } else {
        $pdf->Output();
    }
}
Esempio n. 3
0
<?php

require_once dirname(dirname(__FILE__)) . '/config.php';
require_once 'Common/pdf/ResultPDF.inc.php';
require_once 'Common/Fun_FormatText.inc.php';
require_once 'Common/OrisFunctions.php';
require_once 'Common/pdf/PdfChunkLoader.php';
$PdfData = getMedalList();
if (!isset($isCompleteResultBook)) {
    $pdf = new ResultPDF($PdfData->Description);
}
require_once PdfChunkLoader('MedalList.inc.php');
if (!isset($isCompleteResultBook)) {
    if (isset($_REQUEST['ToFitarco'])) {
        $Dest = 'D';
        if (isset($_REQUEST['Dest'])) {
            $Dest = $_REQUEST['Dest'];
        }
        $pdf->Output($_REQUEST['ToFitarco'], $Dest);
    } else {
        $pdf->Output();
    }
}