/* Automatically generated.
 * Copyright (c) 2000-2006 by SAP AG, Walldorf.,
 * http://www.sap.com
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of SAP AG, Walldorf. You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms
 * of the license agreement you entered into with SAP.
 * Do not edit.
 */

import ro.emid.common.db.SesiuneRaportareAccessDB;
import ro.emid.common.types.SesiuneRaportare;
import ro.emid.Application;
import ro.emid.common.constants.AppConstants;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public class JEE_jsp_WEB_2d_INF_pagelet_admin_showSesiuniRaportare_1471592527545 extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase{

	public void _jspService(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
	{
		//isXml=false
		JspFactory  _jspFactory     = JspFactory.getDefaultFactory();
		PageContext pageContext = _jspFactory.getPageContext(this,request,response,null,true,32768,true);
		ServletConfig config = pageContext.getServletConfig();
		ServletContext application = pageContext.getServletContext();
		com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl _jspx_pageContext = (com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl) pageContext;
		com.sap.engine.services.servlets_jsp.server.application.InjectionWrapper _jspx_resourceInjector = ((com.sap.engine.services.servlets_jsp.server.application.ServletContextImpl)_jspx_pageContext.getServletContext()).getApplicationContext().getInjectionWrapper();
		HttpSession session = pageContext.getSession();
		if (!response.isCommitted()) {
		response.setContentType("text/html;charset=UTF-8");
		}
		JspWriter   out     = pageContext.getOut();
		java.lang.Object page = this;
		try {
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(1,63);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(2,58);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(3,40);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(4,58);to=(6,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(6,0);to=(8,2)]
			
    final SesiuneRaportare[] items = SesiuneRaportareAccessDB.getAll("");

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(8,2);to=(15,0)]
			out.print("\n\n\n<span style=\"float: left;\">\n    Exista fise de incident pe urmatoarele sesiuni de raportare:\n</span>\n\n");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(15,0);to=(15,45)]
			 if( !Application.runAsAparatCentral()){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(15,45);to=(16,26)]
			out.print("\n    <a class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(16,26);to=(16,52)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(16,52);to=(17,0)]
			out.print("?action=editSesiuniRaportare&id=-1\" style=\"float: right;\">Adauga sesiune raportare</a>\n");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(17,0);to=(17,7)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(17,7);to=(25,12)]
			out.print("\n\n<table cellpadding=2 cellspacing=1 width=\"100%\" class=\"table mt5\">\n    <thead>\n        <tr>\n            <th height=25 nowrap width=\"10\">Nr.</th>\n            <th class=\"align-center\">AN</th>\n            <th class=\"align-center\">STARE </th>\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(25,12);to=(25,57)]
			 if( !Application.runAsAparatCentral()){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(25,57);to=(27,12)]
			out.print("\n                <th noWrap width=\"80\">&nbsp;</th>\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(27,12);to=(27,19)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(27,19);to=(31,8)]
			out.print("\n        </tr>\n    </thead>\n    <tbody>\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(31,8);to=(31,37)]
			 if( items.length == 0){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(31,37);to=(33,8)]
			out.print("\n            <tr><td class=\"no-data\" colspan=\"3\">Nu sunt date ...</td></tr>\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(33,8);to=(34,48)]
			} else for (int i=0; i < items.length; i++) {
            SesiuneRaportare item = items[i]; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(34,48);to=(36,35)]
			out.print("\n            <tr align=\"center\">\n                <td align=\"center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(36,35);to=(36,43)]
			out.print(i+1);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(36,43);to=(37,21)]
			out.print("</td>\n                <td> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(37,21);to=(37,38)]
			out.print(item.getAn());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(37,38);to=(38,21)]
			out.print(" </td>\n                <td> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(38,21);to=(38,68)]
			out.print(item.isDeschisa() ? "Deschisa" : "Inchisa");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(38,68);to=(39,16)]
			out.print(" </td>\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(39,16);to=(39,61)]
			 if( !Application.runAsAparatCentral()){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(39,61);to=(41,42)]
			out.print("\n                <td nowrap>\n                    <a class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(41,42);to=(41,68)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(41,68);to=(41,100)]
			out.print("?action=editSesiuniRaportare&id=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(41,100);to=(41,117)]
			out.print(item.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(41,117);to=(42,20)]
			out.print("\">Modific\u0103</a>&nbsp;\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(42,20);to=(42,47)]
			 if(item.isDeschisa()){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(42,47);to=(43,42)]
			out.print("\n                    <a class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(43,42);to=(43,68)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(43,68);to=(43,101)]
			out.print("?action=change-status-sesiune&id=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(43,101);to=(43,118)]
			out.print(item.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(43,118);to=(44,20)]
			out.print("\">\316nchide</a>\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(44,20);to=(44,34)]
			 } else { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(44,34);to=(45,42)]
			out.print("\n                    <a class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(45,42);to=(45,68)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(45,68);to=(45,101)]
			out.print("?action=change-status-sesiune&id=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(45,101);to=(45,118)]
			out.print(item.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(45,118);to=(46,20)]
			out.print("\">Deschide</a>\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(46,20);to=(46,27)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(46,27);to=(48,16)]
			out.print("\n                </td>\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(48,16);to=(48,23)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(48,23);to=(50,8)]
			out.print("\n            </tr>\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(50,8);to=(50,15)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/showSesiuniRaportare.jsp";from=(50,15);to=(64,0)]
			out.print("\n    </tbody>\n</table>\n\n<span>\n    Nota: <br/>\n    &nbsp; - La inchiderea unei sesiuni, operatiile de actualizare a \"datelor\" sint blocate. <br/>\n    &nbsp; - Prin \"date\" se intelege: <br/>\n    &nbsp;&nbsp; - fise de incident <br/>\n    &nbsp;&nbsp; - fise de echpament <br/>\n    &nbsp;&nbsp; - fise de deranjament <br/>\n    &nbsp;&nbsp; - fise de lucrari programate <br/>\n    &nbsp;&nbsp; - fise de evenimente dispecer <br/>\n</span>\n");
// end
		} catch (ThreadDeath tde) { throw tde;
		} catch (OutOfMemoryError ome) { throw ome;
		} catch (Throwable t) {
			if (!(t instanceof SkipPageException)) {
				try {
					out.clear();
				} catch(java.io.IOException _jspioex) {}
				_jspx_pageContext.handlePageException(t);
			}
		}finally{
			_jspFactory.releasePageContext(pageContext);
		}
	}

}
