18 |
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
19 |
|
|
20 |
$from=str_replace(".php","",basename($HTTP_REFERER)); |
$from=str_replace(".php","",basename($HTTP_REFERER)); |
21 |
|
if (strstr($from,"?")) $from=substr($from,0,strpos($from,"?")); |
22 |
|
|
23 |
$sth = $dbh->prepare("select email from emails where referer='$from' limit 1"); |
$sth = $dbh->prepare("select email from emails where referer='$from' limit 1"); |
24 |
$sth->execute(); |
$sth->execute(); |
55 |
contact_section=>1, |
contact_section=>1, |
56 |
)); |
)); |
57 |
|
|
|
|
|
|
$smarty->assign("debug",$PHP_SELF." -- ".basename($PHP_SELF)." -- $section --". |
|
|
$url[0] . "from: $from"); |
|
|
|
|
|
|
|
58 |
$smarty->display("index.tpl"); |
$smarty->display("index.tpl"); |
59 |
?> |
?> |