Huge script change, see http://forum.mxchange.org/topic-458.html for details:
[mailer.git] / inc / libs / order_functions.php
index e839164e538f3412de31a32ebe5fa322936923bf..2ae8f367d39990882b4aee11ed5254a384078879 100644 (file)
@@ -17,7 +17,7 @@
  * Needs to be in all Files and every File needs "svn propset           *
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2008 by Roland Haeder                           *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
-       require($INC);
-}
+       die();
+} // END - if
 
-function ORDER_SELECT_OPTION_LIST ($default) {
+// Generates a selection list for mail order
+function addOrderSelectionOptions ($default) {
        // Currenty the list is hardcoded...
        $LIST = array('userid', 'zip', 'country', 'email', 'birth_year', 'last_online', 'ref_clicks', 'total_logins', 'mail_orders');
        $OUT = '';
@@ -56,5 +56,5 @@ function ORDER_SELECT_OPTION_LIST ($default) {
        return $OUT;
 }
 
-//
+// [EOF]
 ?>