• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • Privacy Policy
  • Contact

ETVPASS

Continuous sports news

  • Sport Today
  • NFL
  • Tennis
  • UFC
  • Racing
  • Golf
  • Football
  • Boxing

Football: Challenge Pascal Zenier: Football in Moussey

August 13, 2020 by etvpass

Back to search



ChallengeZénier

Soccer


Challenge, organized by ESAM Avricourt-Moussey, in tribute to Pascal Zénier, former coach of SC Bataville football section, who died on April 26, 2019. Teams present: Badonviller, Chanteheux, Héming and Avricourt. Buffet at noon. Sale of pizza flams from 6.30 p.m.

$(window).load(function(){$.each(bufferLoad,function(){$.ajax({url:this,dataType:'script',cache:true});});});
$(document).ready(function() {GSOC_Init(‘4bda33c4-186d-4e85-af6d-280a894709e5', ‘/fr/communaute/');
function getCookie(cname) {
var name = cname + “=”;
var ca = document.cookie.split(‘;');
for (var i = 0; i < ca.length; i++) {
var c = ca(i);
while (c.charAt(0) == ' ') c = c.substring(1);
if (c.indexOf(name) == 0) return c.substring(name.length, c.length);
}
return "";
}

function AdBlockDetected(label, url, mode) {
var d = false;
if (mode == 1) {
d = true;
} else if (mode == 2) {
var n = "AdBlockDetected";
var c = getCookie(n);
if (c == null || c == '') {
if (typeof cookieDomain === 'undefined') {
document.cookie = n + '=d=1' + ';path=/';
} else {
document.cookie = n + '=d=1' + ';path=/;domain=' + cookieDomain;
}
d = true;
}
}
if (d) {
var htmlCorps = '

‘ + label + ‘accès au site
Adblock détecté !

Vous utilisez un logiciel bloqueur d’annonces publicitaires pour la consultation de notre site.

Nous attirons votre attention sur les points suivants :

  • La consultation d’informations sur le site ‘ + label + ‘ est en partie en accès libre
  • La production d’informations journalistiques a un coût
  • Pour que vous puissiez continuer à lire des informations crédibles et vérifiées gratuitement, il est absolument indispensable que nos partenaires commerciaux puissent figurer et être vus sur notre site

Merci par conséquent de bien vouloir désactiver votre bloqueur pour la consultation de notre site.

‘;
$(‘body').prepend(‘

‘);
$(‘.contentAdBlockDetect').html(htmlCorps);
$(‘#adBlockDetect').show();

if(typeof _gaq === ‘undefined') {
ga(‘send', ‘event', ‘AdBlocker', ‘Affichage-message-detection', ”);
} else {
_gaq.push((‘_trackEvent', ‘AdBlocker', ‘Affichage-message-detection', ”));
}
}
}

function adBlockDetected() {
AdBlockDetected(‘www.republicain-lorrain.fr', encodeURIComponent(‘https://www.republicain-lorrain.fr/pour-sortir/loisirs/Sport/Football/Lorraine/Moselle/Moussey/2020/08/15/Football-challenge-pascal-zenier'), 2);
}

if(typeof blockAdBlock === ‘undefined') {
adBlockDetected();
} else {
blockAdBlock.onDetected(adBlockDetected);
}
$ .smartbanner({
title: ‘Le Républicain Lorrain',
author: ‘Euro Information',
layer: 1,
daysHidden: 1,
daysReminder: 1,
price: ‘Disponible',
inAppStore: ‘sur l'App Store',
inGooglePlay: ‘sur Google Play',
inWindowsStore: ‘sur Windows Store',
appStoreLanguage: ‘fr',
button: ‘Ouvrir',
iOSUniversalApp: true,
onInstall: function(){
if (typeof _gaq === ‘undefined') {
ga(‘send', ‘event', ‘Mobile Applications', ‘install/open');
} else {
_gaq.push((‘_trackEvent', ‘Mobile Applications', ‘install/open', ”));
}
},
onClose: function() {
if (typeof _gaq === ‘undefined') {
ga(‘send', ‘event', ‘Mobile Applications', ‘close');
} else {
_gaq.push((‘_trackEvent', ‘Mobile Applications', ‘close', ”));
}
}
})
gtrf = {
slots:{},
adUnits:{},
apstagSlots:{},
withHB:(),
defaultSlots:(),
refresh:function(slotIds) {
if (typeof slotIds === ‘undefined')
slotIds = this.defaultSlots;
else
slotIds = ().concat(slotIds);

var slots = ();
var adUnits = ();
var adUnitCodes = ();
var apstagSlots = ();
var withHB = false;

for(var i=0;i<slotIds.length;i++){
var slotId = slotIds(i);
var slot = this.slots(slotId);
if(slot != null){
slots.push(slot);
var adUnit = this.adUnits(slotId);
if(adUnit != null){
adUnits.push(adUnit);
adUnitCodes.push(slotId);
}
var apstagSlot = this.apstagSlots(slotId);
if(apstagSlot != null) apstagSlots.push(apstagSlot);
for(var j=0;j 0) {
var processed = false;

if(!processed && apstagSlots.length == 0 && !withHB){
this.processIAS(slots);
processed = true;
}

if(!processed && (apstagSlots.length > 0 || withHB)){
this.processHB(slots, adUnitCodes, adUnits, apstagSlots);
processed = true;
}

if(!processed) {
googletag.cmd.push(function(){
googletag.pubads().refresh(slots);
});
}
}
}
,processIAS : function(slots) {
var IAS_PET_TIMEOUT = 2000;
var adserverRequestSent = false;

var __iasPET = window.__iasPET || {};
if(typeof window.__iasPET !== ‘undefined')
{
window.__iasPET.queue = window.__iasPET.queue || ();
window.__iasPET.pubId = ‘924825';

requestAds = function(){
if(adserverRequestSent) return;
clearTimeout(iasTimeOut);

googletag.cmd.push(function(){
googletag.pubads().refresh(slots);
});

adserverRequestSent = true;
}

iasDataHandler = function (adSlotData){
window.__iasPET.setTargetingForGPT();
requestAds();
}

var iasTimeOut = setTimeout(function(){
requestAds();
}, IAS_PET_TIMEOUT);

googletag.cmd.push(function(){
var iasPETSlots = ();
var gptSlots = slots;

for (var i = 0; i 0) {
window.pbjs.que.push(function(){
window.pbjs.aliasBidder(‘appnexus', ‘366_appnexus');
window.pbjs.aliasBidder(‘smartadserver', ‘366_smartadserver');
window.pbjs.aliasBidder(‘rubicon', ‘366_rubicon');
window.pbjs.addAdUnits(requestManager.adUnits);
window.pbjs.requestBids({
adUnitCodes:requestManager.adUnitCodes,
timeout:TIMEOUT,
bidsBackHandler:function (bidResponses){
headerBidderBack(‘prebid');
}
});
});
}

if (requestManager.apstagSlots.length > 0) {
window.apstag.fetchBids({
slots:requestManager.apstagSlots
},
function(bids){
headerBidderBack(‘a9');
});
}
}

requestBids();
window.setTimeout(function(){
sendAdserverRequest();
},
TIMEOUT);
};

fetchHeaderBids(apstagSlots, adUnits);
}
else
{
if(typeof googletag !== ‘undefined' && typeof(googletag.pubads) === ‘function')
{
googletag.cmd.push(function(){
googletag.pubads().refresh(slots);
});
}
}
}
};

googletag.cmd.push(function(){
var documentSize = document.documentElement.clientWidth;

var pbjs = window.pbjs || {};
if(typeof window.pbjs !== ‘undefined')
{
window.pbjs.que = window.pbjs.que || ();
window.pbjs.bidderSettings = {
ias:{
alwaysUseBid:true,
sendStandardTargeting:false,
suppressEmptyKeys:true,
adserverTargeting:(
{
key:'adt',
val:function(bidResponse){
return bidResponse.adt;
}
},
{
key:'alc',
val:function(bidResponse){
return bidResponse.alc;
}
},
{
key:'dlm',
val:function(bidResponse){
return bidResponse.dlm;
}
},
{
key:'drg',
val:function(bidResponse){
return bidResponse.drg;
}
},
{
key:'hat',
val:function(bidResponse){
return bidResponse.hat;
}
},
{
key:'off',
val:function(bidResponse){
return bidResponse.off;
}
},
{
key:'vio',
val:function(bidResponse){
return bidResponse.vio;
}
},
{
key:'fr',
val:function(bidResponse){
return bidResponse.fr;
}
},
{
key:'id',
val:function(bidResponse){
var match = bidResponse.slots(bidResponse.adUnitCode);
return match.id;
}
},
{
key:'vw',
val:function(bidResponse){
var match = bidResponse.slots(bidResponse.adUnitCode);
return match.vw;
}
}
)
}
}
window.pbjs.setConfig({ priceGranularity:”high” });
window.pbjs.setConfig({
consentManagement:{
gdpr:{
cmpApi:'iab',
timeout:8000,
defaultGdprScope:true
}
}
});
window.pbjs.setConfig({
currency: {
adServerCurrency: “EUR”
}
});
window.apstag.init({
pubID:'3697′,
adServer:'googletag'
});
}

googletag.pubads().disableInitialLoad();

googletag.pubads().setTargeting(“cp”, (“eventdetailscomponent”));
googletag.pubads().setTargeting(“lc”, (“moussey”));
googletag.pubads().setTargeting(“ld”, (“57”));
googletag.pubads().setTargeting(“lr”, (“lorraine”));
googletag.pubads().setTargeting(“lp”, (“france”));
googletag.pubads().setTargeting(“ec”, (“edition-sarrebourg-chateau-salins”));
googletag.pubads().setTargeting(“th”, (“football”));
googletag.pubads().setTargeting(“k”, (“loisirs”, “pour-sortir”));
googletag.pubads().setTargeting(“s”, (“loisirs”, “pour-sortir”));
googletag.pubads().setTargeting(“env”, (“p”));
googletag.pubads().setTargeting(“vm”, “w”);
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs(true);
googletag.companionAds().setRefreshUnfilledSlots(true);
googletag.pubads().enableVideoAds();

var displayMode;
var blockSizes;
var bids;
// pub-dfp-p0
if ($(‘#pub-dfp-p0').length > 0) {
gtrf.defaultSlots.push(‘pub-dfp-p0');
gtrf.slots(‘pub-dfp-p0') = googletag.defineOutOfPageSlot(“/8695/lrl/pour-sortir/p0″,”pub-dfp-p0”).addService(googletag.pubads()).setTargeting(“p”,”p0″);

blockSizes = (1, 1);

bids = ();

if(bids.length > 0) gtrf.withHB.push(‘pub-dfp-p0′);
bids.push({
bidder:'ias',
params:{
pubId:'924825′,
adUnitPath:'/8695/lrl/pour-sortir/p0′
}
});
if(bids.length > 0){
gtrf.adUnits(‘pub-dfp-p0′) = {
code:'pub-dfp-p0′,
pubstack:{
adUnitPath:'/8695/lrl/pour-sortir/p0?p=p0'
},
mediaTypes:{
banner:{
sizes:blockSizes
}
},
bids:bids
};
}

googletag.display(“pub-dfp-p0”);
}

googletag.enableServices();
gtrf.refresh();
});

Connection = {
Initialize : function(){
Connection.AttachEvents.All();

//Erreur serveur
if ( $(“body:not(.AuthenticationComponent) div.GXCO_Identification”).find(“ul.alert–danger”).length > 0 ){
$(“body”).addClass(“hasModal”);
$(“body”).prepend(‘

‘);
$(‘.GXCO_content').show();
}
},
Validate: {
Form: function(){
var modal = $(“div.GXCO_Identification”);
var txtEmail = modal.find(“#txtId”);
var txtMdp = modal.find(“#txtMdp”);

modal.find(“ul.alert–danger”).remove();
txtEmail.removeClass(“error”);
txtMdp.removeClass(“error”);

var arrayError = ();
var regexEmail = /^(a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-)+@(a-zA-Z0-9-)+(?:.(a-zA-Z0-9-)+)*$/;

if (txtEmail.val() == “”){
arrayError.push(“Veuillez saisir une adresse e-mail.”);
txtEmail.addClass(“error”);
$(‘.labelField(for=”txtId”)').addClass(“error”);
}else if(!regexEmail.test(txtEmail.val())){
arrayError.push(“Veuillez saisir une adresse e-mail valide.”);
txtEmail.addClass(“error”);
$(‘.labelField(for=”txtId”)').addClass(“error”);
}

if (txtMdp.val() == “”){
arrayError.push(“Veuillez saisir un mot de passe.”);
txtMdp.addClass(“error”);
$(‘.labelField(for=”txtMdp”)').addClass(“error”);
}

if (arrayError.length == 0){
return true;
}else{
var ul = $(“

    “).addClass(“alert–danger”);
    //var ul = $(“”);
    //div.append(ul);

    for(var i = 0; i < arrayError.length; i++){
    $("

  • “).text(arrayError(i)).appendTo(ul);
    }

    var titre = modal.find(“div.title”);
    titre.after(ul);

    return false;
    }
    },
    },

    WaitForAuth:{
    Start : function(){
    if ($ .cookie(‘gxco_oauth') !== undefined)
    {
    console.log(‘suppression cookie existant')
    $ .removeCookie(“gxco_oauth”);
    }
    Connection.Timer.Stop();
    Connection.Timer.Start();
    }
    },
    AttachEvents: {
    All: function(){
    Connection.AttachEvents.Modal.Open();
    Connection.AttachEvents.Modal.Close();
    Connection.AttachEvents.Facebook.Open();
    Connection.AttachEvents.Google.Open();
    },
    Modal : {
    Open: function(){
    $(“.showBoxConnect”).unbind(‘click').bind(‘click', function(){
    $(“div.GXCO_Identification”).find(“ul.alert–danger”).remove();
    $(“body”).addClass(“hasModal”);
    if($(‘.overlay').length == 0) {
    $(“body”).prepend(‘

    ‘);
    }
    $(‘.GXCO_content').show();
    $(‘#navBurger .navBurgerWrapper').animate({ marginLeft: ‘-100%' }, 150);
    $(‘#navBurger .burgerOverlay').fadeOut(150);
    $(‘#navBurger').delay(150).hide(0).removeClass(‘visible');
    });
    },
    Close: function(){
    $(“.modal .modalClose, .overlay”).unbind(‘click').bind(‘click', function(event){
    if( $(event.target).is(“.modal .modalClose, .overlay”) ){
    $(“body”).removeClass(“hasModal”);
    if($(‘.overlay').length == 0) {
    $(“body”).remove(‘.overlay');
    }
    $(‘.GXCO_content').hide();
    }
    });
    },
    },
    Facebook: {
    Open: function(){
    $(“a.bt_fbConnect”).unbind(‘click').bind(‘click', function(){
    var newwindow = window.open(‘https://www.facebook.com/v3.1/dialog/oauth?client_id=471720936972771&redirect_uri=https:%2f%2fwww.republicain-lorrain.fr%2fe-services%2foAuthRedirect&scope=public_profile%2cemail&state=FB', ‘oAuth', ‘width=600,height=800,addressbar=no,toolbar=no,scrollbars=no');
    Connection.WaitForAuth.Start();
    });
    },
    },
    Google: {
    Open: function(){
    $(“a.bt_googleConnect”).unbind(‘click').bind(‘click', function(){
    var newwindow = window.open(‘https://accounts.google.com/o/oauth2/v2/auth?client_id=963208608318-a0s5b7i668i8ogeoepn2qiviadjitaf3.apps.googleusercontent.com&redirect_uri=https:%2f%2fwww.republicain-lorrain.fr%2fe-services%2foAuthRedirect&scope=https:%2f%2fwww.googleapis.com%2fauth%2fuserinfo.email+https:%2f%2fwww.googleapis.com%2fauth%2fuserinfo.profile&state=GG&access_type=offline&include_granted_scopes=true&response_type=code', ‘_blank', ‘width=600,height=800,addressbar=no,toolbar=no,scrollbars=no');
    Connection.WaitForAuth.Start();
    });
    },
    },
    },
    Timer: {
    PROVIDER : undefined,
    Start: function (){
    if (Connection.Timer.PROVIDER === undefined)
    {
    Connection.Timer.PROVIDER = setInterval(function(){
    console.log(‘— WAIT');
    if ($ .cookie(‘gxco_oauth') !== undefined)
    {
    console.log(‘— Cookie Found : ‘ + $ .cookie(‘gxco_oauth'));
    Connection.Timer.Stop();

    if ($ .cookie(‘gxco_oauth') == ‘AUTH')
    window.location.reload();

    if ($ .cookie(‘gxco_oauth') == ‘TOVA')
    window.location.href = “https://www.republicain-lorrain.fr/e-services/CreateAccount”;
    }
    }, 500);
    console.log(‘– Timer Facebook (‘ + Connection.Timer.PROVIDER + ‘) – START');
    }
    },
    Stop: function (){
    if (Connection.Timer.PROVIDER !== undefined)
    {
    console.log(‘– Timer Facebook (‘ + Connection.Timer.PROVIDER + ‘) – STOP');
    clearInterval(Connection.Timer.PROVIDER);
    Connection.Timer.PROVIDER = undefined;
    }
    },
    },
    };

    Connection.Initialize();
    $(“#showPassword2”).on(‘click', function(){
    $(this).toggleClass(‘show');
    var input = $(this).prev();
    if (input.attr(“type”) == “password”) {
    input.attr(“type”, “text”);
    } else {
    input.attr(“type”, “password”);
    }
    });
    /* renvoi email activation compte */
    ApprovalMail = {
    Send : function(email, approvalUrl){
    var strData = “{approvalUrl: “” + approvalUrl + “”, email: “” + email + “”}”;
    $ .ajax({
    type: “POST”,
    url: “/webservices/CDM.GPRF.Web/CDM.GPRF.Web.Services.ProfileService.asmx/SendActivationMail”,
    data: strData,
    contentType: “application/json; charset=utf-8”,
    dataType: “json”
    });
    return false;
    }
    }

    CheckPassword = {
    KeyUpDelay : 1000,
    LastCheck : Date.now(),
    CheckDirect : function(password,type){

    if (type == “validate”)
    {
    if ((Date.now() – CheckPassword.LastCheck) < CheckPassword.KeyUpDelay)
    return;
    }

    var result = null;
    $ .ajax({
    type: "POST",
    url: "/webservices/CDM.GXCO.Web/CDM.GXCO.Web.Service.UsersService.asmx/PasswordIsValidWithReason2",
    cache: "false",
    dataType: "json",
    async: false,
    contentType: "application/json; charset=utf-8",
    data: "{password: "" + password + ""}",
    success: function (data) {
    result = data.d;
    }
    });

    //rules = result.rules;
    rules = result;
    CheckPassword.UpdateList(rules,type);
    }
    ,
    Check : function(password,type){

    if (type == "validate")
    {
    CheckPassword.LastCheck = Date.now();
    setTimeout(function(){ CheckPassword.CheckDirect(password,type);}, CheckPassword.KeyUpDelay);
    }
    else
    CheckPassword.CheckDirect(password,type);
    }
    ,
    UpdateList : function(rules,type)
    {
    $("#divPasswordMessages").parent().addClass("containerInputError").removeClass("containerInputAllValid");
    $("#divPasswordMessages").empty();

    var allValid = "";
    if(rules.isvalid) {
    allValid = "class='allValid'";
    $("#divPasswordMessages").parent().removeClass("containerInputError").addClass("containerInputAllValid");

    if(type == "blur") {
    $("#divPasswordMessages").parent().removeClass("containerInputAllValid");
    }
    }
    else {
    $("#divPasswordMessages").parent().removeClass("containerInputAllValid");
    }

    var ul = $("

      “);
      ul.prop(“id”,”lPasswordMessages”);

      for(i in rules.rules)
      {
      var li = $(“

    • “);
      li.text(rules.rules(i).Label);

      if (rules.rules(i).IsValidate == true)
      {
      if (type == “focus” || type == “validate”)
      {
      li.addClass(“rulesOK”);
      ul.append(li);
      }
      }
      else
      {
      li.addClass(“rulesKO”);
      ul.append(li);
      }
      }

      if (ul.children(“li”).length > 0)
      $(“#divPasswordMessages”).append(ul);

      }
      };

      $(‘#CreateAccountForm').validate({
      errorElement: “span”,
      rules: {
      ctl00_txtEmail: {
      required: true
      },
      ctl00_txtMdp: {
      required: true
      }
      },
      messages: {
      ctl00_txtEmail: {
      required: “Ce champ est obligatoire”,
      },
      ctl00_txtMdp: {
      required: “Ce champ est obligatoire”,
      }
      }
      });

      $(“#ctl00_txtMdpCreate”).focus(function(event) {
      CheckPassword.Check($(event.target).val(),”focus”);
      });

      $(“#ctl00_txtMdpCreate”).blur(function(event) {
      CheckPassword.Check($(event.target).val(),”blur”);
      });

      $(“#ctl00_txtMdpCreate”).keyup(function(event) {
      CheckPassword.Check($(event.target).val(),”validate”);
      });

      $(“#showPassword”).on(‘click', function(){
      $(this).toggleClass(‘show');
      var input = $(this).prev();
      if (input.attr(“type”) == “password”) {
      input.attr(“type”, “text”);
      } else {
      input.attr(“type”, “password”);
      }
      });

      CheckCreation = {
      Init : function(){
      CheckCreation.AttachEv.All();
      //Erreur serveur
      if ( $(“body:not(.AuthenticationComponent):not(.ChangePasswordByLinkComponent)”).find(“.messageBox.error”).length > 0 ) {
      $(“body”).addClass(“hasModal”);
      $(“body”).prepend(‘

      ‘);
      $(‘.GPRF_NextWeb').show();
      }
      },
      AttachEv: {
      All: function(){
      CheckCreation.AttachEv.Modal.Open();
      CheckCreation.AttachEv.Modal.Close();
      },
      Modal : {
      Open: function(){
      $(“.link_createAccount”).unbind(‘click').bind(‘click', function(){
      $(“div.GPRF_NextWeb”).find(“ul.alert–danger”).remove();
      $(“body”).addClass(“hasModal”);
      if($(‘.overlay').length == 0) {
      $(“body”).prepend(‘

      ‘);
      }
      $(‘.modal').hide();
      $(‘.GPRF_NextWeb').show();
      $(‘#navBurger .navBurgerWrapper').animate({ marginLeft: ‘-100%' }, 150);
      $(‘#navBurger .burgerOverlay').fadeOut(150);
      $(‘#navBurger').delay(150).hide(0).removeClass(‘visible');
      });
      },
      Close: function(){
      $(“.modal .modalClose, .overlay”).unbind(‘click').bind(‘click', function(event){
      if( $(event.target).is(“.modal .modalClose, .overlay”) ){
      $(“body”).removeClass(“hasModal”);
      if($(‘.overlay').length == 0) {
      $(“body”).remove(‘.overlay');
      }
      $(‘.modal').hide();
      }
      });
      },
      },
      }
      };

      //CheckCreation.Init();
      $(function(){
      $(function() {
      $(“.datepicker “).datepicker({
      showMonthAfterYear: false,
      dateFormat: ‘dd/mm/yy',
      monthNames: (‘Janvier', ‘Février', ‘Mars', ‘Avril', ‘Mai', ‘Juin', ‘Juillet', ‘Août', ‘Septembre', ‘Octobre', ‘Novembre', ‘Décembre'),
      monthNamesShort: (‘Jan', ‘Fév', ‘Mar', ‘Avr', ‘Mai', ‘Jun', ‘Jul', ‘Aoû', ‘Sep', ‘Oct', ‘Nov', ‘Déc'),
      dayNames: (‘Dimanche', ‘Lundi', ‘Mardi', ‘Mercredi', ‘Jeudi', ‘Vendredi', ‘Samedi'),
      dayNamesShort: (‘Dim', ‘Lun', ‘Mar', ‘Mer', ‘Jeu', ‘Ven', ‘Sam'),
      dayNamesMin: (‘Di', ‘Lu', ‘Ma', ‘Me', ‘Je', ‘Ve', ‘Sa'),
      onSelect: function () { },
      numberOfMonths: 1,
      minDate: 0
      });
      $(“#ui-datepicker-div”).wrap(“

      “);
      });
      });

      GeoSearch0 = {
      Clear : function()
      {
      if($(“(name='GEVT_Agenda_TbxWhere_dnfta')”).val() != “Autour de ma position”)
      {
      $(“(name='GEVT_Agenda_hfLatitude')”).val(“”);
      $(“(name='GEVT_Agenda_hfLongitude')”).val(“”);
      }
      },
      Locate : function()
      {
      if (navigator.geolocation)
      navigator.geolocation.getCurrentPosition(GeoSearch0.GetPosition, GeoSearch0.GeoError);
      else
      alert(“La géolocalisation n'est pas disponible sur ce navigateur”);
      },
      GetPosition : function(position)
      {
      $(“(name='GEVT_Agenda_hfLatitude')”).val(position.coords.latitude);
      $(“(name='GEVT_Agenda_hfLongitude')”).val(position.coords.longitude);
      $(“(name='GEVT_Agenda_TbxWhere_dnfta')”).val(“Autour de ma position”);
      },
      GeoError : function()
      {
      alert(“Votre position n'a pas pu être déterminée.”);
      }
      };
      (function (d, s, id) {var js, fjs = d.getElementsByTagName(s)(0);if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = “https://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.5”;fjs.parentNode.insertBefore(js, fjs);} (document, ‘script', ‘facebook-jssdk'));
      window.___gcfg = {lang: ‘fr'};(function () {var po = document.createElement(‘script'); po.type = ‘text/javascript'; po.async = true;po.src = ‘https://apis.google.com/js/plusone.js';var s = document.getElementsByTagName(‘script')(0); s.parentNode.insertBefore(po, s);})();
      // Largeur de la legende
      var imageWidth = $(“.slides_container > a > img”).outerWidth();
      $(‘#media #credits').css({
      width: imageWidth
      });
      // Revealing Module Pattern + Singleton
      var eventMapModule = (function ($) {

      var _debug = false;
      var console = window.console || null;
      if (console == undefined || console == null)
      _debug = false;

      if (_debug) console.log(“eventMapModule: Inside eventMapModule”);

      // Référence au singleton
      var _instance;

      // Récupération de l'instance du singleton si elle existe, création d'une instance dans le cas contraire
      function getInstance()
      {
      if (_debug) console.log(“eventMapModule: getInstance()”);
      if (!_instance) {
      _instance = initInstance();
      }
      return _instance;
      }

      // Création d'une instance d'eventMapModule
      function initInstance() {
      if (_debug) console.log(“eventMapModule: initInstance()”);

      // ******************************************************************
      // Paramétrage UI
      // ******************************************************************

      //Cacher le bouton “Ma Position” pour les versions d'ie ne supportant pas la fonctionalité de géolocalisation
      // if (.browser && .browser <= 8)
      //if (navigator.userAgent.toLowerCase().search("msie") != -1)
      // $('#shareLocationButton').hide();

      var _mapData = $("#GEVT_Agenda_GoogleMap_Data_Detail");
      var _mapContainer = document.getElementById('directionsMapCanvas');
      var _eventData = _getEventData();

      // ******************************************************************
      // Paramètres carte et marker
      // ******************************************************************
      var _latlng = new google.maps.LatLng(_eventData.latitude, _eventData.longitude);
      var _zoom = 16;
      var _mapOptions = {
      center: _latlng,
      zoom: _zoom,
      mapTypeControl: true,
      mapTypeId: google.maps.MapTypeId.ROADMAP,
      minZoom: 2
      };
      var _directionsRendererOptions = {
      draggable: true,
      suppressMarkers: true
      };
      var _markerOptions = {
      animation: google.maps.Animation.DROP,
      position: _latlng,
      title: _eventData.title,
      icon: _eventData.imgMarker
      };

      var _map, _marker, _directionsService, _directionsRenderer;

      // ******************************************************************
      // Méthodes privées
      // ******************************************************************
      function _getEventData() {
      if (_debug) console.log("eventMapModule: _getEventData()");
      var data = _mapData.val();
      if (data == null || data == '')
      return null;
      var splited = data.split("https://www.republicain-lorrain.fr/#");
      return {
      latitude: splited(0),
      longitude: splited(1),
      title: splited(2),
      imgMarker: 'https://cdn-files.prsmedia.fr/files/fr/GEVT/images/marker' + splited(3) + '.png'
      };
      }

      function _panTo(latLng) {
      if (_debug)
      console.log("eventMapModule: panTo");
      var newLatLng = _latlng; // Position par défaut = position du marker
      if (latLng)
      newLatLng = latLng // Si un latlng est passé en paramètre, utilisation de ce dernier
      _map.panTo(newLatLng);
      }

      function _setZoom(zoom) {
      if (_debug)
      console.log("eventMapModule: setZoom");
      var newZoom = _zoom;
      if (zoom)
      newZoom = zoom // Si un latlng est passé en paramètre, utilisation de ce dernier
      _map.setZoom(newZoom);
      }

      // @brief : Affichage de l'itinéraire sur la carte
      // @params : origin : google.maps.LatLng|string
      function _showDirections(origin) {
      if (_debug)
      console.log("eventMapModule: showDirections");
      var selectedMode = document.getElementById('travelMode').value;

      _directionsRenderer.setMap(null); //Clean previous drawn directions
      _directionsRenderer.setMap(_map);

      var request = {
      origin: origin,
      destination: _latlng,
      travelMode: selectedMode
      }

      _directionsService.route(request, function (response, status) {
      if (status == google.maps.DirectionsStatus.OK) {
      _directionsRenderer.setDirections(response); //Draws directions on the map

      // Mise à jour du lien vers le détail de l'itinéraire
      var dirFlag = "";
      if (selectedMode == "WALKING") dirFlag = "&dirflg=w";
      if (selectedMode == "BICYCLING") dirFlag = "&dirflg=b";

      $("#showOnGMaps").attr("href", "https://google.com/maps?saddr=" + origin + "&daddr=" + _latlng + dirFlag);
      $("#showOnGMaps").show();
      }
      });
      }

      if (navigator.geolocation) {
      function _geoSuccess(position) {
      var origin = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
      //.fancybox;
      $("#visitorAddress").val(position.coords.latitude + ',' + position.coords.longitude);
      }

      function _geoError() {
      alert("Nous n'avons pas pu vous déterminer votre localisation.");
      //.fancybox;
      }

      var _geoOptions = {
      enableHighAccuracy: true,
      maximumAge: 30000,
      timeout: 27000
      };

      // $('#shareLocationButton').click(function () {
      $('#shareLocationButton').on("click",function () {
      //.fancybox;
      navigator.geolocation.getCurrentPosition(_geoSuccess, _geoError, _geoOptions);
      });
      } else {
      $('#geolocationPart').hide(); //hide the geolocation part, if geolocation API is not supported !
      }

      // ******************************************************************
      // Méthodes publiques
      // ******************************************************************
      function setDefaultPosition() {
      if (_debug)
      console.log("eventMapModule: setDefaultPosition");
      _panTo();
      _setZoom();
      }

      // Si la récupération des données de l'événements à échoué === fin du traitement
      if (!_eventData)
      return false;

      // ******************************************************************
      // Création des cartes + services
      // ******************************************************************
      _map = new google.maps.Map(_mapContainer, _mapOptions);

      //
      //Prevent to click on the overlay while dragging the map.
      var _currentDragging = false;
      google.maps.event.addListener(_map, ‘dragstart', function () {
      _currentDragging = true;
      });
      google.maps.event.addListener(_map, ‘dragend', function (e) {
      setTimeout(function () {
      _currentDragging = false;
      }, 100);
      });
      //

      // Création du marker et ajout à la carte
      _marker = new google.maps.Marker({
      animation: google.maps.Animation.DROP,
      position: _latlng,
      title: _eventData.title,
      icon: _eventData.imgMarker
      });
      _marker.setMap(_map);
      _directionsService = new google.maps.DirectionsService();
      _directionsRenderer = new google.maps.DirectionsRenderer(_directionsRendererOptions);

      // $(‘#validateAddress').click(function () {
      $(‘#validateAddress').on(“click”,function () {
      //.fancybox;
      var origin = $(‘#visitorAddress').val();
      if (origin != ”) {
      _showDirections(origin);
      }
      });

      // ******************************************************************
      // Méthodes et propriétés publiques
      // ******************************************************************
      return {
      // API publique du module eventMapModule
      setDefaultPosition: setDefaultPosition,
      currentDragging: function () { return _currentDragging; }
      }
      }; //function initInstance()

      return {
      getInstance: getInstance
      };
      })(jQuery);

      var eventMapModuleInstance;
      var gmapUrl = “https://maps.google.com/maps/api/js?v=3.8&sensor=false&language=fr&client=gme-euroinformationsas&channel=PRESSE”;
      var gmapLoaded = false;
      var LoadGmap = function(clb) {
      if (!gmapLoaded) {
      window.gMapClb = function() {
      window.gMapClb = null;
      gmapLoaded = true;
      clb();
      };

      jQuery.ajax({url: gmapUrl+'&callback=gMapClb', dataType: ‘script'});
      } else {
      clb();
      }
      };

      jQuery(function ($) {
      //$(“.fancybox”).fancybox();

      /*$(‘#showDirectionsButton').fancybox({
      ‘helpers': { overlay: { closeClick: true} },
      ‘href': ‘#map',
      ‘beforeLoad': function () {},
      ‘afterShow': function () {
      LoadGmap(DisplayMap);
      },
      ‘beforeClose': function () {
      //
      //Prevent to click on the overlay while dragging the map.
      if (eventMapModuleInstance.currentDragging())
      return false;
      //
      //jQuery.fancybox.hideLoading();
      // $(document).unbind(‘keypress.map');
      $(document).off(“bind”, ‘keypress.map');
      }
      });*/

      $(“#map”).dialog({
      resizable: false,
      autoOpen : false,
      height: “auto”,
      width: 540,
      modal: true,
      buttons: {
      Fermer: function() {
      //
      //Prevent to click on the overlay while dragging the map.
      if (eventMapModuleInstance.currentDragging())
      return false;
      //
      $(document).off(“bind”, ‘keypress.map');
      }
      }
      });

      $(‘#showDirectionsButton').on(“click”, function(){
      $(“#map”).dialog(“open”);
      LoadGmap(DisplayMap);
      });
      });

      function DisplayMap()
      {
      eventMapModuleInstance = eventMapModule.getInstance();
      eventMapModuleInstance.setDefaultPosition();
      //On bind l'appui de la touche enter sur le bouton itinéraire
      // $(document).bind(‘keypress.map', function (e) {
      $(document).on(“bind”, ‘keypress.map', function (e) {
      if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) { //S'il s'agit de la touche “Entrée”
      // $(“#validateAddress”).click();
      $(“#validateAddress”).trigger(“click”);
      e.preventDefault();
      }
      });
      }

      EventDetail = {
      Actions: {
      AdditionalDescription: {
      Toggle: function(){
      $(“p.AdditionalDescription”).slideToggle();
      $(“a.showMore”).toggle();
      $(“a.hideMore”).toggle();
      },
      },
      },
      };

      $.each(bufferScript,function(){this()});});
      — to www.republicain-lorrain.fr

Filed Under: Football Tagged With: challenge, Football, Moussey, Pascal, Zenier

Primary Sidebar

sales funnel

RECENT POSTS

on which channels to watch the Montreal Masters 1000?

After Los Cabos and Washington, issues are getting … [Read More...] about on which channels to watch the Montreal Masters 1000?

the patients of the Oncopole of Toulouse no longer support the wild races under their windows

On Friday evenings, "run" lovers meet on the … [Read More...] about the patients of the Oncopole of Toulouse no longer support the wild races under their windows

ATP and WTA Tennis prediction for Montreal and Toronto for August 8

Make manner for the American tour with the … [Read More...] about ATP and WTA Tennis prediction for Montreal and Toronto for August 8

GOLF: The week of 30 years of golf ended this Sunday

The competitors came about over two days, Saturday … [Read More...] about GOLF: The week of 30 years of golf ended this Sunday

© 2022 Etvpass

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT