X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Forder_functions.php;h=d36639a046c7f5312f989759a3742315b5488b90;hp=92e10a574e3cfb7f1629919dbdb1e21fbb9a4a89;hb=a090e351c49fe021fb3064325694da03402332e0;hpb=e87430f959a8b240d516ef830e6494165bc933b2 diff --git a/inc/libs/order_functions.php b/inc/libs/order_functions.php index 92e10a574e..d36639a046 100644 --- a/inc/libs/order_functions.php +++ b/inc/libs/order_functions.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Funktionen fuer den Newsletter an die Gaeste * * -------------------------------------------------------------------- * - * * + * $Revision:: $ * + * $Date:: $ * + * $Tag:: 0.2.1-FINAL $ * + * $Author:: $ * + * 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 * * For more information visit: http://www.mxchange.org * @@ -32,19 +37,19 @@ ************************************************************************/ // Some security stuff... -if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) { +if (!defined('__SECURITY')) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); } function ORDER_SELECT_OPTION_LIST($default) { // Currenty the list is hardcoded... - $LIST = array("userid", "zip", "country", "email", "birth_year", "last_online", "ref_clicks", "total_logins", "mail_orders"); - $OUT = ""; + $LIST = array('userid', "zip", 'country', 'email', "birth_year", "last_online", "ref_clicks", "total_logins", "mail_orders"); + $OUT = ''; foreach ($LIST as $item) { - $selected = ""; + $selected = ''; if ($item == $default) $selected = " selected=\"selected\""; - $OUT .= "\n"; + $OUT .= "\n"; } // Return the output