Subversion Repositories bacoAlunos

Rev

Rev 1306 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<%@ page import="pt.estgp.estgweb.web.utils.ProxyUtils" %>
<%@ page import="pt.estgp.estgweb.web.filters.TopImageFilter" %>
<%@ page contentType="text/html; charset=UTF-8"  language="java"%>
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld"  prefix="html" %>
<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld"  prefix="nested" %>
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld"  prefix="logic" %>
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld"  prefix="bean" %>
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld"  prefix="tiles" %>
<table id="headerTable" width="100%">
    <tr>
        <td>

            <%
                String link = (String) request.getAttribute(TopImageFilter.TOP_IMAGE);
                if (link == null)
                {
            %>
              <%--<div align="center"><img alt="estg" src="<%=request.getContextPath()%>/imgs/top.jpg"/></div>--%>
            <table cellpadding="0" cellspacing="0" border="0" width="100%">
                <tr>
                    <td style="width:41px"><html:link action="/Welcome"><img border="0" src="<%=request.getContextPath()%>/imgs/top_home.jpg"/></html:link></td>
                    <td style="background-image:url(<%=request.getContextPath()%>/imgs/top_repeat.jpg); background-repeat:repeat;"> &nbsp;</td>
                    <td style="width:293px"><img src="<%=request.getContextPath()%>/imgs/top_right.jpg"/></td>
                </tr>
            </table>
                         
            <%
                }
                else
                {
            %>
                                    <img alt="estg" src="<%=link%>"/>
            
            <%
                }
            %>
        </td>
    </tr>
</table>