getClientID())) {
                        $client = Clients::getClient($machine->getClientID());
                        ?>
                        
                            get("Client"); ?>: getName()); ?>
                            
                            
                                getPhone())) { ?>
                                    Phone: getPhone(); ?>
                                    
                                
                                getBillingAddress())) { ?>
                                    Billing address:
", htmlspecialchars($client->getBillingAddress())); ?>
                                    
                                
                                getMailingAddress())) { ?>
                                    Mailing address:
", htmlspecialchars($client->getMailingAddress())); ?>
                                
                                
                            
                         
                        
                    getOS())) { ?>
                        
                            get("OS/Software"); ?>: getOS()); ?>
                        
                    
                    getSerial())) { ?>
                        
                            get("Serial"); ?>: getSerial()); ?>
                        
                    
                    getManufacturer())) { ?>
                        
                            get("Manufacturer"); ?>: getManufacturer()); ?>
                        
                    
                    getModel())) { ?>
                        
                            get("Model"); ?>: getModel()); ?>
                        
                    
                    getCondition())) { ?>
                        
                            get("Condition"); ?>: getCondition();
                            $filled = floor($val);
                            $empty = 10;
                            while ($filled > 0) {
                                $filled--;
                                $empty--;
                                echo " ";
                            }
                            if ($val - floor($val) > 0.75) {
                                $empty--;
                                echo " ";
                            } else if ($val - floor($val) > 0.25) {
                                $empty--;
                                echo " ";
                            }
                            while ($empty > 0) {
                                $empty--;
                                echo " ";
                            }
                            echo " ($val/10)";
                            ?>
                        
                    
                    getPrice())) { ?>
                        
                            get("Price"); ?>: $getPrice(), 2); ?>
                        
                    
                    getPrivateNotes())) {
                        ?>
                        
                            get("Private Notes"); ?>:
", htmlspecialchars($machine->getPrivateNotes())); ?>
                         
                        getPublicNotes())) {
                        ?>
                        
                            get("Public Notes"); ?>:
", htmlspecialchars($machine->getPublicNotes())); ?>
                         
                        
                
                getEvents();
                if (count($history) > 0) {
                    ?>
                    
                        Events:
                        
                            \n";
                                echo "
" . $h->getName() . " on " . date($SETTINGS["datetime_format"], strtotime($h->getDate())) . "
\n";
                                if (!empty($h->getTechUID())) {
                                    echo "
Technician: " . htmlspecialchars((new User($h->getTechUID()))->getName()) . "
\n";
                                }
                                if (!empty($h->getPublicNotes())) {
                                    echo "
Public Notes:" . str_replace("\n", "\n
", htmlspecialchars($h->getPublicNotes())) . "
 ";
                                }
                                if (!empty($h->getPrivateNotes())) {
                                    echo "
Private Notes:" . str_replace("\n", "\n
", htmlspecialchars($h->getPrivateNotes())) . "
 ";
                                }
                                echo "\n
\n";
                            }
                            ?>