Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\netbusiness\massemailing\dialog.jsp
<% /****************************************************************************** * Copyright (c) 2000-2004 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 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.AccessDeniedException" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.EMailingBean" %> <%@ page import="com.edeal.frontline.MessagesBean" %> <%@ page import="com.edeal.frontline.PopulationBean" %> <%@ page import="com.edeal.frontline.BasicBean" %> <%@ page import="com.edeal.frontline.FlLocale" %> <%@ page import="java.util.Date" %> <%@ page import="java.util.Hashtable" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@ page import="java.util.Vector" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %><% FlRequest flRequest = new FlRequest(request); boolean isTest = Boolean.parseBoolean(flRequest.getRequestParameterOrAttribute("test")); String id = (String)flRequest.getRequestParameterOrAttribute("id"); int percentage = Integer.valueOf((String)flRequest.getRequestParameterOrAttribute("percentage")); int status = Integer.valueOf((String)flRequest.getRequestParameterOrAttribute("status")); String testPopName = (String)flRequest.getRequestParameterOrAttribute("testPopName"); String sendingDate = (String)flRequest.getRequestParameterOrAttribute("sendingDate"); String sendingTime = (String)flRequest.getRequestParameterOrAttribute("sendingTime"); String text = (status == 0) ? Utils.getMessage(session, "L7086", "immédiatement") : (status == 1)? Utils.getMessage(session, "L0043", "le")+ " " + sendingDate + " " + Utils.getMessage(session, "L7087", "à") + " " + sendingTime : " " + Utils.getMessage(session, "L7088", "à une date non définie"); String userMsg = isTest ? Utils.getMessage(session, "L7089", "Votre emailing va être testé sur la population") + " <b>" + testPopName + "</b> " + Utils.getMessage(session, "L7086", "immédiatement")+ "." : Utils.getMessage(session, "L708A", "Votre emailing va être envoyé") + " " + text+"."; String licenceInfo = Utils.getMessage(session, "L70A9", "Vous êtes à") + " " + percentage + "% " + Utils.getMessage(session, "L70AA", "de votre limite")+"."; boolean canSend=true; if (isTest && Utils.isEmpty(testPopName)) { canSend=false; userMsg=Utils.getMessage(session, "L6647", "Vous devez spécifier une population de test."); } %> <html> <head> <title><fl:getMessage code="L2025" alt="e-Deal"/></title> <link rel="stylesheet" href="<fl:webapp/>/css/common_css.jsp" type="text/css"> <link rel="stylesheet" href="<fl:webapp/>/css/tooltip.css" type="text/css"> <link rel="stylesheet" href="<fl:webapp/>/css/master_css.jsp" type="text/css"> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/edeal/libraries/jquery/jquery.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/FormatHeure.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/presentField.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/checkFields.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/utils.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/calendar.jsp"></script> <script type="text/javascript"> function doSubmit() { var f = document.forms[0]; f.$$returnedHtmlBody.value = 'Nothing here'; f.$$returnedHtmlHead.value = '<sc' + 'ript language=\"javascript\">window.opener.location=window.opener.location;window.top.close();</scr' + 'ipt>'; f.submit(); } </script> </head> <body class="popup_body"> <div id="object_css" style="top:0px;left: 0px;height:99%;"> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"L0005\", false, true, \"e-Mailing\") %>" ignoreList="true"> <form method="post" action="<fl:link url="<%= \"/prepare_massmailing.fl?id=\" + id + \"&test=\" + isTest %>"/>"> <input type="hidden" name="$$presentFields" id="$$presentFields" value=""/> <input type="hidden" name="$$returnedHtmlHead" value="" /> <input type="hidden" name="$$returnedHtmlBody" value="" /> <input type="hidden" name="queued" id="queued" value=""/> <table class="container" cellpadding="0"> <tbody> <tr class="fieldline"> <td class="dataLabel"> <%= licenceInfo %> </td> </tr> <tr class="fieldline"> <td class="dataValue"> <%= userMsg %> </td> </tr> <tr class="ligne_separation"> <td colspan="2"></td> </tr> </tbody> </table> </form> </fl:bigTabs> <br> <table class="container" width="100%"> <tr class="fieldline"> <td colspan="2" style="text-align: center;"> <% if (canSend) { %> <a href="javascript:doSubmit();"><img src="<fl:webapp/>/icons/ico/valid_green_long.gif"></a> <% } %> <a href="javaScript:window.top.close();"><img src="<fl:webapp/>/icons/ico/fermer_red_long.gif"></a> </td> </tr> </table> </div> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de