diff --git a/QUrl-Theme/index.php b/QUrl-Theme/index.php index e0fd4e8..62d2630 100644 --- a/QUrl-Theme/index.php +++ b/QUrl-Theme/index.php @@ -16,13 +16,15 @@ require_once ('qurl/header.php'); ?> - +

0 0

+ +
' . $qurlLang['current_page_title_contact_send']; diff --git a/QUrl-Theme/sendReport.php b/QUrl-Theme/sendReport.php index 69605ea..69a2437 100644 --- a/QUrl-Theme/sendReport.php +++ b/QUrl-Theme/sendReport.php @@ -7,7 +7,10 @@ if (empty($_POST['link'])) { exit('No access'); } +// Generating current date. $reportDate = date('d.m.Y H:i'); + +// Generating a random six-number report number $reportID = mt_rand(100000, 999999); // Load config file @@ -22,7 +25,7 @@ require 'qurl/PHPMailer/src/Exception.php'; require 'qurl/PHPMailer/src/PHPMailer.php'; require 'qurl/PHPMailer/src/SMTP.php'; -$mail = new PHPMailer(true); // Passing `true` enables exceptions +$mail = new PHPMailer(true); // Passing `true` enables exceptions try { //Server settings //$mail->SMTPDebug = SMTP::DEBUG_SERVER; @@ -85,9 +88,6 @@ try { ?>