Rev 898 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
533 | jmachado | 1 | <%@page contentType="text/html"%> |
2 | <%@page pageEncoding="UTF-8"%> |
||
3 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
||
4 | <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> |
||
5 | <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> |
||
6 | <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
||
7 | <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> |
||
8 | <%@ page import="pt.estgp.estgweb.Globals" %> |
||
9 | |||
10 | <html:html locale="true"> |
||
11 | <head> |
||
12 | <title><bean:message key="site.title"/> - <tiles:getAsString name="title"/></title> |
||
13 | <jsp:include page="/layout/scripts.jsp"/> |
||
542 | jmachado | 14 | |
15 | <% |
||
16 | if(Globals.USE_TOP_FLASH_NEWS) |
||
17 | { |
||
18 | %> |
||
19 | <script type="text/javascript"> |
||
533 | jmachado | 20 | <!-- |
21 | getFlashNews('<%=request.getContextPath()%>/public/announcements/getFlashNews.jsp',<%=Globals.ANNOUNCEMENT_TYPE_TOP_FLASH_NEWS_TIMEOUT%>); |
||
22 | --> |
||
23 | </script> |
||
542 | jmachado | 24 | <% |
25 | } |
||
26 | %> |
||
533 | jmachado | 27 | |
28 | </head> |
||
29 | |||
30 | |||
31 | <body class="small" marginwidth="0" marginheight="0" bgcolor="#ffffff" topmargin="0" leftmargin="0" onload="horizontal();" > |
||
32 | <center> |
||
33 | <table width="100%"> |
||
34 | <tr> |
||
35 | <td align="center"> |
||
36 | |||
37 | <div id="body"> |
||
38 | <div id="header"> |
||
39 | <!-- Barra de titulo --> |
||
40 | <tiles:insert attribute="header"/> |
||
41 | </div> |
||
42 | <table id="pageStructure"> |
||
43 | <tr> |
||
539 | jmachado | 44 | <td id="leftPage" rowspan="2"> |
533 | jmachado | 45 | <tiles:insert attribute="navigationLeft" /> |
46 | <!-- <p><align="center" "animaHome.jpg"</p> --> |
||
47 | </td> |
||
48 | <!--<td id="leftPage">--> |
||
536 | jmachado | 49 | <td width="90%"> |
539 | jmachado | 50 | <div style="z-index:100000"> |
533 | jmachado | 51 | <tiles:insert attribute="navigationTop"/> |
539 | jmachado | 52 | </div> |
53 | </td> |
||
54 | </tr> |
||
55 | <tr> |
||
604 | calvin | 56 | <% |
57 | boolean flash = false; |
||
58 | try |
||
59 | { |
||
898 | jmachado | 60 | java.net.URL url = new java.net.URL("http://www.estgp.pt:9090/static/public/portal/imagens/HOME.swf"); |
604 | calvin | 61 | java.io.InputStream s = url.openStream(); |
62 | s.close(); |
||
63 | flash=true; |
||
64 | }catch(Throwable e) |
||
65 | { |
||
66 | } |
||
67 | |||
68 | %> |
||
539 | jmachado | 69 | <td width="90%"> |
70 | <div align="center"> |
||
604 | calvin | 71 | <% |
72 | if(flash) |
||
73 | { |
||
74 | %> |
||
542 | jmachado | 75 | <OBJECT WIDTH="928" height="175" style="background-color:orange;" HEIGHT="240"> |
76 | <PARAM NAME="MOVIE" VALUE="<%=request.getContextPath()%>/imgs/FLA_HOME4.swf"> |
||
77 | <PARAM NAME="PLAY" VALUE="true"> |
||
78 | <PARAM NAME="LOOP" VALUE="true"> |
||
79 | <PARAM NAME="WMODE" VALUE="transparent"> |
||
80 | <PARAM NAME="QUALITY" VALUE="high"> |
||
604 | calvin | 81 | <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"> |
542 | jmachado | 82 | </EMBED> |
83 | </OBJECT> |
||
604 | calvin | 84 | <% |
85 | } |
||
86 | else |
||
87 | { |
||
88 | %> |
||
898 | jmachado | 89 | <img src="http://www.estgp.pt:9090/static/public/portal/imagens/HOME.jpg"/> |
604 | calvin | 90 | <% |
91 | } |
||
92 | %> |
||
542 | jmachado | 93 | </div> |
94 | <% |
||
95 | |||
96 | if(Globals.USE_TOP_FLASH_NEWS) |
||
97 | { |
||
98 | %> |
||
533 | jmachado | 99 | <div id="flashTopNews"> |
100 | <table class="container"> |
||
101 | <tr> |
||
102 | <td class="textContainer"> |
||
103 | <bean:message key="announcements.loading"/> |
||
104 | </td> |
||
105 | <td class="imageContainer"> |
||
106 | </td> |
||
107 | </tr> |
||
108 | </table> |
||
109 | </div> |
||
542 | jmachado | 110 | <% |
111 | } |
||
112 | %> |
||
533 | jmachado | 113 | </td> |
114 | </tr> |
||
115 | </table> |
||
116 | </div> |
||
117 | </td> |
||
118 | </tr> |
||
119 | <tr> |
||
120 | |||
121 | |||
122 | </tr> |
||
123 | </table> |
||
124 | |||
125 | <div id="noticiasAnunciosWelcome" > |
||
126 | <table cellpadding="0" cellspacing="0" border="0"> |
||
127 | <tr> |
||
128 | <th class="underline"><bean:message key="mainAnnouncements"/></th> |
||
129 | <th> </th> |
||
130 | <th class="underline"><bean:message key="announcements"/></th> |
||
131 | </tr> |
||
132 | <tr> |
||
848 | jmachado | 133 | <td style="vertical-align: top"> |
533 | jmachado | 134 | <!-- Destaques --> |
135 | <tiles:insert attribute="topnav"/> |
||
136 | <tiles:insert attribute="body" /> |
||
137 | </td> |
||
848 | jmachado | 138 | <td style="vertical-align: top" > </td> |
139 | <td style="vertical-align: top"> |
||
533 | jmachado | 140 | <!-- Ultimas noticias --> |
141 | <tiles:insert attribute="navigationRight"/> |
||
142 | </td> |
||
143 | </tr> |
||
144 | </table> |
||
145 | </div> |
||
146 | |||
147 | <div id="footer"> |
||
148 | <tiles:insert attribute="footer"/> |
||
149 | <!-- Fundo --> |
||
150 | </div> |
||
151 | |||
152 | </center> |
||
153 | </body> |
||
154 | </html:html> |