/[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.5 by dpavlin, Mon Mar 5 12:11:05 2001 UTC revision 1.7 by dpavlin, Mon Mar 5 15:36:16 2001 UTC
# Line 18  $mpic="contactus.gif"; Line 18  $mpic="contactus.gif";
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();
# Line 54  $smarty->assign( array(MAIN=>$main, from Line 55  $smarty->assign( array(MAIN=>$main, from
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  ?>  ?>

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.26