24 |
$email=str_replace(" ","",$email); |
$email=str_replace(" ","",$email); |
25 |
$email_val=explode(",",$email); |
$email_val=explode(",",$email); |
26 |
|
|
27 |
$sth = $dbh->prepare("select iso,name from countries order by name"); |
$countries[]=array( |
28 |
|
"iso" => "SI", |
29 |
|
"name" => "Slovenia" |
30 |
|
); |
31 |
|
|
32 |
|
$sth = $dbh->prepare("select iso,name from countries where upper(iso)<>'SI' order by name"); |
33 |
$sth->execute(); |
$sth->execute(); |
34 |
while ($row=$sth->fetchrow_hash()) { |
while ($row=$sth->fetchrow_hash()) { |
35 |
$countries[]=$row; |
$countries[]=$row; |
39 |
)); |
)); |
40 |
|
|
41 |
if (isset($mailto) && check_required()) { |
if (isset($mailto) && check_required()) { |
42 |
$main="Your comment is sent to $mailto. Thank you."; |
$main="Sporočilo je bilo poslano na naslov $mailto. Hvala."; |
43 |
include("quoted-printable.inc"); |
include("quoted-printable.inc"); |
44 |
iso_mail("$fullname ($country) <$mailfrom>",$mailto,$subject,$comment); |
iso_mail("$fullname ($country) <$mailfrom>",$mailto,$subject,$comment); |
45 |
# $main.="<pre>$mailto $fullname $mailfrom $country $subject $comment</pre>"; |
# $main.="<pre>$mailto $fullname $mailfrom $country $subject $comment</pre>"; |