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

Annotation of /search.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations)
Mon Mar 5 19:56:58 2001 UTC (21 years, 2 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
search koji radi

1 dpavlin 1.1 <?php
2     require("Smarty.class.php");
3     require("conn.inc");
4    
5     $smarty = new Smarty;
6    
7     $smarty->assign( array ( Title=>"Pliva d.d." ) );
8    
9     $section="search";
10    
11     $title="";
12     $lpic="search"; $lext=".jpg";
13     $mpic="search.gif";
14    
15     $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
16    
17     if ($HTTP_REFERER) {
18     $back_url=$HTTP_REFERER;
19     } else {
20     $back_url="index.php";
21     }
22    
23 dpavlin 1.3 include("./mnogo/search.inc");
24     $main=$mnogo_output;
25 dpavlin 1.1
26     include("common.inc");
27 dpavlin 1.2 $smarty->assign( array(back_url=>"$section.php", MAIN=>$main) );
28    
29 dpavlin 1.1 $smarty->display("index.tpl");
30     ?>
31 dpavlin 1.3

  ViewVC Help
Powered by ViewVC 1.1.26