/* 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.constants.AppConstants;
import ro.emid.common.constants.CategoriiInstalatii;
import ro.emid.common.constants.GlobalAppConstants;
import ro.emid.common.constants.LucrareProgramataConstants;
import ro.emid.common.db.NomAccessDB;
import ro.emid.common.types.*;
import ro.emid.common.utils.ObjectUtils;
import ro.emid.common.utils.StringUtils;
import ro.emid.common.utils.UserUtils;
import ro.emid.common.utils.pagination.PaginationController;
import ro.emid.common.utils.pagination.PaginationData;
import ro.emid.common.utils.sort.SortController;
import ro.emid.common.utils.sort.SortData;
import ro.emid.lpod.db.InstalatieDB;
import ro.emid.lpod.obj.CriteriuFiltruLucrareProgramata;
import ro.emid.lpod.obj.FiltruLucrareProgramata;
import ro.emid.lpod.obj.FiltruLucrareProgramataConstants;
import java.util.List;
import ro.emid.common.utils.SessionUtils;
import ro.emid.lpod.LpodSessionUtils;

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

public class JEE_jsp_WEB_2d_INF_pagelet_lucrariProgramate_lucrari_2d_programate_1557224206797 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-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(1,58);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(2,65);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(3,64);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(4,72);to=(5,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(5,50);to=(6,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(6,43);to=(7,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(7,53);to=(8,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(8,53);to=(9,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(9,51);to=(10,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(10,73);to=(11,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(11,67);to=(12,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(12,61);to=(13,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(13,55);to=(14,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(14,49);to=(15,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(15,69);to=(16,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(16,61);to=(17,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(17,70);to=(18,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(18,35);to=(19,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(19,54);to=(20,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(20,50);to=(22,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(22,50);to=(24,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(24,0);to=(40,2)]
			
    /**
     * lucrari-programate
     * @see ro.emid.lpod.action.lucrariProgramate.LoadLucrariProgramateAction
     */

    User user = SessionUtils.getUserLogat(session);
    Category ce = LpodSessionUtils.getCentru(session);

    final SortData sd = (SortData) request.getAttribute("sd");
    final PaginationData pd = (PaginationData) request.getAttribute("pd");

    final FiltruLucrareProgramata filtru = (FiltruLucrareProgramata) request.getAttribute("filtru");

    final List<Integer> ani = (List<Integer>) request.getAttribute("ani");
    final List<LucrareProgramata> list = (List<LucrareProgramata>) request.getAttribute("list");

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(40,2);to=(41,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(41,0);to=(41,44)]
			// TagBeginGenerator - start [emid:template-lp]
			/* ----  emid:template-lp ---- */
			web.tag_template_2d_lp_1875650_1618159820409 _jspx_th_emid_template_2d_lp_0 = new web.tag_template_2d_lp_1875650_1618159820409();
			_jspx_resourceInjector.inject(_jspx_th_emid_template_2d_lp_0);
			_jspx_th_emid_template_2d_lp_0.setJspContext(_jspx_pageContext);
			_jspx_th_emid_template_2d_lp_0.setParent(null);
			_jspx_th_emid_template_2d_lp_0.setTitle("Lucrari programate");
						out = _jspx_pageContext.pushBody();// Start _jspx_jspAttr0
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(42,37);to=(43,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(43,8);to=(43,27)]
			if (_jspx_method_emid_localizare_2d_lp_0(_jspx_pageContext, null)) {
				return;
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(45,29);to=(46,4)]
// end
			String _jspx_jspAttr0 = ((javax.servlet.jsp.tagext.BodyContent)out).getString();
			_jspx_jspAttr0 = _jspx_jspAttr0.trim();
			out = _jspx_pageContext.popBody();// END _jspx_jspAttr0
			_jspx_th_emid_template_2d_lp_0.setBreadcrumb(_jspx_jspAttr0);
						out = _jspx_pageContext.pushBody();// Start _jspx_jspAttr1
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(47,31);to=(48,40)]
			out.print("\r\n        <form name=\"searchForm\" action=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(48,40);to=(48,66)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(48,66);to=(49,12)]
			out.print("?action=lucrari-programate\" method=\"post\"  >\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(49,12);to=(49,45)]
			out.print(SortController.initSort( sd));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(49,45);to=(52,20)]
			out.print("\r\n            <table width=\"100%\" border=0>\r\n                <tr><td>\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(52,20);to=(52,79)]
			  if( filtru != null && filtru.hasCriteriiSelectate()){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(52,79);to=(57,32)]
			out.print("\r\n                    <table width=\"100%\" cellspacing=\"0\" class=\"gsaptd\" border=0>\r\n                        <tr valign=\"top\">\r\n                            <td width=\"10\"><b>Filtru:</b></td>\r\n                            <td>\r\n                                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(57,32);to=(57,61)]
			 boolean newLine = false;
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(57,61);to=(58,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(58,32);to=(58,87)]
			if( filtru.getDataStart() != null){ newLine = true;
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(58,87);to=(59,47)]
			out.print("\r\n                                De la data: <b>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(59,47);to=(59,94)]
			out.print(AppConstants.format(filtru.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(59,94);to=(60,32)]
			out.print("</b>\r\n                                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(60,32);to=(60,37)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(60,37);to=(61,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(61,32);to=(61,86)]
			if( filtru.getDataStop() != null){ newLine = true;
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(61,86);to=(62,49)]
			out.print("\r\n                                pana la data: <b>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(62,49);to=(62,95)]
			out.print(AppConstants.format(filtru.getDataStop()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(62,95);to=(63,32)]
			out.print("</b>\r\n                                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(63,32);to=(63,37)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(63,37);to=(65,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(65,32);to=(65,49)]
			if(newLine){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(65,49);to=(65,53)]
			out.print("<br>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(65,53);to=(65,58)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(65,58);to=(66,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(66,32);to=(69,142)]
			
                                    final List criterii = filtru.getCriteriiFiltru();
                                    for (int i = 0; i < criterii.size(); i++) {
                                        final CriteriuFiltruLucrareProgramata criteriu = (CriteriuFiltruLucrareProgramata) criterii.get(i); 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(69,142);to=(70,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(70,32);to=(70,55)]
			out.print(criteriu.getText());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(70,55);to=(71,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(71,32);to=(71,66)]
			if( i < criterii.size() - 1 ){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(71,66);to=(71,70)]
			out.print("<br>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(71,70);to=(71,75)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(71,75);to=(72,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(72,32);to=(72,37)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(72,37);to=(75,92)]
			out.print("\r\n                            </td>\r\n                            <td align=\"right\" width=\"80\" nowrap>\r\n                                <a title=\"Click pentru a reseta filtrul\" class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(75,92);to=(75,124)]
			out.print(GlobalAppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(75,124);to=(80,20)]
			out.print("?action=resetFiltruIncidente\">Reset Filtru</a>\r\n                            </td>\r\n                        </tr>\r\n                    </table>\r\n                    <div class=\"spacer\"></div>\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(80,20);to=(80,25)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(80,25);to=(83,67)]
			out.print("\r\n\r\n                    <div id=\"divFiltru\">\r\n                        Num\u0103r : <input class=\"gsapinputtext\" name=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(83,67);to=(83,118)]
			out.print(FiltruLucrareProgramataConstants.NUMAR_LUCRARE);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(83,118);to=(83,139)]
			out.print("\" type=\"text\" value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(83,139);to=(83,226)]
			out.print((filtru != null && filtru.getNumar() > 0 ? String.valueOf(filtru.getNumar()) : ""));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(83,226);to=(85,24)]
			out.print("\"/>&nbsp;\r\n\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(85,24);to=(85,116)]
			 final int anSelectat = filtru != null && filtru.getAnul() > 0 ? filtru.getAnul() : -1; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(85,116);to=(86,48)]
			out.print("\r\n                        Din anul: <select name=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(86,48);to=(86,88)]
			out.print(FiltruLucrareProgramataConstants.AN);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(86,88);to=(88,24)]
			out.print("\" class=\"gSAPSelect\">\r\n                        <option value=\"-1\">&nbsp;</option>\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(88,24);to=(88,54)]
			 for (Integer an : ani) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(88,54);to=(89,39)]
			out.print("\r\n                        <option value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(89,39);to=(89,46)]
			out.print(an);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(89,46);to=(89,48)]
			out.print("\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(89,48);to=(89,87)]
			out.print(anSelectat == an ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(89,87);to=(89,89)]
			out.print(" >");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(89,89);to=(89,96)]
			out.print(an);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(89,96);to=(90,24)]
			out.print("</option>\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(90,24);to=(90,30)]
			 }
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(90,30);to=(100,54)]
			out.print("\r\n                    </select>&nbsp;\r\n                        <input type=\"submit\" style=\"font-size:10px\" value=\"Caut\u0103\" />\r\n                    </div>\r\n                    <div class=\"spacer\"></div>\r\n\r\n                    <table border=0 cellpadding=2 cellspacing=1 width=\"100%\" class=\"table\">\r\n                        <thead>\r\n                        <tr>\r\n                            <th height=25 colspan=\"2\" noWrap>&nbsp;Localizare lucrare:&nbsp;</th>\r\n                            <th nowrap width=90>&nbsp;");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(100,54);to=(100,182)]
			out.print(SortController.printSortableColumn("Tensiune:", ro.emid.common.constants.LucrareProgramataConstants.SQL.NIVEL_TENSIUNE, sd));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(100,182);to=(101,55)]
			out.print("</th>\r\n                            <th nowrap width=120>&nbsp;");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(101,55);to=(101,170)]
			out.print(SortController.printSortableColumn("Programata la:", LucrareProgramataConstants.SQL.DATA_PROGRAMARE_START, sd));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(101,170);to=(102,54)]
			out.print("</th>\r\n                            <th nowrap width=90>&nbsp;");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(102,54);to=(102,151)]
			out.print(SortController.printSortableColumn("Autor:", LucrareProgramataConstants.SQL.USER_INSERT, sd));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(102,151);to=(103,54)]
			out.print("</th>\r\n                            <th nowrap width=90>&nbsp;");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(103,54);to=(103,155)]
			out.print(SortController.printSortableColumn("Modificat:", LucrareProgramataConstants.SQL.USER_UPDATE, sd));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(103,155);to=(109,24)]
			out.print("</th>\r\n                            <th nowrap width=\"1%\">&nbsp;Operatie:&nbsp;</th>\r\n                        </tr>\r\n                        </thead>\r\n                        <tbody>\r\n\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(109,24);to=(109,67)]
			 if( list == null || list.size() == 0){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(109,67);to=(115,24)]
			out.print("\r\n                        <tr>\r\n                            <td class=\"no-data\" colspan=\"10\">\r\n                                Nu exist\u0103 date ...\r\n                            </td>\r\n                        </tr>\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(115,24);to=(182,26)]
			} else {

                            for (int i = 0; i < list.size(); i++) {
                                final LucrareProgramata lp = (LucrareProgramata) list.get( i);
                                final StringBuffer parametriTitluLucrare = new StringBuffer();

                                if( NivelTensiune.is( lp.getNivelTensiune(), NivelTensiune.JT)){

                                    if ( lp.getInstalatia() > 0 ) {

                                        parametriTitluLucrare.append("<span title=\"Instalatia\">").append(CategoriiInstalatii.Helper.getDenumireInstalatie(lp.getInstalatia(), "[necompletat]")).append("</span>");

                                    } else if( lp.getCatInstalatii() > 0) {

                                        parametriTitluLucrare.append("<span title=\"Categoria de Instalatii\">").append(CategoriiInstalatii.Helper.getCategoriiInstalatie(lp.getCatInstalatii(), "[necompletat]")).append("</span>");

                                    } else {

                                        parametriTitluLucrare.append( "<span style=\"color: red\">Tip Instalatie nespecificat</span>");

                                    }
                                    parametriTitluLucrare.append(", ");

                                    parametriTitluLucrare.append("<span title=\"Nr./Denumire instalatie\">").append(StringUtils.getNullSafe(lp.getDenumireInstalatie(), "<span style=\"color:red\">Nr./Denumire necompletat</span>")).append("</span>");

                                } else if( NivelTensiune.is( lp.getNivelTensiune(), NivelTensiune.IT) || NivelTensiune.is( lp.getNivelTensiune(), NivelTensiune.MT)){
                                    if (lp.getAnsambluId() != -1) {
                                        final Nomenclator ansamblu = NomAccessDB.getNom(lp.getAnsambluId());
                                        if (ansamblu != null) parametriTitluLucrare.append("<span title=\"Ansamblul Functional\">").append( ansamblu.getDescriere()).append("</span>, ");
                                    }

                                    if (!StringUtils.isZeroLength(lp.getStatieDen())) {
                                        final Instalatie data = InstalatieDB.getById(lp.getStatieId(), TipInstalatie.Helper.isLocFunctional(TipInstalatie.STATIE));
                                        if (data != null) parametriTitluLucrare.append("<span title=\"Statia\">").append(data.getNume()).append("</span>, ");
                                    }

                                    if (!StringUtils.isZeroLength(lp.getCelulaDen())) {
                                        final Instalatie data = InstalatieDB.getById(lp.getCelulaId(), TipInstalatie.Helper.isLocFunctional(TipInstalatie.CELULA));
                                        if (data != null) parametriTitluLucrare.append("<span title=\"Celula\">") .append(data.getNume()).append("</span>, ");
                                    }

                                    if (!StringUtils.isZeroLength(lp.getBaraDen())) {
                                        final Instalatie data = InstalatieDB.getById(lp.getBaraId(), TipInstalatie.Helper.isLocFunctional(TipInstalatie.BARA));
                                        if (data != null) parametriTitluLucrare.append("<span title=\"Bara\">") .append(data.getNume()).append("</span>, ");
                                    }

                                    if (!StringUtils.isZeroLength(lp.getBobinaDen())) {
                                        final Instalatie data = InstalatieDB.getById(lp.getBobinaId(), TipInstalatie.Helper.isLocFunctional(TipInstalatie.BOBINA));
                                        if (data != null) parametriTitluLucrare.append("<span title=\"Bobina\">") .append(data.getNume()).append("</span>, ");
                                    }

                                    if (!StringUtils.isZeroLength(lp.getLinieDen())) {
                                        final Instalatie data = InstalatieDB.getById(lp.getLinieId(), TipInstalatie.Helper.isLocFunctional(TipInstalatie.LINIE));
                                        if (data != null) parametriTitluLucrare.append("<span title=\"Linia\">") .append(data.getNume()).append("</span>, ");
                                    }

                                    if (!StringUtils.isZeroLength(lp.getPaptDen())) {
                                        final Instalatie data = InstalatieDB.getById(lp.getPA_PT_Id(), TipInstalatie.Helper.isLocFunctional(TipInstalatie.PA_PT));
                                        if (data != null) parametriTitluLucrare.append("<span title=\"PA/PT\">") .append(data.getNume() ).append("</span>, ");
                                    }

                                    if (!StringUtils.isZeroLength(lp.getTrafoDen())) {
                                        final Instalatie data = InstalatieDB.getById(lp.getTrafoId(), TipInstalatie.Helper.isLocFunctional(TipInstalatie.TRAFO));
                                        if (data != null) parametriTitluLucrare.append("<span title=\"Trafo\">") .append(data.getNume() ).append("</span>, ");
                                    }
                                }

                        
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(182,26);to=(184,86)]
			out.print("\r\n                        <tr valign=\"top\">\r\n                            <td align=\"center\" width=\"15\" title=\"Numar Fisa Lucrare \">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(184,86);to=(184,104)]
			out.print(lp.getNumar());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(184,104);to=(185,32)]
			out.print("</td>\r\n                            <td>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(185,32);to=(185,58)]
			out.print(parametriTitluLucrare);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(185,58);to=(186,70)]
			out.print("</td>\r\n                            <td align=\"center\" title=\"Nivel tensiune\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(186,70);to=(186,96)]
			out.print(lp.getNivelTensiune());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(186,96);to=(187,78)]
			out.print("</td>\r\n                            <td align=\"center\" title=\"Data programare\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(187,78);to=(187,131)]
			out.print(AppConstants.format(lp.getDataProgramataStart()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(187,131);to=(188,62)]
			out.print("</td>\r\n                            <td align=\"center\" title=\"Autor\" >");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(188,62);to=(188,114)]
			out.print(ObjectUtils.getStringValue( lp.getUserInsert()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(188,114);to=(189,71)]
			out.print("</td>\r\n                            <td align=\"center\" title=\"Actualizata de\" >");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(189,71);to=(189,123)]
			out.print(ObjectUtils.getStringValue( lp.getUserUpdate()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(189,123);to=(191,32)]
			out.print("</td>\r\n                            <td align=\"left\" nowrap >\r\n                                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(191,32);to=(191,71)]
			 if( AppConstants.runAtFiliala()){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(191,71);to=(192,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(192,32);to=(192,246)]
			 if ( UserUtils.hasRoleUtilizatorLucrariProgramate(user) && ( UserUtils.hasAccessAdministrare(user) || user.getUsername().equals(lp.getUserInsert()) || UserUtils.isNivelSuperiorLP(user, lp.getUserInsert()))) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(192,246);to=(193,95)]
			out.print("\r\n                                <a class=\"link\" title=\"Modifica fisa lucrare programata\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(193,95);to=(193,127)]
			out.print(GlobalAppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(193,127);to=(193,151)]
			out.print("?action=edit-lucrare&id=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(193,151);to=(193,166)]
			out.print(lp.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(193,166);to=(194,141)]
			out.print("\">Modific\u0103</a>\r\n                                <a class=\"link\" title=\"Sterge fisa lucrare programata\" onclick=\"return confirm(\'Stergeti lucrarea ?\')\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(194,141);to=(194,173)]
			out.print(GlobalAppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(194,173);to=(194,199)]
			out.print("?action=delete-lucrare&id=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(194,199);to=(194,214)]
			out.print(lp.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(194,214);to=(195,32)]
			out.print("\">\u0218terge</a>\r\n                                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(195,32);to=(195,39)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(195,39);to=(197,80)]
			out.print("\r\n\r\n                                <a class=\"link\" href=\"#\" onclick=\"printLucrare( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(197,80);to=(197,95)]
			out.print(lp.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(197,95);to=(198,36)]
			out.print(")\">\r\n                                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(198,36);to=(198,115)]
			out.print(UserUtils.hasRoleViewLucrariProgramate(user) ? "Vizualizare": "Printează");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(198,115);to=(200,32)]
			out.print("\r\n                                </a>\r\n                                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(200,32);to=(200,46)]
			 } else { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(200,46);to=(201,80)]
			out.print("\r\n                                <a class=\"link\" href=\"#\" onclick=\"printLucrare( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(201,80);to=(201,95)]
			out.print(lp.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(201,95);to=(202,32)]
			out.print(")\">Vizualizare</a>\r\n                                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(202,32);to=(202,39)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(202,39);to=(205,24)]
			out.print("\r\n                            </td>\r\n                        </tr>\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(205,24);to=(205,29)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(205,29);to=(206,24)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(206,24);to=(206,29)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(206,29);to=(212,36)]
			out.print("\r\n                        </tbody>\r\n                        <tfoot>\r\n                        <tr>\r\n                            <td colspan=\"8\" >\r\n                                <div class=\"pull-left\">\r\n                                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(212,36);to=(212,158)]
			 if( AppConstants.runAtFiliala() && UserUtils.hasRoleUtilizatorLucrariProgramate(user) && ce != null && ce.getId()>0){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(212,158);to=(213,74)]
			out.print("\r\n                                    &nbsp;<input type=\"button\" data-href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(213,74);to=(213,106)]
			out.print(GlobalAppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(213,106);to=(214,36)]
			out.print("?action=edit-lucrare\" value=\"Adaug\u0103 lucrare\"/>\r\n                                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(214,36);to=(214,43)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(214,43);to=(217,36)]
			out.print("\r\n                                </div>\r\n                                <div class=\"pull-right\">\r\n                                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(217,36);to=(217,86)]
			out.print(PaginationController.printPaginationData( pd));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(217,86);to=(229,35)]
			out.print("\r\n                                </div>\r\n                            </td>\r\n                        </tr>\r\n                        </tfoot>\r\n                    </table>\r\n                </td></tr>\r\n            </table>\r\n        </form>\r\n\r\n        <script type=\"text/javascript\">\r\n            function reloadData(){\r\n                window.location = \"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(229,35);to=(229,61)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(229,61);to=(234,4)]
			out.print("?action=lucrari-programate\";\r\n            }\r\n        </script>\r\n\r\n\r\n    ");
// end
			String _jspx_jspAttr1 = ((javax.servlet.jsp.tagext.BodyContent)out).getString();
			_jspx_jspAttr1 = _jspx_jspAttr1.trim();
			out = _jspx_pageContext.popBody();// END _jspx_jspAttr1
			_jspx_th_emid_template_2d_lp_0.setBody(_jspx_jspAttr1);
			_jspx_th_emid_template_2d_lp_0.doTag();
			// TagBeginGenerator - end [emid:template-lp]
// end
				// TagEndGenerator - start[emid:template-lp]
				_jspx_resourceInjector.invokePreDestroyMethod(_jspx_th_emid_template_2d_lp_0);
				// TagEndGenerator - end [emid:template-lp]
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(235,19);to=(243,0)]
// 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);
		}
	}


	// CustomJspTag.action() - start
	private boolean _jspx_method_emid_localizare_2d_lp_0(com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl _jspx_pageContext, javax.servlet.jsp.tagext.JspTag _jspx_parent) throws Throwable {
		JspWriter out = _jspx_pageContext.getOut();
			// TagBeginGenerator - start [emid:localizare-lp]
			/* ----  emid:localizare-lp ---- */
			web.tag_localizare_2d_lp_1875650_1618159819121 _jspx_th_emid_localizare_2d_lp_0 = new web.tag_localizare_2d_lp_1875650_1618159819121();
			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();
			_jspx_resourceInjector.inject(_jspx_th_emid_localizare_2d_lp_0);
			_jspx_th_emid_localizare_2d_lp_0.setJspContext(_jspx_pageContext);
			javax.servlet.jsp.tagext.JspFragment _jspx_temp0 = new JEE_jsp_WEB_2d_INF_pagelet_lucrariProgramate_lucrari_2d_programate_1557224206797_Helper(0, _jspx_pageContext, _jspx_th_emid_localizare_2d_lp_0, null);
			_jspx_th_emid_localizare_2d_lp_0.setJspBody(_jspx_temp0);
			_jspx_th_emid_localizare_2d_lp_0.doTag();
			// TagBeginGenerator - end [emid:localizare-lp]
				// TagEndGenerator - start[emid:localizare-lp]
				_jspx_resourceInjector.invokePreDestroyMethod(_jspx_th_emid_localizare_2d_lp_0);
		return false;
	}
				// TagEndGenerator - end [emid:localizare-lp]

	private class JEE_jsp_WEB_2d_INF_pagelet_lucrariProgramate_lucrari_2d_programate_1557224206797_Helper
		extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspFragmentBase
	{
		private javax.servlet.jsp.tagext.JspTag _jspx_parent;
		private int[] _jspx_push_body_count;

		public JEE_jsp_WEB_2d_INF_pagelet_lucrariProgramate_lucrari_2d_programate_1557224206797_Helper(int index, JspContext jspContext, javax.servlet.jsp.tagext.JspTag _jspx_parent, int[] _jspx_push_body_count)
		{
			super(index, jspContext, _jspx_parent);
			this._jspx_parent = _jspx_parent;
			this._jspx_push_body_count = _jspx_push_body_count;
		}
		public void invoke0(JspWriter out)
			throws Throwable
		{
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/lucrari-programate.jsp";from=(43,28);to=(45,8)]
			out.print("\r\n            <span class=\"slash\">/</span> Lucr\u0103ri programate\r\n        ");
// end
		}

		public void invoke(java.io.Writer writer)
			throws JspException
		{
			JspWriter out = null;
			if (writer != null) {
				out = this.jspContext.pushBody(writer);
			} else {
				out = this.jspContext.getOut();
			}
			try {
				switch(this.index) {
				case 0:
					invoke0(out);
					break;
				}
			} catch(Throwable e) {
				if (e instanceof SkipPageException)
					throw (SkipPageException) e;
				throw new JspException(e);
			} finally {
				if (writer != null) {
					this.jspContext.popBody();
				}
			}
		}
	}
}
