function getGifValue($startTime, $endTime, $values) { $coutw = ""; if ($startTime != null && $startTime != "" && $endTime != null && $endTime != "") { if (date("Y-m-d", strtotime($startTime)) <= date("Y-m-d", time()) && date("Y-m-d", strtotime($endTime)) >= date("Y-m-d", time())) { $coutw = "<span class=\"icon_refund\">" . isDouble($values) . "元</span>"; } } return $coutw; }
function fIsDouble() { return function ($d) { return isDouble($d); }; }