error_reporting (E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
header('Cache-Control: no-cache, no-store, must-revalidate'); // HTTP 1.1.
header('Pragma: no-cache'); // HTTP 1.0.
header('Expires: 0'); // Proxies.
include './inc/kolmtr.inc.php';
include 'kolmtr15.inc.php';
//OBS!!! Glöm ej ändra include filen (counter_kolmtr10.asp)
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (!strcmp($file, 'kolmtr'.$arkort.'_andring.php')) {
$SenastAndrad = date("Y-m-d H:i:s", filemtime($file));
break;
}
}
closedir($dh);
}
}
echo '
Resultat Kolmårdsträffen '.$veckodag.' den '.$dag.' '.$manad.' '.$ar.'
Resultat Kolmårdsträffen '.$veckodag.' den '.$dag.' '.$manad.' '.$ar.'
Senast ändrad '.$SenastAndrad.'
';
$filhittad=false;
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (!strcmp($file, 'kolmtr'.$arkort.'_individ_resultat.html')) {
$filstorlek = filesize($file);
$filhittad=true;
break;
}
}
closedir($dh);
}
}
echo ' \n";
$filhittad=false;
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (!strcmp($file, 'kolmtr'.$arkort.'_lagt1_resultat.html')) {
$filstorlek = filesize($file);
$filhittad=true;
break;
}
}
closedir($dh);
}
}
echo ' ';
if ($filhittad==true) {
echo ' - Lagtävling
';
} else {
echo ' - Lagtävling (ej tillgänglig)
';
}
echo " \n";
$filhittad=false;
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (!strcmp($file, 'kolmtr'.$arkort.'_mal_avstand_statistik.html')) {
$filstorlek = filesize($file);
$filhittad=true;
break;
}
}
closedir($dh);
}
}
echo ' \n";
$filhittad=false;
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (!strcmp($file, 'kolmtr'.$arkort.'_poangpris.html')) {
$filstorlek = filesize($file);
$filhittad=true;
break;
}
}
closedir($dh);
}
}
echo ' ';
if ($filhittad==true) {
echo ' - Poängpris
';
} else {
echo ' - Poängpris (ej tillgänglig)
';
}
echo " \n";
//echo ' ';
//if ($VisaResultatSokning=="Ja") {
// echo ' - Resultat sökning
';
//} else {
// echo ' - Resultat sökning (ej tillgänglig)
';
//}
// echo " \n";
if ($URLResultatTavlKalender!="") {
echo '
Resultat inlagda i tävlingskalendern
';
}
echo '
|
 Foto: '.$fotograf.'
'.$VinnarBildTextRad1.' '.$VinnarBildTextRad2.'
|
| |
| | ';
echo '
';
$filhittad=false;
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (!strcmp($file, "$ForstSidaKolmtr.pdf")) {
$filstorlek = filesize($file);
$filhittad=true;
break;
}
}
closedir($dh);
}
}
echo ' ';
$filhittad=false;
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (!strcmp($file, "$ResKolmtr.pdf")) {
$filstorlek = filesize($file);
$filhittad=true;
break;
}
}
closedir($dh);
}
}
echo "\n";
if ($visaostgotatillagg=="Ja") {
$filhittad=false;
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (!strcmp($file, "$ResKolmtrOstg.pdf")) {
$filstorlek = filesize($file);
$filhittad=true;
break;
}
}
closedir($dh);
}
}
echo '\n";
}
echo '';
echo ' Om du inte har en pdf läsare så kan du ladda ned acrobat reader från Adobes hemsida.
Acrobat Reader
';
echo '
';
$filhittad=false;
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (!strcmp($file, "$ResKolmtr.doc")) {
$filstorlek = filesize($file);
$filhittad=true;
break;
}
}
closedir($dh);
}
}
echo '\n";
if ($visaostgotatillagg=="Ja") {
$filhittad=false;
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (!strcmp($file, "$ResKolmtrOstg.doc")) {
$filstorlek = filesize($file);
$filhittad=true;
break;
}
}
closedir($dh);
}
}
echo '
';
}
echo '
';
$filhittad=false;
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (!strcmp($file, "$ResKolmtr.xls")) {
$filstorlek = filesize($file);
$filhittad=true;
break;
}
}
closedir($dh);
}
}
echo '\n";
if ($visaostgotatillagg=="Ja") {
$filhittad=false;
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (!strcmp($file, "$ResKolmtrOstg.xls")) {
$filstorlek = filesize($file);
$filhittad=true;
break;
}
}
closedir($dh);
}
}
echo '\n";
}
echo '
Senast uppdaterad: '.$SenastAndrad.'
';