Rev 898 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ 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" %>
<%@ page import="pt.estgp.estgweb.Globals" %>
<html:html locale="true">
<head>
<title><bean:message key="site.title"/> - <tiles:getAsString name="title"/></title>
<jsp:include page="/layout/scripts.jsp"/>
<%
if(Globals.USE_TOP_FLASH_NEWS)
{
%>
<script type="text/javascript">
<!--
getFlashNews('<%=request.getContextPath()%>/public/announcements/getFlashNews.jsp',<%=Globals.ANNOUNCEMENT_TYPE_TOP_FLASH_NEWS_TIMEOUT%>);
-->
</script>
<%
}
%>
</head>
<body class="small" marginwidth="0" marginheight="0" bgcolor="#ffffff" topmargin="0" leftmargin="0" onload="horizontal();" >
<center>
<table width="100%">
<tr>
<td align="center">
<div id="body">
<div id="header">
<!-- Barra de titulo -->
<tiles:insert attribute="header"/>
</div>
<table id="pageStructure">
<tr>
<td id="leftPage" rowspan="2">
<tiles:insert attribute="navigationLeft" />
<!-- <p><align="center" "animaHome.jpg"</p> -->
</td>
<!--<td id="leftPage">-->
<td width="90%">
<div style="z-index:100000">
<tiles:insert attribute="navigationTop"/>
</div>
</td>
</tr>
<tr>
<%
boolean flash = false;
try
{
java.net.URL url = new java.net.URL("http://www.estgp.pt:9090/static/public/portal/imagens/HOME.swf");
java.io.InputStream s = url.openStream();
s.close();
flash=true;
}catch(Throwable e)
{
}
%>
<td width="90%">
<div align="center">
<%
if(flash)
{
%>
<OBJECT WIDTH="928" height="175" style="background-color:orange;" HEIGHT="240">
<PARAM NAME="MOVIE" VALUE="<%=request.getContextPath()%>/imgs/FLA_HOME4.swf">
<PARAM NAME="PLAY" VALUE="true">
<PARAM NAME="LOOP" VALUE="true">
<PARAM NAME="WMODE" VALUE="transparent">
<PARAM NAME="QUALITY" VALUE="high">
<EMBED SRC="http://baco.estgp.pt:9090/static/public/portal/imagens/HOME.swf" WIDTH="928" height="175" PLAY="true" LOOP="true" WMODE="transparent" QUALITY="high">
</EMBED>
</OBJECT>
<%
}
else
{
%>
<img src="http://www.estgp.pt:9090/static/public/portal/imagens/HOME.jpg"/>
<%
}
%>
</div>
<%
if(Globals.USE_TOP_FLASH_NEWS)
{
%>
<div id="flashTopNews">
<table class="container">
<tr>
<td class="textContainer">
<bean:message key="announcements.loading"/>
</td>
<td class="imageContainer">
</td>
</tr>
</table>
</div>
<%
}
%>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
</tr>
</table>
<div id="noticiasAnunciosWelcome" >
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<th class="underline"><bean:message key="mainAnnouncements"/></th>
<th> </th>
<th class="underline"><bean:message key="announcements"/></th>
</tr>
<tr>
<td style="vertical-align: top">
<!-- Destaques -->
<tiles:insert attribute="topnav"/>
<tiles:insert attribute="body" />
</td>
<td style="vertical-align: top" > </td>
<td style="vertical-align: top">
<!-- Ultimas noticias -->
<tiles:insert attribute="navigationRight"/>
</td>
</tr>
</table>
</div>
<div id="footer">
<tiles:insert attribute="footer"/>
<!-- Fundo -->
</div>
</center>
</body>
</html:html>