// It's time to get the class info cursor = database.cursor("select * from cl_master where c_id = " + request.id); cursor.next(); // Initialize some client side JavaScript variables for later use write("");

write(trim(cursor.c_title));

write(trim(cursor.c_desc));

// Check to see if the class is close and print appropriate message if (cursor.c_closed == "Y") write("");
Type: write((cursor.c_int_ext == "I") ? "Internal" : "External");
Cost: $write(cursor.c_cost);
Prequisites: write(trim(cursor.c_prereq));
Eligibility: write(trim(cursor.c_elig));
Location: write(trim(cursor.c_location));
This class is closed.
// Only display class enrollment button if class is not closed if (cursor.c_closed == "N") { write(""); write("

Your Manager's ID: " + " "); write("
"); write(""); }

cursor.close();