<%@ page language="java" pageEncoding="ISO-8859-15" contentType="text/html;charset=ISO-8859-15"%> <%@ page language="java" import="java.util.*,javax.servlet.jsp.*,com.nivaria.datatype.*,com.nivaria.epress.*,com.nivaria.edit.*, com.nivaria.commerce.*,com.nivaria.commerce.domain.*,com.nivaria.consulta.*,com.nivaria.consulta.impl.*,com.nivaria.consulta.impl.ncm.*"%> <% response.setHeader("Cache-Control","no-store"); response.setHeader("Pragma","no-cache"); response.setDateHeader("Expires",0); %> <%! public java.util.List getFilterParams(com.nivaria.data.DataSource ds) throws Exception { java.util.List res = new java.util.ArrayList(); try { Object[] filterParams = ds.getDataValueList("PARAMS"); if (filterParams!=null && filterParams.length>0) { for(int i=0;i <% com.nivaria.project.ProjectInterface app = (com.nivaria.project.ProjectInterface)application.getAttribute("com.nivaria.application"); com.nivaria.epress.EPressManager ep = (com.nivaria.epress.EPressManager)application.getAttribute("com.nivaria.epress"); CommerceFacade shp = new CommerceFacade(ep.getCore()); if (app == null) { throw new com.nivaria.intranet.NoApplicationException(); } boolean enPrevio = false; if (session!=null && session.getAttribute("PREVIEWSTATUS")!=null) { enPrevio = true; } Issue currentIssue= ep.getIssue(5); if (currentIssue== null) { throw new Exception("> No se encuentra EDICION disponible <"); } String dtpag = "PG_ADVANCED"; Comparator stringCmp = new Comparator ( ) { public int compare ( Object o1, Object o2 ) { String s1 = ( String ) o1; String s2 = ( String ) o2; int len1 = s1.length ( ) ; int len2 = s2.length ( ) ; for ( int i=0, n=Math.min ( len1, len2 ) ; i < n; i++ ) { char c1 = s1.charAt ( i ) ; char c2 = s2.charAt ( i ) ; if ( c1 != c2 ) return c1 - c2; } return len1 - len2; } } ; Comparator stringCmpDsc = new Comparator ( ) { public int compare ( Object o1, Object o2 ) { String s1 = ( String ) o1; String s2 = ( String ) o2; int len1 = s1.length ( ) ; int len2 = s2.length ( ) ; for ( int i=0, n=Math.min ( len1, len2 ) ; i < n; i++ ) { char c1 = s1.charAt ( i ) ; char c2 = s2.charAt ( i ) ; if ( c1 != c2 ) return -1*(c1 - c2); } return -1*(len1 - len2); } } ; Comparator licitacionCmp = new Comparator() { public int compare(Object o1, Object o2) { com.nivaria.consulta.CObject obj1 = (com.nivaria.consulta.CObject)o1; com.nivaria.consulta.CObject obj2 = (com.nivaria.consulta.CObject)o2; String val1 = ""; String val2 = ""; try { val1 = obj1.getDataValue("LIMITDATE","yyyy-MM-dd"); val2 = obj2.getDataValue("LIMITDATE","yyyy-MM-dd"); } catch(Exception ex) { ex.printStackTrace(); } int len1 = val1.length() ; int len2 = val2.length() ; for (int i=0, n=Math.min (len1,len2);i <% int langId = ((com.nivaria.core.CoreManager)application.getAttribute("com.nivaria.core")).getLanguage("ES").getId(); %> <% boolean hasQueryDetails = false; %> <% if(!hasQueryDetails){%> <% } if(!hasQueryDetails) {%> AfricaInfoMarket - Empresas <% } %>

AfricaInfoMarket recomienda...

Globalización y empleo en el sector informal en los países en desarrollo
"Globalización y empleo en el sector informal en los países en desarrollo"
El estudio, realizado por la OIT y la OMC, se centra en las relaciones entre el comercio y el crecimiento de la economía informal en los países en desarrollo. Se examina también cómo las tasas elevadas de empleo informal reducen las posibilidades de que los países en desarrollo aprovechen la apertura del comercio para lograr un crecimiento sostenible a largo plazo.

acceder a más recomendaciones

Noticias de África

Licitación destacada

<% try { %> <% int dataSourceId = Integer.parseInt("35"); /*com.nivaria.epress.EPressManager ep = (com.nivaria.epress.EPressManager) application.getAttribute("com.nivaria.epress");*/ com.nivaria.data.DataSourceManager dsm = new com.nivaria.data.DataSourceManager(ep.getCore()); com.nivaria.data.DataSource ds = dsm.getDataSource(dataSourceId); //Creating Query request com.nivaria.consulta.QueryRequest qrequest = new com.nivaria.consulta.QueryRequest(request,dataSourceId); String pref = qrequest.getParameterPrefix(); String excluded = qrequest.getParameter("excluded")!=null?qrequest.getParameter("excluded"):""; if(!excluded.equals("")) { String[] exclFlds = excluded.split(";"); for(int i=0;i <% if(consulta!=null) { for(int i=0;i <% } else { %> <% String[] qvals = qrequest.getParameterValues(fieldName); if(qvals!=null && qvals.length>0) { for(int v=0;v <% } } %> <% } %> "/> "/> <% } } } %> "/> <%if(products!=null && products.length>0) { for(int i=from;i
<%=(i==0?"first":"")%>"> <% if (conType==4){ String url = ((CObjectNCM)prd).getUrl("empresas.jsp", currentIssue); if (((CObjectNCM)prd).isDinamic()){ url += "&step=3"; }%>

"><%=prd.getDataValue("NAME", langId)%>

<% } else { if(prd instanceof CObjectNCM) { switch(((CObjectNCM)prd).getType()) { case com.nivaria.security.SecurityManager.NODETYPE_SECTION: paramName = "SECID"; break; case com.nivaria.security.SecurityManager.NODETYPE_CATEGORY: paramName = "CATID"; break; } } String valImg = ""; int indImg = -1; for(int j=0;j"; }else{ valImg = "
"; } String furl = com.nivaria.util.FilePath.getRelativePath("empresas.jsp", (String)file.getDataValue("URL",langId)); furl= com.nivaria.util.FilePath.pathToWeb(furl); valImg += "\""+((file.getDataValue("ALT",langId)!=null?(String)file.getDataValue("ALT",langId):""))+"\""; if((String)file.getDataValue("FOOT",langId)!= null && (!((String)file.getDataValue("FOOT",langId)).equals(""))) { valImg += "

"+((String)file.getDataValue("FOOT",langId))+"

"; } valImg += "
"; indImg = j; break; } } } for(int j=0;j"; } } else if(fld.getDt().equals("DATETIME")) { val = prd.getDataValue(fld.getTitle_org(),"dd/MM/yyyy hh:mm",langId); if(val!=null && !val.trim().equals("")) { val = ""+val+""; } } else { val = (String)prd.getDataValue(fld,langId); } if(val!=null && !val.trim().equals("")) { if(j==0) { if(valImg.equals("")) { %> <% } else { %> <%=valImg%> <% } %>

<%=val%>

<% } else { if(fld.showTitle()) { %> <%=fld.getTitle()%>: <% } %> <%=val%>
<% } %> <% } %> <% } %> <% }%>
<% } %> <%} else { %>
No se han encontrado los resultados
<%} %> <% } catch(Exception ups) { ups.printStackTrace(); throw ups; } %>

ver todas las licitaciones

Novedades

<% try { %> <% int dataSourceId = Integer.parseInt("87"); /*com.nivaria.epress.EPressManager ep = (com.nivaria.epress.EPressManager) application.getAttribute("com.nivaria.epress");*/ com.nivaria.data.DataSourceManager dsm = new com.nivaria.data.DataSourceManager(ep.getCore()); com.nivaria.data.DataSource ds = dsm.getDataSource(dataSourceId); //Creating Query request com.nivaria.consulta.QueryRequest qrequest = new com.nivaria.consulta.QueryRequest(request,dataSourceId); String pref = qrequest.getParameterPrefix(); String excluded = qrequest.getParameter("excluded")!=null?qrequest.getParameter("excluded"):""; if(!excluded.equals("")) { String[] exclFlds = excluded.split(";"); for(int i=0;i <% if(consulta!=null) { for(int i=0;i <% } else { %> <% String[] qvals = qrequest.getParameterValues(fieldName); if(qvals!=null && qvals.length>0) { for(int v=0;v <% } } %> <% } %> "/> "/> <% } } } %> "/> <% if(pageNum==0) { %> <% if(products==null || products.length==0) { %> <% if(products!=null && products.length>0) {%> <% int columns = 1; int sto = 100; int cusFrom = currentRow; int cusTo = to-cusFrom ; String style= ""; String style0= ""; try { columns = Integer.parseInt("1"); } catch(NumberFormatException colups) {} if(pageNum==0) { try { cusTo = Integer.parseInt(""); } catch(NumberFormatException colups) {} } if(columns>1) { int pw = sto/columns-1; style0="float:left;width:"+pw+"%;"; style="float:left;width:"+pw+"%;margin-left:8px;"; } java.util.List layoutflds717305 = new java.util.ArrayList(); layoutflds717305.add(new Field_s("Nombre","NAME:1174","false","TEXT","false","false")); layoutflds717305.add(new Field_s("Enlace","ENLACE:1174","false","URL","false","false")); layoutflds717305.add(new Field_s("Descripción","DESCRIPCION:1174","false","TEXT","false","false")); boolean onlyResults = false; boolean showMoreInfo = true; String titleMoreInfo = ""; if(titleMoreInfo.trim().equals("") || titleMoreInfo.equals("null")) titleMoreInfo = "Más información"; for(int i=cusFrom;i
1) {%><% } %>> <% } %>
<% if (conType==4){ String url = ((CObjectNCM)prd).getUrl("empresas.jsp", currentIssue); if (((CObjectNCM)prd).isDinamic()){ url += "&step=3"; } %>

"><%=prd.getDataValue("NAME", langId)%>

Más información

<% } else { Field_s fld = (Field_s) layoutflds717305.get(0); String val = ""; if (fld.getDt().equals("DATE")) { val = prd.getDataValue(fld.getTitle_org(),"dd/MM/yyyy",langId); } else if(fld.getDt().equals("DATETIME")) { val = prd.getDataValue(fld.getTitle_org(),"dd/MM/yyyy hh:mm",langId); } else { val = (String)prd.getDataValue(fld,langId); } if(val!=null && !val.trim().equals("")) { fld = (Field_s) layoutflds717305.get(1); String ref = (String)prd.getDataValue(fld.getTitle_org(),langId); if(ref!=null && !ref.equals("")) { ref = ref.replaceFirst("PAGEPATH",""); ref = ep.parsePageReferences(ref,"empresas.jsp","DEFAULT"); } %>

<% if(ref!=null && !ref.trim().equals("")) { %> <% } %> <%=val%> <% if(ref!=null && !ref.trim().equals("")) { %> <% } %>

<% fld = (Field_s) layoutflds717305.get(2); val = (String)prd.getDataValue(fld,langId); if(val!=null && !val.trim().equals("")) { if(fld.showTitle()) { %> <%=fld.getTitle()%>: <% } %> <%=val%>
<% } %>
<% if(!onlyResults) { if(!showMoreInfo) { if(ref!=null && !ref.trim().equals("")) { %>

<%=titleMoreInfo%>

<% } } } %> <% } %> <% }%>
<% if((i-cusFrom)%columns==columns-1 || i==(cusFrom+cusTo-1)) { %>
<% } } } else { %>
No se han encontrado los resultados
<% } %> <% } else { %> <% if(products!=null && products.length>0) {%> <% int columns = 1; int sto = 100; int cusFrom = currentRow; int cusTo = to-cusFrom ; String style= ""; String style0= ""; try { columns = Integer.parseInt("1"); } catch(NumberFormatException colups) {} if(pageNum==0) { try { cusTo = Integer.parseInt(""); } catch(NumberFormatException colups) {} } if(columns>1) { int pw = sto/columns-1; style0="float:left;width:"+pw+"%;"; style="float:left;width:"+pw+"%;margin-left:8px;"; } java.util.List layoutflds717305 = new java.util.ArrayList(); layoutflds717305.add(new Field_s("Nombre","NAME:1174","false","TEXT","false","false")); layoutflds717305.add(new Field_s("Enlace","ENLACE:1174","false","URL","false","false")); layoutflds717305.add(new Field_s("Descripción","DESCRIPCION:1174","false","TEXT","false","false")); boolean onlyResults = false; boolean showMoreInfo = true; String titleMoreInfo = ""; if(titleMoreInfo.trim().equals("") || titleMoreInfo.equals("null")) titleMoreInfo = "Más información"; for(int i=cusFrom;i
1) {%><% } %>> <% } %>
<% if (conType==4){ String url = ((CObjectNCM)prd).getUrl("empresas.jsp", currentIssue); if (((CObjectNCM)prd).isDinamic()){ url += "&step=3"; } %>

"><%=prd.getDataValue("NAME", langId)%>

Más información

<% } else { Field_s fld = (Field_s) layoutflds717305.get(0); String val = ""; if (fld.getDt().equals("DATE")) { val = prd.getDataValue(fld.getTitle_org(),"dd/MM/yyyy",langId); } else if(fld.getDt().equals("DATETIME")) { val = prd.getDataValue(fld.getTitle_org(),"dd/MM/yyyy hh:mm",langId); } else { val = (String)prd.getDataValue(fld,langId); } if(val!=null && !val.trim().equals("")) { fld = (Field_s) layoutflds717305.get(1); String ref = (String)prd.getDataValue(fld.getTitle_org(),langId); if(ref!=null && !ref.equals("")) { ref = ref.replaceFirst("PAGEPATH",""); ref = ep.parsePageReferences(ref,"empresas.jsp","DEFAULT"); } %>

<% if(ref!=null && !ref.trim().equals("")) { %> <% } %> <%=val%> <% if(ref!=null && !ref.trim().equals("")) { %> <% } %>

<% fld = (Field_s) layoutflds717305.get(2); val = (String)prd.getDataValue(fld,langId); if(val!=null && !val.trim().equals("")) { if(fld.showTitle()) { %> <%=fld.getTitle()%>: <% } %> <%=val%>
<% } %>
<% if(!onlyResults) { if(!showMoreInfo) { if(ref!=null && !ref.trim().equals("")) { %>

<%=titleMoreInfo%>

<% } } } %> <% } %> <% }%>
<% if((i-cusFrom)%columns==columns-1 || i==(cusFrom+cusTo-1)) { %>
<% } } } else { %>
No se han encontrado los resultados
<% } %> <% } %> <% } else { %> <% if(products!=null && products.length>0) {%> <% int columns = 1; int sto = 100; int cusFrom = currentRow; int cusTo = to-cusFrom ; String style= ""; String style0= ""; try { columns = Integer.parseInt("1"); } catch(NumberFormatException colups) {} if(pageNum==0) { try { cusTo = Integer.parseInt(""); } catch(NumberFormatException colups) {} } if(columns>1) { int pw = sto/columns-1; style0="float:left;width:"+pw+"%;"; style="float:left;width:"+pw+"%;margin-left:8px;"; } java.util.List layoutflds717305 = new java.util.ArrayList(); layoutflds717305.add(new Field_s("Nombre","NAME:1174","false","TEXT","false","false")); layoutflds717305.add(new Field_s("Enlace","ENLACE:1174","false","URL","false","false")); layoutflds717305.add(new Field_s("Descripción","DESCRIPCION:1174","false","TEXT","false","false")); boolean onlyResults = false; boolean showMoreInfo = true; String titleMoreInfo = ""; if(titleMoreInfo.trim().equals("") || titleMoreInfo.equals("null")) titleMoreInfo = "Más información"; for(int i=cusFrom;i
1) {%><% } %>> <% } %>
<% if (conType==4){ String url = ((CObjectNCM)prd).getUrl("empresas.jsp", currentIssue); if (((CObjectNCM)prd).isDinamic()){ url += "&step=3"; } %>

"><%=prd.getDataValue("NAME", langId)%>

Más información

<% } else { Field_s fld = (Field_s) layoutflds717305.get(0); String val = ""; if (fld.getDt().equals("DATE")) { val = prd.getDataValue(fld.getTitle_org(),"dd/MM/yyyy",langId); } else if(fld.getDt().equals("DATETIME")) { val = prd.getDataValue(fld.getTitle_org(),"dd/MM/yyyy hh:mm",langId); } else { val = (String)prd.getDataValue(fld,langId); } if(val!=null && !val.trim().equals("")) { fld = (Field_s) layoutflds717305.get(1); String ref = (String)prd.getDataValue(fld.getTitle_org(),langId); if(ref!=null && !ref.equals("")) { ref = ref.replaceFirst("PAGEPATH",""); ref = ep.parsePageReferences(ref,"empresas.jsp","DEFAULT"); } %>

<% if(ref!=null && !ref.trim().equals("")) { %> <% } %> <%=val%> <% if(ref!=null && !ref.trim().equals("")) { %> <% } %>

<% fld = (Field_s) layoutflds717305.get(2); val = (String)prd.getDataValue(fld,langId); if(val!=null && !val.trim().equals("")) { if(fld.showTitle()) { %> <%=fld.getTitle()%>: <% } %> <%=val%>
<% } %>
<% if(!onlyResults) { if(!showMoreInfo) { if(ref!=null && !ref.trim().equals("")) { %>

<%=titleMoreInfo%>

<% } } } %> <% } %> <% }%>
<% if((i-cusFrom)%columns==columns-1 || i==(cusFrom+cusTo-1)) { %>
<% } } } else { %>
No se han encontrado los resultados
<% } %> <% } %> <% } catch(Exception ups) { ups.printStackTrace(); throw ups; } %>

ver todas las novedades

Casos de éxito

<% try { %> <% int dataSourceId = Integer.parseInt("42"); /*com.nivaria.epress.EPressManager ep = (com.nivaria.epress.EPressManager) application.getAttribute("com.nivaria.epress");*/ com.nivaria.data.DataSourceManager dsm = new com.nivaria.data.DataSourceManager(ep.getCore()); com.nivaria.data.DataSource ds = dsm.getDataSource(dataSourceId); //Creating Query request com.nivaria.consulta.QueryRequest qrequest = new com.nivaria.consulta.QueryRequest(request,dataSourceId); String pref = qrequest.getParameterPrefix(); String excluded = qrequest.getParameter("excluded")!=null?qrequest.getParameter("excluded"):""; if(!excluded.equals("")) { String[] exclFlds = excluded.split(";"); for(int i=0;i <% if(consulta!=null) { for(int i=0;i <% } else { %> <% String[] qvals = qrequest.getParameterValues(fieldName); if(qvals!=null && qvals.length>0) { for(int v=0;v <% } } %> <% } %> "/> "/> <% } } } %> "/> <% if(pageNum==0) { %> <% if(products==null || products.length==0) { %> <% if(products!=null && products.length>0) { int cF = currentRow; int cT = to-cF ; if(pageNum==0) { try { cT = Integer.parseInt(""); } catch(NumberFormatException colups) {} } java.util.List lf717322 = new java.util.ArrayList(); lf717322.add(new Field_s("Nombre","NAME","false","TEXT","false","false")); lf717322.add(new Field_s("País","COUNTRY","false","LIST923","false","false")); lf717322.add(new Field_s("Fecha creación","CREATIONDATE","false","DATE","false","false")); lf717322.add(new Field_s("Descripción de la portada","DESCRIPCIONPORTADA","false","TEXT","false","false")); lf717322.add(new Field_s("Imagen","IMAGE:1110","false","IMAGE","false","false")); String lCD=""; boolean oRes = false; boolean mInf = false; String tInf = ""; if(tInf.trim().equals("") || tInf.equals("null")) tInf = "Más información"; for(int i=cF;i
<%=(i==0?"first":"")%>">
<% String pN = "PRDID"; if(prd instanceof CObjectNCM) { switch(((CObjectNCM)prd).getType()) { case com.nivaria.security.SecurityManager.NODETYPE_SECTION: pN = "SECID"; break; case com.nivaria.security.SecurityManager.NODETYPE_CATEGORY: pN = "CATID"; break; } }%> <% String vI = ""; Field_s f = (Field_s) lf717322.get(0); String v = (String)prd.getDataValue(f,langId); %>

<% if(!oRes) { %> <% } %> <%=v%> <% if(!oRes) { %> <% } %>

<% vI = ""; int iI = -1; for(int j=0;j"; }else{ vI = "
"; } String furl = com.nivaria.util.FilePath.getRelativePath("empresas.jsp", (String)fl.getDataValue("URL",langId)); furl= com.nivaria.util.FilePath.pathToWeb(furl); vI += "\""+((al!=null?al:""))+"\""; if(ft!= null && !ft.equals("")) { vI += "

"+ft+"

"; } vI += "
"; iI = j; break; } } } %> <%=vI%> <% String sep = ""; for(int j=1;j"+v+""; lCD += sep + v; sep = " | "; } } %>

<%=lCD%>

<% lCD=""; for(int j=3;j

<%=val%>

<% } else { %> <%=val%>
<% } %> <% } } if(!oRes) { if(!mInf) { %>

<%=tInf%>

<% } } %>
<% } } else { %>
No se han encontrado los resultados
<% } %> <% } else { %> <% if(products!=null && products.length>0) { int cF = currentRow; int cT = to-cF ; if(pageNum==0) { try { cT = Integer.parseInt(""); } catch(NumberFormatException colups) {} } java.util.List lf717322 = new java.util.ArrayList(); lf717322.add(new Field_s("Nombre","NAME","false","TEXT","false","false")); lf717322.add(new Field_s("País","COUNTRY","false","LIST923","false","false")); lf717322.add(new Field_s("Fecha creación","CREATIONDATE","false","DATE","false","false")); lf717322.add(new Field_s("Descripción de la portada","DESCRIPCIONPORTADA","false","TEXT","false","false")); lf717322.add(new Field_s("Imagen","IMAGE:1110","false","IMAGE","false","false")); String lCD=""; boolean oRes = false; boolean mInf = false; String tInf = ""; if(tInf.trim().equals("") || tInf.equals("null")) tInf = "Más información"; for(int i=cF;i
<%=(i==0?"first":"")%>">
<% String pN = "PRDID"; if(prd instanceof CObjectNCM) { switch(((CObjectNCM)prd).getType()) { case com.nivaria.security.SecurityManager.NODETYPE_SECTION: pN = "SECID"; break; case com.nivaria.security.SecurityManager.NODETYPE_CATEGORY: pN = "CATID"; break; } }%> <% String vI = ""; Field_s f = (Field_s) lf717322.get(0); String v = (String)prd.getDataValue(f,langId); %>

<% if(!oRes) { %> <% } %> <%=v%> <% if(!oRes) { %> <% } %>

<% vI = ""; int iI = -1; for(int j=0;j"; }else{ vI = "
"; } String furl = com.nivaria.util.FilePath.getRelativePath("empresas.jsp", (String)fl.getDataValue("URL",langId)); furl= com.nivaria.util.FilePath.pathToWeb(furl); vI += "\""+((al!=null?al:""))+"\""; if(ft!= null && !ft.equals("")) { vI += "

"+ft+"

"; } vI += "
"; iI = j; break; } } } %> <%=vI%> <% String sep = ""; for(int j=1;j"+v+""; lCD += sep + v; sep = " | "; } } %>

<%=lCD%>

<% lCD=""; for(int j=3;j

<%=val%>

<% } else { %> <%=val%>
<% } %> <% } } if(!oRes) { if(!mInf) { %>

<%=tInf%>

<% } } %>
<% } } else { %>
No se han encontrado los resultados
<% } %> <% } %> <% } else { %> <% if(products!=null && products.length>0) { int cF = currentRow; int cT = to-cF ; if(pageNum==0) { try { cT = Integer.parseInt(""); } catch(NumberFormatException colups) {} } java.util.List lf717322 = new java.util.ArrayList(); lf717322.add(new Field_s("Nombre","NAME","false","TEXT","false","false")); lf717322.add(new Field_s("País","COUNTRY","false","LIST923","false","false")); lf717322.add(new Field_s("Fecha creación","CREATIONDATE","false","DATE","false","false")); lf717322.add(new Field_s("Descripción de la portada","DESCRIPCIONPORTADA","false","TEXT","false","false")); lf717322.add(new Field_s("Imagen","IMAGE:1110","false","IMAGE","false","false")); String lCD=""; boolean oRes = false; boolean mInf = false; String tInf = ""; if(tInf.trim().equals("") || tInf.equals("null")) tInf = "Más información"; for(int i=cF;i
<%=(i==0?"first":"")%>">
<% String pN = "PRDID"; if(prd instanceof CObjectNCM) { switch(((CObjectNCM)prd).getType()) { case com.nivaria.security.SecurityManager.NODETYPE_SECTION: pN = "SECID"; break; case com.nivaria.security.SecurityManager.NODETYPE_CATEGORY: pN = "CATID"; break; } }%> <% String vI = ""; Field_s f = (Field_s) lf717322.get(0); String v = (String)prd.getDataValue(f,langId); %>

<% if(!oRes) { %> <% } %> <%=v%> <% if(!oRes) { %> <% } %>

<% vI = ""; int iI = -1; for(int j=0;j"; }else{ vI = "
"; } String furl = com.nivaria.util.FilePath.getRelativePath("empresas.jsp", (String)fl.getDataValue("URL",langId)); furl= com.nivaria.util.FilePath.pathToWeb(furl); vI += "\""+((al!=null?al:""))+"\""; if(ft!= null && !ft.equals("")) { vI += "

"+ft+"

"; } vI += "
"; iI = j; break; } } } %> <%=vI%> <% String sep = ""; for(int j=1;j"+v+""; lCD += sep + v; sep = " | "; } } %>

<%=lCD%>

<% lCD=""; for(int j=3;j

<%=val%>

<% } else { %> <%=val%>
<% } %> <% } } if(!oRes) { if(!mInf) { %>

<%=tInf%>

<% } } %>
<% } } else { %>
No se han encontrado los resultados
<% } %> <% } %> <% } catch(Exception ups) { ups.printStackTrace(); throw ups; } %>

ver más

Eventos destacados

<% try { %> <% int dataSourceId = Integer.parseInt("9"); /*com.nivaria.epress.EPressManager ep = (com.nivaria.epress.EPressManager) application.getAttribute("com.nivaria.epress");*/ com.nivaria.data.DataSourceManager dsm = new com.nivaria.data.DataSourceManager(ep.getCore()); com.nivaria.data.DataSource ds = dsm.getDataSource(dataSourceId); //Creating Query request com.nivaria.consulta.QueryRequest qrequest = new com.nivaria.consulta.QueryRequest(request,dataSourceId); String pref = qrequest.getParameterPrefix(); String excluded = qrequest.getParameter("excluded")!=null?qrequest.getParameter("excluded"):""; if(!excluded.equals("")) { String[] exclFlds = excluded.split(";"); for(int i=0;i <% if(consulta!=null) { for(int i=0;i <% } else { %> <% String[] qvals = qrequest.getParameterValues(fieldName); if(qvals!=null && qvals.length>0) { for(int v=0;v <% } } %> <% } %> "/> "/> <% } } } %> "/> <%if(products!=null && products.length>0) { String lineCountryDate=""; boolean printed=false; for(int i=from;i
<% if (conType==4){ String url = ((CObjectNCM)prd).getUrl("empresas.jsp",currentIssue); if (((CObjectNCM)prd).isDinamic()){ url += "&step=3"; } %>

"> <%=prd.getDataValue("NAME", langId)%>

Más información

<% } else { if(prd instanceof CObjectNCM) { switch(((CObjectNCM)prd).getType()) { case com.nivaria.security.SecurityManager.NODETYPE_SECTION: paramName = "SECID"; break; case com.nivaria.security.SecurityManager.NODETYPE_CATEGORY: paramName = "CATID"; break; } } String valImg = ""; int indImg = -1; for(int j=0;j"; }else{ valImg = "
"; } String furl = com.nivaria.util.FilePath.getRelativePath("empresas.jsp", (String)file.getDataValue("URL",langId)); furl= com.nivaria.util.FilePath.pathToWeb(furl); valImg += "\""+((file.getDataValue("ALT",langId)!=null?(String)file.getDataValue("ALT",langId):""))+"\""; if((String)file.getDataValue("FOOT",langId)!= null && (!((String)file.getDataValue("FOOT",langId)).equals(""))) { valImg += "

"+((String)file.getDataValue("FOOT",langId))+"

"; } valImg += "
"; indImg = j; break; } } } for(int j=0;j"; } } else if(fld.getDt().equals("DATETIME")) { val = prd.getDataValue(fld.getTitle_org(),"dd/MM/yyyy hh:mm",langId); if(val!=null && !val.trim().equals("")) { val = ""+val+""; } } else { val = (String)prd.getDataValue(fld,langId); } //System.out.println(fld.getTitle_org()+": "+val); if(val!=null && !val.trim().equals("")) { if(j==2) { if(!printed){ if(valImg.equals("")) { %> <% } else { %> <%=valImg%> <% } %>

<%=lineCountryDate%>

<% printed=true; lineCountryDate=""; }%>

<%=val%>

<% } else if(j==0) { if (!val.startsWith("<")){ lineCountryDate =""+val+""; }else{ lineCountryDate= val; } printed=false; } else if(j==1) { if (lineCountryDate.length()>0){ if (val.startsWith("<")){ lineCountryDate+=" | "+val; }else{ lineCountryDate+=" | " +""+val+""; } }else{ if (val.startsWith("<")){ lineCountryDate = val; }else{ lineCountryDate =""+val+""; } printed=false; } } else { if(j>2 && !printed){%>

<%=lineCountryDate%>

<% if(valImg.equals("")) { %> <% } else { %> <%=valImg%> <% } printed=true; lineCountryDate=""; } if(fld.showTitle()) { %> <%=fld.getTitle()%>: <% } %> <%=val%>
<% }%> <% } } %> <% if (!printed){%>

<%=lineCountryDate%>

<% }%>
<% }%>
<% } } else { %>
No se han encontrado los resultados
<% } %> <% } catch(Exception ups) { ups.printStackTrace(); throw ups; } %>
<% try { %> <% int dataSourceId = Integer.parseInt("9"); /*com.nivaria.epress.EPressManager ep = (com.nivaria.epress.EPressManager) application.getAttribute("com.nivaria.epress");*/ com.nivaria.data.DataSourceManager dsm = new com.nivaria.data.DataSourceManager(ep.getCore()); com.nivaria.data.DataSource ds = dsm.getDataSource(dataSourceId); //Creating Query request com.nivaria.consulta.QueryRequest qrequest = new com.nivaria.consulta.QueryRequest(request,dataSourceId); String pref = qrequest.getParameterPrefix(); String excluded = qrequest.getParameter("excluded")!=null?qrequest.getParameter("excluded"):""; if(!excluded.equals("")) { String[] exclFlds = excluded.split(";"); for(int i=0;i <% if(consulta!=null) { for(int i=0;i <% } else { %> <% String[] qvals = qrequest.getParameterValues(fieldName); if(qvals!=null && qvals.length>0) { for(int v=0;v <% } } %> <% } %> "/> "/> <% } } } %> "/> <%if(products!=null && products.length>0) { String lineCountryDate=""; boolean printed=false; for(int i=from;i
<% if (conType==4){ String url = ((CObjectNCM)prd).getUrl("empresas.jsp",currentIssue); if (((CObjectNCM)prd).isDinamic()){ url += "&step=3"; } %>

"> <%=prd.getDataValue("NAME", langId)%>

Más información

<% } else { if(prd instanceof CObjectNCM) { switch(((CObjectNCM)prd).getType()) { case com.nivaria.security.SecurityManager.NODETYPE_SECTION: paramName = "SECID"; break; case com.nivaria.security.SecurityManager.NODETYPE_CATEGORY: paramName = "CATID"; break; } } String valImg = ""; int indImg = -1; for(int j=0;j"; }else{ valImg = "
"; } String furl = com.nivaria.util.FilePath.getRelativePath("empresas.jsp", (String)file.getDataValue("URL",langId)); furl= com.nivaria.util.FilePath.pathToWeb(furl); valImg += "\""+((file.getDataValue("ALT",langId)!=null?(String)file.getDataValue("ALT",langId):""))+"\""; if((String)file.getDataValue("FOOT",langId)!= null && (!((String)file.getDataValue("FOOT",langId)).equals(""))) { valImg += "

"+((String)file.getDataValue("FOOT",langId))+"

"; } valImg += "
"; indImg = j; break; } } } for(int j=0;j"; } } else if(fld.getDt().equals("DATETIME")) { val = prd.getDataValue(fld.getTitle_org(),"dd/MM/yyyy hh:mm",langId); if(val!=null && !val.trim().equals("")) { val = ""+val+""; } } else { val = (String)prd.getDataValue(fld,langId); } //System.out.println(fld.getTitle_org()+": "+val); if(val!=null && !val.trim().equals("")) { if(j==2) { if(!printed){ if(valImg.equals("")) { %> <% } else { %> <%=valImg%> <% } %>

<%=lineCountryDate%>

<% printed=true; lineCountryDate=""; }%>

<%=val%>

<% } else if(j==0) { if (!val.startsWith("<")){ lineCountryDate =""+val+""; }else{ lineCountryDate= val; } printed=false; } else if(j==1) { if (lineCountryDate.length()>0){ if (val.startsWith("<")){ lineCountryDate+=" | "+val; }else{ lineCountryDate+=" | " +""+val+""; } }else{ if (val.startsWith("<")){ lineCountryDate = val; }else{ lineCountryDate =""+val+""; } printed=false; } } else { if(j>2 && !printed){%>

<%=lineCountryDate%>

<% if(valImg.equals("")) { %> <% } else { %> <%=valImg%> <% } printed=true; lineCountryDate=""; } if(fld.showTitle()) { %> <%=fld.getTitle()%>: <% } %> <%=val%>
<% }%> <% } } %> <% if (!printed){%>

<%=lineCountryDate%>

<% }%>
<% }%>
<% } } else { %>
No se han encontrado los resultados
<% } %> <% } catch(Exception ups) { ups.printStackTrace(); throw ups; } %>

ver toda la agenda

Servicios