// 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 employer where empid = '" + request.empid + "'"); cursor.next(); // Initialize the cursor.

## Employer Profile for write(cursor.busname)

Employer Name | if (cursor.busname != null) { write(cursor.busname); }
Address1 | if (cursor.addr1 != null) { write(cursor.addr1); }
Address2 | if (cursor.addr2 != null) { write(cursor.addr2); }
City | if (cursor.city != null) { write(cursor.city); }
State | if (cursor.state != null) { write(cursor.state); }
Zip | if (cursor.postalcode != null) { write(cursor.postalcode); }
Country | if(cursor.country != null) {write(cursor.country);}
WWW URL | if (cursor.url != null) { write("" + cursor.url+ "");}
E-mail | if (cursor.email != null) { write("" + cursor.email + ""); }
Phone | if (cursor.busphone != null) { write(cursor.busphone); }
Fax | if (cursor.busfax != null) { write(cursor.busfax); }
Description | descrip = unEscString(cursor.desc); // de-code the stored string (see lib/sqlstr.js) write(descrip);
Contact Name | if (cursor.contactname != null) { write(cursor.contactname); }
Contact Phone | if (cursor.contactemail != null) { write(cursor.contactemail); }
Contact Fax | if (cursor.contactphone != null) { write(cursor.contactphone); }
Contact E-mail | if (cursor.contactfax != null) { write(cursor.contactfax); }

if (client.usertype == "seeker") { write("
") write(" | #### Return to the Seeker Home Page.
") } else if (client.usertype == "employer") { write("
") write(" | #### Return to the Employer Home Page.
") } else if (client.usertype == "admin") { write("
") write(" | #### Return to the Administration Home Page.
") }
| #### Return to the Employer Profile List.
| #### Return to the WorkNet Home Page.