1 package org.apache.jsp; 2 3 import javax.servlet.*; 4 import javax.servlet.http.*; 5 import javax.servlet.jsp.*; 6 import org.apache.jasper.runtime.*; 7 8 public class template_jsp extends HttpJspBase { 9 10 11 private static java.util.Vector _jspx_includes; 12 13 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_template_get_name; 14 15 public template_jsp() { 16 _jspx_tagPool_template_get_name = new org.apache.jasper.runtime.TagHandlerPool(); 17 } 18 19 public java.util.List getIncludes() { 20 return _jspx_includes; 21 } 22 23 public void _jspDestroy() { 24 _jspx_tagPool_template_get_name.release(); 25 } 26 27 public void _jspService(HttpServletRequest request, HttpServletResponse response) 28 throws java.io.IOException , ServletException { 29 30 JspFactory _jspxFactory = null; 31 javax.servlet.jsp.PageContext pageContext = null; 32 HttpSession session = null; 33 ServletContext application = null; 34 ServletConfig config = null; 35 JspWriter out = null; 36 Object page = this; 37 JspWriter _jspx_out = null; 38 39 40 try { 41 _jspxFactory = JspFactory.getDefaultFactory(); 42 response.setContentType("text/html;charset=ISO-8859-1"); 43 pageContext = _jspxFactory.getPageContext(this, request, response, 44 null, true, 8192, true); 45 application = pageContext.getServletContext(); 46 config = pageContext.getServletConfig(); 47 session = pageContext.getSession(); 48 out = pageContext.getOut(); 49 _jspx_out = out; 50 51 out.write("\r\n\r\n"); 52 53 int nbg = 1; 54 if( "home".equals( request.getAttribute("view") ) ) nbg = 1; 55 if( "user".equals( request.getAttribute("view") ) ) nbg = 2; 56 if( "group".equals( request.getAttribute("view") ) ) nbg = 3; 57 if( "publi".equals( request.getAttribute("view") ) ) nbg = 4; 58 if( "section".equals( request.getAttribute("view") ) ) nbg = 5; 59 if( "category".equals( request.getAttribute("view") ) ) nbg = 6; 60 if( "type".equals( request.getAttribute("view") ) ) nbg = 7; 61 if( "config".equals( request.getAttribute("view") ) ) nbg = 8; 62 if( "help".equals( request.getAttribute("view") ) ) nbg = 9; 63 64 out.write("\r\n\r\n"); 65 out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\r\n\r\n"); 66 out.write("<html>\r\n"); 67 out.write("<head>\r\n\t"); 68 out.write("<title>"); 69 if (_jspx_meth_template_get_0(pageContext)) 70 return; 71 out.write("</title>\r\n\t"); 72 out.write("<style>\r\n\t\t.titre {\r\n\t\t\tfont-family:verdana;\r\n\t\t\tcolor:#5d5d5d;\r\n\t\t\tfont-size:18px;\r\n\t\t\tfont-weight:bold;\t\t\t\r\n\t\t}\r\n\t\t.titre-liste {\r\n\t\t\tfont-family:verdana;\r\n\t\t\tcolor:#0148B2;\r\n\t\t\tfont-size:10px;\r\n\t\t\tfont-weight:bold;\t\t\t\r\n\t\t}\r\n\t\t.titre2 {\r\n\t\t\tfont-family:verdana;\r\n\t\t\tcolor:black;\r\n\t\t\tfont-size:11px;\t\t\r\n\t\t\tfont-weight:bold;\t\r\n\t\t}\t\t\t\r\n\t\t.gros-titre {\r\n\t\t\tfont-family:verdana;\r\n\t\t\tcolor:#272727;\r\n\t\t\tfont-size:28px;\r\n\t\t\tfont-weight:bold;\t\t\t\r\n\t\t}\r\n\t\t.texte {\r\n\t\t\tfont-family:verdana;\r\n\t\t\tcolor:black;\r\n\t\t\tfont-size:9px;\r\n\t\t}\r\n\t\t.error {\r\n\t\t\tfont-family:verdana;\r\n\t\t\tcolor:#cc0000;\r\n\t\t\tfont-size:9px;\r\n\t\t\tfont-weight:bold;\r\n\t\t}\r\n\t\tinput {\r\n\t\t\tfont-family:verdana;\r\n\t\t\tcolor:black;\r\n\t\t\tfont-size:9px;\r\n\t\t\tfont-weight:bold;\t\t\t\r\n\t\t\tbackground-color:white;\r\n\t\t\tborder:1px solid black;\r\n\t\t}\r\n\t\ttextarea {\r\n\t\t\tfont-family:verdana;\r\n\t\t\tcolor:black;\r\n\t\t\tfont-size:9px;\r\n\t\t\tfont-weight:bold;\t\t\t\r\n\t\t\tbackground-color:white;\r\n\t\t\tborder:1px solid black;\r\n\t\t\twidth=200px;\r\n\t\t}\r\n\t\tselect {\r\n\t\t\tfont-family:verdana;\r\n\t\t\tcolor:black;\r\n\t\t\tfont-size:9px;\r\n"); 73 out.write("\t\t\tfont-weight:bold;\r\n\t\t\tborder:1px solid black;\r\n\t\t\tbackground-color:white;\r\n\t\t\twidth=200px;\r\n\t\t}\t\t\t\r\n\t\ta {\r\n\t\t\tfont-family:verdana;\r\n\t\t\tcolor:black;\r\n\t\t\tfont-size:9px;\r\n\t\t\tfont-weight:bold;\r\n\t\t\ttext-decoration:underline;\r\n\t\t}\r\n\t\ta:hover {\r\n\t\t\tfont-family:verdana;\r\n\t\t\tcolor:#717171;\r\n\t\t\tfont-size:9px;\r\n\t\t\tfont-weight:bold;\r\n\t\t\ttext-decoration:underline;\r\n\t\t}\r\n\t\t\t\r\n"); 74 out.write("</style>\r\n"); 75 out.write("</head>\r\n\r\n"); 76 out.write("<body leftmargin=\"0\" topmargin=\"0\" rightmargin=\"0\" bottommargin=\"0\">\r\n\r\n"); 77 out.write("<table width=\"100%\" height=\"100%\" bgcolor=\"#F5F5F5\" cellpadding=\"0\" cellspacing=\"0\">\r\n\t"); 78 out.write("<tr>\r\n\t\t"); 79 out.write("<td width=\"38\" valign=\"top\" background=\"images/fond.gif\">\r\n\t\t\t"); 80 out.write("<table width=\"38\" background=\"images/fond"); 81 out.print(nbg); 82 out.write(".gif\" cellpadding=\"0\" cellspacing=\"0\">\r\n\t\t\t\t"); 83 out.write("<tr>\r\n\t\t\t\t\t"); 84 out.write("<td height=\"9\">"); 85 out.write("</td>\r\n\t\t\t\t"); 86 out.write("</tr>\r\n\t\t\t\t"); 87 out.write("<tr>\t\t\t\t\t\r\n\t\t\t\t\t"); 88 if (nbg==1) { 89 out.write("\r\n\t\t\t\t\t\t"); 90 out.write("<td align=\"center\">"); 91 out.write("<a HREF=\"home.x?view\" title=\"home\">"); 92 out.write("<img SRC=\"images/home.gif\" border=\"0\">"); 93 out.write("</a>"); 94 out.write("</td>\r\n\t\t\t\t\t"); 95 } else { 96 out.write("\r\n\t\t\t\t\t\t"); 97 out.write("<td align=\"center\">"); 98 out.write("<a HREF=\"home.x?view\" title=\"home\">"); 99 out.write("<img SRC=\"images/home-fade.gif\" onmouseover=\"this.src='images/home-high.gif'\" onmouseout=\"this.src='images/home-fade.gif'\" border=\"0\">"); 100 out.write("</a>"); 101 out.write("</td>\r\n\t\t\t\t\t"); 102 } 103 out.write("\t\r\n\t\t\t\t"); 104 out.write("</tr>\r\n\t\t\t\t"); 105 out.write("<tr>\r\n\t\t\t\t\t"); 106 out.write("<td height=\"9\">"); 107 out.write("</td>\r\n\t\t\t\t"); 108 out.write("</tr>\r\n\t\t\t\t"); 109 out.write("<tr>\t\t\t\t\t\r\n\t\t\t\t\t"); 110 if (nbg==2) { 111 out.write("\r\n\t\t\t\t\t\t"); 112 out.write("<td align=\"center\">"); 113 out.write("<a HREF=\"listUser.x\" title=\"home\">"); 114 out.write("<img SRC=\"images/user.gif\" border=\"0\">"); 115 out.write("</a>"); 116 out.write("</td>\r\n\t\t\t\t\t"); 117 } else { 118 out.write("\r\n\t\t\t\t\t\t"); 119 out.write("<td align=\"center\">"); 120 out.write("<a HREF=\"listUser.x\" title=\"utilisateurs\">"); 121 out.write("<img SRC=\"images/user-fade.gif\" onmouseover=\"this.src='images/user-high.gif'\" onmouseout=\"this.src='images/user-fade.gif'\" border=\"0\">"); 122 out.write("</a>"); 123 out.write("</td>\r\n\t\t\t\t\t"); 124 } 125 out.write("\t\t\t\t\t\r\n\t\t\t\t"); 126 out.write("</tr>\r\n\t\t\t\t"); 127 out.write("<tr>\r\n\t\t\t\t\t"); 128 out.write("<td height=\"9\">"); 129 out.write("</td>\r\n\t\t\t\t"); 130 out.write("</tr>\r\n\t\t\t\t"); 131 out.write("<tr>\t\t\t\t\t\r\n\t\t\t\t\t"); 132 if (nbg==3) { 133 out.write("\r\n\t\t\t\t\t\t"); 134 out.write("<td align=\"center\">"); 135 out.write("<a HREF=\"listGroup.x\" title=\"groupes\">"); 136 out.write("<img SRC=\"images/group.gif\" border=\"0\">"); 137 out.write("</a>"); 138 out.write("</td>\r\n\t\t\t\t\t"); 139 } else { 140 out.write("\r\n\t\t\t\t\t\t"); 141 out.write("<td align=\"center\">"); 142 out.write("<a HREF=\"listGroup.x\" title=\"groupes\">"); 143 out.write("<img SRC=\"images/group-fade.gif\" onmouseover=\"this.src='images/group-high.gif'\" onmouseout=\"this.src='images/group-fade.gif'\" border=\"0\">"); 144 out.write("</a>"); 145 out.write("</td>\r\n\t\t\t\t\t"); 146 } 147 out.write("\t\t\t\t\t\r\n\t\t\t\t"); 148 out.write("</tr>\r\n\t\t\t\t"); 149 out.write("<tr>\r\n\t\t\t\t\t"); 150 out.write("<td height=\"9\">"); 151 out.write("</td>\r\n\t\t\t\t"); 152 out.write("</tr>\r\n\t\t\t\t"); 153 out.write("<tr>\t\t\t\t\t\r\n\t\t\t\t\t"); 154 if (nbg==4) { 155 out.write("\r\n\t\t\t\t\t\t"); 156 out.write("<td align=\"center\">"); 157 out.write("<a HREF=\"listPubli.x\" title=\"publications\">"); 158 out.write("<img SRC=\"images/publi.gif\" border=\"0\">"); 159 out.write("</a>"); 160 out.write("</td>\r\n\t\t\t\t\t"); 161 } else { 162 out.write("\r\n\t\t\t\t\t\t"); 163 out.write("<td align=\"center\">"); 164 out.write("<a HREF=\"listPubli.x\" title=\"publications\">"); 165 out.write("<img SRC=\"images/publi-fade.gif\" onmouseover=\"this.src='images/publi-high.gif'\" onmouseout=\"this.src='images/publi-fade.gif'\" border=\"0\">"); 166 out.write("</a>"); 167 out.write("</td>\r\n\t\t\t\t\t"); 168 } 169 out.write("\t\t\t\t\t\r\n\t\t\t\t"); 170 out.write("</tr>\r\n\t\t\t\t"); 171 out.write("<tr>\r\n\t\t\t\t\t"); 172 out.write("<td height=\"9\">"); 173 out.write("</td>\r\n\t\t\t\t"); 174 out.write("</tr>\r\n\t\t\t\t"); 175 out.write("<tr>\t\t\t\t\t\r\n\t\t\t\t\t"); 176 if (nbg==5) { 177 out.write("\r\n\t\t\t\t\t\t"); 178 out.write("<td align=\"center\">"); 179 out.write("<a HREF=\"listSection.x\" title=\"sections\">"); 180 out.write("<img SRC=\"images/section.gif\" border=\"0\">"); 181 out.write("</a>"); 182 out.write("</td>\r\n\t\t\t\t\t"); 183 } else { 184 out.write("\r\n\t\t\t\t\t\t"); 185 out.write("<td align=\"center\">"); 186 out.write("<a HREF=\"listSection.x\" title=\"sections\">"); 187 out.write("<img SRC=\"images/section-fade.gif\" onmouseover=\"this.src='images/section-high.gif'\" onmouseout=\"this.src='images/section-fade.gif'\" border=\"0\">"); 188 out.write("</a>"); 189 out.write("</td>\r\n\t\t\t\t\t"); 190 } 191 out.write("\t\t\t\t\t\r\n\t\t\t\t"); 192 out.write("</tr>\r\n\t\t\t\t"); 193 out.write("<tr>\r\n\t\t\t\t\t"); 194 out.write("<td height=\"9\">"); 195 out.write("</td>\r\n\t\t\t\t"); 196 out.write("</tr>\r\n\t\t\t\t"); 197 out.write("<tr>\t\t\t\t\t\r\n\t\t\t\t\t"); 198 if (nbg==6) { 199 out.write("\r\n\t\t\t\t\t\t"); 200 out.write("<td align=\"center\">"); 201 out.write("<a HREF=\"listCategory.x\" title=\"categories\">"); 202 out.write("<img SRC=\"images/category.gif\" border=\"0\">"); 203 out.write("</a>"); 204 out.write("</td>\r\n\t\t\t\t\t"); 205 } else { 206 out.write("\r\n\t\t\t\t\t\t"); 207 out.write("<td align=\"center\">"); 208 out.write("<a HREF=\"listCategory.x\" title=\"categories\">"); 209 out.write("<img SRC=\"images/category-fade.gif\" onmouseover=\"this.src='images/category-high.gif'\" onmouseout=\"this.src='images/category-fade.gif'\" border=\"0\">"); 210 out.write("</a>"); 211 out.write("</td>\r\n\t\t\t\t\t"); 212 } 213 out.write("\t\t\t\t\t\r\n\t\t\t\t"); 214 out.write("</tr>\r\n\t\t\t\t"); 215 out.write("<tr>\r\n\t\t\t\t\t"); 216 out.write("<td height=\"9\">"); 217 out.write("</td>\r\n\t\t\t\t"); 218 out.write("</tr>\r\n\t\t\t\t"); 219 out.write("<tr>\t\t\t\t\t\r\n\t\t\t\t\t"); 220 if (nbg==7) { 221 out.write("\r\n\t\t\t\t\t\t"); 222 out.write("<td align=\"center\">"); 223 out.write("<a HREF=\"listType.x\" title=\"types de publications\">"); 224 out.write("<img SRC=\"images/type.gif\" border=\"0\">"); 225 out.write("</a>"); 226 out.write("</td>\r\n\t\t\t\t\t"); 227 } else { 228 out.write("\r\n\t\t\t\t\t\t"); 229 out.write("<td align=\"center\">"); 230 out.write("<a HREF=\"listType.x\" title=\"types de publications\">"); 231 out.write("<img SRC=\"images/type-fade.gif\" onmouseover=\"this.src='images/type-high.gif'\" onmouseout=\"this.src='images/type-fade.gif'\" border=\"0\">"); 232 out.write("</a>"); 233 out.write("</td>\r\n\t\t\t\t\t"); 234 } 235 out.write("\t\t\t\t\t\r\n\t\t\t\t"); 236 out.write("</tr>\r\n\t\t\t\t"); 237 out.write("<tr>\r\n\t\t\t\t\t"); 238 out.write("<td height=\"9\">"); 239 out.write("</td>\r\n\t\t\t\t"); 240 out.write("</tr>\r\n\t\t\t\t"); 241 out.write("<tr>\t\t\t\t\t\r\n\t\t\t\t\t"); 242 if (nbg==8) { 243 out.write("\r\n\t\t\t\t\t\t"); 244 out.write("<td align=\"center\">"); 245 out.write("<a HREF=\"config.x\" title=\"configuration\">"); 246 out.write("<img SRC=\"images/config.gif\" border=\"0\">"); 247 out.write("</a>"); 248 out.write("</td>\r\n\t\t\t\t\t"); 249 } else { 250 out.write("\r\n\t\t\t\t\t\t"); 251 out.write("<td align=\"center\">"); 252 out.write("<a HREF=\"config.x\" title=\"configuration\">"); 253 out.write("<img SRC=\"images/config-fade.gif\" onmouseover=\"this.src='images/config-high.gif'\" onmouseout=\"this.src='images/config-fade.gif'\" border=\"0\">"); 254 out.write("</a>"); 255 out.write("</td>\r\n\t\t\t\t\t"); 256 } 257 out.write("\t\t\t\t\t\r\n\t\t\t\t"); 258 out.write("</tr>\r\n\t\t\t\t"); 259 out.write("<tr>\r\n\t\t\t\t\t"); 260 out.write("<td height=\"9\">"); 261 out.write("</td>\r\n\t\t\t\t"); 262 out.write("</tr>\r\n\t\t\t\t"); 263 out.write("<tr>\t\t\t\t\t\r\n\t\t\t\t\t"); 264 if (nbg==9) { 265 out.write("\r\n\t\t\t\t\t\t"); 266 out.write("<td align=\"center\">"); 267 out.write("<a HREF=\"help.x\" title=\"documentation\">"); 268 out.write("<img SRC=\"images/help.gif\" border=\"0\">"); 269 out.write("</a>"); 270 out.write("</td>\r\n\t\t\t\t\t"); 271 } else { 272 out.write("\r\n\t\t\t\t\t\t"); 273 out.write("<td align=\"center\">"); 274 out.write("<a HREF=\"help.x\" title=\"documentation\">"); 275 out.write("<img SRC=\"images/help-fade.gif\" onmouseover=\"this.src='images/help-high.gif'\" onmouseout=\"this.src='images/help-fade.gif'\" border=\"0\">"); 276 out.write("</a>"); 277 out.write("</td>\r\n\t\t\t\t\t"); 278 } 279 out.write("\t\t\t\t\t\r\n\t\t\t\t"); 280 out.write("</tr>\r\n\t\t\t\t"); 281 out.write("<tr>\r\n\t\t\t\t\t"); 282 out.write("<td height=\"9\"> "); 283 out.write("</td>\r\n\t\t\t\t"); 284 out.write("</tr>\r\n\t\t\t"); 285 out.write("</table>\r\n\t\t"); 286 out.write("</td>\r\n\t\t"); 287 out.write("<td background=\"images/fond-centre.gif\" valign=\"top\" width=\"550\">\r\n\t\t\t "); 288 out.write("<table width=\"500\">\t\t\t \t\r\n\t\t\t\t"); 289 out.write("<tr>\t\r\n\t\t\t\t\t"); 290 out.write("<td valign=\"middle\">\t\t\t\t\t\t\r\n\t\t\t\t\t"); 291 out.write("</td>\t\t\t\t\r\n\t\t\t\t\t"); 292 out.write("<td class=\"titre\" height=\"40\" valign=\"middle\">\r\n\t\t\t\t\t\t"); 293 if (_jspx_meth_template_get_1(pageContext)) 294 return; 295 out.write("\r\n\t\t\t\t\t"); 296 out.write("</td>\r\n\t\t\t\t"); 297 out.write("</tr>\r\n\t\t\t\t"); 298 out.write("<tr>\r\n\t\t\t\t\t"); 299 out.write("<td width=\"10\">"); 300 out.write("</td>\r\n\t\t\t\t\t"); 301 out.write("<td class=\"texte\">\r\n\t\t\t\t\t\t"); 302 if (_jspx_meth_template_get_2(pageContext)) 303 return; 304 out.write("\r\n\t\t\t\t\t"); 305 out.write("</td>\r\n\t\t\t\t"); 306 out.write("</tr>\r\n\t\t\t "); 307 out.write("</table>\r\n\t\t"); 308 out.write("</td>\t\r\n\t\t"); 309 out.write("<td background=\"images/fond-centre3.gif\" width=\"1\">"); 310 out.write("</td>\r\n\t\t"); 311 out.write("<td background=\"images/fond-centre2.gif\" valign=\"top\">\r\n\t\t\t \r\n\t\t"); 312 out.write("</td>\r\n\t"); 313 out.write("</tr>\r\n"); 314 out.write("</table>\r\n\r\n"); 315 out.write("</body>\r\n"); 316 out.write("</html>\r\n"); 317 } catch (Throwable t) { 318 out = _jspx_out; 319 if (out != null && out.getBufferSize() != 0) 320 out.clearBuffer(); 321 if (pageContext != null) pageContext.handlePageException(t); 322 } finally { 323 if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); 324 } 325 } 326 327 private boolean _jspx_meth_template_get_0(javax.servlet.jsp.PageContext pageContext) 328 throws Throwable { 329 JspWriter out = pageContext.getOut(); 330 331 org.apache.struts.taglib.template.GetTag _jspx_th_template_get_0 = (org.apache.struts.taglib.template.GetTag) _jspx_tagPool_template_get_name.get(org.apache.struts.taglib.template.GetTag.class); 332 _jspx_th_template_get_0.setPageContext(pageContext); 333 _jspx_th_template_get_0.setParent(null); 334 _jspx_th_template_get_0.setName("title"); 335 int _jspx_eval_template_get_0 = _jspx_th_template_get_0.doStartTag(); 336 if (_jspx_th_template_get_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 337 return true; 338 _jspx_tagPool_template_get_name.reuse(_jspx_th_template_get_0); 339 return false; 340 } 341 342 private boolean _jspx_meth_template_get_1(javax.servlet.jsp.PageContext pageContext) 343 throws Throwable { 344 JspWriter out = pageContext.getOut(); 345 346 org.apache.struts.taglib.template.GetTag _jspx_th_template_get_1 = (org.apache.struts.taglib.template.GetTag) _jspx_tagPool_template_get_name.get(org.apache.struts.taglib.template.GetTag.class); 347 _jspx_th_template_get_1.setPageContext(pageContext); 348 _jspx_th_template_get_1.setParent(null); 349 _jspx_th_template_get_1.setName("label"); 350 int _jspx_eval_template_get_1 = _jspx_th_template_get_1.doStartTag(); 351 if (_jspx_th_template_get_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 352 return true; 353 _jspx_tagPool_template_get_name.reuse(_jspx_th_template_get_1); 354 return false; 355 } 356 357 private boolean _jspx_meth_template_get_2(javax.servlet.jsp.PageContext pageContext) 358 throws Throwable { 359 JspWriter out = pageContext.getOut(); 360 361 org.apache.struts.taglib.template.GetTag _jspx_th_template_get_2 = (org.apache.struts.taglib.template.GetTag) _jspx_tagPool_template_get_name.get(org.apache.struts.taglib.template.GetTag.class); 362 _jspx_th_template_get_2.setPageContext(pageContext); 363 _jspx_th_template_get_2.setParent(null); 364 _jspx_th_template_get_2.setName("content"); 365 int _jspx_eval_template_get_2 = _jspx_th_template_get_2.doStartTag(); 366 if (_jspx_th_template_get_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 367 return true; 368 _jspx_tagPool_template_get_name.reuse(_jspx_th_template_get_2); 369 return false; 370 } 371 } 372 | Popular Tags |