New 92 with coronavirus in Sofia for 24 hours, another 10 …

0
58


4884 PCR tests were performed in the country for the last 24 hours. Of these, 298 samples tested positive for the new coronavirus. This is shown by the data of the National Information System.

Here is the number of newly infected by districts: Blagoevgrad – 12; Burgas – 1, Varna – 35; Veliko Tarnovo – 15; Vratsa – 6; Dobrich – 14; Kardzhali – 2; Kyustendil – 12; Lovech – 1, Pazardzhik – 6; Pernik – 4; Pleven – 4; Plovdiv – 38; Razgrad – 2; Ruse – 9; Silistra – 2; Sliven – 8, Smolyan – 6; Sofia region – 13; Sofia (city) – 92; Stara Zagora – 8; Targovishte – 2; Haskovo – 4; Shumen– 2.

The total number of confirmed cases of infection is 8442, of which 4112 are active. In the last 24 hours, another 106 people have battled the virus. Thus, the total number of cured people in the country is already 4033.

There are 606 people admitted to hospital with COVID-19, 33 of them are in intensive care units.

For the past 24 hours there are 4 people who died with a proven corovavirus. The total number of deaths for the country is 297.

<

script>

paragrafCount = $('.article-content p').length

if(paragrafCount > 10)
    $('.article-content p:nth-child(10)').after(`
                        <div class="related-articles clear">
                <div class="list-thumb "><!--Lsit Articles with thumb-->
    <ul>
                        <li>

                    <span class="thumb">
                        <div class="art-type">
                                                                                        </div>
                                                        <img class="img-responsive lazy"  src="https://stolica.bg/wp-content/uploads/2020/07/thumb_test_tube_5065426_960_720.jpg" alt="coronavirus" title="Due to three coronavirus programs, Hristo Botev is in summer mode"  bad-src="/img/pixel.png">
                                                </span>
                    <div class="art-system">
                            <div class="date"><i class="material-icons">access_time</i> 05/07/2020</div>
                            <div class="comment"><i class="material-icons">comment</i> 0 </div>
                            <div class="views"><i class="material-icons">visibility</i> 325 </div>
                    </div>
                                            <span class="data">Due to three coronavirus programs, Hristo Botev is in summer mode</span>

            </li>
                        <li>

                    <span class="thumb">
                        <div class="art-type">
                                                                                        </div>
                                                        <img class="img-responsive lazy"  src="https://stolica.bg/wp-content/uploads/2020/07/thumb_covid_19_4908690_960_720.png" alt="COVID-19 tests" title="Sofia leads with 58 infected with COVID-19 for the day"  bad-src="/img/pixel.png">
                                                </span>
                    <div class="art-system">
                            <div class="date"><i class="material-icons">access_time</i> 05/07/2020</div>
                            <div class="comment"><i class="material-icons">comment</i> 0 </div>
                            <div class="views"><i class="material-icons">visibility</i> 1194 </div>
                    </div>
                                            <span class="data">Sofia leads with 58 infected with COVID-19 for the day</span>

            </li>
                        <li>

                    <span class="thumb">
                        <div class="art-type">
                                                                                        </div>
                                                        <img class="img-responsive lazy"  src="https://stolica.bg/wp-content/uploads/2020/07/thumb_doktorka__pirogov.png" alt="About COVID-19 in the first person: A 30-year-old doctor from "Pirogov", who survived" title="About COVID-19 personally: A 30-year-old doctor from "Pirogov", who survived three quarantines, speaks"  bad-src="/img/pixel.png">
                                                </span>
                    <div class="art-system">
                            <div class="date"><i class="material-icons">access_time</i> 04/07/2020</div>
                            <div class="comment"><i class="material-icons">comment</i> 0 </div>
                            <div class="views"><i class="material-icons">visibility</i> 4321 </div>
                    </div>
                                            <span class="data">About COVID-19 personally: A 30-year-old doctor from "Pirogov" speaks, experiences ...</span>

            </li>
                </ul>
</div><!--Lsit Articles with thumb-->
            </div>

        `)


if(paragrafCount >= 8)
    $('.article-content p:nth-child(6)').after(`
                            <div class="list-thumb  blue-list fl-right "><!--Lsit Articles with thumb-->
    <ul>
                        <li>

                    <span class="thumb">
                        <div class="art-type">
                                                                                        </div>
                                                        <img class="img-responsive lazy"  src="https://stolica.bg/wp-content/uploads/2020/07/thumb_pirogov.jpg" alt="The director of "Pirogov": We are preparing for a worse scenario" title="The director of "Pirogov": We are preparing for a worse scenario"  bad-src="/img/pixel.png">
                                                </span>
                    <div class="art-system">
                            <div class="date"><i class="material-icons">access_time</i> 06/07/2020</div>
                            <div class="comment"><i class="material-icons">comment</i> 0 </div>
                            <div class="views"><i class="material-icons">visibility</i> 2645 </div>
                    </div>
                                            <span class="data">The director of "Pirogov": We are preparing for a worse scenario</span>

            </li>
                        <li>

                    <span class="thumb">
                        <div class="art-type">
                                                                                        </div>
                                                        <img class="img-responsive lazy"  src="https://stolica.bg/wp-content/uploads/2020/07/thumb_1594014901_testovekorona.jpg" alt="There are 23 people infected with COVID-19 in Sofia in the last 24 hours" title="There are 23 people infected with COVID-19 in Sofia in the last 24 hours"  bad-src="/img/pixel.png">
                                                </span>
                    <div class="art-system">
                            <div class="date"><i class="material-icons">access_time</i> 06/07/2020</div>
                            <div class="comment"><i class="material-icons">comment</i> 0 </div>
                            <div class="views"><i class="material-icons">visibility</i> 557 </div>
                    </div>
                                            <span class="data">There are 23 people infected with COVID-19 in Sofia in the last 24 hours</span>

            </li>
                </ul>
</div><!--Lsit Articles with thumb-->



        `)

if(paragrafCount >= 4)
    $('.article-content p:nth-child(2)').after(`

            <div class="s-art-slideup fl-left "><!--News With Slide Up Data-->
    <div class="thumb">
        <div class="art-system">
            <div class="comment"><i class="material-icons">comment</i> 0 </div>
            <div class="views"><i class="material-icons">visibility</i> 7254 </div>
        </div>

        <div class="art-type">
                                        </div>


                                <img class="img-responsive lazy"  title="Strengthen control of measures against COVID-19, the regional headquarters will be able to close" src="https://stolica.bg/wp-content/uploads/2020/07/thumb_izvanredenkorona1.jpg" alt="Strengthen control of measures against COVID-19, the regional headquarters will be able to "  bad-src="/img/pixel.png">


    </div>
    <div class="wrapper">
        <div class="badges">
            <div class="hour"><i class="material-icons">access_time</i> 06/07/2020</div>
            <div class="category">Coronavirus</div>
        </div>

                            <h3 class="title">Strengthen control of measures against COVID-19, the regional headquarters will be able to close</h3>
            <p class="descr">
                                    <span class="txt">The control of the measures against the spread of COVID-19 in Sofia and the country is being strengthened.  This was announced by ...</span>

                <span class="read-more">Read more... </span>
            </p>

    </div>
</div><!--News With Slide Up Data-->

                    `)

var fontSize = 16;
var artIsShow = true;
$( document ).ready(function() {
    $(window).scroll(function (event) {
        var scroll = $(window).scrollTop();
        if (scroll > 1500 && artIsShow) {
            artIsShow = false;
            $('.slide-out-article').addClass('visible')
        }
    });

    $('.add-comment-btn, .write-comment .close').on('click' ,function () {
        $('input[name="parent_id"]').val(0)
        $('.write-comment').toggleClass('hide')
    })


    $('.reply-btn').on('click' ,function () {
        commentId = $(this).parents('.comment').attr('data-commentid')
        $('input[name="parent_id"]').val(commentId)
        $('.write-comment').toggleClass('hide')
    })

    $('#write-comment').on('click' ,function () {
        articleId = $('[name="article_id"]').val()
        parentId = $('[name="parent_id"]').val()
        comment = $('#comment').val()
        token = $('[name="_token"]').val()
            $.ajax({
                type: "POST",
                url: '/article/comment',
                data: {
                    'comment': comment,
                    'articleId': articleId,
                    'parentId': parentId,
                    '_token':token,
                },
                success: function(result){
                    var data = JSON.parse(result)
                    if (data.status) {
                        if (parentId == 0){
                            html = `<div class="comment-row">
                                <div class="comment clear"  data-commentid="${data.id}">
                                    <div class="user-avatar text-center">
                                        <div>
                                            <img width="100" src="https://stolica.bg/koronavirus/${data.avatar}">
                                        </div>
                                        <span class="user-total-comments"><i class="material-icons">comment</i> ${data.count}</span>
                                    </div>
                                    <div class="user-comment">
                                        <span class="comment-date">$ {Data.date}</span>
                                        <h6>${data.name}</h6>
                                        <div>

                                            ${comment}
                                        </div>
                                        <div class="comment-options">
                                            <div class="fl-left">
                                                <span class="like"><i class="material-icons">thumb_up</i> 0</span>
                                                <span class="dislike"><i class="material-icons">thumb_down</i> 0</span>
                                            </div>
                                            <div class="fl-right">
                                                <button class="reply-btn"><i class="material-icons">reply</i> Answer</button>
                                                <span class="report-comment"><i class="material-icons">warning</i></span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>`
                            $('.comments-list').prepend(html)
                        }else{
                            html = `<div class="comment replied clear"  data-commentid="${data.id}">
                                    <div class="user-avatar text-center">
                                        <div>
                                            <img width="60" src="https://stolica.bg/koronavirus/${data.avatar}">
                                        </div>
                                        <span class="user-total-comments"><i class="material-icons">comment</i> ${data.count}</span>
                                    </div>
                                    <div class="user-comment">
                                        <span class="comment-date">$ {Data.date}</span>
                                        <h6>${data.name}</h6>
                                        <div>

                                            ${comment}
                                        </div>
                                        <div class="comment-options">
                                            <div class="fl-left">
                                                <span class="like"><i class="material-icons">thumb_up</i> 0</span>
                                                <span class="dislike"><i class="material-icons">thumb_down</i> 0</span>
                                            </div>
                                            <div class="fl-right">
                                                <button class="reply-btn"><i class="material-icons">reply</i> Answer</button>
                                                <span class="report-comment"><i class="material-icons">warning</i></span>
                                            </div>
                                        </div>
                                    </div>
                                </div>`
                            $('[data-commentid="'+parentId+'"]').after(html)
                        }

                        $('.write-comment').toggleClass('hide')
                        $('#comment').val('')
                    }

                }
            })
    })

    $('.like').on('click' ,function () {

    })

    $('#comment').on('keyup', function () {
        $('.symbols-count span').text($('#comment').val().length)
    })
    $('.increase-font').on('click', function () {
        if (fontSize < 26) {
            fontSize += 2;
        }
        $('.article-content, .article-content p').css('font-size', fontSize+'px')
    })
    $('.decrease-font').on('click', function () {
        if (fontSize > 10) {
            fontSize -= 2;
        }
        $('.article-content, .article-content p').css('font-size', fontSize+'px')
    })
    // print-article
});
function PrintElem(elem)
{
    var mywindow = window.open('', 'PRINT', 'height=400,width=600');

    mywindow.document.write('<html><head><title>' + document.title  + '</title>');
    mywindow.document.write('</head><body >');
    mywindow.document.write('<img style="" src="https://stolica.bg/img/logo_header.jpg" alt="">');
    mywindow.document.write('<h1>' + $('.article-header h1').text()  + '</h1>');
    // mywindow.document.write('<img src="' + $('.article-header h1').text()  + '" width="200" />');
    // mywindow.document.write($('.flex-viewport li').html());
    mywindow.document.write($('.article-content').text());
    // mywindow.document.write(document.getElementById(elem).innerHTML);
    mywindow.document.write('</body></html>');

    mywindow.document.close(); // necessary for IE >= 10
    setTimeout(() => {
        mywindow.focus(); // necessary for IE >= 10*/
        mywindow.print();
        mywindow.close();
    }, 1000);

    return true;
}


$("#shareNative").jsSocials({
    showLabel: false,
    showCount: false,

    shares:[{
        renderer: function() {
            var $result = $("<div>");

            var script = document.createElement("script");
            script.text = "(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/ru_RU/sdk.js#xfbml=1&version=v2.3"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));";
            $result.append(script);

            $("<div>").addClass("fb-share-button")
                .attr("data-layout", "button_count")
                .appendTo($result);

            return $result;
        }
    },
    //  {
    //     renderer: function() {
    //         var $result = $("<div>");

    //         var script = document.createElement("script");
    //         script.src = "https://apis.google.com/js/platform.js";
    //         $result.append(script);

    //         $("<div>").addClass("g-plus")
    //             .attr({
    //                 "data-action": "share",
    //                 "data-annotation": "bubble"
    //             })
    //             .appendTo($result);

    //         return $result;
    //     }
    // },
     {
        renderer: function() {
            var $result = $("<div>");

            var script = document.createElement("script");
            script.src = "https://platform.linkedin.com/in.js";
            $result.append(script);

            $("<script>").attr({ type: "IN/Share", "data-counter": "right" })
                .appendTo($result);

            return $result;
        }
    }, {
        renderer: function() {
            var $result = $("<div>");

            var script = document.createElement("script");
            script.text = "window.twttr=(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);t._e=[];t.ready=function(f){t._e.push(f);};return t;}(document,"script","twitter-wjs"));";
            $result.append(script);

            $("<a>").addClass("twitter-share-button")
                .text("Tweet")
                .attr("href", "https://twitter.com/share")
                .appendTo($result);

            return $result;
        }
    }]});

// Load image slider
// $(window).load(function () {
$(‘.flexslider’).flexslider({
animation: “slide”,
slideshow: false,
controlNav: false
});
// });

// Social Share
$(“#share”).jsSocials({
showLabel: false,
showCount: false,
shares: [“facebook”, “twitter”, “linkedin”, “whatsapp”, “messenger”, “email”]
});




Source link
https://stolica.bg/koronavirus/novi-92-s-koronavirus-v-sofiya-za-denonoshtie-oshte-106-izlekuvani-za-stranata

LEAVE A REPLY

Please enter your comment!
Please enter your name here