<%@ include file="/plugins/setup/setup_include_header.jsp" %><%-- __________________________________________________________________________________________ put flash banner on home page or dependent template (e.g. freeform) Parameters: width required String that defines width of flash banner height required String that defines height of flash banner __________________________________________________________________________________________ --%> <% String width = StringUtils.getParameter(request,"width"); String height = StringUtils.getParameter(request,"height"); %>
<%-- #BeginRZ-ActionImage --%> <%-- Option:type=EditListEditImage --%> <%-- Option:imageSrcURL=../images/edit/edit_this_flash.jpg --%> <%-- #EndRZ-ActionImage --%>
<% { //contain scope of jsp variables to this code String parentsectionid = rz.pagesectionid; String myparentid = rz.pageparentid; int cnt = 0; while (true && !rz.pagerecordid.equals("")) //not top section or home page { cnt++; rz.fetch("links","linktosectionid", "_recordid="+parentsectionid); if (rz.content.equals("0")) break; //parent section is home parentsectionid = rz.content; if (cnt == 10) break; } %>"/><% //out.println("parentsectionid="+parentsectionid+" "+rz.content+" "+rz.nodata); if (!rz.nodata && rz.content.indexOf("noimage.gif") == -1) { %>
"/><% if (width.equals("") || width.equals("")) out.print("both height and width are required
width=" + width + "
height=" + height); else { %>
<% } } } %>