execRequete("SELECT * FROM texts WHERE id='119'"); $texte=$bd->ligneSuivante($texte); $party=mysql_real_escape_string($_GET['party']); if ($party!='') { echo "
"; } else echo "
"; eval('$showtexte=$texte["text'.$lg.'"];'); // on repère les illustrations dans le texte, et on les affiche avec le lien pour afficher le grand format à droite $result=PutPict($showtexte,$texte['id']); $today=date("Y-m-d"); $directory='flyers'; if ($party!='') { $liste=$bd->execRequete("SELECT * FROM parties WHERE id='$party'"); while ($list=$bd->ligneSuivante($liste)) { showxl ($directory,'',$list['id']); echo "
"; echo "

".$list['partyname']." (".showdat($list['partydat'],$lg).")
".$list['partysubname'].""; eval('echo "
".$list["party'.$lg.'"];'); echo "


"; if ($list['partydat']>=$today) { if ($list['priceA2']!='0' AND $list['presaleopen']=='y') { echo "

PRESALE TICKETS

".$list['priceA2comments'].": ".$list['priceA2']; } /* if ($list['priceA2']!='0') { echo "

PRESALE TICKETS

".$list['priceA2comments'].": ".$list['priceA2']; } */ if ($list['priceA6']!='0' AND $list['presaleopen']=='y') { echo "

".$list['priceA6comments'].": ".$list['priceA6']; } if ($list['priceA3']!='0' AND $list['presaleopen']=='y') { echo "

".$list['priceA3comments'].": ".$list['priceA3']; } if ($list['priceA4']!='0' AND $list['presaleopen']=='y') { echo "

".$list['priceA4comments'].": ".$list['priceA4']; } if ($list['priceA5']!='0' AND $list['presaleopen']=='y') { echo "

".$list['priceA5comments'].": ".$list['priceA5']; } if ($list['priceA'] == '0.00') { echo "

Free party !

"; } else { echo "

AT THE DOOR

".$list['priceAcomments'].": ".$list['priceA']; } } else { echo "

No presale digitickets available (yet)"; if ($list['priceA'] == '0.00') { echo "

Free party !

"; } else { echo "

".$list['priceAcomments'].": ".$list['priceA']; } } echo "


"; if ($list['mapmenuopen']=='y') { if ($list['mapsid']!='0') { echo "

Map/Carte/Kaart

"; } else { echo "

Where/Waar/Ou: to be confirmed

"; } } if ($list['artistsmenuopen']=='y') echo "

Artists/Line up/Program

"; //echo "

Latest news

"; //echo "

Music download

"; //echo "

Partners

"; if ($list['graphics']!='0') { echo "

Graphic designer

"; } /* if ($list['partyname']=='Los Ninos' OR $list['partyname']=='Las Ninas') { if ($list['partydat']>$today) { echo "

Forward to friend

"; } //echo "

Bio Snacks

"; if ($list['biodrinks']=='y') { echo "

Bio Bar

"; } } */ if ($list['facebookevent']!='' AND $list['facebookevent']!=0) { echo "

Facebook event

"; } echo "

iCal : add this party to yr calendar

"; if ($list['partydat']<$today) { echo "

Pics

"; //echo "

Close up pics

"; } if ($list['video']!=0) { echo "

Video

"; } echo "

Next party

"; } echo "
"; } else { echo $result['txt']; $liste=$bd->execRequete("SELECT * FROM parties WHERE visible ='1' AND sitemenu <> 'n' AND flyermenuopen = 'y' ORDER BY partydat DESC"); while ($list=$bd->ligneSuivante($liste)) { echo "

".showdat($list['partydat'],$lg)."

"; echo "

".$list['partyname']; echo "
".$list['partysubname']; echo "
Info"; //eval('echo "

".$list["party'.$lg.'"];'); showthumb ($directory,'',$list['id']); } echo "

"; echo "
"; if (isset($_GET['pic'])) { echo ""; } else echo ''; // echo "
"; // tous les div contenant les grandes images vont se mettre ici, toutes sur display:none par défaut echo $result['pics']; echo ""; } ?>