This is what I did for line 91 – 110:
if (in_array("Order_Status", $Order_Information) and in_array("Order_Updated", $Order_Information)) {$ReturnString .= "<div class='pure-u-3-5'></div>";}
elseif (in_array("Order_Status", $Order_Information) or in_array("Order_Updated", $Order_Information)) {$ReturnString .= "<div class='pure-u-4-5'></div>";}
else {$ReturnString .= "<div class='pure-u-1'></div>";}
if (in_array("Order_Status", $Order_Information) or in_array("Order_Updated", $Order_Information)) {
//foreach ($Statuses as $Status) {
if (in_array("Order_Status", $Order_Information)) {
$ReturnString .= "<div class='ewd-otp-status-message pure-u-1-5'>";
$ReturnString .= end($Statuses)->Order_Status;
$ReturnString .= "</div>";
}
if (in_array("Order_Updated", $Order_Information)) {
$ReturnString .= "<div class='ewd-otp-status-time pure-u-1-5'>";
if ($Localize_Date_Time == "European") {$ReturnString .= date("d-m-Y H:i:s", strtotime($Status->Order_Status_Created));}
else {$ReturnString .= $Status->Order_Status_Created;}
$ReturnString .= "</div>";
}
if (in_array("Order_Status", $Order_Information) and in_array("Order_Updated", $Order_Information)) {$ReturnString .= "<div class='pure-u-3-5'></div>";}
else {$ReturnString .= "<div class='pure-u-4-5'></div>";}
//}
}
I’m sorry it took me so long to get back to you, I didn’t bother checking again because it worked fine. Good luck tho!