/[corp_html]/contact.php
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 /contact.php

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

revision 1.1 by dpavlin, Mon Feb 19 16:22:20 2001 UTC revision 1.2 by dpavlin, Wed Feb 28 14:14:10 2001 UTC
# Line 26  if ($row=$sth->fetchrow_hash()) { Line 26  if ($row=$sth->fetchrow_hash()) {
26          $email_to=$row[email];          $email_to=$row[email];
27  }  }
28    
29    $sth = $dbh->prepare("select iso,name from countries order by iso");
30    $sth->execute();
31    while ($row=$sth->fetchrow_hash()) {
32            $countries[]=$row;
33    }
34    $smarty->assign(array(countries=>$countries,
35            email_to=>$email_to,
36            ));
37    
38    include("common.inc");
39  $main=$smarty->fetch("$main_file.tpl");  $main=$smarty->fetch("$main_file.tpl");
40    
41  $smarty->assign( array(MAIN=>$main, from=>$from, contact_section=>1, email_to=>$email_to ));  $smarty->assign( array(MAIN=>$main, from=>$from,
42            contact_section=>1,
43            ));
44    
45    
46  $smarty->assign("debug",$PHP_SELF." -- ".basename($PHP_SELF)." -- $section --".  $smarty->assign("debug",$PHP_SELF." -- ".basename($PHP_SELF)." -- $section --".
47          $url[0] . "from: $from");          $url[0] . "from: $from");

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

  ViewVC Help
Powered by ViewVC 1.1.26