conn = mysqli_connect(DB_HOST,DB_USER,DB_PASSWORD); $ok = mysqli_select_db($this->conn,DB_NAME); if (!$ok) return false; $this->get_options(); // plugin disabled if (!$this->enable) return; // current request is admin's one if (isset($_COOKIE['wpantiddos']) && $_COOKIE['wpantiddos']==$this->cookie) return; if ($this->only_params_enabled) if (!$this->only_param_detected()) return; // detect request type and limits if ($this->xhr_request()) { if ($this->hits_limit_XHR=='ANY') return; $request_type = 'xhr'; $hits_limit = $this->hits_limit_XHR; $seconds_limit = wpadtiddos_seconds_limit_XHR; } elseif ($_POST && isset($_POST[$this->pass_param]) ) { if ($this->seconds_limit_AUTH=='ANY') return; $request_type = 'auth'; $seconds_limit = $this->seconds_limit_AUTH; $this->only_params .= ' '.$this->pass_param; $hits_limit = 1; } elseif ($_POST) { if ($this->seconds_limit_POST=='ANY') return; $request_type = 'post'; $hits_limit = 1; $seconds_limit = $this->seconds_limit_POST; } else { if ($this->hits_limit_GET=='ANY') return; $request_type = 'get'; $hits_limit = $this->hits_limit_GET; $seconds_limit = wpadtiddos_seconds_limit_GET; } if ($this->send_header) header("WP_AntiDDOS: yes"); if ($this->cloudflare) { if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; } $this->ip = $_SERVER['REMOTE_ADDR']; if ($this->block_cnet) $this->ip = substr($this->ip,0,strrpos($this->ip,'.')+1); $this->warm_level = ceil($hits_limit/2); try { $res = mysqli_query($this->conn,"SELECT count(*) kount FROM $this->table_name WHERE ip='".addslashes($this->ip)."' AND tstamp>".(time()-$seconds_limit)." AND type='$request_type'"); $row = mysqli_fetch_assoc($res); if (!$row) $this->error_msg = 'Error detected'; $this->hits = @$row['kount']+1; // consider current request too if ($this->hits==0) // if no hits from this IP $this->visitor = "new"; elseif ($this->hits>$hits_limit) $this->visitor = "hot"; elseif ($this->hits>=$this->warm_level) $this->visitor = "warm"; else $this->visitor = "cool"; // add current hit mysqli_query($this->conn,"INSERT INTO $this->table_name SET ip='$this->ip', type='$request_type', tstamp=".time()); // cleanup ip list $clear_time = max($this->delay_time,$seconds_limit); mysqli_query($this->conn,"DELETE FROM $this->table_name WHERE tstamp<".(time()-$clear_time)); } catch(Exception $e) { $this->error_msg = $e->getString(); $this->status = 'error'; mysqli_close($this->conn); return; } mysqli_close($this->conn); if (!empty($this->error_msg) ) { $this->status = 'error'; } if ($this->auto && $this->visitor=='hot') { header('HTTP/1.0 503 Service Unavailable'); header('Status: 503 Service Unavailable'); header("Retry-After: ".($this->delay_time+1)); // submit form first if POST request if (!$_POST) print ""; else { $inputs = $this->array_to_fields($_POST); print '
'. $inputs. '
'; } if ($request_type=='auth') printf("

$this->delay_message_auth

",$this->delay_time); else printf("

$this->delay_message

",$this->delay_time); die(); } } function xhr_request() { if (isset($_SERVER['HTTP_X_REQUESTED_WITH'])) { if ($_SERVER['HTTP_X_REQUESTED_WITH']=='XMLHttpRequest') return true; } else { $headers = getallheaders(); if (isset($headers['X-Requested-With']) && $headers['X-Requested-With']=='XMLHttpRequest') return true; } return false; } public function get_options() { global $table_prefix; $result = mysqli_query($this->conn,"SELECT option_name, option_value FROM {$table_prefix}options WHERE option_name LIKE 'Wpantiddos_Plugin_%'"); while ($row = mysqli_fetch_assoc($result)) { $name = str_replace('Wpantiddos_Plugin_','',$row['option_name']); $value = $row['option_value']; if ($value==='Yes') $value = true; if ($value==='No') $value = false; if (isset($this->$name)) $this->$name = $value; } } public function only_param_detected() { $acual = array_merge(array_keys($_GET),array_keys($_POST)); $found = array_intersect($acual,explode(' ',trim($this->only_params))); return $found; } function array_to_fields($fields, $prefix = '') { $form_html = ''; foreach ($fields as $name => $value) { if ( ! is_array($value)) { if ( ! empty($prefix)) { $name = $prefix . '[' . $name . ']'; } // generate the hidden field $form_html .= "\n"; } else { if ( ! empty($prefix)) { $subprefix = $prefix . '[' . $name . ']'; } else { $subprefix = $name; } $form_html .= array_to_fields($value, $subprefix); } } return $form_html; } } ?>{"id":3,"date":"2020-03-14T15:34:15","date_gmt":"2020-03-14T15:34:15","guid":{"rendered":"https:\/\/www.piedpiper.fr\/purezone\/?page_id=3"},"modified":"2020-03-27T14:57:23","modified_gmt":"2020-03-27T14:57:23","slug":"mentions-legales","status":"publish","type":"page","link":"https:\/\/www.film-antimicrobien.fr\/mentions-legales\/","title":{"rendered":"Mentions l\u00e9gales"},"content":{"rendered":"

[vc_row][vc_column width=\u00a0\u00bb1\/4″][\/vc_column][vc_column width=\u00a0\u00bb1\/2″][vc_column_text]<\/p>\r\n\r\n

Qui sommes nous ?<\/h3>\r\n\r\n

Site web : www.film-antimicrobien.fr<\/a><\/em><\/p>\r\n\r\n

Site cr\u00e9e et g\u00e9r\u00e9 par la soci\u00e9t\u00e9 VIRUS COMMUNICATION
11 rue Jules Guesde 69230 ST GENIS LAVAL
T\u00e9l\u00e9phone : 09 83 38 56 25 et +33(0)9 83 38 56 25
Portable : 06 66 25 90 30 et 06 64 82 75 10
Portable : +33(0)6 66 25 90 30 et +33(0)6 64 82 75 10
Site web :
www.virus-communication.com<\/a><\/em><\/p>\r\n\r\n

Virus Communication est une SAS immatricul\u00e9e au RCS de Lyon sous le num\u00e9ro 812 663 979 00019 code APE 1812Z et num\u00e9ro individuel d\u2019identification TVA intracommunautaire est FR60 81 26 63 979<\/p>\r\n\r\n

Virus Communication SAS a \u00e9t\u00e9 enregistr\u00e9e en 2015 avec un capital de 8000 \u20ac<\/p>\r\n\r\n

Le pr\u00e9sent site web est h\u00e9berg\u00e9 par YOORshop SAS dont le si\u00e8ge social est 38 place des Pavillons, 69007 Lyon, France. Contact de la soci\u00e9t\u00e9 par formulaire sur son site www.yoorshop.hosting<\/a><\/em><\/p>\r\n

\u00a0<\/p>\r\n\r\n

Mentions relatives \u00e0 l’utilisation de cookies<\/strong><\/h3>\r\n\r\n

L’utilisateur peut accepter ou rejeter l’utilisation de cookies optionnels indiqu\u00e9s lors de sa premi\u00e8re connexion au site.<\/p>\r\n\r\n

Les cookies optionnels sont relatifs \u00e0 Google Analytics \u00e0 des fins de statistiques de visites.<\/p>\r\n\r\n

Il n’y a aucun autre partenaire.<\/p>\r\n

\u00a0<\/p>\r\n\r\n

Mentions relatives aux donn\u00e9es personnelles<\/strong><\/h3>\r\n\r\n

Seules les donn\u00e9es enregistr\u00e9es dans le formulaire de demande de renseignements sont conserv\u00e9es le temps de les traiter : nom, adresse email et t\u00e9l\u00e9phone.<\/p>\r\n\r\n

Elles ne sont consult\u00e9es que par Virus Communication propri\u00e9taire du site www.film-antimicrobien.fr et en aucun cas transmises \u00e0 un tiers.<\/p>\r\n

 <\/p>\r\n

Propri\u00e9t\u00e9 intellectuelle<\/strong><\/h3>\r\n

Tous les \u00e9l\u00e9ments du site film-antimicrobien.fr sont et restent la propri\u00e9t\u00e9 intellectuelle et exclusive de VIRUS COMMUNICATION. Nul n’est autoris\u00e9 \u00e0 reproduire, exploiter, rediffuser, ou utiliser \u00e0 quelque titre que ce soit, m\u00eame partiellement, des \u00e9l\u00e9ments du site qu’ils soient logiciels, visuels ou sonores.<\/p>\r\n

Les images et photos du site film-antimicrobien.fr ont \u00e9t\u00e9 r\u00e9alis\u00e9es par Virus Communication ou ont une licence d’utilisation en r\u00e8gle aupr\u00e8s de Adobe Stock<\/em><\/a>, Freepik<\/a><\/em> et Shutterstock<\/a><\/em>.<\/p>\r\n\r\n

Virus Communication est d\u00e9clar\u00e9e aupr\u00e8s de la CNIL : CDF20000040<\/p>\r\n

Consultez les Conditions G\u00e9n\u00e9rales de Vente<\/a><\/em> pour plus d’informations.<\/p>\r\n

[\/vc_column_text][\/vc_column][vc_column width=\u00a0\u00bb1\/4″][\/vc_column][\/vc_row]<\/p>","protected":false},"excerpt":{"rendered":"

[vc_row][vc_column width=\u00a0\u00bb1\/4″][\/vc_column][vc_column width=\u00a0\u00bb1\/2″][vc_column_text] Qui sommes nous ? Site web : www.film-antimicrobien.fr Site cr\u00e9e et g\u00e9r\u00e9 par la soci\u00e9t\u00e9 VIRUS COMMUNICATION11 rue Jules Guesde 69230 ST GENIS LAVALT\u00e9l\u00e9phone : 09 83 38 56 25 et +33(0)9 83 38 56 25Portable : 06 66 25 90 30 et 06 64 82 75 10Portable : +33(0)6 66 25 90 30 et +33(0)6 64 82 75 10Site web : www.virus-communication.com Virus Communication est une SAS immatricul\u00e9e au RCS de Lyon sous le num\u00e9ro 812 663 979 00019 code APE 1812Z et num\u00e9ro individuel d\u2019identification TVA intracommunautaire est FR60 81 26 63 979 Virus Communication SAS a \u00e9t\u00e9 enregistr\u00e9e en 2015 avec un capital de 8000 \u20ac Le pr\u00e9sent site web est h\u00e9berg\u00e9 par YOORshop SAS dont le si\u00e8ge social est 38 place des Pavillons, 69007 Lyon, France. Contact de la soci\u00e9t\u00e9 par formulaire sur son site www.yoorshop.hosting \u00a0 Mentions relatives \u00e0 l’utilisation de cookies L’utilisateur peut accepter ou rejeter l’utilisation de cookies optionnels indiqu\u00e9s lors de sa premi\u00e8re connexion au site. Les cookies optionnels sont relatifs \u00e0 Google Analytics \u00e0 des fins de statistiques de visites. Il n’y a aucun autre partenaire. \u00a0 Mentions relatives aux donn\u00e9es personnelles Seules les donn\u00e9es enregistr\u00e9es dans le formulaire de demande de renseignements sont conserv\u00e9es le temps de les traiter : nom, adresse email et t\u00e9l\u00e9phone. Elles ne sont consult\u00e9es que par Virus Communication propri\u00e9taire du site www.film-antimicrobien.fr et en aucun cas transmises \u00e0 un tiers.   Propri\u00e9t\u00e9 intellectuelle Tous les \u00e9l\u00e9ments du site film-antimicrobien.fr sont et restent la propri\u00e9t\u00e9 intellectuelle et exclusive de VIRUS COMMUNICATION. Nul n’est autoris\u00e9 \u00e0 reproduire, exploiter, rediffuser, ou utiliser \u00e0 quelque titre que ce soit, m\u00eame partiellement, des \u00e9l\u00e9ments du site qu’ils soient logiciels, visuels ou sonores. Les images et photos du site film-antimicrobien.fr ont \u00e9t\u00e9 r\u00e9alis\u00e9es par Virus Communication ou ont une licence d’utilisation en r\u00e8gle aupr\u00e8s de Adobe Stock, Freepik et Shutterstock. Virus Communication est d\u00e9clar\u00e9e aupr\u00e8s de la CNIL : CDF20000040 Consultez les Conditions G\u00e9n\u00e9rales de Vente pour plus d’informations. [\/vc_column_text][\/vc_column][vc_column width=\u00a0\u00bb1\/4″][\/vc_column][\/vc_row]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/fluid-width.php","meta":[],"yoast_head":"\nMentions l\u00e9gales - Films Antimicrobiens<\/title>\n<meta name=\"description\" content=\"Mentions l\u00e9gales relatives \u00e0 Film Antimicrobien.fr propri\u00e9t\u00e9 de la soci\u00e9t\u00e9 SAS Virus Communication.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.film-antimicrobien.fr\/mentions-legales\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mentions l\u00e9gales - Films Antimicrobiens\" \/>\n<meta property=\"og:description\" content=\"Mentions l\u00e9gales relatives \u00e0 Film Antimicrobien.fr propri\u00e9t\u00e9 de la soci\u00e9t\u00e9 SAS Virus Communication.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.film-antimicrobien.fr\/mentions-legales\/\" \/>\n<meta property=\"og:site_name\" content=\"Films Antimicrobiens\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/viruscommunicationofficiel\/\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-27T14:57:23+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ContactVirus\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture est.\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.film-antimicrobien.fr\/#organization\",\"name\":\"Virus Communication\",\"url\":\"https:\/\/www.film-antimicrobien.fr\/\",\"sameAs\":[\"https:\/\/www.facebook.com\/viruscommunicationofficiel\/\",\"https:\/\/www.instagram.com\/viruscommunication\/\",\"https:\/\/www.linkedin.com\/company\/virus-communication\",\"https:\/\/twitter.com\/ContactVirus\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.film-antimicrobien.fr\/#logo\",\"inLanguage\":\"fr-FR\",\"url\":\"https:\/\/www.film-antimicrobien.fr\/wp-content\/uploads\/2020\/03\/logo260-1.png\",\"contentUrl\":\"https:\/\/www.film-antimicrobien.fr\/wp-content\/uploads\/2020\/03\/logo260-1.png\",\"width\":260,\"height\":69,\"caption\":\"Virus Communication\"},\"image\":{\"@id\":\"https:\/\/www.film-antimicrobien.fr\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.film-antimicrobien.fr\/#website\",\"url\":\"https:\/\/www.film-antimicrobien.fr\/\",\"name\":\"Films Antimicrobiens Virus Protect\",\"description\":\"KO les microbes !\",\"publisher\":{\"@id\":\"https:\/\/www.film-antimicrobien.fr\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.film-antimicrobien.fr\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.film-antimicrobien.fr\/mentions-legales\/#webpage\",\"url\":\"https:\/\/www.film-antimicrobien.fr\/mentions-legales\/\",\"name\":\"Mentions l\\u00e9gales - Films Antimicrobiens\",\"isPartOf\":{\"@id\":\"https:\/\/www.film-antimicrobien.fr\/#website\"},\"datePublished\":\"2020-03-14T15:34:15+00:00\",\"dateModified\":\"2020-03-27T14:57:23+00:00\",\"description\":\"Mentions l\\u00e9gales relatives \\u00e0 Film Antimicrobien.fr propri\\u00e9t\\u00e9 de la soci\\u00e9t\\u00e9 SAS Virus Communication.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.film-antimicrobien.fr\/mentions-legales\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.film-antimicrobien.fr\/mentions-legales\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.film-antimicrobien.fr\/mentions-legales\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.film-antimicrobien.fr\/\",\"url\":\"https:\/\/www.film-antimicrobien.fr\/\",\"name\":\"Accueil\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@id\":\"https:\/\/www.film-antimicrobien.fr\/mentions-legales\/#webpage\"}}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.film-antimicrobien.fr\/wp-json\/wp\/v2\/pages\/3"}],"collection":[{"href":"https:\/\/www.film-antimicrobien.fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.film-antimicrobien.fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.film-antimicrobien.fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.film-antimicrobien.fr\/wp-json\/wp\/v2\/comments?post=3"}],"version-history":[{"count":29,"href":"https:\/\/www.film-antimicrobien.fr\/wp-json\/wp\/v2\/pages\/3\/revisions"}],"predecessor-version":[{"id":750,"href":"https:\/\/www.film-antimicrobien.fr\/wp-json\/wp\/v2\/pages\/3\/revisions\/750"}],"wp:attachment":[{"href":"https:\/\/www.film-antimicrobien.fr\/wp-json\/wp\/v2\/media?parent=3"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}