Skip to content

Instantly share code, notes, and snippets.

@shostelet
Created December 12, 2016 16:10
Show Gist options
  • Save shostelet/07bdaa4073f1ddd0054eb32dc3c576c3 to your computer and use it in GitHub Desktop.
Save shostelet/07bdaa4073f1ddd0054eb32dc3c576c3 to your computer and use it in GitHub Desktop.
<!-- RAPPEL: fonction générique à coller dans les pages web. -->
<script type="text/javascript">
sas_tmstp=Math.round(Math.random()*10000000000);sas_masterflag=1;
function SmartAdServer(sas_pageid,sas_formatid,sas_target) {
if (sas_masterflag==1) {sas_masterflag=0;sas_master='M';} else {sas_master='S';};
document.write('<scr'+'ipt src="https://www3.smartadserver.com/call/pubj/' + sas_pageid + '/' + sas_formatid + '/' + sas_master + '/' + sas_tmstp + '/' + escape(sas_target) + '?"></scr'+'ipt>');
}
</script>
<!-- Smart AdServer video plugin -->
<script type="text/javascript" src="https://r.sascdn.com/video/config.js?nwid=367"></script>
<script type="text/javascript" src="https://r.sascdn.com/video/controller.js?nwid=367"></script>
<!-- JW Player library -->
<script type="text/javascript" src="https://jwpsrv.com/library/156hNL5zEeSYqAp+lcGdIw.js"></script>
<!-- fonction toutes les pages end -->
<!-- gigabane -->
<script type="text/javascript">
sas_pageid='76037/563685'; // Page : SportEasy/gratuit
sas_formatid=16572; // Format : Gigabane 1000x100
sas_target='{{ team.site.subdomain }}'; // Ciblage
SmartAdServer(sas_pageid,sas_formatid,sas_target);
</script>
<noscript>
<a href="https://www3.smartadserver.com/call/pubjumpi/76037/563685/16572/S/[timestamp]/?" target="_blank">
<img src="https://www3.smartadserver.com/call/pubi/76037/563685/16572/S/[timestamp]/?" border="0" alt="" /></a>
</noscript>
<!-- gigabane end -->
<!-- sidebar -->
<script type="text/javascript">
sas_pageid='76037/563685'; // Page : SportEasy/gratuit
sas_formatid=6188; // Format : Pave Top 300x250 300x250
sas_target='{{ team.site.subdomain }}'; // Ciblage
SmartAdServer(sas_pageid,sas_formatid,sas_target);
</script>
<noscript>
<a href="http://www3.smartadserver.com/call/pubjumpi/76037/563685/6188/S/[timestamp]/?" target="_blank">
<img src="http://www3.smartadserver.com/call/pubi/76037/563685/6188/S/[timestamp]/?" border="0" alt="" /></a>
</noscript>
<script type="text/javascript">
sas_pageid='76037/563685'; // Page : SportEasy/gratuit
sas_formatid=6231; // Format : Pave Bottom 300x250 300x250
sas_target='{{ team.site.subdomain }}'; // Ciblage
SmartAdServer(sas_pageid,sas_formatid,sas_target);
</script>
<noscript>
<a href="http://www3.smartadserver.com/call/pubjumpi/76037/563685/6231/S/[timestamp]/?" target="_blank">
<img src="http://www3.smartadserver.com/call/pubi/76037/563685/6231/S/[timestamp]/?" border="0" alt="" /></a>
</noscript>
<!-- sidebar end -->
<!-- footer -->
<script type="text/javascript">
sas_pageid='76037/563685'; // Page : SportEasy/gratuit
sas_formatid=9269; // Format : DHTML 1x1
sas_target='{{ team.site.subdomain }}'; // Ciblage
SmartAdServer(sas_pageid,sas_formatid,sas_target);
</script>
<noscript>
<a href="http://www3.smartadserver.com/call/pubjumpi/76037/563685/9269/M/[timestamp]/?" target="_blank">
<img src="http://www3.smartadserver.com/call/pubi/76037/563685/9269/M/[timestamp]/?" border="0" alt="" /></a>
</noscript>
<script type="text/javascript">
sas_pageid='76037/563685'; // Page : SportEasy/gratuit
sas_formatid=6235; // Format : Habillage 1x1
sas_target='{{ team.site.subdomain }}'; // Ciblage
SmartAdServer(sas_pageid,sas_formatid,sas_target);
</script>
<noscript>
<a href="http://www3.smartadserver.com/call/pubjumpi/76037/563685/6235/S/[timestamp]/?" target="_blank">
<img src="http://www3.smartadserver.com/call/pubi/76037/563685/6235/S/[timestamp]/?" border="0" alt="" /></a>
</noscript>
<!-- footer end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment