|
|
Ok!
|
|
|
Ok!
|
|---|---|---|---|---|
| 128 | $current_time = strtotime("now");
$sunrise = strtotime("09:00");
$sunset = strtotime("21:00");
if ($current_time > $sunrise && $current_time < $sunset && date('w') > 0 && date('w') < 6)
{
?><a href="https://wa.me/<?=(mob_detect())?"+":""?>74951233121" target="_blank" class="chat_social_item chat_social_wh"></a><?
}
else
{
?><div style="display: none" id="wa_wi" data-info="<?=$current_time . ' ' . $sunrise . ' ' . $sunset?>">С 09:00 до 21:00</div><?
} | whatsupp | 5600 | whatsupp widget |