Search Results for:

Click on each group to see all the matches

=1){ //THERE IS AT LEAST ONE MATCH SO NOW WE SHOW THEM THE LIST OF CONCEPTS $resultsDivCounter=1; $resultsNewHeader=""; //start the container div that makes the collapsable magic happen echo "
\n"; //IF WE FOUND AUTHORS THEN SHOW THEM if($RUN_AUTHOR_SEARCH){ echo "

View Matching Authors

\n"; echo "
\n"; while($myrowAuthorResults=mysql_fetch_row($mysqlAuthorCheck)){ echo "

$myrowAuthorResults[4] authored " . ucwords($myrowAuthorResults[1]) . " ($myrowAuthorResults[3])

\n"; } echo "
\n"; } //IF WE FOUND YEARS THEN SHOW THEM if($RUN_YEAR_SEARCH){ echo "

View Matching Years

\n"; echo "
\n"; while($myrowYearResults=mysql_fetch_row($mysqlYearCheck)){ echo "

" . ucwords($myrowYearResults[1]) . " ($myrowYearResults[3])

\n"; } echo "
\n"; } while($myrowSearchResults=mysql_fetch_row($searchQueryResult)){ //display each CONCEPT that was found //first we check to see whether we need to list a new header or not if(ucwords($myrowSearchResults[1])!=ucwords($resultsNewHeader)){ //this is a new one so we draw a new header and create a new div $resultsNewHeader=ucwords($myrowSearchResults[1]); //create a new title and DIV if($resultsDivCounter>1) echo "
\n"; echo "

" . ucwords($myrowSearchResults[1]) . "

\n"; echo "
\n"; //increment the DIV counter $resultsDivCounter++; } //now we actually output the conception entries echo "
"; if($myrowSearchResults[5]>=2.0){ echo "Based on your search we think this might be a particularly good match. "; } //now we create the preview string to show $previewString=substr(strip_tags($myrowSearchResults[2]), 0, 220) . "..."; echo "" . ucwords($myrowSearchResults[1]) . " (" . $myrowSearchResults[3] . ") by " . $myrowSearchResults[5]; echo "\n"; //now we display any appropriate action icons echo "Read this conception in a new window "; echo "Visualize a Concept Web! "; echo "Visually Explore This Concept! "; echo "Email this conception "; echo "Print this conception "; echo "Submitted by $myrowSearchResults[6] "; //echo "View bibliography for this conception "; echo "
$previewString
\n"; //add this entry to the bibliography for search results $CONCEPT_ID_ARRAY[]=$myrowSearchResults[0]; } //close the last DIV of content echo "
\n"; //close the container that handles magic collapsing echo "
\n"; } else{ //THERE WERE NO SEARCH RESULTS if(!$RUN_AUTHOR_SEARCH && !$RUN_YEAR_SEARCH){ echo "

Sorry, we couldn't find anything in the database that matched your basic search for $terms

\n"; echo "

Please try different search terms and remember you can do a boolean search too. Also, please consider adding an entry on this topic if it is something you are working with or are knowledgeable about.

\n"; } else{ echo "
\n"; if($RUN_AUTHOR_SEARCH){ echo "

View Matching Authors

\n"; echo "
\n"; while($myrowAuthorResults=mysql_fetch_row($mysqlAuthorCheck)){ echo "

$myrowAuthorResults[4] authored " . ucwords($myrowAuthorResults[1]) . " ($myrowAuthorResults[3])

\n"; } echo "
\n"; } if($RUN_YEAR_SEARCH){ echo "

View Matching Years

\n"; echo "
\n"; while($myrowYearResults=mysql_fetch_row($mysqlYearCheck)){ echo "

" . ucwords($myrowYearResults[1]) . " ($myrowYearResults[3])

\n"; } echo "
\n"; } echo "
\n"; } } displaySimpleSearchBox("center", "Perform a New Search"); ?>

Search Failure

There was a problem:

\n"; //GENERATE THE RESULTS FOR AN IMAGE SEARCH $result=database_query("SELECT COUNT(*) FROM Library"); if(mysql_num_rows($result)>=1){ echo "
\n"; echo "

Multimedia Results

\n"; $myrow=mysql_fetch_row($result); echo "

The library contains $myrow[0] multimedia items.

\n"; echo "

Search the Library | Browse the Library

\n"; echo "
\n"; } /***************************************** GENERATE BIBLIOGRAPHY LIST This is temporarily disabled as the basic search is reworked *****************************************/ $CONCEPT_ID_ARRAY=array_unique($CONCEPT_ID_ARRAY); if(count($CONCEPT_ID_ARRAY)>=1){ echo "
\n"; $conceptIDList=implode(",", $CONCEPT_ID_ARRAY); echo "

Bibliography

\n"; echo "

View a bibliography for the entire database!

\n"; echo "
\n"; } /************************************** LET THEM RUN ANOTHER SEARCH **************************************/ echo "
\n"; echo "

Search the Database

\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; echo "
\n"; echo "\n"; include($_SERVER['DOCUMENT_ROOT'] . "/template/footer.php"); ?>