assign(['cfg' => $GLOBALS['cfg'], 'dbcfg' => $GLOBALS['dbcfg'], 'ctrl' => $GLOBALS['ctrl']]); $order = new Order(); $order->createFromDB($ID_ITEM, true, true, true); $smarty->assign('order', $order); echo $smarty->fetch('email/orderShopkeeper.tpl'); } // ################################################ ?>