I want to implant gift_mod_v2.0 into invoice.php so it shows the gift under products.

here is the code i want to insert:
CODE
$freegift_query =  tep_db_query("select products_name, products_model from orders_freegift where orders_id = '" .$HTTP_GET_VARS['oID']  . "'");
                        $freegift = tep_db_fetch_array($freegift_query);
echo $freegift['products_model'] . " - " . $freegift['products_name'];



I believe it must be inserted here someplace in the invoice:
CODE
    for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) {
      echo '      <tr class="dataTableRow">' . "\n" .
           '        <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . '&nbsp;x</td>' . "\n" .
           '        <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];
           echo '      <tr class="dataTableRow">' . "\n" .


Hope some good coders can help me a little:)
Thanks