getConfig('max_send'), 'subject' => $DATA[0], 'text' => $DATA[1], 'payment' => getPaymentTitlePrice($DATA[3]), 'category' => getCategory($DATA[6]), 'url' => $DATA[5] ); // Send an email to the user $msg_mem = LOAD_EMAIL_TEMPLATE('order-member', $content, getUserId()); sendEmail($email, getMessage('MEMBER_NEW_QUEUE'), $msg_mem); // Notify admins about this sendAdminNotification(getMessage('ADMIN_NEW_QUEUE'), 'order-admin', $content, getUserId()); // Output back bottom LOAD_TEMPLATE('member_order-back', false); } else { // Matching line not found or already 'placed' in send queue redirectToUrl('modules.php?module=login'); } } else { // Redirect... redirectToUrl($URL); } // ?>