It looks like you are not setting the company value from your checkout form in a session variable. You will need to add in some code like this into the top of your confirm page:
<?php
if (!session_id()) session_start();
if($_SERVER["REQUEST_METHOD"] == "POST") {
$_SESSION["company1"] = "".((isset($_POST["company1"]))?$_POST["company1"]:"") ."";
}
?>
This will set a session variable named company1 that will hold the value that the user entered on the checkout form.