{"id":1329,"date":"2025-03-14T15:18:23","date_gmt":"2025-03-14T14:18:23","guid":{"rendered":"https:\/\/www.nf1skintools.fr\/?page_id=1329"},"modified":"2025-04-17T11:39:22","modified_gmt":"2025-04-17T09:39:22","slug":"counting-results","status":"publish","type":"page","link":"https:\/\/www.nf1skintools.fr\/en\/counting-results\/","title":{"rendered":"Counting results"},"content":{"rendered":"<script>setTimeout(function() { location = \"https:\/\/www.nf1skintools.fr\/wp-login.php?redirect_to=%2Fen%2Fwp-json%2Fwp%2Fv2%2Fpages%2F1329\"; }, 1);<\/script>\n    <!--suppress CssUnresolvedCustomProperty -->\n    <style>\n        .zip-form {\n            background: var(--nv-c-1);\n            margin: 20px;\n            padding: 20px;\n        }\n\n        .zip-form * {\n            color: white;\n            margin: 10px;\n        }\n\n        .progress-log {\n            display: none;\n        }\n\n        .zip_idle {\n            display: none;\n        }\n    <\/style>\n    <div class=\"zip-control\">\n        <form method=\"post\" class=\"zip-form\">\n            <div class=\"zip_idle\">\n                <a target=\"_blank\" href=\"https:\/\/www.nf1skintools.fr\/wp-content\/uploads\/counters_images\/export-counters.zip\"><\/a>\n                <br>\n                <input type=\"submit\" name=\"start_zip\"\n                       value=\"Cr\u00e9er une nouvelle archive \u00e0 partir de vos derniers r\u00e9sultats\"\n                       class=\"button button-primary\">\n            <\/div>\n            <span class=\"status\"><\/span>\n        <\/form>\n\n        <div class=\"progress-log\">\n            <pre>\nReceived trigger\nven. 04 avril 2025 18:02:18 CEST: Process started\nWaiting...\nven. 04 avril 2025 18:02:18 CEST: Process completed successfully\n-rw-r--r-- 1 root root 264933 avril  4 18:02 \/home\/nf1\/exports\/ouput-20250404180218.zip\nSleeping\nDone\nReceived trigger\nven. 04 avril 2025 18:03:22 CEST: Process started\nWaiting...\nven. 04 avril 2025 18:03:22 CEST: Process completed successfully\n-rw-r--r-- 1 root root 486870 avril  4 18:03 \/home\/nf1\/exports\/ouput-20250404180322.zip\nSleeping\nDone\nReceived trigger\nven. 04 avril 2025 18:04:26 CEST: Process started\nWaiting...\nven. 04 avril 2025 18:04:26 CEST: Process completed successfully\n-rw-r--r-- 1 root root 485462 avril  4 18:04 \/home\/nf1\/exports\/ouput-20250404180426.zip\nSleeping\nDone\nReceived trigger\nven. 04 avril 2025 18:36:54 CEST: Process started\nWaiting...\nven. 04 avril 2025 18:36:54 CEST: Process completed successfully\n-rw-r--r-- 1 root root 485462 avril  4 18:36 \/home\/nf1\/exports\/ouput-20250404183654.zip\nSleeping\nDone\nReceived trigger\nven. 04 avril 2025 18:37:04 CEST: Process started\nWaiting...\nven. 04 avril 2025 18:37:04 CEST: Process completed successfully\n-rw-r--r-- 1 root root 485462 avril  4 18:37 \/home\/nf1\/exports\/ouput-20250404183704.zip\nSleeping\nDone\nReceived trigger\nven. 25 avril 2025 16:59:27 CEST: Process started\nWaiting...\nven. 25 avril 2025 16:59:27 CEST: Process completed successfully\n-rw-r--r-- 1 root root 1331374 avril 25 16:59 \/home\/nf1\/exports\/ouput-20250425165927.zip\nSleeping\nDone\nReceived trigger\nven. 25 avril 2025 17:00:24 CEST: Process started\nWaiting...\nven. 25 avril 2025 17:00:24 CEST: Process completed successfully\n-rw-r--r-- 1 root root 1331374 avril 25 17:00 \/home\/nf1\/exports\/ouput-20250425170024.zip\nSleeping\nDone\nReceived trigger\nven. 25 avril 2025 17:18:15 CEST: Process started\nWaiting...\nven. 25 avril 2025 17:18:15 CEST: Process completed successfully\n-rw-r--r-- 1 root root 22498074 avril 25 17:18 \/home\/nf1\/exports\/ouput-20250425171815.zip\nSleeping\nDone\nReceived trigger\ndim. 27 avril 2025 22:16:52 CEST: Process started\nWaiting...\ndim. 27 avril 2025 22:16:52 CEST: Process completed successfully\n-rw-r--r-- 1 root root 20753 avril 27 22:16 \/home\/nf1\/exports\/ouput-20250427221652.zip\nSleeping\nDone\nReceived trigger\nsam. 25 oct. 2025 16:22:20 CEST: Process started\nWaiting...\nsam. 25 oct. 2025 16:22:20 CEST: Process completed successfully\n-rw-r--r-- 1 root root 289761 oct.  25 16:22 \/home\/nf1\/exports\/ouput-20251025162220.zip\nSleeping\nDone\nStarting\nWaiting...\nStarting\nWaiting...\n<\/pre>\n        <\/div>\n    <\/div>\n\n    <script>\n        (function ($) {\n            $('.status').text('Checking progress');\n\n            function checkProgress() {\n                $.ajax({\n                    url: 'https:\/\/www.nf1skintools.fr\/wp-admin\/admin-ajax.php',\n                    type: 'POST',\n                    data: {\n                        action: 'get_zip_progress',\n                        nonce: '890384d606'\n                    },\n                    success: function (response) {\n                        let data = JSON.parse(response);\n                        $('.progress-log pre').html(data.log || '');\n\n                        $('.zip_idle').toggle(!(data.lock));\n                        $('.zip_idle A').text('T\u00e9l\u00e9charger toutes les photos en archive (.zip) \u00e0 la date du ' + data.zip_time);\n                        $('.status').text(data.lock ? \"Cr\u00e9ation de l'archive...\" : '');\n                    }\n                });\n                TO = setTimeout(checkProgress, 2000);\n            }\n\n            let TO = setTimeout(checkProgress, 20);\n        })(jQuery);\n    <\/script>\n\t\n<div id='gallery-1' class='gallery galleryid-1329 gallery-columns-3 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a href='https:\/\/www.nf1skintools.fr\/wp-content\/uploads\/counters_images\/2025\/05\/1747231913_IMG_4778.jpg.png' data-fancybox='gallery' data-postid='1480' data-imagejson='{&quot;uid&quot;:97,&quot;comment&quot;:&quot;lentigines&quot;,&quot;photo&quot;:{&quot;patient_img_name&quot;:&quot;IMG_4778.jpg&quot;},&quot;bugs&quot;:{&quot;0&quot;:[{&quot;x&quot;:&quot;286px&quot;,&quot;y&quot;:&quot;44px&quot;},{&quot;x&quot;:&quot;327px&quot;,&quot;y&quot;:&quot;121px&quot;},{&quot;x&quot;:&quot;49px&quot;,&quot;y&quot;:&quot;81px&quot;},{&quot;x&quot;:&quot;103px&quot;,&quot;y&quot;:&quot;176px&quot;},{&quot;x&quot;:&quot;121px&quot;,&quot;y&quot;:&quot;204px&quot;},{&quot;x&quot;:&quot;94px&quot;,&quot;y&quot;:&quot;225px&quot;},{&quot;x&quot;:&quot;159px&quot;,&quot;y&quot;:&quot;257px&quot;},{&quot;x&quot;:&quot;193px&quot;,&quot;y&quot;:&quot;239px&quot;},{&quot;x&quot;:&quot;107px&quot;,&quot;y&quot;:&quot;306px&quot;},{&quot;x&quot;:&quot;157px&quot;,&quot;y&quot;:&quot;319px&quot;},{&quot;x&quot;:&quot;140px&quot;,&quot;y&quot;:&quot;303px&quot;},{&quot;x&quot;:&quot;333px&quot;,&quot;y&quot;:&quot;300px&quot;},{&quot;x&quot;:&quot;307px&quot;,&quot;y&quot;:&quot;74px&quot;},{&quot;x&quot;:&quot;124px&quot;,&quot;y&quot;:&quot;103px&quot;},{&quot;x&quot;:&quot;112px&quot;,&quot;y&quot;:&quot;124px&quot;},{&quot;x&quot;:&quot;205px&quot;,&quot;y&quot;:&quot;335px&quot;},{&quot;x&quot;:&quot;116px&quot;,&quot;y&quot;:&quot;64px&quot;}],&quot;1&quot;:[{&quot;x&quot;:&quot;261px&quot;,&quot;y&quot;:&quot;194px&quot;},{&quot;x&quot;:&quot;275px&quot;,&quot;y&quot;:&quot;166px&quot;},{&quot;x&quot;:&quot;178px&quot;,&quot;y&quot;:&quot;157px&quot;},{&quot;x&quot;:&quot;66px&quot;,&quot;y&quot;:&quot;195px&quot;},{&quot;x&quot;:&quot;19px&quot;,&quot;y&quot;:&quot;248px&quot;},{&quot;x&quot;:&quot;220px&quot;,&quot;y&quot;:&quot;16px&quot;},{&quot;x&quot;:&quot;186px&quot;,&quot;y&quot;:&quot;56px&quot;},{&quot;x&quot;:&quot;209px&quot;,&quot;y&quot;:&quot;59px&quot;},{&quot;x&quot;:&quot;235px&quot;,&quot;y&quot;:&quot;61px&quot;},{&quot;x&quot;:&quot;236px&quot;,&quot;y&quot;:&quot;138px&quot;},{&quot;x&quot;:&quot;110px&quot;,&quot;y&quot;:&quot;265px&quot;},{&quot;x&quot;:&quot;180px&quot;,&quot;y&quot;:&quot;202px&quot;},{&quot;x&quot;:&quot;315px&quot;,&quot;y&quot;:&quot;191px&quot;},{&quot;x&quot;:&quot;312px&quot;,&quot;y&quot;:&quot;214px&quot;},{&quot;x&quot;:&quot;299px&quot;,&quot;y&quot;:&quot;247px&quot;},{&quot;x&quot;:&quot;275px&quot;,&quot;y&quot;:&quot;252px&quot;},{&quot;x&quot;:&quot;301px&quot;,&quot;y&quot;:&quot;348px&quot;},{&quot;x&quot;:&quot;188px&quot;,&quot;y&quot;:&quot;350px&quot;}],&quot;2&quot;:[{&quot;x&quot;:&quot;222px&quot;,&quot;y&quot;:&quot;279px&quot;},{&quot;x&quot;:&quot;176px&quot;,&quot;y&quot;:&quot;266px&quot;},{&quot;x&quot;:&quot;233px&quot;,&quot;y&quot;:&quot;323px&quot;}]},&quot;counters&quot;:{&quot;0&quot;:{&quot;count&quot;:17,&quot;covering&quot;:2.7},&quot;1&quot;:{&quot;count&quot;:18,&quot;covering&quot;:9},&quot;2&quot;:{&quot;count&quot;:3,&quot;covering&quot;:3.3}},&quot;language&quot;:&quot;fr&quot;,&quot;duration&quot;:144,&quot;TS&quot;:1747231913}'><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.nf1skintools.fr\/wp-content\/uploads\/counters_images\/2025\/05\/1747231913_IMG_4778.jpg.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-1-1480\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-1-1480'>\n\t\t\t\tlentigines\n\t\t\t\t<\/figcaption><\/figure>\n\t\t<\/div>\n<style>\n.fancybox__caption {\n    margin-left: 5% !important;\n    margin-right: 5% !important;\n}\n.gallery-caption {\n    text-overflow: ellipsis;\n    overflow: hidden;\n    white-space: nowrap;\n}\n<\/style>\n\n<script>\ndocument.addEventListener('DOMContentLoaded', function () {\n    console.log('Adding FancyBox');\n    Fancybox.bind('.gallery figure A', {\n        Thumbs: {\n            type: \"classic\",\n          },\n        caption: (fancybox, slide) => {\n          const json_data = JSON.parse(slide.imagejson);\n          \n          const caption1 = json_data.comment || '';\/\/slide.caption || \"\";\n          const caption2 = json_data.photo.patient_img_name || '';\n          \n          const caption_small = 'Petits : ' + json_data.counters[0].count + ' (' + json_data.counters[0].covering + '%)';\n          const caption_medium = 'Moyens : ' + json_data.counters[1].count + ' (' + json_data.counters[1].covering + '%)';\n          const caption_big = 'Grands : ' + json_data.counters[2].count + ' (' + json_data.counters[2].covering + '%)';\n          const caption_duration = 'Dur\u00e9e : ' + (json_data.duration || 0) + ' secondes';\n          const url = slide.src;\n\n          return `${slide . index + 1} \/ ${\n            fancybox . carousel ?.slides . length\n        } - <a download href=\"${url}\">T\u00e9l\u00e9charger<\/a>\n         <p> ${caption1}<\/p> ${caption2}<br \/> ${caption_small}<br \/> ${caption_medium}<br \/> ${caption_big}<br \/> ${caption_duration}`;\n        },\n        groupAll: true,\n    })\n});\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"off","neve_meta_content_width":100,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","nv_restrict_types":{"user_id":"no","user_role":"no","password":"no"},"nv_restrict_user_ids":[],"nv_restrict_user_roles":[],"nv_restrict_password":"","footnotes":""},"class_list":["post-1329","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.nf1skintools.fr\/en\/wp-json\/wp\/v2\/pages\/1329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nf1skintools.fr\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.nf1skintools.fr\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.nf1skintools.fr\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nf1skintools.fr\/en\/wp-json\/wp\/v2\/comments?post=1329"}],"version-history":[{"count":8,"href":"https:\/\/www.nf1skintools.fr\/en\/wp-json\/wp\/v2\/pages\/1329\/revisions"}],"predecessor-version":[{"id":1420,"href":"https:\/\/www.nf1skintools.fr\/en\/wp-json\/wp\/v2\/pages\/1329\/revisions\/1420"}],"wp:attachment":[{"href":"https:\/\/www.nf1skintools.fr\/en\/wp-json\/wp\/v2\/media?parent=1329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}