- $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 .= "<OPTION value=\"".$item."\"".$selected.">{--ORDER_SELECT_COLUMN_".strtoupper($item)."--}</OPTION>\n";
- }
+ $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 .= '<option value="' . $item . '"' . $selected . '>{--ADMIN_ORDER_SELECT_COLUMN_' . strtoupper($item) . '--}</option>';
+ } // END - foreach
+
+ // Return the output