예제 #1
0
<?php

// GET parameters
$_cid = $_GET['cid'];
$_tid = $_GET['tid'];
// require getters
require 'CompetitionViewer.php';
// Create new competitionviewer
$cv = new CompetitionViewer();
$html1 = $cv->getMatchenForTid($_cid, $_tid);
// export standen as HTML
echo $html1;
예제 #2
0
<?php

// GET parameters
$_cid = $_GET['cid'];
$_mid = $_GET['mid'];
// require getters
require 'CompetitionViewer.php';
// Create new competitionviewer
$cv = new CompetitionViewer();
$export = $cv->getWedstrijd($_cid, $_mid);
// export standen as TEXT
header("Content-Type: plain/text");
//header("Content-disposition: attachment; filename=$downloadfile");
header("Content-Transfer-Encoding: binary");
header("Pragma: no-cache");
header("Expires: 0");
echo $export;
예제 #3
0
<?php

// GET parameters
$_cid = $_GET['cid'];
// require getters
require 'CompetitionViewer.php';
// Create new competitionviewer
$cv = new CompetitionViewer();
$html1 = $cv->getJaartalForCid($_cid);
// export teams as HTML
echo $html1;
<?php

// GET parameters
$cids = array();
$_cids = $_GET['cids'];
$cids = explode('-', $_cids);
// require getters
require 'CompetitionViewer.php';
// Create new competitionviewer
$cv = new CompetitionViewer();
$xml1 = $cv->getStanden($cids, 1);
// export standen as XML
echo $xml1;