Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\netbusiness\bulkfaxing\read.jsp
<%@page import="com.edeal.frontline.controller.actions.GetSilhouetteFromEmailOrCookieAction"%><% /****************************************************************************** * Copyright (c) 2000-2005 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * F: +33 (0)1 73 01 69 77 * http://www.e-deal.com * * La diffusion de ce code source sous quelque forme que ce soit sans * l'autorisation de E-DEAL est interdite. * * Vous êtes autorisés à modifier ce code source uniquement pour votre usage * propre et sous réserve que les mentions de copyright demeurent intactes. * * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour * responsable des dommages pouvant résulter de l'utilisation de ce code * source. ******************************************************************************/ %> <%@page contentType="text/html; charset=UTF8" session="true"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.EnterpriseBean" %> <%@ page import="java.util.Date" %> <%@ page import="java.util.Hashtable" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@ page import="com.edeal.frontline.LocationBean" %> <%@ page import="com.edeal.frontline.SalesInvestBean" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.FlLocale" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.navigation.WebUtils" %> <%@ page import="java.util.*" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.MassEmailingBean" id="MassEmailing" scope="request"/> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ac/fobAC_js.jsp"></script> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); String id = null; String strActID = (String)session.getAttribute("actorID"); try { id = MassEmailing.getID(); } catch (FieldNotInitializedException fnie) { } String emlTypeDst = null; try{ emlTypeDst =(String)MassEmailing.getEmlTypeDst(); } catch (Exception e) { } Integer emlDstType = null; try{ emlDstType =(Integer)MassEmailing.getEmlDstType(); } catch (Exception e) { } String emlSndType = null; try{ emlSndType =(String)MassEmailing.getProperty("EmlSndType"); } catch (Exception e) { } //EmlFltPopOp Règle population String emlFltPopOp = null; try{ emlFltPopOp =(String)MassEmailing.getEmlFltPopOp(); } catch (Exception e) { } //EmlFltReadMsgOp Règle suivi e-mailing String emlFltReadMsgOp = null; try{ emlFltReadMsgOp =(String)MassEmailing.getEmlFltReadMsgOp(); } catch (Exception e) { } //EmlFltLinkOp Règle suivi de liens String emlFltLinkOp = null; try{ emlFltLinkOp =(String)MassEmailing.getEmlFltLinkOp(); } catch (Exception e) { } //EmlFltSubsOp Règle abonnements String emlFltSubsOp = null; try{ emlFltSubsOp =(String)MassEmailing.getEmlFltSubsOp(); } catch (Exception e) { } //récupérer la langue en cours DataDictionary dico = context.getDataDictionary(); FlLocale locale = FlLocale.getInstance(session); String langageID = locale.getLanguageID(); //si la langue dans fllocal est null alors français pas defaut if(langageID == null) { try { langageID = dico.getRefIdByCode("Lna", "Val", "fr_FR"); } catch (Exception ex) { } } String sndQuery = "FldFobID<>null|FldObjID:ObjSql='Person'"; sndQuery = WebUtils.urlEncode(context, sndQuery); //code type de destination String codeDestPer = dico.getRefIdByCode("Mtd", "Te1", "PER"); String codeDestSil = dico.getRefIdByCode("Mtd", "Te1", "SIL"); String codeDestPerSil = dico.getRefIdByCode("Mtd", "Te1", "PERSIL"); %> <!--[if !IE]><!--> <style> .fieldset { -moz-border-radius:8px; -webkit-border-radius:8px; border-radius:8px; } </style> <!--<![endif]--> <style> .msgBody { border: 1px solid #006699; height:400px; overflow: auto; } .msgSubject { border: 1px solid #006699; min-height:18px; } .monitoring { max-height:400px; overflow: auto; } .legend { padding: 0.2em 0.5em; /*display: block;*/ font-size: 1em; font-weight: bold; color: black; } .language_without_message { filter:alpha(opacity=20); -moz-opacity:0.2; -khtml-opacity: 0.2; opacity: 0.2; } .language_current { border:2px solid black; } .language_current_without_message { border:2px solid black; filter:alpha(opacity=20); -moz-opacity:0.2; -khtml-opacity: 0.2; opacity: 0.2; } </style> <script language="javascript"> function doMassMailingRedirect(rdChoice) { var urlRedirect = "<fl:link url="/bulkfaxing_resend.fl" list="true" menu="true"/>&id=<%= id %>&process=" + rdChoice; window.location.href = urlRedirect; } function displayDelTempPopBgStatus(json,el) { globalBackgoundStatusDisplayFunction(json,el); refreshEmailingPopulations(); } var ajaxLoad = '<table style="width:100%; height:100%"><tr><td style="vertical-align:middle;text-align: center;"><span style="color: #777777; font-size: 11px; font-family : Arial,Verdana,sans-serif;"><img src="<fl:link url="/icons/chargement.gif"/>" alt="<fl:getMessage code="L639B" alt="Chargement ..."/>"/></span></td></tr></table>'; function changeLanguage(codeLanguage){ loadMessage(codeLanguage); setLangageID(codeLanguage); } function loadMessage(codeLanguage){ $.getJSON("<fl:webapp/>/get_message_content.fl?id=<%= id %>&langageID=" + codeLanguage, function(result) { loadLanguage(); loadAttachments(result.msgID); }); } function loadAttachments(msgID) { var ajaxURL = "<fl:webapp/>/get_attachement_div.fl?messageID=" + msgID + "&edit=false&doc=1"; $("#div_attachement").html(ajaxLoad); doAjax(ajaxURL, attachmentsCallBack); } function attachmentsCallBack(index) { if (eDealXmlhttpArr[index].readyState == 4) { $("#div_attachement").html(eDealXmlhttpArr[index].responseText); } hideWaiting(); } function loadLanguage() { var ajaxURL = '<fl:webapp/>/get_language_div.fl?id=<%= id%>&languageID=' + $("#langageID").val(); doAjax(ajaxURL, languageCallBack); } function languageCallBack(index) { if (eDealXmlhttpArr[index].readyState == 4) { $("#td_language").html(eDealXmlhttpArr[index].responseText); } hideWaiting(); } function setLangageID(lngID){ $("#langageID").val(lngID); } function loadStatistics() { var ajaxURL = '<fl:webapp/>/get_bulkfaxing_stats.fl?id=<%= id%>'; $("#tr_statistics").html(ajaxLoad); doAjax(ajaxURL, statisticsCallBack); } function statisticsCallBack(index) { if (eDealXmlhttpArr[index].readyState == 4) { $("#tr_statistics").html(eDealXmlhttpArr[index].responseText); } hideWaiting(); } function doOnLoad() { loadMessage($('#langageID').val()); } function displayDelTempPopBgStatus(json,el) { globalBackgoundStatusDisplayFunction(json,el); refreshEmailingPopulations(); } function refreshEmailingPopulations() { _grid__EML_POP_js_.render("PopMassEmailingID",'<%= id %>'); } </script> <input type="hidden" name="langageID" id="langageID" value="<%= langageID %>"> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"L80C3\", \"Faxing en masse\") %>" listTitle="<%= Utils.getMessage(session, \"L80C3\", \"Faxing en masse\") %>" ou="<%= \"/read_bulkfaxing.fl?id=\" + MassEmailing.getID() %>"> <table class="container" cellpadding="0" cellspacing="0"> <tr> <td colspan="5" class="titreFiche"><fl:getProperty name="MassEmailing" property="EmlName" alt="" /></td> </tr> <tr class="ligne_separation"><td colspan="5"></td></tr> <tr><td colspan="5" class="ligne_separation"/></tr> <tr> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="EmlCode"/> <fl:fieldRead property="EmlRegroupement"/> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="EmlStatus"/> <fl:fieldRead property="EmlOwner" bean="true" href="true" disp="/read_actor.fl"/> </table> </td> </tr> </table> <link href="<fl:webapp/>/css/smalltabs_css.jsp" rel="stylesheet" type="text/css"> <fl:smallTabs name="MassMailingTabs"> <fl:sTab id="MESSAGE" title="<%= Utils.getMessage(session, \"F6002\", \"Message\") %>" onselect="javascript:loadMessage($('#langageID').val());"> <table cellpadding="0" width="100%" height="100%"> <tr> <td width="25%"></td> <td width="25%"></td> <td width="25%"></td> <td width="25%" id="td_language"> </td> </tr> <tr class="ligne_separation"><td colspan="0"></td></tr> </table> <div id="div_attachement"> </div> </fl:sTab> <fl:sTab id="SENDING" title="<%= Utils.getMessage(session, \"L700F\", \"Envoi\") %>"> <table class="container" cellpadding="0"> <tr class="fieldline"> <td class="column2"> <table class="container" cellpadding="0"> <tr class="fieldline"> <td class="column2" colspan="2"> <fieldset class="fieldset"> <legend class="legend"><fl:getMessage code="L7036" alt="Expéditeur"/></legend><br> <table class="container" cellpadding="0"> <tr class="fieldline"> <td class="column2" colspan="2"> <table class="container" cellpadding="0"> <tr class="fieldline"> <td class="dataLabel"> <fl:getMessage code="L7039" alt="fixe"/> </td> <td class="dataValue"> <fl:getProperty name="MassEmailing" property="EmlSndEnsID" alt="" bean="true" href="true" disp="/read_emailsender.fl"/> </td> </tr> </table> </td> </tr> <tr class="fieldline"> <td class="column2" colspan="2"> <span style="font-size: 11px; font-family : Arial,Verdana,sans-serif; font-style:italic"> <fl:getMessage code="L7034" alt="Avec gestion des retours en erreur"/> </span> </td> </tr> </table> </fieldset> </td> </tr> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2"> <table class="container" cellpadding="0"> <fl:fieldRead property="EmlSndDate"/> <fl:fieldRead property="EmlSndEosID" bean="true" href="true" disp="/read_emailoutserver.fl"/> </table> </td> </tr> </table> </fl:sTab> <fl:sTab id="STATISTICS" title="<%= Utils.getMessage(session, \"L60FE\", \"Statistiques\") %>" onselect="javascript:loadStatistics();"> <table class="container" cellpadding="0"> <tr><td id="tr_statistics" colspan="4"></td></tr> </table> </fl:sTab> <fl:sTab id="POPULATIONS" title="<%= Utils.getMessage(session, \"L6037\", \"Populations\") %>" onselect="refreshEmailingPopulations()"> <fl:grid name="EML_POP" ajaxUrl="/embedded_list_ajax.fl"/> <% String delUrl="/massmailing_delete_temp_population_ajax.fl?_value="+id; %> <div class="infobar_table_text" style=""> <a href="javascript:doCallBackgroundAjaxAction('DeleteTempPop','<fl:link url="<%= delUrl %>"/>',false,displayDelTempPopBgStatus)"/><fl:getMessage code="L70B7" alt="Supprimer populations temporaires"/></a><div id="bgstatusDeleteTempPop"></div> </div> </fl:sTab> </fl:smallTabs> </fl:bigTabs>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de