Last active
December 17, 2015 05:59
-
-
Save meritt/5561743 to your computer and use it in GitHub Desktop.
Promote http://digitaleconf.ru
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="width:100%;padding:7px 0 11px;background:#09c;color:#fff;font-size:18px;text-align:center">Приглашаем на нашу конференцию по маркетингу «<a href="http://digitaleconf.ru/?code=serenity" style="color:#fff">Digitale</a>» с 10% скидкой. <span id="d3"></span></div><script>!function(t){"use strict";try{var e=function(t,e){t=Math.abs(t)%100;var n=t%10;return t>10&&20>t?e[2]:n>1&&5>n?e[1]:1==n?e[0]:e[2]},n=new Date,a=new Date(2013,5,3),r=parseInt((a-n)/86400000,10)+1;if(r>0){t.getElementById("d3").innerHTML="До конференции осталось "+r+" "+e(r,["день","дня","дней"])+"."}}catch(c){}}(document);</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Нужно положить этот код сразу после
<body>
.Ссылку на партнёрскую программу и размер скидки можно изменить в тексте.
Демонстрация.