Files
anpdf/app/modules/anpdf/anpdf.phtml
Вячеслав 1fc5e300ed Update anpdf.phtml
2020-04-02 14:29:31 +00:00

115 lines
4.8 KiB
PHTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html>
<head>
<title><?=$title?></title>
<script src="//mozilla.github.io/pdf.js/build/pdf.js"></script>
<link rel="icon" type="image/ico" href="https://argumenti.ru/favicon.ico">
</head>
<body style="width: 87%;margin: 0px auto;margin-top: 2%;background: #f5f5f5;">
<!-- Rating Mail.ru counter -->
<script type="text/javascript">
var _tmr = window._tmr || (window._tmr = []);
_tmr.push({id: "1069168", type: "pageView", start: (new Date()).getTime()});
(function (d, w, id) {
if (d.getElementById(id)) return;
var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id;
ts.src = "https://top-fwz1.mail.ru/js/code.js";
var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);};
if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); }
})(document, window, "topmailru-code");
</script><noscript><div>
<img src="https://top-fwz1.mail.ru/counter?id=1069168;js=na" style="border:0;position:absolute;left:-9999px;" alt="Top.Mail.Ru" />
</div></noscript>
<!-- //Rating Mail.ru counter -->
<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(26004090, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true
});
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/26004090" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-11186859-1', 'auto');
ga('send', 'pageview');
</script>
<h1 style="font-size: 1.4em;text-align: center;">
<a style="color: #4e4f55;text-decoration:underline;" href="https://argumenti.ru/">Аргументы Недели</a><a style="color: #4e4f55;text-decoration:underline;letter-spacing: 0.3px;" href="/"><?=$title?></a>
</h1>
<!-- Yandex.RTB R-A-50615-61 -->
<div id="yandex_rtb_R-A-50615-61"></div>
<script type="text/javascript">
(function(w, d, n, s, t) {
w[n] = w[n] || [];
w[n].push(function() {
Ya.Context.AdvManager.render({
blockId: "R-A-50615-61",
renderTo: "yandex_rtb_R-A-50615-61",
async: true
});
});
t = d.getElementsByTagName("script")[0];
s = d.createElement("script");
s.type = "text/javascript";
s.src = "//an.yandex.ru/system/context.js";
s.async = true;
t.parentNode.insertBefore(s, t);
})(this, this.document, "yandexContextAsyncCallbacks");
</script>
<canvas id="the-canvas" style="width:100%;margin: 2% 0;"></canvas>
<div style="display: flex;align-items:center;height: 51px;width: 100%;background: #2c2e35;box-sizing: border-box;">
<ul id="pdf-nav" style="font-size: 1.1em;width: 50%;">
<?if (isset($prevurl)):?>
<li style="list-style-type:none;margin-right: 10px;float: left;"><a style="color:white;" href="<?=$prevurl?>"><&nbsp;</a></li>
<?endif?>
<li style="list-style-type:none;color:white;margin-right: 10px;float: left;"><?=$page?></li>
<?if (isset($nexturl)):?>
<li style="list-style-type:none;margin-right: 10px;float: left;"><a style="color:white;" href="<?=$nexturl?>">&nbsp;></a></li>
<?endif?>
</ul>
<p style="width: 50%;background: #69c;display: flex;height: 51px;align-items: center;justify-content: center;font-weight: bold;font-size: 1.1em;">
<a style="color:white;" href="https://argumenti.ru/robomail/486?utm_source=argumenti.ru&utm_medium=subscript&utm_campaign=promo">Получайте «Газету на @email»</a>
</p>
</div>
<div id="smi_teaser_13132" style="width:100%;">
<center>
<a href="https://24smi.info/?utm_source=informer_13132">
Агрегатор новостей 24СМИ
</a>
</center>
</div>
<script type="text/JavaScript" encoding="utf8">
(function() {
var sm = document.createElement("script");
sm.type = "text/javascript";
sm.async = true;
sm.src = "//jsn.24smi.net/a/8/13132.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(sm, s);})();
</script>
<script>
var url = '<?=$pdfile?>';
var scale = <?=$scale?>;
var pageNumber = <?=$page?>;
</script>
<script src="/pub/scripts/anpdf.js"></script>
</body>
</html>