Subversion Repositories bacoAlunos

Rev

Rev 1310 | Rev 1378 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1310 Rev 1312
Line 3... Line 3...
3
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld"  prefix="html" %>
3
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld"  prefix="html" %>
4
<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld"  prefix="nested" %>
4
<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld"  prefix="nested" %>
5
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld"  prefix="logic" %>
5
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld"  prefix="logic" %>
6
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld"  prefix="bean" %>
6
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld"  prefix="bean" %>
7
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld"  prefix="tiles" %>
7
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld"  prefix="tiles" %>
8
<%@ page import="pt.estgp.estgweb.Globals" %>
8
<%@ taglib uri="/WEB-INF/tlds/baco.tld"  prefix="baco" %>
9
 
-
 
10
<html:html locale="true">
9
<html:html locale="true">
11
    <head>
10
    <head>
12
        <title><bean:message key="site.title"/> - <tiles:getAsString name="title"/></title>
11
        <title><bean:message key="site.title"/> - <tiles:getAsString name="title"/></title>
13
        <jsp:include page="/layout/scripts.jsp"/>
12
        <jsp:include page="/layout/scripts.jsp"/>
14
 
-
 
15
        <%
-
 
16
          if(Globals.USE_TOP_FLASH_NEWS)
-
 
17
          {
-
 
18
        %>
-
 
19
        <script type="text/javascript">
-
 
20
			<!--
-
 
21
				getFlashNews('<%=request.getContextPath()%>/public/announcements/getFlashNews.jsp',<%=Globals.ANNOUNCEMENT_TYPE_TOP_FLASH_NEWS_TIMEOUT%>);
-
 
22
				 -->
-
 
23
		</script>
-
 
24
        <%
-
 
25
            }
-
 
26
        %>
-
 
27
 
-
 
28
    </head>
13
    </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%">
14
    <body id="public" onload="horizontal();" >
34
            <tr>
15
        <!-- HEADER -->
35
                <td align="center">
-
 
36
 
-
 
37
                    <div id="body">
-
 
38
                        <div id="header">
-
 
39
                            <!-- Barra de titulo -->
-
 
40
                           <tiles:insert attribute="header"/>
16
        <tiles:insert attribute="header"/>
41
                       </div>
-
 
42
                        <table id="pageStructure">
-
 
43
                           <tr>
17
        <!-- SHORTCUTS MENU -->
44
                               <td id="leftPage" rowspan="2">
-
 
45
                                   <tiles:insert attribute="navigationLeft" />
-
 
46
                               <!-- <p><align="center" "animaHome.jpg"</p> -->
-
 
47
                               </td>
-
 
48
                               <!--<td id="leftPage">-->
-
 
49
                               <td width="90%">
-
 
50
						<div style="z-index:100000">
-
 
51
                                   <tiles:insert attribute="navigationTop"/>
18
        <tiles:insert attribute="navigationTop"/>
52
					</div>
-
 
53
			       </td>
-
 
54
			</tr>
-
 
55
			<tr>
-
 
56
							<%
-
 
57
								boolean flash = false;
-
 
58
								try
-
 
59
								{
-
 
60
									java.net.URL url = new java.net.URL("http://www.estgp.pt:9090/static/public/portal/imagens/HOME.swf");
-
 
61
									java.io.InputStream s = url.openStream();
-
 
62
									s.close();
-
 
63
									flash=true;
-
 
64
								}catch(Throwable e)
-
 
65
								{
-
 
66
								}
-
 
67
 
-
 
68
							   %>
-
 
69
                               <td width="90%">
-
 
70
	                              <div align="center">
-
 
71
									<%
-
 
72
										if(flash)
-
 
73
										{
-
 
74
									%>
-
 
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">
-
 
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">
-
 
82
                                    </EMBED>
-
 
83
                                    </OBJECT>
-
 
84
									<%
-
 
85
										}
-
 
86
										else
-
 
87
										{
-
 
88
									%>
-
 
89
										<img src="http://www.estgp.pt:9090/static/public/portal/imagens/HOME.jpg"/>
-
 
90
									<%
-
 
91
										}
-
 
92
									%>
-
 
93
                                </div>
-
 
94
                                   <%
-
 
95
 
-
 
96
                                   if(Globals.USE_TOP_FLASH_NEWS)
-
 
97
                                   {
-
 
98
                                   %>
-
 
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>
-
 
110
                                   <%
-
 
111
                                       }
-
 
112
                                   %>
-
 
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>&nbsp;&nbsp;&nbsp;</th>
-
 
130
                    <th class="underline"><bean:message key="announcements"/></th>
-
 
131
                </tr>
19
        <!-- TOP NAV -->
132
                <tr>
-
 
133
                    <td style="vertical-align: top">
-
 
134
                        <!-- Destaques -->
-
 
135
                        <tiles:insert attribute="topnav"/>
20
        <tiles:insert attribute="topnav"/>
136
                        <tiles:insert attribute="body" />
-
 
137
                    </td>
21
        <!-- BODY -->
138
                    <td style="vertical-align: top" >&nbsp;&nbsp;&nbsp;</td>
-
 
139
                    <td style="vertical-align: top">
-
 
140
                        <!-- Ultimas noticias -->
-
 
141
                         <tiles:insert attribute="navigationRight"/>
22
        <tiles:insert attribute="body"/>
142
                    </td>
-
 
143
                </tr>
-
 
144
            </table>
-
 
145
        </div>
-
 
146
 
-
 
147
        <div id="footer">
23
        <!-- FOOTER -->
148
            <tiles:insert attribute="footer"/>
24
        <tiles:insert attribute="footer"/>
149
            <!-- Fundo -->
-
 
150
        </div>
-
 
151
 
-
 
152
        </center>
-
 
153
    </body>
25
    </body>
154
</html:html>
26
</html:html>