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"); |