/* 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.Application;
import ro.emid.administrare.sync.ac.SyncItem;
import ro.emid.administrare.sync.ac.SyncItemType;
import ro.emid.common.constants.AppConstants;
import ro.emid.common.utils.ObjectUtils;
import ro.emid.common.utils.pagination.PaginationController;
import ro.emid.common.utils.pagination.PaginationData;
import java.util.List;
import ro.emid.administrare.sync.ac.SyncAcConstants;

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

public class JEE_jsp_WEB_2d_INF_pagelet_admin_sync_sync_2d_ac_2d_manager_1471592527795 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/sync/sync-ac-manager.jsp";from=(1,40);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/sync/sync-ac-manager.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/sync/sync-ac-manager.jsp";from=(3,62);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/sync/sync-ac-manager.jsp";from=(4,58);to=(5,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/sync/sync-ac-manager.jsp";from=(5,53);to=(6,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/sync/sync-ac-manager.jsp";from=(6,73);to=(7,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/sync/sync-ac-manager.jsp";from=(7,67);to=(8,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/sync/sync-ac-manager.jsp";from=(8,35);to=(9,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/sync/sync-ac-manager.jsp";from=(9,65);to=(11,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(11,0);to=(28,2)]
			
    /**
     * @see ro.emid.administrare.sync.ac.LoadSyncAcItemsAction
     */

    String tipSelectat = ObjectUtils.getStringValue(request.getParameter("tip"));
    if (tipSelectat == null || tipSelectat.length() == 0) tipSelectat = "i";

    String numar = ObjectUtils.getStringValue(request.getParameter("numar"));

    int status = ObjectUtils.getIntValue(request.getParameter("status"), 0);

    final PaginationData pd = (PaginationData) request.getAttribute("pd");
    final List result = (List) request.getAttribute("items");

    boolean existaDateDeSincronizat = result.size() > 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/sync/sync-ac-manager.jsp";from=(28,2);to=(35,14)]
			out.print("\r\n\r\n\r\n<div class=\"mb5\">\r\n    <span class=\"page-title\">Sincronizare date cu aparat central</span>\r\n</div>\r\n\r\n<form action=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(35,14);to=(35,40)]
			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/sync/sync-ac-manager.jsp";from=(35,40);to=(38,23)]
			out.print("?action=sync-ac-manager\" method=\"post\">\r\n    Tip fisa:\r\n    <select name=\"tip\" id=\"selectTipFisa\">\r\n        <option value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(38,23);to=(38,44)]
			out.print(SyncItemType.ALL);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(38,44);to=(38,46)]
			out.print("\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(38,46);to=(38,105)]
			out.print(tipSelectat.equals(SyncItemType.ALL) ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(38,105);to=(39,23)]
			out.print(" >Toate fisele</option>\r\n        <option value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(39,23);to=(39,43)]
			out.print(SyncItemType.FI);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(39,43);to=(39,46)]
			out.print("\"  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(39,46);to=(39,104)]
			out.print(tipSelectat.equals(SyncItemType.FI) ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(39,104);to=(40,23)]
			out.print(" >Fise Incident</option>\r\n        <option value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(40,23);to=(40,43)]
			out.print(SyncItemType.FE);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(40,43);to=(40,46)]
			out.print("\"  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(40,46);to=(40,104)]
			out.print(tipSelectat.equals(SyncItemType.FE) ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(40,104);to=(41,23)]
			out.print(" >Fise Echipament</option>\r\n        <option value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(41,23);to=(41,43)]
			out.print(SyncItemType.FD);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(41,43);to=(41,46)]
			out.print("\"  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(41,46);to=(41,104)]
			out.print(tipSelectat.equals(SyncItemType.FD) ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(41,104);to=(42,23)]
			out.print(" >Fise Deranjament</option>\r\n        <option value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(42,23);to=(42,44)]
			out.print(SyncItemType.FLP);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(42,44);to=(42,46)]
			out.print("\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(42,46);to=(42,105)]
			out.print(tipSelectat.equals(SyncItemType.FLP) ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(42,105);to=(43,23)]
			out.print(" >Fise Lucrari Programate</option>\r\n        <option value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(43,23);to=(43,44)]
			out.print(SyncItemType.FED);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(43,44);to=(43,46)]
			out.print("\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(43,46);to=(43,105)]
			out.print(tipSelectat.equals(SyncItemType.FED) ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(43,105);to=(50,26)]
			out.print(" >Fise Eveniment Dispecer</option>\r\n    </select>\r\n\r\n    &nbsp;&nbsp;\r\n    Stare:\r\n    <select name=\"status\">\r\n        <option value=\"-1\">Toate starile</option>\r\n        <option value=\"1\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(50,26);to=(50,60)]
			out.print(status == 1 ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(50,60);to=(51,26)]
			out.print(">Sincronizate</option>\r\n        <option value=\"0\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(51,26);to=(51,60)]
			out.print(status == 0 ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(51,60);to=(55,43)]
			out.print(">Nesincronizate</option>\r\n    </select>\r\n\r\n    &nbsp;&nbsp;Numar fisa:\r\n    <input type=\"text\" name=\"numar\" value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(55,43);to=(55,53)]
			out.print(numar);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(55,53);to=(74,8)]
			out.print("\"/>\r\n\r\n    <input type=\"submit\" value=\"Aplic\u0103\"/>\r\n\r\n    <br/>\r\n\r\n    <table width=\"100%\" class=\"table mt5\" cellpadding=\"2\" cellspacing=\"1\">\r\n        <thead>\r\n        <tr>\r\n            <th width=\"50px\">TIP</th>\r\n            <th>ID</th>\r\n            <th>Numar</th>\r\n            <th>Filiala</th>\r\n            <th>Sucursala</th>\r\n            <th>Centru</th>\r\n            <th width=\"100px\" class=\"align-center\">Sincronizat</th>\r\n        </tr>\r\n        </thead>\r\n        <tbody>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(74,8);to=(74,40)]
			  if (result.size() == 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/sync/sync-ac-manager.jsp";from=(74,40);to=(80,8)]
			out.print("\r\n            <tr>\r\n                <td colspan=\"10\" class=\"no-data\">\r\n                    Nu exista date.\r\n                </td>\r\n            </tr>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(80,8);to=(80,62)]
			 } else for (int i = 0; i < result.size(); 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/sync/sync-ac-manager.jsp";from=(80,62);to=(81,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(81,8);to=(81,112)]
			 ro.emid.administrare.sync.ac.SyncItem item = (ro.emid.administrare.sync.ac.SyncItem) result.get(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/sync/sync-ac-manager.jsp";from=(81,112);to=(83,16)]
			out.print("\r\n        <tr>\r\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/sync/sync-ac-manager.jsp";from=(83,16);to=(83,34)]
			out.print(item.getTip());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(83,34);to=(84,16)]
			out.print("</td>\r\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/sync/sync-ac-manager.jsp";from=(84,16);to=(84,33)]
			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/sync/sync-ac-manager.jsp";from=(84,33);to=(85,16)]
			out.print("</td>\r\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/sync/sync-ac-manager.jsp";from=(85,16);to=(85,36)]
			out.print(item.getNumar());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(85,36);to=(86,16)]
			out.print("</td>\r\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/sync/sync-ac-manager.jsp";from=(86,16);to=(86,38)]
			out.print(item.getFiliala());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(86,38);to=(87,16)]
			out.print("</td>\r\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/sync/sync-ac-manager.jsp";from=(87,16);to=(87,40)]
			out.print(item.getSucursala());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(87,40);to=(88,16)]
			out.print("</td>\r\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/sync/sync-ac-manager.jsp";from=(88,16);to=(88,37)]
			out.print(item.getCentru());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(88,37);to=(89,31)]
			out.print("</td>\r\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/sync/sync-ac-manager.jsp";from=(89,31);to=(89,71)]
			out.print(item.getStatus() == 1 ? "DA" : "NU");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(89,71);to=(91,8)]
			out.print("</td>\r\n        </tr>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(91,8);to=(91,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/sync/sync-ac-manager.jsp";from=(91,15);to=(97,20)]
			out.print("\r\n        </tbody>\r\n        <tfoot>\r\n        <tr>\r\n            <td colspan=\"7\">\r\n                <div class=\"pull-left\">\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(97,20);to=(97,57)]
			 if(Application.runAsFiliala()){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(97,57);to=(104,28)]
			out.print("\r\n                    <input id=\"btnSyncFise\"\r\n                           type=\"button\"\r\n                           value=\"setat de functia initUI\"\r\n                           onclick=\"syncFise(this)\"\r\n                           class=\"mr5\"\r\n                           title=\"setat de functia initUI\"\r\n                            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(104,28);to=(104,61)]
			if(!existaDateDeSincronizat){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(104,61);to=(104,82)]
			out.print(" disabled=\"disabled\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(104,82);to=(104,87)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(104,87);to=(114,38)]
			out.print("\r\n                    />\r\n                    <input id=\"btnSyncNom\"\r\n                           type=\"button\"\r\n                           value=\"Sincronizeaza nomenclatoare\"\r\n                           onclick=\"syncNomenclator( this)\"\r\n                           class=\"mr5\"\r\n                           title=\"Trimite toate nomenclatoarele catre Aparat Central\"/>\r\n                    <input type=\"button\"\r\n                           value=\"Istoric sincroniz\u0103ri\"\r\n                           data-href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(114,38);to=(114,64)]
			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/sync/sync-ac-manager.jsp";from=(114,64);to=(115,20)]
			out.print("?action=sync-ac-history\"/>\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(115,20);to=(115,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/sync/sync-ac-manager.jsp";from=(115,27);to=(118,20)]
			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-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(118,20);to=(118,69)]
			out.print(PaginationController.printPaginationData(pd));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(118,69);to=(135,13)]
			out.print("\r\n                </div>\r\n            </td>\r\n        </tr>\r\n        </tfoot>\r\n    </table>\r\n</form>\r\n<br/>\r\n\r\n\r\n<script type=\"text/javascript\">\r\n\r\n    var btnSyncFise = null;\r\n    var selectedTipText = null;\r\n    var selectedType = null;\r\n\r\n    function syncFise(btn) {\r\n        if( !");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(135,13);to=(135,41)]
			out.print(existaDateDeSincronizat);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(135,41);to=(141,31)]
			out.print("){\r\n            alert(\"Nu exista date pentru sincronizare.\");\r\n            return;\r\n        }\r\n\r\n        if (confirm(\'Doriti sincronizare pentru (\' + selectedTipText + \') cu serverul Aparat Central ?\')) {\r\n            window.location = \"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(141,31);to=(141,57)]
			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/sync/sync-ac-manager.jsp";from=(141,57);to=(147,31)]
			out.print("?action=sync-fise-ac&type=\"+selectedType;\r\n        }\r\n    }\r\n\r\n    function syncNomenclator(btn) {\r\n        if (confirm(\'Doriti sincronizarea nomenclatoarelor cu serverul Aparat Central ?\')) {\r\n            window.location = \"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(147,31);to=(147,57)]
			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/sync/sync-ac-manager.jsp";from=(147,57);to=(157,52)]
			out.print("?action=sync-nomenclator-ac\";\r\n        }\r\n    }\r\n\r\n    jQuery(function(){\r\n        btnSyncFise = jQuery(\"#btnSyncFise\");\r\n        selectedTipText = jQuery(\"#selectTipFisa option:selected\").text();\r\n        selectedType = jQuery(\"#selectTipFisa option:selected\").val();\r\n\r\n        btnSyncFise.val(\"Sincronizeaza \" + selectedTipText);\r\n        btnSyncFise.attr(\"title\", (selectedType == \"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(157,52);to=(157,102)]
			out.print(ro.emid.administrare.sync.ac.SyncItemType.ALL);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/sync/sync-ac-manager.jsp";from=(157,102);to=(161,0)]
			out.print("\" ? \"Trimite toate fisele \" + selectedTipText + \" catre Aparat Central\" : \"Trimite toate \" + selectedTipText.toLocaleLowerCase() + \" catre Aparat Central\"));\r\n    });\r\n\r\n</script>\r\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);
		}
	}

}
