1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <!-- $Id: index.php,v 1.3 2000-10-25 09:58:53 ahollosi Exp $ -->
5 The main page, i.e. the main loop.
6 This file is always called first.
9 set_magic_quotes_runtime(0);
11 include "lib/config.php";
12 include "lib/stdlib.php";
14 // All requests require the database
15 $dbi = OpenDataBase($WikiPageStore);
18 // Allow choice of submit buttons to determine type of search:
19 if ($searchtype == 'full')
20 $full = $searchstring;
21 elseif ($searchstring) // default to title search
22 $search = $searchstring;
26 include "lib/editpage.php";
28 include "lib/editlinks.php";
30 include "lib/editpage.php";
32 include "lib/search.php";
34 include "lib/fullsearch.php";
36 include "lib/savepage.php";
38 include "lib/pageinfo.php";
40 include "lib/diff.php";
42 include "lib/display.php"; // defaults to FrontPage