This file contains 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
$expectMarks = array('utm_source','utm_medium','utm_campaign','utm_term','utm_content');$utms = array();foreach($expectMarks as $utm){if(isset($_REQUEST[$utm])){ setcookie($utm,$_REQUEST[$utm],time()+60*60*24*365,"/");}} |
This file contains 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
<script>setTimeout(function(){history.back(1);},5000);</script> |
This file contains 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 class="input input-number"> | |
<button class="minus">‐</button> | |
<input type="number" name="" id="" class="" value="1"> | |
<button class="plus">+</button> | |
</div> |
This file contains 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
// page tags | |
<?php get_header(); ?> | |
<?php get_footer(); ?> | |
<?php bloginfo('template_url'); ?>/ | |
<?php /* Template Name: Index */ ?> | |
<?php get_template_part('partname'); ?> | |
<?php get_template_part('template-parts/content-post', get_post_type()); ?> | |
<?php wp_head(); ?> | |
<?php wp_footer(); ?> |
This file contains 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
<iframe src="https://www.youtube.com/embed/XXX?enablejsapi=1" frameborder="0" allowfullscreen></iframe> | |
<iframe src="https://www.youtube.com/embed/fjjkcWP4heM?rel=0&controls=0&showinfo=0&start=5&enablejsapi=1" frameborder="0" allowfullscreen></iframe> | |
<iframe src="https://www.youtube-nocookie.com/embed/knfrxj0T5NY" frameborder="0" allow="accelerometer; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> |
This file contains 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
<?php | |
function cmp($a, $b) { return strcmp($a["cat_letter"], $b["cat_letter"]); } | |
usort($infoCats, "cmp"); | |
?> |
This file contains 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
<a href="tel:<?php $phone = get_field('blog_header_phone', 4); echo str_replace(" ", "", $phone); ?>"> | |
<?php echo $phone; ?> | |
</a> |
This file contains 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
<label class="attach attachInput"> | |
<span>Загрузите ваше фото</span> | |
<input type="file" name="photo" class="photo" accept="image/*" required /> | |
</label> |
This file contains 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 id="header" class="header"> | |
<div id="headerWrap" class="header__wrap"> | |
</div> | |
</div> |
This file contains 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
<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU" type="text/javascript"></script> | |
<a class="mapFly" data-flyx="59.9178326" data-flyy="30.3937128">Санкт-петербург</a> | |
<a class="mapFly" data-flyx="55.755826" data-flyy="37.6173">Москва</a> | |
<script type="text/javascript"> | |
ymaps.ready(init); | |
function init() { |
NewerOlder