/[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

Contents of /search.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Wed Feb 21 13:28:19 2001 UTC (23 years ago) by dpavlin
Branch: MAIN
added search (non-working for now)

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 $main=$smarty->fetch("search.tpl");
24
25 include("common.inc");
26 $smarty->assign( array(back_url=>"$section.php", MAIN=>$main));
27
28 $smarty->display("index.tpl");
29 ?>

  ViewVC Help
Powered by ViewVC 1.1.26