$value) { ${$key} = $value; }; foreach ($_GET as $key => $value) { ${$key} = $value; }; if(!$pg){$pg=0;}; if(!$d){$d=0;}; ### fix anti-injection (c) netexpress.ro 2011 $invalids=array("/", "//", "?", "." ,"http", "ftp", "www"); $pg=str_replace($invalids, "",$pg); $mn = array ( 0=>"INTRO", 1=>"VIZIUNE", 2=>"EVENIMENTE", 3=>"COLECTII", 4=>"DECORATIUNI", 5=>"ATELIERE", 6=>"CONTACT" ); $clr = array ( 0=>"F4F27F", #galben 1=>"FEADD3", #roz 2=>"", 3=>"", 4=>"BABABA", #gri 5=>"8BF2B9", #verde 6=>"F2D1A5" #maro ); # -- $mn_2 = array ( 0=>"Ateliere creative", 1=>"Nunti", 2=>"Botezuri", 3=>"Petreceri tematice", 4=>"Corporate" ); $clr_2 = array ( 0=>"FADC63", #portocaliu 1=>"FEADD3", #roz 2=>"CAB1B1", #visiniu deschis 3=>"F4F27F", #galben 4=>"B3B4EB" #albastru ); # -- $mn_3 = array ( 0=>"Nature's Inspiration", 1=>"Secret Garden", 2=>"Black And Ivory Bliss", 3=>"La Vie En Rose", 4=>"White Style", 5=>"Chic Bordeaux", 6=>"Simple Glamour", 7=>"Purple Passion", 8=>"Message In a Bottle", 9=>"Romanian Fusion", 10=>"Children's Fairytale", 11=>"Tur Virtual" ); $clr_3 = array ( 0=>"8BF2B9", #verde 1=>"F2D1A5", #maro 2=>"BABABA", #gri 3=>"FEADD3", #roz 4=>"BABABA", #gri 5=>"CAB1B1", #visiniu deschis 6=>"F2D1A5", #maro 7=>"CAB1B1", #visiniu deschis 8=>"B5DBF9", #azur 9=>"F4F27F",#galben 10=>"FEADD3",#roz 11=>"" ); if($pg==2) { $col=$clr_2[$d];}; if($pg==3) { $col=$clr_3[$d];}; if($pg<2||$pg>3) { $col=$clr[$pg];}; ?> lanoblesse.ro
 
".$mn[$z]."";} else { $bgc=""; $txt="$mn[$z]"; }; switch ($z) { default: echo ""; } echo " ".$txt.""; if($z<($mnc-1)) { echo "  |  \n"; }; }; #### echo "
"; echo ""; echo ""; echo "
"; echo "".$mn[$pg].""; echo ""; #### #2### if($pg==2) { echo "   "; $mnc=count($mn_2); for($z=0;$z<$mnc;$z++) { if($z==$d) { $txt="".$mn_2[$z]."";} else { $bgc=""; $txt="$mn_2[$z]"; }; echo ""; echo "".$txt.""; echo ""; if($z<($mnc-1)) { echo "  |  \n"; }; }; } #3### if($pg==3) { echo "   "; $mnc=count($mn_3); for($z=0;$z<$mnc;$z++) { if($z==$d) { $txt="".$mn_3[$z]."";} else { $bgc=""; $txt="$mn_3[$z]"; }; if($z==11) { echo "";} else { echo "";}; echo "".$txt.""; echo ""; if($z<($mnc-1)) { echo "  |  \n"; }; }; } #/### echo "
" ?>
>
"; include($fl); ?>