Gabriele - PHP 1
<?php
// 👻 Stiac Nuggets
// 🚀 Follow Us: stiac.it/
// 😍 Best Template for WebSite X5 on www.stiac.it/store.php
// 🌎 Discover a new world at www.gebher.com
// 🌌 Credits: Gabriele C. - Stiac Specialist
/* Let's assign the variables */
$startdate = "2022/11/12"; // Start date
$enddate = "2022/11/21"; // End date
$current = date("Y/m/d"); // Current Date
// Let's compare if the start and end dates are included in the current date
if ($enddate < $current || $startdate > $current) {
echo "<link rel='stylesheet' type='text/css' href='files/main_active.css'>";
} else {
echo "";
}
?>
<?php
if($status_add ==1){
?>
<style>
.slide-button {display:none !important}
</style>
<?php
}
?>