Commit dfd9ac7e2045882f4180a83cb44c8bcae668fd38

Authored by Eugeny Galkovskiy
1 parent 3238975f

123

Showing 2 changed files with 7 additions and 10 deletions   Show diff stats
www-arktika/email.php
@@ -8,10 +8,13 @@ date_default_timezone_set('Etc/UTC'); @@ -8,10 +8,13 @@ date_default_timezone_set('Etc/UTC');
8 require 'PHPMailer/PHPMailerAutoload.php'; 8 require 'PHPMailer/PHPMailerAutoload.php';
9 9
10 10
11 - function getHtml($code, $email){  
12 -  
13 - return require "list.php"; 11 + function getHtml(){
  12 + $code = 'dsdsd';
  13 + $email = 'dsdsd';
  14 + return eval ("list.php");
14 } 15 }
  16 + print_r(getHtml());
  17 + die();
15 18
16 if(isset($_POST['name']) && !empty($_POST['name']) && isset($_POST['email']) && !empty($_POST['email']) ) { 19 if(isset($_POST['name']) && !empty($_POST['name']) && isset($_POST['email']) && !empty($_POST['email']) ) {
17 20
www-arktika/list.php
@@ -219,10 +219,4 @@ @@ -219,10 +219,4 @@
219 219
220 </td></tr></table> 220 </td></tr></table>
221 221
222 -</body></html>  
223 -<?php  
224 -}  
225 -// else{  
226 -// header('Location: http://arktika.semena.in.ua/');  
227 -// }  
228 -?>  
229 \ No newline at end of file 222 \ No newline at end of file
  223 +</body></html>
230 \ No newline at end of file 224 \ No newline at end of file