// 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 advertiser where active = 'Y'");