Gabriele - PHP 2
Normal Text, Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
<?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/11"; // 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) {
$status_add = 1;
} else {
$status_add = 0;
}
if($status_add ==1){
?>
<style>.slide-button {display:none !important}</style>
<?php
}
?>