securityCheck(client.valid, client.usertype, "employer", "../login.htm?type=employer");
if(!dbCheck()) {
redirect("../error.htm?error=dbfail");
}
cursor = database.cursor("select * from employer where empid='" + client.userID + "'");
cursor.next(); // Initialize the cursor.
// Parse out the month and year of the Credit Card expiration date if it isn't null.
if (cursor.expdate != null)
expdate = new Date(cursor.expdate);
else
expdate = new Date(); // default to today's date
expmo = expdate.getMonth() + 1; // add one since getMonth returns 0-11
expyear = 1900 + expdate.getYear();
expyear += "";
expmo += "";
bodystr = dynBody("settings.cfg");