-echo "<center> " . _("Item:") . " ";
-stock_bom_items_list('stock_id', $_POST['stock_id'], false, true);
-
-echo "<hr>";
-
-if ($_POST['stock_id'] != "")
-{
- echo "<center>" . _("All Costs Are In:") . " " . get_company_currency() . "<br><br>";
+ start_table("class='tablestyle_noborder'");
+ start_row();
+ echo '<td>';
+ stock_bom_items_list('stock_id', null, false, true);
+ echo '</td>';
+ end_table();
+
+ echo "<hr>";
+
+ display_heading(_("All Costs Are In:") . " " . get_company_currency());