Server : LiteSpeed System : Linux us-phx-web1202.main-hosting.eu 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64 User : u615232177 ( 615232177) PHP Version : 8.1.33 Disable Function : NONE Directory : /home/u615232177/public_html/ |
<?php session_start();
$page_name = basename($_SERVER['PHP_SELF']);
include("header.php"); ?>
<title><?php echo $company_name; ?> - Action Successful</title>
<?php
//lets us know if its coming from a legit source or someone just typed it in the address bar
if ( $_SESSION["action"] == "true" ){
//get the necessary info for success page display
if (isset($_GET['u']) AND isset($_GET['m'])) {
$page_redirect = mysqli_real_escape_string($con,$_GET['u']);
$message = mysqli_real_escape_string($con,$_GET['m']);
}
else{
echo "<meta http-equiv=\"refresh\" content=\"0; url=index.php\">";exit();
}
}
else{
echo "<meta http-equiv=\"refresh\" content=\"0; url=index.php\">";exit();
}
?>
<script>
function startTimer(duration, display) {
var timer = duration, minutes, seconds;
var end =setInterval(function () {
minutes = parseInt(timer / 60, 10)
seconds = parseInt(timer % 60, 10);
minutes = minutes < 10 ? "" + minutes : minutes;
seconds = seconds < 10 ? "" + seconds : seconds;
display.textContent = seconds;
if (--timer < 0) {
window.location = "<?php echo"$page_redirect"; ?>";
clearInterval(end);
}
}, 1000);
}
window.onload = function () {
var fiveMinutes = 8,
display = document.querySelector('#time');
startTimer(fiveMinutes, display);
};
</script>
<style>
svg {
width: 100px;
display: block;
margin: 40px auto 0;
}
.path {
stroke-dasharray: 1000;
stroke-dashoffset: 0;
}
.path.circle {
-webkit-animation: dash 2.5s ease-in-out;
animation: dash 2.5s ease-in-out;
}
.path.line {
stroke-dashoffset: 1000;
-webkit-animation: dash 2.5s 0.35s ease-in-out forwards;
animation: dash 2.5s 0.35s ease-in-out forwards;
}
.path.check {
stroke-dashoffset: -100;
-webkit-animation: dash-check 2.5s 0.35s ease-in-out forwards;
animation: dash-check 2.5s 0.35s ease-in-out forwards;
}
p {
text-align: center;
margin: 20px 0 60px;
font-size: 1.25em;
}
p.success {
color: #73AF55;
}
p.error {
color: red;
}
@-webkit-keyframes dash {
0% {
stroke-dashoffset: 1000;
}
100% {
stroke-dashoffset: 0;
}
}
@keyframes dash {
0% {
stroke-dashoffset: 1000;
}
100% {
stroke-dashoffset: 0;
}
}
@-webkit-keyframes dash-check {
0% {
stroke-dashoffset: -100;
}
100% {
stroke-dashoffset: 900;
}
}
@keyframes dash-check {
0% {
stroke-dashoffset: -100;
}
100% {
stroke-dashoffset: 900;
}
}
@media only screen and (max-width: 767px) {
.ss{
position:;
left:;
}
}
@media only screen and (min-width: 768px) {
.ss{
position:relative;
left:0px;
}
}
</style>
<!-- Start About Page -->
<div class="contact-box-main">
<div class="container">
<div class="row">
<div class ='col-lg-4'></div>
<div class ='col-lg-4'>
<div class="card">
<div class="card-header" style='padding:0px;text-align:center;'>
<h2 style='color:red;text-align:center;font-size:30px;'>Attention Required</h2>
<?php echo"$message"; ?>
</div>
<div class="card-body">
<svg class='ss' version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 130.2 130.2">
<circle class="path circle" fill="none" stroke="red" stroke-width="6" stroke-miterlimit="10" cx="65.1" cy="65.1" r="62.1"/>
<line class="path line" fill="none" stroke="red" stroke-width="6" stroke-linecap="round" stroke-miterlimit="10" x1="34.4" y1="37.9" x2="95.8" y2="92.3"/>
<line class="path line" fill="none" stroke="red" stroke-width="6" stroke-linecap="round" stroke-miterlimit="10" x1="95.8" y1="38" x2="34.4" y2="92.2"/>
</svg>
<div class='explanation1' style='text-align:center;'>Redirecting in <span id="time">5</span><br/>
<br/>
<div style='text-align:center;margin:auto !important;'>
<a href='<?php echo"$page_redirect"; ?>' class='btn hvr-hover'>Redirect</a>
</div><br>
</div>
</div>
</div><br><br>
</div>
</div>
</div>
<!-- End About Page -->
<?php
//set the session to false so it wont be used again.
$_SESSION["action"] = "false";
?>
<?php include("footer.php"); ?>