Main Page   File List   File Members  

search.inc

Go to the documentation of this file.
00001 <?PHP 
00002 // Load configuration file
00003 require("search.conf");
00004 
00005 //  Versioning information
00006 $strSelfInfoURL = "http://www.webaugur.com/wares/sws.html";
00007 $strSelfVersion = "2.0 Beta 1";
00008 
00009 Function fncPrintFooter($strErrMessage = ""){
00010         //Set scope of vars
00011         global $strSelfInfoURL, $strSelfVersion;
00012 
00013         // Print out any error message passed along.
00014         print $strErrMessage
00015 
00016         // Jump out to HTML to end the document, then close.
00017 ?>
00018         <HR>
00019         <P>
00020                 <A HREF="<?PHP print $strSelfInfoURL;?>">Simple Web Search</A>/<?PHP print $strSelfVersion;?>. Copyright &copy; 1999-2000 David L. Norris.
00021         </P>
00022         </BODY>
00023         </HTML>
00024 <?PHP
00025                 exit();
00026 };
00027 
00028 Function fncDebug($descript, $value, $level){
00029         settype($level, "integer");
00030         global $debug;
00031         If ($debug >= $level){
00032 ?>
00033         <SPAN class="debug"><?PHP print "$descript :is: $value"; ?></SPAN><BR>
00034 <?PHP   
00035         };
00036 };
00037 ?>

Generated at Sun Sep 17 14:33:41 2000 for SWS 1.0 by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000