<%-- #BeginRZ-ActionImage --%> <%-- Option:type=ForwardEditListImage --%> <%-- Option:imageSrcURL=images/edit/edit_this_list.jpg --%> <%-- #EndRZ-ActionImage --%> <%-- #BeginRZ-ActionImage --%> <%-- Option:type=ForwardEditFormImage --%> <%-- Option:imageSrcURL=images/edit/edit_small.jpg --%> <%-- #EndRZ-ActionImage --%>
<% StringBuffer staffBfr = new StringBuffer(); %> <% while ( rz.listnext() && rz.listindex >= 0){ %> <% String url = rz.fetch("staff_directory","url"); staffBfr.append("\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"); %> <%}%> <% 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(!("featured").equals(rz.fetch("staff_directory_category","feature_fname","","staff_directory_category.pageid="+rz.pageid))) { // check if feature checkbox is on or not %> <%} if(!("featured").equals(rz.fetch("staff_directory_category","feature_lname","","staff_directory_category.pageid="+rz.pageid))) { // check if feature checkbox is on or not %> <%} if(!("featured").equals(rz.fetch("staff_directory_category","feature_prof","","staff_directory_category.pageid="+rz.pageid))) { // check if feature checkbox is on or not %> <%} if(!("featured").equals(rz.fetch("staff_directory_category","feature_email","","staff_directory_category.pageid="+rz.pageid))) { // check if feature checkbox is on or not %> <%} 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%>
<%=(("").equals(rz.fetch("staff_directory_category","dept_name","","staff_directory_category.pageid="+rz.pageid))?"Department Name":rz.fetch("staff_directory_category","dept_name","","staff_directory_category.pageid="+rz.pageid))%><%=(("").equals(rz.fetch("staff_directory_category","f_name","","staff_directory_category.pageid="+rz.pageid))?"First Name":rz.fetch("staff_directory_category","f_name","","staff_directory_category.pageid="+rz.pageid))%><%=(("").equals(rz.fetch("staff_directory_category","l_name","","staff_directory_category.pageid="+rz.pageid))?"Last Name":rz.fetch("staff_directory_category","l_name","","staff_directory_category.pageid="+rz.pageid))%><%=(("").equals(rz.fetch("staff_directory_category","profession","","staff_directory_category.pageid="+rz.pageid))?"Profession":rz.fetch("staff_directory_category","profession","","staff_directory_category.pageid="+rz.pageid))%><%=(("").equals(rz.fetch("staff_directory_category","email","","staff_directory_category.pageid="+rz.pageid))?"Email":rz.fetch("staff_directory_category","email","","staff_directory_category.pageid="+rz.pageid))%><%=(("").equals(rz.fetch("staff_directory_category","phone","","staff_directory_category.pageid="+rz.pageid))?"Phone":rz.fetch("staff_directory_category","phone","","staff_directory_category.pageid="+rz.pageid))%>