예제 #1
0
     foreach ($_POST['BracketsInd'] as $Event) {
         $RET->IB->{$Event} = getBracketsIndividual(substr($Event, 2), $ORIS);
     }
 }
 // Brackets, Team
 if (!empty($_POST['BracketsTeam'])) {
     $RET->TB = new StdClass();
     foreach ($_POST['BracketsTeam'] as $Event) {
         $RET->TB->{$Event} = getBracketsTeams(substr($Event, 2), $ORIS);
     }
 }
 // Final Rank, Individual
 if (!empty($_POST['FinalInd'])) {
     $RET->IF = new StdClass();
     foreach ($_POST['FinalInd'] as $Event) {
         $RET->IF->{$Event} = getRankingIndividual(substr($Event, 2), $ORIS);
     }
 }
 // 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'])) {
예제 #2
0
<?php

require_once dirname(dirname(dirname(__FILE__))) . '/config.php';
require_once 'Common/Fun_FormatText.inc.php';
require_once 'Common/pdf/OrisPDF.inc.php';
require_once 'Common/Lib/Fun_PrintOuts.php';
require_once 'Common/OrisFunctions.php';
require_once 'Common/pdf/PdfChunkLoader.php';
$EventRequested = !empty($EventRequested) ? $EventRequested : '';
$PdfData = getRankingIndividual($EventRequested, true);
if (!isset($isCompleteResultBook)) {
    $pdf = new OrisPDF($PdfData->Code, $PdfData->Description);
} else {
    $pdf->setOrisCode('', $PdfData->Description);
}
require_once PdfChunkLoader('OrisRankIndividual.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();
    }
}
예제 #3
0
<?php

require_once dirname(dirname(dirname(__FILE__))) . '/config.php';
require_once 'Common/Fun_FormatText.inc.php';
require_once 'Common/pdf/ResultPDF.inc.php';
require_once 'Common/Lib/Fun_PrintOuts.php';
require_once 'Common/Lib/Obj_RankFactory.php';
require_once 'Common/OrisFunctions.php';
require_once 'Common/pdf/PdfChunkLoader.php';
if (!isset($_SESSION['TourId']) && isset($_REQUEST['TourId'])) {
    CreateTourSession($_REQUEST['TourId']);
}
$PdfData = getRankingIndividual();
if (!isset($isCompleteResultBook)) {
    $pdf = new ResultPDF($PdfData->Description);
}
require_once PdfChunkLoader('RankIndividual.inc.php');
if (isset($_REQUEST['TourId'])) {
    EraseTourSession();
}
if (isset($__ExportPDF)) {
    $__ExportPDF = $pdf->Output('', 'S');
} elseif (!isset($isCompleteResultBook)) {
    if (isset($_REQUEST['ToFitarco'])) {
        $Dest = 'D';
        if (isset($_REQUEST['Dest'])) {
            $Dest = $_REQUEST['Dest'];
        }
        if ($Dest == 'S') {
            print $pdf->Output($_REQUEST['ToFitarco'], $Dest);
        } else {