URL: '.$url.'
';
echo 'CTX: '.$ctx.'
';
echo 'Keyword(s): '.$keywords.'
';
echo 'Title: '.$title.'
';
echo 'Author: '.$author.'
';
echo 'Subjects: '.$subject.'
';
echo 'Langauge: '.$language.'
';
// Begin building the URL
// Langauge selection starts the URL
$la = 'la='.$language;
if (!empty($keywords)) {
$kw = $searchjoiner.'kw='.$keywords;
}
if (!empty($subject)) {
$su = $searchjoiner.'su='.$subject;
}
if (!empty($author)) {
$au = $searchjoiner.'au='.$author;
}
// Title status determines end of URL
if (!empty($title)) {
$urlend = $searchjoiner.'ti='.$title.$searchsuffix;
} else {
$urlend = $searchsuffix;
}
// Display the Search link
echo '