execRequete("SELECT * FROM texts WHERE id=''"); $texte=$bd->ligneSuivante($texte); ?>

Hallo. Deze pic werd jou toegestuurd via www.losninos.be"; if ($mailexp != '') { $message.= "door ".$mailexp."

"; } $message.="
"; $message.="

".$img."

".stripslashes(nl2br($_POST['message'])."

"); } elseif ($lg=='fr') { $message="

Salut. Cette photo t'a été envoyé par notre site www.losninos.be"; if ($mailexp != '') { $message.= "par ".$exp."

"; } $message.="
"; $message.="

".$img."

".stripslashes(nl2br($_POST['message'])."

"); } else { $message="

Hello. This pic has been sent to you via www.losninos.be"; if ($mailexp != '') { $message.= "by ".$exp."

"; } $message.="
"; $message.="

".$img."

".stripslashes(nl2br($_POST['message'])."

"); } // headers de mail $headers = "From: ".$mailexp."<".$mailexp.">\n"; $headers .= "X-Sender: <".$mailexp.">\n"; $headers .= "X-Mailer: PHP/" . phpversion() . "\n"; $headers .= "X-Abuse: ".$mailexp."\n"; $headers .= "X-Spam-Check: DONE\n"; $headers .= "Return-Path: <".$mailexp.">\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1\n"; // envoi du mail proprement dit $ctr = mail($maildest, $subject, $message, $headers); if ($ctr==0) echo "

Sorry, the picture can't be send, please try again."; else if ($lg=='nl') { echo "

De pic is gestuurd naar ".$maildest; echo "
als het email adres klopt...
"; } elseif ($lg=='fr') { echo "

Cette photo est envoyée à ".$maildest; echo "
si l'adresse email est correcte...
"; } else { echo "

This pic has been sent to ".$maildest; echo "
if the email address was correct...
"; } // on enregistre tout dans la database //$dat=date("Y-m-d"); //$bd->execRequete("INSERT INTO pictures (maildest, mailexp, message, dat, choix) VALUES ('$maildest', '$mailexp', '{$_POST['message']}', '$dat', '$img')"); } */ if (isset($_GET['pic'])) { $filename=str_replace('thumb/','',$_GET['pic']); // send mail if ($_GET['send']=='mail') { echo "

"; } else { echo "
"; } echo "

Send to a friend

"; echo "

"; echo ""; echo "Your mail:
"; echo "His/her mail (*) :
"; echo "Your message :
"; echo "
"; echo "
"; // html code if ($_GET['send']=='html') { echo "
"; } else { echo "
"; } if ($lg=='nl') { echo "

Zet deze foto op jouw profiel/site/etc.

Copiëer deze code
"; } elseif ($lg=='fr') { echo "

Mets cette photos sur ton profile/site/etc.

Insère ce code (copy/paste)
"; } else { echo "

Put this picture on your profile/site/etc.

Insert this code (copy/paste)
"; } echo "

"; if ($lg=='nl') { echo "

Zet deze foto op jouw profiel/site/etc.Copiëer deze code
"; } elseif ($lg=='fr') { echo "

Mets cette photos sur ton profile/site/etc.Insère ce code (copy/paste)
"; } else { echo "

Put this picture on your profile/site/etc.Insert this code (copy/paste)
"; } // facebook echo "

facebookPut on Facebook"; // send to friend //echo " - Send to a friend"; // html echo " - HTML code"; echo ""; } else { ?>

Los Ninos.
"; // tous les div contenant les grandes images vont se mettre ici, toutes sur display:none par défaut echo $result['pics']; ?>