|
|
@ -50,6 +50,25 @@ |
|
|
|
|
|
|
|
echo "<script>setTimeout( function(){parent.location = parent.location;},1500); </script>"; |
|
|
|
|
|
|
|
if($uid == 0) { |
|
|
|
$SM_email = "dslaky@gmail.com";//"info@rodinefarmacistisalerno.it"; |
|
|
|
$SM_email2 = 0; |
|
|
|
$SM_email_CC = 0; |
|
|
|
$SM_subject = "Inserzione"; |
|
|
|
$SM_message = "Un utente non iscritto all'Ordine ha richiesto di pubblicare una inserzione<br><br> |
|
|
|
<b>Riepilogo dati</b><br>". |
|
|
|
"Nome: ".$_POST['full_name']."<br>". |
|
|
|
"Città: ".trim($_POST['city'])."<br>". |
|
|
|
"Telefono: ".trim($_POST['contact_phone'])."<br>". |
|
|
|
"Email: ".trim($_POST['contact_email'])."<br>". |
|
|
|
"Inserzione: ".nl2br($_POST['text']).""; |
|
|
|
$SM_showalert = 0; |
|
|
|
$SM_append = 0; |
|
|
|
|
|
|
|
sendMail($SM_email,$SM_email2,$SM_email_CC,$SM_subject,$SM_message,$SM_showalert,$SM_append); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
?> |
|
|
|
|
|
|
|
<div class="col-10 text-center mx-auto"> |
|
|
|