//if(isset($HTTP_POST_VARS)) foreach($HTTP_POST_VARS as $k=>$elem) echo ++$n.": $k => $elem
";
// No Caching...
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") ." GMT");
header("Cache-Control: no-cache");
header("Pragma: no-cache");
header("Cache-Control: post-check=0, pre-check=0");
// sent data compressed ...!!!
//ob_start("ob_gzhandler");
import_request_variables("gp");
//// Configure...
if(file_exists("hocup.def"))
// read hocup definitions
include("hocup.def");
else {
// total number of regular teams
$nteams = 60;
// total number of regular groups
$ngroups = 10;
// Group names (including add. replacement group)
$G=array("A","B","C","D","E","F","G","H","I","J","R");
// HT season
$Season="??";
// date for deadline countdown
$day = 0; // Day of the countdown
$month = 0; // Month of the countdown
$year = 0; // Year of the countdown
$hour = 0; // Hour of the countdown
$minute = 0; // Minute of the countdown
$second = 0; // Second of the countdown
// start of HO-Cup
$CupDate="Month ??th, ????";
$CupDatum="??. Month ????";
// end of group stage
$KODate="??-mon";
$KODatum="??. Month";
// final date
$Final="??/??-mon-yr";
$Finale="??. oder ??. Month ??";
//forum address and registration topic
$Forum="http://www.wow-auctions.net/ho/phpBB2/";
$Topic=0;
}
// default file names
if(!isset($inputfile)) $inputfile="hocup.dat";
if(!isset($outputfile)) $outputfile="hocup.dat";
//// End of Configure!
// language
if(isset($lang)) setlocale("LC_TIME",$lang);
// sometimes this is NOT set??? Browser dependent...? IExplorer?
$maxdata = $_POST['maxdata'];
if(!isset($maxdata)) $maxdata=0;
// remember logged in HT server
session_start();
if(!isset($Server) && isset($_SESSION["Server"])) $Server=$_SESSION["Server"];
if(isset($Server)) $_SESSION["Server"]=$Server;
if(!isset($maxServer)) $maxServer=20;
// password check?
$md5pwd= "833037040d08c7741b68d89c552be47b";
$write = FALSE;
$action = $_SERVER['PHP_SELF'];
if(isset($Passwort)) {
if(md5($Passwort) === $md5pwd) {
echo "*** Passwort korrekt. SCHREIBMODUS AKTIV...***";
$write = TRUE;
$action = $_SERVER['PHP_SELF']."?Passwort=".$Passwort;
}
else echo "*** FALSCHES Passwort!!! $Passwort ***";
}
// write to team list
if($write && isset($Name) && $Name != "") {
if ( file_exists($outputfile) ) {
if ( $datei=fopen($outputfile,"a") ) {
flock($datei,2);
$maxdata=$maxdata+1;
if($maxdata<10)
$teaminfo=array("0".$maxdata,$Name,$Manager,$ID,$League,$Country,$Comment,"\n");
else
$teaminfo=array($maxdata,$Name,$Manager,$ID,$League,$Country,$Comment,"\n");
$output=implode("|",$teaminfo);
fwrite($datei,$output);
fclose($datei);
}
else
echo "
Could not open File $outputfile!";
}
else
echo "
File $outputfile not found!";
}
?>
The HO!-Cup (season ) |
A Hattrick Friendly Cup for the Members of the Hattrick Organizer Discussion >Forum! |
Group Stage: | $Nmax=count($G)-1; for($N=0;$N<=$Nmax;$N++) if($N<$ngroups) echo "".$G[$N]." | \n"; else echo "".$G[$N]." | \n"; ?>
---|
Ranking
\n"; echo strftime($format,filemtime("Tabelle.".$LastStage)); } ?> Previous seasons: 21 22 23 Hall Of Fame
\n"; if($write) { echo "
\n"; } echo "