i have the PHP code for a UDT, but the owner of the site is a simple user and must be able to adjust this content so i want to use a GCB where he can modify the content
Code: Select all
//vars
$date = getdate();
$hour = $date['hours'];
//code
if ($hour >= 18 && $hour <=20) {
echo ('in time'); //this should be replaced by a GCB
}
else {
echo ('out of time'); //this should be replaced by a GCB
}