Machine Info:
                
                    
                        get("OS/Software"); ?>: getOS()); ?>
                    
                    
                        get("Serial"); ?>: getSerial()); ?>
                    
                    
                        get("Manufacturer"); ?>: getManufacturer()); ?>
                    
                    
                        get("Model"); ?>: getModel()); ?>
                    
                    
                        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)";
                        ?>
                    
                    
                        get("Price"); ?>: $getPrice(), 2); ?>
                    
                 
                getEvents();
                if (count($history) > 0) {
                    ?>
                    
                        Events:
                        
                            \n";
                                echo "
$h[eventname] on " . date($SETTINGS["datetime_format"], strtotime($h['date'])) . "
\n";
                                echo "
Technician: " . htmlspecialchars((new User($h['techuid']))->getName()) . "
\n";
                                if (!empty($h['publicnotes'])) {
                                    echo "
Public Notes:" . htmlspecialchars($h['publicnotes']) . "
 ";
                                }
                                if (!empty($h['privatenotes'])) {
                                    echo "
Private Notes:" . htmlspecialchars($h['privatenotes']) . "
 ";
                                }
                                echo "\n
\n";
                            }
                            ?>
                        
 
                     
                    
             
            getComponents();
            if (count($components) > 0) {
                ?>
                
                    Components:
                    
                        
                            
                                
                                getTypeName(); ?>
                                getModel())) {
                                    ?>
                                    
get("Model"); ?>: getModel()); ?>
                                    getCapacity())) {
                                    ?>
                                    
get("Capacity"); ?>:  getCapacity()); ?>
                                    getSerial())) {
                                    ?>
                                    
get("Serial"); ?>:  getSerial()); ?>
                                    getTestedDate())) {
                                    ?>
                                    
get("Tested On"); ?>:  getTestedDate())); ?>
                                    getPrice())) {
                                    ?>
                                    
get("Price"); ?>: $getPrice(), 2); ?>
                                    getPublicNotes())) {
                                    ?>
                                    
                                        Public Notes:
                                        getPublicNotes()); ?>
                                     
                                    getPrivateNotes())) {
                                    ?>
                                    
                                        Private Notes:
                                        getPrivateNotes()); ?>