\n\t\t\t\t\t\t\t\t\t");
if(!("featured").equals(rz.fetch("staff_directory_category","feature_deptname","","staff_directory_category.pageid="+rz.pageid))) {
// check if feature checkbox is on or not
if(("").equals(url)) {
// check if url is not or not
staffBfr.append(""+rz.fetch("staff_directory","dept_name")+" | \n\t\t\t\t\t\t\t\t\t");
} else {
// if Url starts with www, then add http:// to the url
if(url.startsWith("www")) {
url = "http://"+url;
}
staffBfr.append(""+rz.fetch("staff_directory","dept_name")+" | \n\t\t\t\t\t\t\t\t\t");
}
}
if(!("featured").equals(rz.fetch("staff_directory_category","feature_fname","","staff_directory_category.pageid="+rz.pageid))) {
// check if feature checkbox is on or not
staffBfr.append(""+rz.fetch("staff_directory","first_name")+" | \n\t\t\t\t\t\t\t\t\t");
}
if(!("featured").equals(rz.fetch("staff_directory_category","feature_lname","","staff_directory_category.pageid="+rz.pageid))) {
// check if feature checkbox is on or not
staffBfr.append(""+rz.fetch("staff_directory","last_name")+" | \n\t\t\t\t\t\t\t\t\t");
}
if(!("featured").equals(rz.fetch("staff_directory_category","feature_prof","","staff_directory_category.pageid="+rz.pageid))) {
// check if feature checkbox is on or not
staffBfr.append(""+rz.fetch("staff_directory","profession")+" | \n\t\t\t\t\t\t\t\t\t");
}
if(!("featured").equals(rz.fetch("staff_directory_category","feature_email","","staff_directory_category.pageid="+rz.pageid))) {
// check if feature checkbox is on or not
staffBfr.append(""+rz.fetch("staff_directory","email")+" | \n\t\t\t\t\t\t\t\t\t");
}
if(!("featured").equals(rz.fetch("staff_directory_category","feature_phone","","staff_directory_category.pageid="+rz.pageid))) {
// check if feature checkbox is on or not
staffBfr.append(""+rz.fetch("staff_directory","phone")+" | \n\t\t\t\t\t\t\t\t\t");
}
staffBfr.append("
\n\t\t\t\t\t\t\t\t");
%>