correct index.php
This commit is contained in:
18
footer.php
18
footer.php
@@ -321,6 +321,24 @@ document.write('<img src="'+pr+'?uid=18820&ref='+r+'&rd='+rd+'" width="88" heigh
|
||||
</footer>
|
||||
|
||||
<?php get_template_part( 'partials/formhash' );?>
|
||||
<!-- Yandex.RTB R-A-4145099-7 -->
|
||||
<script>
|
||||
(function renderInImage(images) {
|
||||
if (!images.length) {
|
||||
return
|
||||
}
|
||||
const image = images.shift()
|
||||
image.id = `yandex_rtb_R-A-4145099-7-${Math.random().toString(16).slice(2)}`
|
||||
window.yaContextCb.push(() => {
|
||||
Ya.Context.AdvManager.render({
|
||||
"renderTo": image.id,
|
||||
"blockId": "R-A-4145099-7",
|
||||
"type": "inImage"
|
||||
})
|
||||
})
|
||||
renderInImage(images)
|
||||
})(Array.from(document.querySelectorAll("#post-img")))
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user