session_start();
if ($blauw) $kleurtjes='meegekregen';
$referer=explode('.',$HTTP_REFERER);
if ($referer[1]=='startpagina' || $referer[1]=='STARTPAGINA') {
session_register("blauw");
session_register("wit");
session_register("grijs");
session_register("oranje");
session_register("paars");
session_register("zwarttxt");
session_register("wittxt");
$pagina=explode('//',$referer[0]);
$pagina=$pagina[1];
if ($pagina != 'vakantieweer' && $pagina != 'weer' && $pagina != 'weer-amateurs') {
echo "";
//recive file form server
$xml_feed = @file_get_contents("http://$pagina.pagina.nl/$pagina.xml");
//create a xml phraser
$xml_praser = xml_parser_create();
//tell the vars to the xml phrasers
xml_parse_into_struct($xml_praser,$xml_feed,$xml_keys,$xml_index);
//lets phrase ^^
xml_parser_free($xml_praser);
//generate the headlines
$blauw = $xml_keys[$xml_index['PAGECOLOR'][0]]['value']; $blauw= str_replace("#","",$blauw);
$wit = $xml_keys[$xml_index['BLOCKCOLOR'][0]]['value']; $wit= str_replace("#","",$wit);
$grijs = $xml_keys[$xml_index['BLOCKHEADCOLOR'][0]]['value']; $grijs= str_replace("#","",$grijs);
$oranje = $xml_keys[$xml_index['MORECOLOR'][0]]['value']; $oranje= str_replace("#","",$oranje);
$paars = $xml_keys[$xml_index['TIPNEWCOLOR'][0]]['value']; $paars= str_replace("#","",$paars);
if ($blauw) $kleurtjes='meegekregen';
}
}
if (!$blauw) $blauw='66ccff';
if (!$wit) $wit='ffffff';
if (!$grijs) $grijs='cccccc';
if (!$oranje) $oranje='FBBE65';
if (!$paars) $paars='CC66CC';
if (!$zwarttxt) $zwarttxt='000000';
if (!$wittxt) $wittxt='ffffff';
$oord = str_replace("'","\'",$oord);
require("instellingen.php3");
Connect();
mysql_connect("$DBHost","$DBUser","$DBPass");
mysql_select_db("$DB");
# cookie plaatsen en zo
$cookieduur="60*60*24*366";
setcookie ("FPweerIMPsneeuw","$oord",time() + 32940000,"/");
?>
Sneeuwhoogten echo str_replace("\'","'",$oord); ?> - door de beheerders van de weer.startpagina.nl
|
| |
|
deze pagina's voortaan ook via: sneeuw.oosterhoff.nl
|
if ($land) { $inhoud[Land]=$land; ?>
handige echo $land; ?> links |
$linksinblokje=0; $maxinditblokje='5';
$blokje="advertentieblokje/$inhoud[Land].php3";
if ($bijvoorbeeld) {echo "Hier kan uw $inhoud[Land] gerelateerde advertentie staan. (Of een ander land, in de pagina van een andere plaats)";} else {
#eventueel advertentie vakantiereiswijzer per land invoegen
if (!$plaatsURLvrw && $landURLvrw) {
echo "Reizigersoordeel 'accommodaties $inhoud[Land]' ";
$linksinblokje++;
}
if (!$plaatsURLvrwE && $landURLvrwE) {
echo "Reizigersoordeel 'accommodaties $inhoud[Land]' ";
$linksinblokje++;
}
# include ("arke.php");
if ($linksinblokje < $maxinditblokje) include("travelsource.php");
$sql= "SELECT Blokje, A6, SneeuwGebieden FROM vakantieLand WHERE Land='$inhoud[Land]'";
$blokjes = mysql_fetch_array(mysql_query("$sql"));
$inhoudblokje= explode (" ",$blokjes[0]); $rest='0';
while (TRIM($inhoudblokje[$rest]) && ($linksinblokje <$maxinditblokje)) {
echo $inhoudblokje[$rest]." ";
$rest++; $linksinblokje++;
}
#afvullen van dit blokje
if ($linksinblokje < $maxinditblokje) {echo "Prijsvergelijking $inhoud[Land] vakanties "; $linksinblokje++;}
if ($linksinblokje < $maxinditblokje) include("autohuur.php");
if ($linksinblokje < $maxinditblokje) {echo "Reisgidsen, Kaarten en Boeken $inhoud[Land] "; $linksinblokje++;}
if ($linksinblokje <$maxinditblokje) {echo "Googlen op $inhoud[Land] "; $linksinblokje++;}
# if ($linksinblokje < $maxinditblokje) {echo "afvullink verzekeringen?"; $linksinblokje++;}
#afvullen met lege regels
while ($linksinblokje <$maxinditblokje) {
echo " ";
$linksinblokje++;
}
if ($blokjes[SneeuwGebieden]) {
echo " Skigebieden $land:";
$sneeuwgebieden=explode ("\n",$blokjes[SneeuwGebieden]);
for($i=0;$sneeuwgebieden[$i];$i++){
echo " $sneeuwgebieden[$i]";
}
}
}
?>
|
} ?>
|
|
wintersport aanbiedingen |
$sql= "SELECT Blokje FROM vakantieLand WHERE Land='Sneeuwreizen'";
$blokjes = mysql_fetch_array(mysql_query("$sql"));
echo $blokjes[0];
echo " ";
$sql= "SELECT Blokje FROM vakantieLand WHERE Land='Sneeuwfolders'";
$blokjes = mysql_fetch_array(mysql_query("$sql"));
echo $blokjes[0];
?>
|
if ($synop) {
$codeKleur = mysql_fetch_array(mysql_query("SELECT kleur FROM codeRood"));
$codeRood=$codeKleur[0];
$sql= "SELECT * FROM vakantieweer WHERE Station='$synop'";
$result = mysql_query("$sql");
$inhoud = mysql_fetch_array($result);
### alias systeem
if (substr($inhoud[Station],5)) {
$onthouden[0]=$inhoud[Plaats];
$onthouden[1]=$inhoud[Place];
$onthouden[2]=$inhoud[Blokje];
$onthouden[3]=$inhoud[LastMinutes];
$onthouden[4]=$inhoud[Station];
if ($inhoud[Cnn]) $onthouden[5]=$inhoud[Cnn];
$station=substr($inhoud[Station],0,5);
$sql= "SELECT * FROM vakantieweer WHERE Station='$station'";
$result = mysql_query("$sql");
$inhoud = mysql_fetch_array($result);
$enwetonenhetweeruit=$inhoud[Plaats];
$inhoud[Plaats]=$onthouden[0];
$inhoud[Place]=$onthouden[1];
$inhoud[Blokje]=$onthouden[2];
$inhoud[LastMinutes]=$onthouden[3];
$alias=$onthouden[4];
if ($onthouden[5]) $inhoud[Cnn]=$onthouden[5];
}
$inhoud[Plaats]= str_replace("\'","'",$oord);
if ($inhoud[Cnn]) {
include ("../HAM/HAMinlezen.php");
echo " | | ";
if ($codeRood>'34') {
include ("../HAM/HAMvandaag.php");
} else {
include ("weerbeeld2.php3");
include ("sneeuwbeeld.php3");
}
}
}
?>
|
|
startpagina dochters |
if ($oord=='oostenrijk') echo "$oord (tip) "; ?>
wintersport
skieen
snowboard
skigebieden
langlauf
vakantieweer
|
|
|
|