Little corrections

This commit is contained in:
Krzysiek Janiczek 2024-05-06 14:39:13 +02:00
parent 0d494fb43d
commit 0a705ce961
3 changed files with 10 additions and 8 deletions

View file

@ -16,13 +16,15 @@ require_once ('qurl/header.php');
?>
<!-- index.php -->
<!-- Slogan -->
<div class="container-fluid py-5">
<h1 class="display-5 fw-bold"><i class="bi bi-dice-<?php echo rand(1,6) ?> bi-dice-color-<?php echo rand(1,6) ?>"></i> <span class="short-title-font"><?php echo $shorttitle; ?><span class="text-slogan"> <?php echo $sitetitle; ?></span></span></h1>
<p class="col-md-8 fs-4"><?php echo $slogan; ?></p>
<p class="text-secondary fw-light lh-sm"><i class="bi bi-info-circle" data-bs-toggle="tooltip" data-bs-title="<?php echo $qurlLang['total_urls_tooltip_before']; ?> <?php echo $total_urls; ?> <?php echo $qurlLang['total_urls_tooltip_after']; ?>"></i> <?php echo $qurlLang['total_urls_before']; ?> <span class="badge text-bg-light bg-warning-subtle fs-6 value" akhi="<?php echo $total_urls; ?>">0</span> <?php echo $qurlLang['total_urls_after']; ?> <span class="badge text-bg-light bg-warning-subtle fs-6 value" id="js-animate-click" akhi="<?php echo $total_clicks; ?>">0</span> <?php echo $qurlLang['total_urls_after_times']; ?></p>
</div>
<!-- //Slogan -->
<div class="p-5 mb-4 rounded-3 main-gradient">
<?php

View file

@ -7,7 +7,10 @@ if (empty($_POST['email'])) {
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
@ -68,9 +71,6 @@ try {
?>
<?php
// Load config file
include('qurl/config.php');
// Page title
$currentpagetitle = '/ ' . $qurlLang['current_page_title_contact'] . '>' . $qurlLang['current_page_title_contact_send'];

View file

@ -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 {
?>
<?php
// Load config file
include('qurl/config.php');
// Page title
$currentpagetitle = $qurlLang['current_page_title_report_send'];