/[pliva-si]/sections/pisite_nam.inc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sections/pisite_nam.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by dpavlin, Tue Sep 18 13:21:43 2001 UTC revision 1.4 by dpavlin, Wed Nov 21 09:10:52 2001 UTC
# Line 24  $email=str_replace("\n","",$email); Line 24  $email=str_replace("\n","",$email);
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;
# Line 34  $smarty->assign(array(countries=>$countr Line 39  $smarty->assign(array(countries=>$countr
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>";

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.26