// make sure the connection is still active and reconnect if it is not. if (!dbCheck()) { redirect("../error.htm?error=dbfail"); } securityCheck(client.valid, client.usertype, "seeker", "../login.htm?seeker.htm"); bodystr = dynBody("settings.cfg"); cursor = database.cursor("select * from seeker where userid='" + client.userID + "'"); cursor.next();

Minimum Salary | Level of Education | Years of Experience
if ( (cursor.salarylow + "") == "null") tempStr = ""; else tempStr = cursor.salarylow + ""; // Get values from the lookup table "EDUCTYPE" cursor2 = database.cursor("select * from salarytype"); // see "dynhtml.js" in the "lib" subdirectory dynSelect("salarylow", "1", false, "", tempStr, cursor2); cursor2.close(); | if (cursor.education == null) tempStr = ""; else tempStr = cursor.education; // Get values from the lookup table "EDUCTYPE" cursor2 = database.cursor("select * from eductype"); // see "dynhtml.js" in the "lib" subdirectory dynSelect("education", "1", false, "", tempStr, cursor2); cursor2.close(); |
Desired City | Desired State | Desired Country
| // Generate a state list box and initialize it with the user's value, if present. if (cursor.lstate == null) tempStr = ""; else tempStr = cursor.lstate; stateListFull("lstate", "1", false, "", tempStr); // see dynhtml.js | if (cursor.lcountry == null) tempStr = ""; // Default to a value of United States else tempStr = cursor.lcountry; countryList("lcountry", "1", false, "", tempStr);