관리-도구
편집 파일: mails.php.tar
home/tattooscyy/www/public/mails.php 0000644 00000012346 15224547363 0013657 0 ustar 00 <?php $json = file_get_contents('https://tattooscalculator.com/emailsjson'); $arrs = json_decode($json); $arr = json_decode(json_encode($arrs[0]), true); $as = json_decode(json_encode($arrs[1]), true); $href = 'https://search.google.com/local/writereview?placeid=ChIJ7fDf6B5u5kcRNYSfUWbPtZs'; $href_yelp = 'https://www.yelp.fr/writeareview/biz/45O50InORlQDyw-zCneRhg?return_url=%2Fbiz%2F45O50InORlQDyw-zCneRhg&source=biz_details_war_button'; foreach ($arr as $key => $value) { switch ($as[$key][0]) { case 1: // American Body Art Innocents $href = 'https://search.google.com/local/writereview?placeid=ChIJA9Rk7R5u5kcRuLjVIDV3Ojk'; $href_yelp = 'https://www.yelp.fr/writeareview/biz/05DeqRMiFYt-1ZDeOZJLbw?return_url=%2Fbiz%2F05DeqRMiFYt-1ZDeOZJLbw&source=biz_details_war_button'; $review_link = 'https://www.pagesjaunes.fr/contribution/votre-avis/09006365?codeRubrique=72257700'; break; case 3: // American Body Art Opéra $href = 'https://search.google.com/local/writereview?placeid=ChIJuwFmrTdu5kcRK43DLHX5rbA'; $href_yelp = 'https://www.yelp.fr/writeareview/biz/n3-XjYvaoqd0NDeeVHZcWA?return_url=%2Fbiz%2Fn3-XjYvaoqd0NDeeVHZcWA&source=biz_details_war_button'; $review_link = 'https://www.pagesjaunes.fr/contribution/votre-avis/55058953?codeRubrique=72257700'; break; case 6: $href = 'https://search.google.com/local/writereview?placeid=ChIJpxjOQBlu5kcRAMB5_i-8oK8'; $href_yelp = 'https://www.yelp.fr/writeareview/biz/9MRFtW10977ldysBSP-pNg?return_url=%2Fbiz%2F9MRFtW10977ldysBSP-pNg&source=biz_details_war_button'; $review_link = '#'; break; case 7: // American Body Art Saint-Michel $href = 'https://search.google.com/local/writereview?placeid=ChIJpxjOQBlu5kcRAMB5_i-8oK8'; $href_yelp = 'https://www.yelp.fr/writeareview/biz/9MRFtW10977ldysBSP-pNg?return_url=%2Fbiz%2F9MRFtW10977ldysBSP-pNg&source=biz_details_war_button'; $review_link = 'https://www.pagesjaunes.fr/contribution/votre-avis/63544153?codeRubrique=72257700'; break; case 4: // American Body Art Sébastopol $href = 'https://search.google.com/local/writereview?placeid=ChIJA9Rk7R5u5kcRWMEzYdAXmfs'; $href_yelp = 'https://www.yelp.fr/writeareview/biz/idLLDV53VJpfQfaCUeN4-A?return_url=%2Fbiz%2FidLLDV53VJpfQfaCUeN4-A&source=biz_details_war_button'; $review_link = 'https://www.pagesjaunes.fr/contribution/votre-avis/08447814?codeRubrique=72257700'; break; case 5: $href = 'https://search.google.com/local/writereview?placeid=ChIJ7fDf6B5u5kcRNYSfUWbPtZs'; $href_yelp = 'https://www.yelp.fr/writeareview/biz/45O50InORlQDyw-zCneRhg?return_url=%2Fbiz%2F45O50InORlQDyw-zCneRhg&source=biz_details_war_button'; $review_link = '#'; break; } $thema = 'Votre tatouage par TattoosCalculator'; $company = $as[$key][3]; $body = ' <p>Cher ' . $value . ',<br /> Vous avez récemment fait un tatouage chez ' . $company . ' à <a href="' . $href . '">' . $as[$key][2] . '</a>. <br /> Votre opinion comptant pour nous, nous aimerions vous inviter à évaluer votre dernier échange avec nos services. Cette évaluation nous permettra d\'améliorer la qualité des services que nous offrons à nos clients. Pour ce faire, il vous suffit de cliquer sur le bouton ci-dessous.<br /> Merci d\'avance.</p> <p><a href="' . $href . '">Cliquez ici pour partager votre expérience de notre service via Google</a></p> <p><a href="' . $href_yelp . '">Cliquez ici pour partager votre expérience avec nos services via Yelp</a></p> <p><a href="' . $review_link . '">Cliquez ici pour partager votre expérience de notre service via Pages Jaunes</a></p> <p>Service à la clientèle,<br /> <a href="https://tattooscalculator.com">TattoosCalculator</a></p> <p>***************************************************************</p> <p>Dear ' . $value . ',<br /> You recently made a tattoo at ' . $company . ' at <a href="' . $href . '">' . $as[$key][2] . '</a>.<br /> Your opinion counts for us, we would like to invite you to evaluate your last exchange with our services. This evaluation will allow us to improve the quality of the services we offer our clients. To do this, simply click on the button below.<br /> Thank you in advance.</p> <p><a href="' . $href . '">Click here to share your experience of our service via Google</a></p> <p><a href="' . $href_yelp . '">Click here to share your experience with our services via Yelp</a></p> <p><a href="' . $review_link . '">Click here to share your experience of our service via Pages Jaunes</a></p> <p>Customer service,<br /> <a href="https://tattooscalculator.com">TattoosCalculator</a></p> '; $headers = "From: noreply@tattooscalculator.com \r\n"; $headers .= "Reply-To: noreply@tattooscalculator.com\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=UTF-8\r\n"; mail($key, $thema, $body, $headers); sleep(2); mail('katsiaryna.ghobeira@gmail.com', $thema, $body, $headers); //mail('katsiaryna.ghobeira@gmail.com', $thema, $body, $headers); sleep(2); } home/tattooscyy/test/mails.php 0000777 00000005525 15224652601 0012534 0 ustar 00 <?php $json = file_get_contents('https://tattooscalculator.com/emailsjson'); $arrs = json_decode($json); $arr = json_decode(json_encode($arrs[0]), true); $as = json_decode(json_encode($arrs[1]), true); $href = 'https://search.google.com/local/writereview?placeid=ChIJ7fDf6B5u5kcRNYSfUWbPtZs'; foreach ($arr as $key => $value) { switch ($as[$key][0]) { case 1: $href = 'https://search.google.com/local/writereview?placeid=ChIJA9Rk7R5u5kcRuLjVIDV3Ojk'; break; case 3: $href = 'https://search.google.com/local/writereview?placeid=ChIJuwFmrTdu5kcRK43DLHX5rbA'; break; case 6: $href = 'https://search.google.com/local/writereview?placeid=ChIJpxjOQBlu5kcRAMB5_i-8oK8'; break; case 4: $href = 'https://search.google.com/local/writereview?placeid=ChIJA9Rk7R5u5kcRWMEzYdAXmfs'; break; case 5: $href = 'https://search.google.com/local/writereview?placeid=ChIJ7fDf6B5u5kcRNYSfUWbPtZs'; break; } $thema = 'Votre tatouage par TattoosCalculator'; $company = $as[$key][3]; $body = ' <p>Cher '.$value.',<br /> Vous avez récemment fait un tatouage chez '.$company.' à <a href="' . $href . '">' . $as[$key][2] . '</a>. <br /> Votre opinion comptant pour nous, nous aimerions vous inviter à évaluer votre dernier échange avec nos services. Cette évaluation nous permettra d\'améliorer la qualité des services que nous offrons à nos clients. Pour ce faire, il vous suffit de cliquer sur le bouton ci-dessous.<br /> Merci d\'avance.</p> <p><a href="' . $href . '">Cliquez ici pour partager votre expérience avec nos services</a></p> <p>Service à la clientèle,<br /> <a href="https://tattooscalculator.com">TattoosCalculator</a></p> <p>***************************************************************</p> <p>Dear '.$value.',<br /> You recently made a tattoo at '.$company.' at <a href="' . $href . '">' . $as[$key][2] . '</a>.<br /> Your opinion counts for us, we would like to invite you to evaluate your last exchange with our services. This evaluation will allow us to improve the quality of the services we offer our clients. To do this, simply click on the button below.<br /> Thank you in advance.</p> <p><a href="' . $href . '">Click here to share your experience with our services</a></p> <p>Customer service,<br /> <a href="https://tattooscalculator.com">TattoosCalculator</a></p> '; $headers = "From: noreply@tattooscalculator.com \r\n"; $headers .= "Reply-To: noreply@tattooscalculator.com\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=UTF-8\r\n"; mail($key, $thema, $body, $headers); sleep(2); mail('katsiaryna.ghobeira@gmail.com', $thema, $body, $headers); //mail('katsiaryna.ghobeira@gmail.com', $thema, $body, $headers); sleep(2); } home/tattooscyy/www/mails.php 0000644 00000012336 15224660123 0012366 0 ustar 00 <?php $json = file_get_contents('https://tattooscalculator.com/emailsjson'); $arrs = json_decode($json); $arr = json_decode(json_encode($arrs[0]), true); $as = json_decode(json_encode($arrs[1]), true); // American Body Art Sébastopol $href = 'https://search.google.com/local/writereview?placeid=ChIJA9Rk7R5u5kcRWMEzYdAXmfs'; $href_yelp = 'https://www.yelp.fr/writeareview/biz/idLLDV53VJpfQfaCUeN4-A?return_url=%2Fbiz%2FidLLDV53VJpfQfaCUeN4-A&source=biz_details_war_button'; foreach ($arr as $key => $value) { switch ($as[$key][0]) { case 1: // American Body Art Innocents $href = 'https://search.google.com/local/writereview?placeid=ChIJA9Rk7R5u5kcRuLjVIDV3Ojk'; //$href_yelp = 'https://www.yelp.fr/writeareview/biz/05DeqRMiFYt-1ZDeOZJLbw?return_url=%2Fbiz%2F05DeqRMiFYt-1ZDeOZJLbw&source=biz_details_war_button'; $review_link = 'https://www.pagesjaunes.fr/contribution/votre-avis/09006365?codeRubrique=72257700'; break; case 3: // American Body Art Opéra $href = 'https://search.google.com/local/writereview?placeid=ChIJuwFmrTdu5kcRK43DLHX5rbA'; //$href_yelp = 'https://www.yelp.fr/writeareview/biz/n3-XjYvaoqd0NDeeVHZcWA?return_url=%2Fbiz%2Fn3-XjYvaoqd0NDeeVHZcWA&source=biz_details_war_button'; $review_link = 'https://www.pagesjaunes.fr/contribution/votre-avis/55058953?codeRubrique=72257700'; break; case 6: //Rambuteau $href = 'https://search.google.com/local/writereview?placeid=ChIJpxjOQBlu5kcRAMB5_i-8oK8'; // $href_yelp = 'https://www.yelp.fr/writeareview/biz/9MRFtW10977ldysBSP-pNg?return_url=%2Fbiz%2F9MRFtW10977ldysBSP-pNg&source=biz_details_war_button'; $review_link = '#'; break; case 7: // American Body Art Saint-Michel $href = 'https://search.google.com/local/writereview?placeid=ChIJpxjOQBlu5kcRAMB5_i-8oK8'; //$href_yelp = 'https://www.yelp.fr/writeareview/biz/9MRFtW10977ldysBSP-pNg?return_url=%2Fbiz%2F9MRFtW10977ldysBSP-pNg&source=biz_details_war_button'; $review_link = 'https://www.pagesjaunes.fr/contribution/votre-avis/63544153?codeRubrique=72257700'; break; case 4: // American Body Art Sébastopol $href = 'https://search.google.com/local/writereview?placeid=ChIJA9Rk7R5u5kcRWMEzYdAXmfs'; //$href_yelp = 'https://www.yelp.fr/writeareview/biz/idLLDV53VJpfQfaCUeN4-A?return_url=%2Fbiz%2FidLLDV53VJpfQfaCUeN4-A&source=biz_details_war_button'; $review_link = 'https://www.pagesjaunes.fr/contribution/votre-avis/08447814?codeRubrique=72257700'; break; case 5: //Magic Circus $href = 'https://search.google.com/local/writereview?placeid=ChIJ7fDf6B5u5kcRNYSfUWbPtZs'; //$href_yelp = 'https://www.yelp.fr/writeareview/biz/45O50InORlQDyw-zCneRhg?return_url=%2Fbiz%2F45O50InORlQDyw-zCneRhg&source=biz_details_war_button'; $review_link = '#'; break; } $thema = 'Votre tatouage par TattoosCalculator'; $company = $as[$key][3]; $body = ' <p>Cher ' . $value . ',<br /> Vous avez récemment fait un tatouage chez ' . $company . ' à <a href="' . $href . '">' . $as[$key][2] . '</a>. <br /> Votre opinion comptant pour nous, nous aimerions vous inviter à évaluer votre dernier échange avec nos services. Cette évaluation nous permettra d\'améliorer la qualité des services que nous offrons à nos clients. Pour ce faire, il vous suffit de cliquer sur le bouton ci-dessous.<br /> Merci d\'avance.</p> <p><a href="' . $href . '">Cliquez ici pour partager votre expérience de notre service via Google</a></p> <p><a href="' . $review_link . '">Cliquez ici pour partager votre expérience de notre service via PagesJaunes</a></p> <p>Service à la clientèle,<br /> <a href="https://tattooscalculator.com">TattoosCalculator</a></p> <p>***************************************************************</p> <p>Dear ' . $value . ',<br /> You recently made a tattoo at ' . $company . ' at <a href="' . $href . '">' . $as[$key][2] . '</a>.<br /> Your opinion counts for us, we would like to invite you to evaluate your last exchange with our services. This evaluation will allow us to improve the quality of the services we offer our clients. To do this, simply click on the button below.<br /> Thank you in advance.</p> <p><a href="' . $href . '">Click here to share your experience of our service via Google</a></p> <p><a href="' . $review_link . '">Click here to share your experience of our service via PagesJaunes</a></p> <p>Customer service,<br /> <a href="https://tattooscalculator.com">TattoosCalculator</a></p> '; $headers = "From: noreply@tattooscalculator.com \r\n"; $headers .= "Reply-To: noreply@tattooscalculator.com\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=UTF-8\r\n"; mail($key, $thema, $body, $headers); sleep(2); mail('katsiaryna.ghobeira@gmail.com', $thema, $body, $headers); //mail('katsiaryna.ghobeira@gmail.com', $thema, $body, $headers); sleep(2); }