Ejemplo n.º 1
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';
// ATTENTION!
// MUST BE called $PdfData
$PdfData = getStatEntriesByEvent();
// debug_svela($PdfData);
if (!isset($isCompleteResultBook)) {
    $pdf = new ResultPDF($PdfData->Description);
}
require_once PdfChunkLoader('StatByEvent.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();
    }
}
Ejemplo n.º 2
0
 }
 // List by Countries
 if (!empty($_POST['ENC'])) {
     $RET->ENC = getStartListByCountries($ORIS);
 }
 // List by Entries
 if (!empty($_POST['ENA'])) {
     $RET->ENA = getStartListAlphabetical($ORIS);
 }
 // Stats by Countries
 if (!empty($_POST['STC'])) {
     $RET->STC = getStatEntriesByCountries($ORIS);
 }
 // Stats by Entries
 if (!empty($_POST['STE'])) {
     $RET->STE = getStatEntriesByEvent($ORIS);
 }
 // Ranking by Category, Individual (local rules apply)
 if (!empty($_POST['IC'])) {
     $RET->IC = getDivClasIndividual('', '', $_SESSION['TourType'] == 14 ? array('SubClassRank' => '1') : array());
 }
 // Ranking by Category, Teams (local rules apply)
 if (!empty($_POST['TC'])) {
     $RET->TC = getDivClasTeam();
 }
 // Qualification, Individual
 if (!empty($_POST['QualificationInd'])) {
     $RET->IQ = new StdClass();
     foreach ($_POST['QualificationInd'] as $Event) {
         $RET->IQ->{$Event} = getQualificationIndividual(substr($Event, 2), $ORIS);
     }
Ejemplo n.º 3
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';
// ATTENTION!
// MUST BE called $PdfData
$PdfData = getStatEntriesByEvent(true);
// debug_svela($PdfData);
if (!isset($isCompleteResultBook)) {
    $pdf = new OrisPDF($PdfData->Code, $PdfData->Description);
} else {
    $pdf->setOrisCode('', $PdfData->Description);
}
require_once PdfChunkLoader('OrisStatByEvent.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();
    }
}