// Security check - make sure they've logged in. If not, send them // to the LOGIN page. securityCheck(client.valid, client.usertype, "seeker", "../login.htm?type=seeker"); // Dynamically generate the body string according to the attributes in the // configuration file specified as the argument of dynBody() bodystr = dynBody("settings.cfg"); if(!dbCheck()) { redirect("../error.htm?error=dbfail"); } cursor = database.cursor("select * from matchquery, jobs where jobs.jobid=matchquery.jobid AND clientid='" + client.queryname + "' order by score DESC, matchquery.jobid ASC");
write("

## " + request.hits); if (request.hits == "1") write(" job "); else write(" jobs "); write("matched your search.

\n");

### Click on a Job ID to see detailed more information on that job.

JobID | Score | Title | Location (City) | Location (State) | Salary Range
--- | --- | --- | --- | --- | ---
while(cursor.next()) {
write("" + cursor.jobid + ""); | write(cursor.score); | write(cursor.title); | write(cursor.lcity); | write(cursor.lstate); | write("$" + cursor.salarylow + "k to $" + cursor.salaryhigh + "k");
} cursor.close();

| #### Return to the Seeker Home Page.