From 3d71e286697443eced2d3a8d3fc609971591a6eb Mon Sep 17 00:00:00 2001 From: Eugeny Galkovskiy Date: Fri, 4 Nov 2016 14:03:31 +0200 Subject: [PATCH] 123 --- www-arktika/email.php | 2 +- www-arktika/list.php | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/www-arktika/email.php b/www-arktika/email.php index d2bb22f..653f6c6 100644 --- a/www-arktika/email.php +++ b/www-arktika/email.php @@ -49,7 +49,7 @@ if(isset($_POST['name']) && !empty($_POST['name']) && isset($_POST['email']) && $mail->Subject = 'Промокод на сайт semena.in.ua'; //Read an HTML message body from an external file, convert referenced images to embedded, //convert HTML into a basic plain-text alternative body - $mail->msgHTML(file_get_contents("list.php")); + $mail->msgHTML(file_get_contents("list.php?promo=".$code."")); $mail->send(); //send the message, check for errors header('Location: http://arktika.semena.in.ua/'); diff --git a/www-arktika/list.php b/www-arktika/list.php index f315e88..3618dcf 100644 --- a/www-arktika/list.php +++ b/www-arktika/list.php @@ -1,5 +1,6 @@ @@ -221,4 +222,10 @@ - \ No newline at end of file + + \ No newline at end of file -- libgit2 0.21.4