correct vij concurs

This commit is contained in:
2021-11-04 10:58:53 +03:00
parent 802939d8c6
commit 9d7c1a13ff
2 changed files with 1 additions and 8 deletions

View File

@@ -43,13 +43,6 @@ if (file_exists($votes_file)){
<?endif?>
<div><a href="<?the_permalink();?>"><strong><?the_title();?></strong></a></div>
<?if (!isset($_COOKIE[COOK_GOLOS])):?>
<div id="golos-<?=get_the_id()?>">
<br><button style="padding: 8px; cursor: pointer;" id="golos" onclick="javascript:add_golos(<?=get_the_id();?>, 'golos-<?=get_the_id()?>');">Проголосовать</button>
</div>
<?endif?>
<?if (isset($_COOKIE["vec_$curr_id"])):?>
<p>Спасибо за Ваш голос</p>

View File

@@ -39,7 +39,7 @@ $nn = 0;?>
<?$nn++?>
<?if ($nn == 2){
<?if ($nn == 9){
get_template_part( '/blocks/krasavica');
}
?>