| $pieces = explode("-", $c->ranges); | $pieces = explode("-", $c->ranges); | ||||
| if ($countD24 >= intval($pieces[0]) && $countD24 <= intval($pieces[1])) { | if ($countD24 >= intval($pieces[0]) && $countD24 <= intval($pieces[1])) { | ||||
| info($c->comm); | |||||
| info(strpos($c->comm, 'RM')); | |||||
| if (strpos($c->comm, 'RM') !== false) { | if (strpos($c->comm, 'RM') !== false) { | ||||
| $comm24 = '+ ' . $c->comm; | $comm24 = '+ ' . $c->comm; | ||||
| $commV24 = ''; | $commV24 = ''; | ||||
| $addRM24 = $c->comm; | $addRM24 = $c->comm; | ||||
| info($commV24 . ' first if ' . $addRM24); | |||||
| } else { | } else { | ||||
| $comms = explode("RM", $c->comm); | $comms = explode("RM", $c->comm); | ||||
| if (!empty($comms[1])) { | if (!empty($comms[1])) { |