<?
//include.php written by Tom Bartolucci 2005
//I tried to keep the original HTML interface intact.
//These arrays are used to process input from the those original html files

//This array is used to build the query that will be sent to the getref command
//for the simple search on the query page
$fields = array("anyauthor"=>":AX:",
                      "anytitle" =>":TX:",
                      "anyjournal" =>":JX:",
                      "author" =>":A1:",
		"editor"=>":A2:", 
		"seditor"=>":A3:", 
		"title"=>":TI:",
		"booktitle"=>":T2:",
		"seriestitle"=>":T3:",
		"journaltitle"=>":JF:",
		"shortjournaltitle"=>":JO:",
		"publicationyear"=>":PY:",
		"keyword"=>":KW:");

//These are the logical operators used in the simple search
$ops = array("and"=>"AND",
		"or"=>"OR",
		"not"=>"NOT");

$equals = array("exact"=>"=",
		"like"=>"~");

//This array contains the more fields to be included in the display of 
//the search results
$morefields = array("Notes"=>"N1",
			"Abstract"=>"N2",
			"Address"=>"AD",
			"Reprint"=>"RP",
			"ISSN"=>"SN",
			"URL"=>"UR",
			"Publisher"=>"PB",
			"City"=>"CY",
			"U1"=>"U1",
			"U2"=>"U2",
			"U3"=>"U3",
			"U4"=>"U4",
			"U5"=>"U5",
			"M1"=>"M1",
			"M2"=>"M2",
			"M3"=>"M3");

?>
