// // here some basic arrays for the menus and some info // // // cat1=2d // cat2=3d // cat3=information // cat4=projecten // color info: blue: 336699/356580 // basis url where the php is stored $baseurl="index.php?"; // amount of pictures in 2D $cat1=10; // 3D work $cat2=array("1Schilderijen", "2Banken","3Kubus"); $cat2name=array("3D objecten", "Banken","Kubus"); $cat2amount=array("9", "10","4"); //info $cat3=array("tekst","cv","contact"); $cat3name=array("tekst","cv","contact"); // projecten $cat4=array("01Stadsdeelkantoor", "02Binnenhof","03TS","04Doll","05Lekdijk","06brushandliquid","07Firmitas","08Meer","09Rabobank","10Field", "11Fold","12Vrije_Academie","13Keukenwand","14woning","15beurs_2007","161_324718"); $cat4name=array("Stadsdeelkantoor Den Haag", "Binnenhof Den Haag","TS Breda","Tafel","Lekdijk-West","The brush and the liquid","Firmitas Utilitas Venustas","De Meer","wand Rabobank","Field","Fold","Vrije Academie","Keukenwand","Particuliere woning","Presentatie beurs 100% Design, 2007","1,324718"); $cat4amount=array("6","3","4","3","6","2","5","4","5","6","4","2","1","10","1","2"); //texts // schilderijen $cat1text1="Zonder titel#40 x 80 cm#pu-hars, aluminium#2004"; $cat1text2="Zonder titel#60 x 54 cm#pu-hars, aluminium#2004"; $cat1text3="Zonder titel#60 x 60 cm#pu-hars, aluminium#2004"; $cat1text4="Zonder titel#15 x 31 cm#pu-hars, aluminium#2004"; $cat1text5="Zonder titel#12 x 168 cm#bijenwas, aluminium#2002"; $cat1text6="Zonder titel#12 x 84 cm#bijenwas, aluminium#2002"; $cat1text7="Zonder titel#20 x 70 cm#bijenwas, aluminium#2002"; $cat1text8="Zonder titel#50 x 165 cm#bijenwas, aluminium#2001"; $cat1text9="Zonder titel#70 x 230 cm#bijenwas, aluminium#2001"; $cat1text10="Voorstel#160x380x15 cm#pu-hars, aluminium, berken-multiplex#2007"; // 3d schilderijen $cat2_1text1="Zonder titel#35 x 15 x 15 cm#pu-hars, aluminium#2004"; $cat2_1text2="Zonder titel#35 x 15 x 15 cm#pu-hars, aluminium#2004"; $cat2_1text3="Zonder titel#50 x 70 x 35 cm#bijenwas, aluminium#2002"; $cat2_1text3b="Zonder titel#20 x 70 x 6 cm#bijenwas, aluminium#2002"; $cat2_1text4="Zonder titel#12 x 84 x 5 cm#bijenwas, aluminium#2002"; $cat2_1text5="Zonder titel#25 x 180 x 7 cm#bijenwas, aluminium#2002"; $cat2_1text6="ZT2006.1#40x40x20 cm#pu-hars , aluminium, mdf#2006"; $cat2_1text7="ZT2006.5#47x29x10 cm#pu-hars, aluminium, berkenmultiplex#2006"; $cat2_1text8="ZT2006.2#39x13x13 cm#pu-hars, aluminium, berkenmultiplex#2006"; $cat2_1text9="1,324718#48 x 160 x 16 cm#pu-hars, aluminium, berkenmultiplex#2007"; $cat2_1text10="1,324718#48 x 160 x 16 cm#pu-hars, aluminium, berkenmultiplex#2007"; $cat2_1text11="ZT2006.4#32x10x10 cm#pu-hars, aluminium, berkenmultiplex#2006"; // banken $cat2_2text1="Zonder titel#45 x 40 x 160 cm#pu-hars, aluminium, berkenmultiplex#2003"; $cat2_2text2="Zonder titel#45 x 40 x 160 cm#pu-hars, aluminium, berkenmultiplex#2003"; $cat2_2text3="Zonder titel#45 x 40 x 160 cm#pu-hars, aluminium, berkenmultiplex#2003"; $cat2_2text4="Zonder titel#45 x 40 x 160 cm#pu-hars, aluminium, berkenmultiplex#2003"; $cat2_2text5="Zonder titel#45 x 40 x 160 cm#pu-hars, aluminium, berkenmultiplex#2003"; $cat2_2text6="Zonder titel#45 x 40 x 160 cm#pu-hars, aluminium, berkenmultiplex#2003"; $cat2_2text7="presentatie banken##Döll Atelier voor Bouwkunst, Rotterdam#2004"; $cat2_2text8="presentatie banken##Döll Atelier voor Bouwkunst, Rotterdam#2004 (foto Ann Maes)"; $cat2_2text9="presentatie banken##beurs Art Rotterdam#2004"; // kubus $cat2_3text1="Zonder titel#45 x 40 x 40 x cm#pu-hars, alumnium, mdf#2005"; $cat2_3text2="Zonder titel#45 x 40 x 40 x cm#pu-hars, alumnium, mdf#2005"; $cat2_3text3="Zonder titel#45 x 40 x 40 x cm#pu-hars, alumnium, mdf#2005"; $cat2_3text4="Zonder titel#45 x 40 x 40 x cm#pu-hars, alumnium, mdf#2005"; // projecten // here a special hack to make it possible to give some pics a different name $cat4text1="Sediment#200 x 1400 x 30 cm#pu-hars, aluminium, foto, mdf#2005"; $cat4text2="Binnenhof #+/- 550 x 200 cm#pu-hars, aluminium, rubber#2004"; $cat4text3="TS Breda#310 x 215 cm#pu-hars, aluminium, staal#2004"; $cat4text3_4="TS Breda presentatie achterruimte###"; $cat4text4="Tafelblad#180 x 90 cm#pu-hars, aluminium, laminaat, bamboe#2004"; $cat4text5="Lekdijk_West#6 maal 45 x 40 x 240 cm#pu-hars, aluminium, staal, verlichting#2004"; $cat4text6="The brush and the liquid#10 maal 45 x 40 x 160 cm#pu-hars, aluminium, berkenmultiplex#2004"; $cat4text7="Firmitas Utilitas Venustas#diverse formaten#bijenwas, aluminiumfolie, pigment#1999"; $cat4text8="De Meer#diverse formaten#bijenwas, pigment#1997"; $cat4text9=""; $cat4text10=""; $cat4text11=""; $cat4text13="geen#220x320 cm#PU-lak, aluminium#2007"; $cat4text14="geen#535x386x70 cm#PU-lak, aluminium, MDF#2007"; $cat4text15=""; $cat4text16="1,324718#48 x 160 x 16 cm#PU-lak, aluminium, berken-multiplex#2007"; // reset all varibles $id = ''; $idsub = ''; $idpic = ''; // calculate the next picture // URL variables not working anymore... so we have to extract those from the URL parse_str($_SERVER['QUERY_STRING']); $temp = (isset($idsub)) ? substr($idsub,0,1) : 0; if ($id != ''){ @$temp2 = $id."amount"; @$tempamount = $$temp2; @$maxpics = $tempamount[$temp-1]; @$idnext = $idpic+1; if ($idnext>$maxpics) $idnext=1; $idsubnext=$idsub+1; if ($idsubnext>$cat1) $idsubnext=1; } ?>
mark de weijer info@markdeweijer.nl | |||||||||||||||||||||||||
// menu in grey row. Possible to add something in front of the selected item
$begin="";
if ($id=="cat1") print ($begin."2D "); if ($id<>"cat1") print ("2D "); if ($id=="cat2" AND $id<>"cat1") print ($begin."3D "); if ($id<>"cat2" AND $id<>"cat1") print ("3D "); if ($id=="cat4" AND $id<>"cat1" AND $id<>"cat2") print ($begin."projecten "); if ($id<>"cat4" AND $id<>"cat1" AND $id<>"cat2") print ("projecten "); if ($id=="cat3" AND $id<>"cat1" AND $id<>"cat2" AND $id<>"cat4") print ($begin."informatie "); if ($id<>"cat3" AND $id<>"cat1" AND $id<>"cat2" AND $id<>"cat4") print ("informatie "); // this is the table for the projects // we need a special table for the texts (width only 200) and one for all the rest going over the whole width if ($id=='cat3') print("
|