libs; $numLogLibs = $counts->partition_count; $bNoPartitions = ($numLogLibs == 0 ? true: false); $librarynames = ""; for ($l = 0; $l < $numLogLibs; $l++) { if ($l == 0) { $librarynames = $libs[$l]->name; } else { $librarynames = $librarynames. ":".$libs[$l]->name; } } $clnSlotList = get_allowed_cleaning_sizes($user); $numClnSlots = $counts->cleaning_count; $ioSlotList = get_allowed_mailbox_sizes($user); $numIOSlots = $counts->mailbox_count; $features = get_licensed_features($user); $total = count($features); $displayed = $total; $ipv4 = explode(".", $date->ntp_1); $ipv6 = explode(":", $date->ntp_1); $ipv4_length = count($ipv4); $ipv6_length = count($ipv6); error_log(print_r($date,true)); if ($date->ntp == 0) { $ntp1 = "0.0.0.0"; $ntp2 = "0.0.0.0"; } else { $ntp1 = $date->ntp_1; if ($date->ntp_2 == "") { $ntp2 = "0.0.0.0"; } else { $ntp2 = $date->ntp_2; } } if (preg_match("/:/", $date->ntp_1)) { $assignment = 'static6'; $text_attributes = 'size="45" maxlength="39"'; } else { $assignment = 'static4'; $text_attributes = 'size="45" maxlength="39"'; //$text_attributes = 'size="32" maxlength="16"'; } ?>