X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Forder_functions.php;h=e839164e538f3412de31a32ebe5fa322936923bf;hb=ccc4a69ce9b17aa8d7b1554a3b2b017db091821b;hp=50cde4274d895000a27798b39e035039b744c8c4;hpb=963e55ca1ea79e255f235e359cde9f7862191dc5;p=mailer.git diff --git a/inc/libs/order_functions.php b/inc/libs/order_functions.php index 50cde4274d..e839164e53 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 * @@ -33,19 +38,19 @@ // Some security stuff... if (!defined('__SECURITY')) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; + $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; require($INC); } -function ORDER_SELECT_OPTION_LIST($default) { +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 = ""; - if ($item == $default) $selected = " selected=\"selected\""; - $OUT .= "\n"; - } + $selected = ''; + if ($item == $default) $selected = ' selected="selected"'; + $OUT .= ''; + } // END - foreach // Return the output return $OUT;