]> git.mxchange.org Git - mailer.git/commitdiff
login bonus will no longer be payed when turned off, "Y/N" rewritten to 'Y/N'
authorRoland Häder <roland@mxchange.org>
Mon, 4 Feb 2008 21:25:45 +0000 (21:25 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 4 Feb 2008 21:25:45 +0000 (21:25 +0000)
141 files changed:
beg.php
birthday_confirm.php
doubler.php
inc/autopurge.php
inc/doubler_send.php
inc/extensions.php
inc/extensions/ext-
inc/extensions/ext-active.php
inc/extensions/ext-admins.php
inc/extensions/ext-admintheme1.php
inc/extensions/ext-admintheme_default.php
inc/extensions/ext-autopurge.php
inc/extensions/ext-bank.php
inc/extensions/ext-beg.php
inc/extensions/ext-birthday.php
inc/extensions/ext-bonus.php
inc/extensions/ext-cache.php
inc/extensions/ext-country.php
inc/extensions/ext-demo.php
inc/extensions/ext-doubler.php
inc/extensions/ext-holiday.php
inc/extensions/ext-html_mail.php
inc/extensions/ext-mailid.php
inc/extensions/ext-maintenance.php
inc/extensions/ext-mediadata.php
inc/extensions/ext-mods.php
inc/extensions/ext-mydata.php
inc/extensions/ext-newsletter.php
inc/extensions/ext-nickname.php
inc/extensions/ext-online.php
inc/extensions/ext-optimize.php
inc/extensions/ext-order.php
inc/extensions/ext-other.php
inc/extensions/ext-payout.php
inc/extensions/ext-profile.php
inc/extensions/ext-rallye.php
inc/extensions/ext-register.php
inc/extensions/ext-repair.php
inc/extensions/ext-rewrite.php
inc/extensions/ext-sql_patches.php
inc/extensions/ext-support.php
inc/extensions/ext-task.php
inc/extensions/ext-theme.php
inc/extensions/ext-top10.php
inc/extensions/ext-transfer.php
inc/extensions/ext-user.php
inc/extensions/ext-wernis.php
inc/functions.php
inc/header.php
inc/libs/bonus_functions.php
inc/libs/doubler_functions.php
inc/libs/html_mail_functions.php
inc/libs/newsletter_functions.php
inc/libs/rallye_functions.php
inc/libs/register_functions.php
inc/libs/task_functions.php
inc/libs/user_functions.php
inc/load_cache.php
inc/load_extensions.php
inc/mails/beg_mails.php
inc/mails/birthday_mails.php
inc/mails/bonus_mails.php
inc/modules/admin/admin-inc.php
inc/modules/admin/overview-inc.php
inc/modules/admin/what-add_rallye.php
inc/modules/admin/what-autopurge.php
inc/modules/admin/what-config_autopurge.php
inc/modules/admin/what-config_beg.php
inc/modules/admin/what-config_birthday.php
inc/modules/admin/what-config_bonus.php
inc/modules/admin/what-config_cache.php
inc/modules/admin/what-config_doubler.php
inc/modules/admin/what-config_extensions.php
inc/modules/admin/what-config_other.php
inc/modules/admin/what-config_points.php
inc/modules/admin/what-config_rallye_prices.php
inc/modules/admin/what-config_rewrite.php
inc/modules/admin/what-config_transfer.php
inc/modules/admin/what-extensions.php
inc/modules/admin/what-list_beg.php
inc/modules/admin/what-list_bonus.php
inc/modules/admin/what-list_payouts.php
inc/modules/admin/what-list_rallyes.php
inc/modules/admin/what-maintenance.php
inc/modules/admin/what-send_bonus.php
inc/modules/admin/what-theme_edit.php
inc/modules/admin/what-unlock_emails.php
inc/modules/admin/what-user_online.php
inc/modules/admin/what-usr_online.php
inc/modules/chk_login.php
inc/modules/guest/what-confirm.php
inc/modules/guest/what-doubler.php
inc/modules/guest/what-mediadata.php
inc/modules/guest/what-register.php
inc/modules/index.php
inc/modules/login.php
inc/modules/member/what-bonus.php
inc/modules/member/what-categories.php
inc/modules/member/what-doubler.php
inc/modules/member/what-holiday.php
inc/modules/member/what-html_mail.php
inc/modules/member/what-newsletter.php
inc/modules/member/what-order.php
inc/modules/member/what-payout.php
inc/modules/member/what-points.php
inc/modules/member/what-transfer.php
inc/modules/order.php
inc/monthly/monthly_beg.php
inc/monthly/monthly_bonus.php
inc/mysql-manager.php
inc/pool-update.php
inc/profile-updte.php
mailid_top.php
modules.php
templates/de/html/admin/admin_add_bank_package.tpl
templates/de/html/admin/admin_add_banner.tpl
templates/de/html/admin/admin_add_cat.tpl
templates/de/html/admin/admin_add_country.tpl
templates/de/html/admin/admin_config_autopurge.tpl
templates/de/html/admin/admin_config_beg.tpl
templates/de/html/admin/admin_config_birthday.tpl
templates/de/html/admin/admin_config_bonus.tpl
templates/de/html/admin/admin_config_cache.tpl
templates/de/html/admin/admin_config_doubler.tpl
templates/de/html/admin/admin_config_extensions.tpl
templates/de/html/admin/admin_config_other.tpl
templates/de/html/admin/admin_config_point_settings.tpl
templates/de/html/admin/admin_config_rewrite_rows.tpl
templates/de/html/admin/admin_config_transfer.tpl
templates/de/html/admin/admin_guest_add.tpl
templates/de/html/admin/admin_member_add.tpl
templates/de/html/admin/admin_newsletter.tpl
templates/de/html/admin/admin_newsletter_nohtml.tpl
templates/de/html/admin/admin_payout_add_new.tpl
templates/de/html/guest/guest_cat_row.tpl
templates/de/html/guest/guest_register.tpl
templates/de/html/member/member_cat_row.tpl
templates/de/html/member/member_html_mail_settings.tpl
templates/de/html/member/member_order-html_ext.tpl
templates/de/html/member/member_order-html_intro.tpl
templates/de/html/member/member_transfer_settings.tpl

diff --git a/beg.php b/beg.php
index 9d5380cb8770979d499b1768242fbd637b8e339b..baffdec97f373fca724e1d3ef7bdfa5fa08623ef 100644 (file)
--- a/beg.php
+++ b/beg.php
@@ -145,10 +145,10 @@ if (defined('mxchange_installed') && (mxchange_installed))
 
                                // Set mode depending on how many mails the member has to confirm
                                $locked = false;
-                               if (($ref_payout > 0) && ($CONFIG['allow_direct_pay'] == "N")) $locked = true;
+                               if (($ref_payout > 0) && ($CONFIG['allow_direct_pay'] == 'N')) $locked = true;
 
                                // Is begging rallye active?
-                               if ($CONFIG['beg_rallye'] == "Y")
+                               if ($CONFIG['beg_rallye'] == 'Y')
                                {
                                        // Add points to rallye account
                                        $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_user_data SET beg_points=beg_points+%s WHERE userid=%d LIMIT 1",
index abc3bad31f492c87949df28684d8672adeac3d6c..b65d5e1b0ad23ed425a9589ba2b3d1644c3c5fb9 100644 (file)
@@ -73,7 +73,7 @@ WHERE b.userid=%d AND b.chk_value='%s' LIMIT 1",
                {
                        // Set mode depending on how many mails the member has to confirm
                        $locked = false;
-                       if (($ref_payout > 0) && ($CONFIG['allow_direct_pay'] == "N")) $locked = true;
+                       if (($ref_payout > 0) && ($CONFIG['allow_direct_pay'] == 'N')) $locked = true;
 
                        // Add points to account
                        ADD_POINTS_REFSYSTEM($uid, $GIFT, false, "0", $locked, strtolower($CONFIG['birthday_mode']));
index a630b2a4f484309aba4b47e28f3d1941311e1665..637bd4411df299debb54c0085b1cc1a3cfa81cc1 100644 (file)
@@ -299,7 +299,7 @@ if (defined('mxchange_installed') && (mxchange_installed))
        }
 
        // Generate table with already payed out doubles
-       define('__DOUBLER_PAYOUT_HISTORY', DOUBLER_GENERATE_TABLE("0", "Y", "N", "DESC"));
+       define('__DOUBLER_PAYOUT_HISTORY', DOUBLER_GENERATE_TABLE("0", 'Y', 'N', "DESC"));
 
        // Generate timemark
        define('__TIMEOUT_MARK', CREATE_FANCY_TIME($CONFIG['doubler_timeout']));
index 52ac70472785d03c154d95ed708e9c406884f5ec..aa393cf9b5718c65f6dcb9b85dedb04b0a67bae4 100644 (file)
@@ -38,7 +38,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
        require($INC);
 }
 
-if (($CONFIG['auto_purge_active'] == "Y") && ($CONFIG['auto_purge'] > 0))
+if (($CONFIG['auto_purge_active'] == 'Y') && ($CONFIG['auto_purge'] > 0))
 {
        // First calculate the timestamp
        if (function_exists('CREATE_TIME_SELECTIONS'))
@@ -162,7 +162,7 @@ WHERE s.timestamp_ordered <= %s ORDER BY s.userid",
 }
 
 // Shall I look for inactive accounts and autopurge inactive accounts?
-if ($CONFIG['ap_inactive'] == "Y")
+if ($CONFIG['ap_inactive'] == 'Y')
 {
        // Ok, let's have a look...
        $since = bigintval(time() - $CONFIG['ap_in_since']);
@@ -260,7 +260,7 @@ ORDER BY userid",
                $UIDs = str_replace(", ", "\n", substr($UIDs, 0, -2));
 
                // Send mail notification to admin
-               if ($CONFIG['ap_un_mail'] == "Y")
+               if ($CONFIG['ap_un_mail'] == 'Y')
                {
                        if (GET_EXT_VERSION("admins") >= "0.4.1")
                        {
@@ -279,7 +279,7 @@ ORDER BY userid",
 }
 
 // Shall I auto-purge unconfirmed accounts?
-if ($CONFIG['ap_unconfirmed'] == "Y")
+if ($CONFIG['ap_unconfirmed'] == 'Y')
 {
        // Init variables and find unconfirmed accounts which I shall auto-purge
        $time = bigintval(time() - $CONFIG['ap_un_time']);
@@ -308,7 +308,7 @@ if ($CONFIG['ap_unconfirmed'] == "Y")
                $UIDs = str_replace(", ", "\n", substr($UIDs, 0, -2));
 
                // Send mail notification to admin
-               if ($CONFIG['ap_un_mail'] == "Y")
+               if ($CONFIG['ap_un_mail'] == 'Y')
                {
                        if (GET_EXT_VERSION("admins") >= "0.4.1")
                        {
@@ -327,7 +327,7 @@ if ($CONFIG['ap_unconfirmed'] == "Y")
 }
 
 // Check version (must be > 0.0)
-if ((GET_EXT_VERSION("task") > "0.0") && ($CONFIG['ap_tasks'] == "Y"))
+if ((GET_EXT_VERSION("task") > "0.0") && ($CONFIG['ap_tasks'] == 'Y'))
 {
        // Purge deleted tasks (no notification to admin)
        $since = bigintval(time() - $CONFIG['ap_tasks_time']);
@@ -335,7 +335,7 @@ if ((GET_EXT_VERSION("task") > "0.0") && ($CONFIG['ap_tasks'] == "Y"))
         array($since), __FILE__, __LINE__);
        $DELETED = SQL_AFFECTEDROWS();
 
-       if (($DELETED > 0) && ($CONFIG['ap_tasks_mail'] == "Y"))
+       if (($DELETED > 0) && ($CONFIG['ap_tasks_mail'] == 'Y'))
        {
                // Send out email to admin
                if (GET_EXT_VERSION("admins") >= "0.4.1")
@@ -418,7 +418,7 @@ if ($CONFIG['ap_del_mails'])
        SQL_FREERESULT($result_mails);
 
        // Do we have deleted mails and the admin want's to receive a notification
-       if (($DELETED > 0) && ($CONFIG['ap_dm_notify'] == "Y"))
+       if (($DELETED > 0) && ($CONFIG['ap_dm_notify'] == 'Y'))
        {
                // Send out email to admin
                if (GET_EXT_VERSION("admins") >= "0.4.1")
index 374a8b19e4cc50097ddfe0f10991d6b8cad3a39d..c3ccc8dcf3c07df1a54d5371544a8e251acc7c93 100644 (file)
@@ -73,11 +73,11 @@ WHERE u.status='CONFIRMED' AND d.points <= %s AND d.points >= %s AND d.completed
 ORDER BY d.timemark
 LIMIT %s", array($DOUBLER_POINTS, $min, $CONFIG['doubler_max_sent']), __FILE__, __LINE__);
 
-if (((SQL_NUMROWS($result_total) > 0) && ($CONFIG['doubler_sent_all'] == "Y")) || ((SQL_NUMROWS($result_main) == $CONFIG['doubler_group_sent']) && ($CONFIG['doubler_sent_all'] == "N")))
+if (((SQL_NUMROWS($result_total) > 0) && ($CONFIG['doubler_sent_all'] == 'Y')) || ((SQL_NUMROWS($result_main) == $CONFIG['doubler_group_sent']) && ($CONFIG['doubler_sent_all'] == 'N')))
 {
        // Switch to matching SQL resource
        $result_load = $result_main;
-       if ((SQL_NUMROWS($result_total) > 0) && ($CONFIG['doubler_sent_all'] == "Y")) $result_load = $result_total;
+       if ((SQL_NUMROWS($result_total) > 0) && ($CONFIG['doubler_sent_all'] == 'Y')) $result_load = $result_total;
 
        // At least one account was found
        while(list($id, $uid, $points, $ip, $time) = SQL_FETCHROW($result_load))
@@ -129,7 +129,7 @@ if (((SQL_NUMROWS($result_total) > 0) && ($CONFIG['doubler_sent_all'] == "Y")) |
 
                        $OK = false;
                        // Check for jackpot inclusion in doubling process
-                       if (($jackpot > 0) && ($jackpot >= $points) && ($CONFIG['doubler_jackpot'] == "Y"))
+                       if (($jackpot > 0) && ($jackpot >= $points) && ($CONFIG['doubler_jackpot'] == 'Y'))
                        {
                                // Subtract points from jackpot
                                $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_jackpot SET points=points-%s WHERE ok='ok' LIMIT 1",
index 893a5a183616cc0e4e6190203e85805004d25541..dc22eaeb7a42c826ef6d44ca477ab41dc80deefb 100644 (file)
@@ -65,7 +65,7 @@ function EXTENSION_REGISTER($ext_name, $id, $dry_run=false)
                foreach ($EXT_VER_HISTORY as $EXT_VER)
                {
                        require($file);
-                       if (((GET_EXT_VERSION("sql_patches") != "") && ($CONFIG['verbose_sql'] == "Y")) || (!EXT_IS_ACTIVE("sql_patches")))
+                       if (((GET_EXT_VERSION("sql_patches") != "") && ($CONFIG['verbose_sql'] == 'Y')) || (!EXT_IS_ACTIVE("sql_patches")))
                        {
                                if (!empty($UPDATE_NOTES))
                                {
@@ -307,7 +307,7 @@ function EXT_IS_ACTIVE ($ext_name, $ignore_admin=false, $ignore_cache=false)
        // Shorter way
        return (
                (
-                       ($active == "Y") || (
+                       ($active == 'Y') || (
                                (IS_ADMIN()) &&
                                (!$ignore_admin) &&
                                (!empty($active))
@@ -384,7 +384,7 @@ function EXTENSION_UPDATE($file, $ext, $EXT_VER, $dry_run=false)
                        include(PATH."inc/extensions/".$file);
 
                        // Add notes
-                       if ($CONFIG['verbose_sql'] == "Y")
+                       if ($CONFIG['verbose_sql'] == 'Y')
                        {
                                $EXT_VER = $EXT_VER_HISTORY[$idx];
                                if (!empty($UPDATE_NOTES))
@@ -470,7 +470,7 @@ function EXTENSION_VERBOSE_TABLE($SQLs, $title=ADMIN_SQLS_EXECUTED_ON_REMOVAL, $
 
        $S = false; $SW = 2; $i = 1;
        $OUT = "";
-       if ((is_array($SQLs)) && (GET_EXT_VERSION("sql_patches")) && ($CONFIG['verbose_sql'] == "Y"))
+       if ((is_array($SQLs)) && (GET_EXT_VERSION("sql_patches")) && ($CONFIG['verbose_sql'] == 'Y'))
        {
                $OUT  = "<DIV align=\"center\">
 <TABLE border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"".$WIDTH."\" align=\"center\"".$dashed.">
@@ -497,7 +497,7 @@ function EXTENSION_VERBOSE_TABLE($SQLs, $title=ADMIN_SQLS_EXECUTED_ON_REMOVAL, $
                }
        }
 
-       if ((!$S) && (GET_EXT_VERSION("sql_patches")) && ($CONFIG['verbose_sql'] == "Y"))
+       if ((!$S) && (GET_EXT_VERSION("sql_patches")) && ($CONFIG['verbose_sql'] == 'Y'))
        {
                // No addional SQL commands to run
                $OUT .= "<TR>
index 526c2a698114cc077f03bc2483f8839a40b2b44b..d714a3e593dcdf800e8531e226832036bfe2764c 100644 (file)
@@ -53,7 +53,7 @@ case "register": // Do stuff when installtion is running (modules.php?module=adm
        // SQL commands to run
 
        // Load CSS file?
-       $EXT_CSS = "Y";
+       $EXT_CSS = 'Y';
        break;
 
 case "remove": // Do stuff when removing extension
@@ -90,7 +90,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "xxx";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index b385faa12039af6d085406af631b997e1ce98535..d85309ce5e35613271f84913b901b7c50a4f53cd 100644 (file)
@@ -54,7 +54,7 @@ case "register": // Do stuff when installtion is running (modules.php?module=adm
        $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_guest_menu (action, what, title, sort, visible, locked) VALUES ('main', 'active', 'Heute Online', 10, 'N', 'Y')";
 
        // Load CSS file?
-       $EXT_CSS = "Y";
+       $EXT_CSS = 'Y';
        break;
 
 case "remove": // Do stuff when removing extension
@@ -131,7 +131,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "active";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index bc2522d0a94d830ea6ef919862dd14c982441158..18ac24865b3a70d6eb0248184dd9d7060782593d 100644 (file)
@@ -287,7 +287,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "admins";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 53c0a64387d965e5a0c37ad574df6845155c8b35..b36ba4e0c59624345e8c32e2376e92862c1b897d 100644 (file)
@@ -89,7 +89,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "admintheme";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 97517cc3838c41ccccbb0560eb3e04ade8b5e3c6..540e1ddb1119da7b956807aee9e9af950290796f 100644 (file)
@@ -89,7 +89,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "admintheme";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 1a0d6bda37fae1cb4917b61f3c09c1814c571a8d..9ed1a8c7f223b6cc88f2b05c8f4700d0650add73 100644 (file)
@@ -288,7 +288,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "autopurge";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "Y";
+$EXT_ALWAYS_ACTIVE = 'Y';
 
 //
 ?>
index 17813503eb60a7a04f98df83f71eca28a6fa7571..56efcdf01d46dc7d79e04a705b5fbe43c3586040 100644 (file)
@@ -193,7 +193,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "bank";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 02e74e1a386b71dbfb6559cd92f7b9eac36ae95c..69a2ddc9b37bb74b73014b20960c09142bf142ae 100644 (file)
@@ -69,7 +69,7 @@ PRIMARY KEY(id)
 ) TYPE=MyISAM";
 
        // Load CSS file?
-       $EXT_CSS = "Y";
+       $EXT_CSS = 'Y';
        break;
 
 case "remove": // Do stuff when removing extension
@@ -166,8 +166,8 @@ case "update": // Update an extension
                $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD beg_active enum('Y', 'N') not null default 'N'";
                $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD beg_rallye enum('Y', 'N') not null default 'N'";
                $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_user_data ADD beg_points double(21,5) not null default '0.00000'";
-               $VIS = "N"; $LOCKED = "Y";
-               if (EXT_IS_ACTIVE("beg")) { $VIS = "Y"; $LOCKED = "N"; }
+               $VIS = 'N'; $LOCKED = 'Y';
+               if (EXT_IS_ACTIVE("beg")) { $VIS = 'Y'; $LOCKED = 'N'; }
                $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_member_menu (action, what, title, visible, locked, sort) VALUES ('main', 'beg2', 'Bettel-Rallye', '".$VIS."', '".$LOCKED."', '7')";
                $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_admin_menu (action, what, title, descr, sort) VALUES('user', 'list_beg', 'Bettel-Rallye', 'Listet alle Teilnehmer der monatlichen Bettel-Rallye auf.', '12')";
 
@@ -287,7 +287,7 @@ default: // Do stuff when extension is loaded
        if (defined('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1))
        {
                // Daily reset was run so let's check if begging rallye is active
-               if ($CONFIG['beg_rallye'] == "Y")
+               if ($CONFIG['beg_rallye'] == 'Y')
                {
                        // Check for our winers
                        $INC_POOL[] = PATH."inc/monthly/monthly_beg.php";
@@ -300,7 +300,7 @@ default: // Do stuff when extension is loaded
        }
 
        // Check for beg rallye is active and send mails out
-       if (($CONFIG['beg_rallye'] == "Y") && ($CONFIG['beg_new_mem_notify'] == "Y"))
+       if (($CONFIG['beg_rallye'] == 'Y') && ($CONFIG['beg_new_mem_notify'] == 'Y'))
        {
                // Include file for sending out mails
                $INC_POOL[] = PATH."inc/mails/beg_mails.php";
@@ -315,7 +315,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "beg";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index fe51e4f71212e67127cf09c1ad4ebbbac4beb05a..42cf1e496967e83ccba143b23b7a43bca349af00 100644 (file)
@@ -206,7 +206,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "birthday";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 4520b240b2dd55802eaae9ecf4ae24c1255cfd40..db04202913d83633a8a4ca665fa5c384bb09b31d 100644 (file)
@@ -372,7 +372,7 @@ KEY userid (userid)
                if ($curr == "00") $curr = "12";
 
                // Generate timemark...
-               $mark = mktime(0, 0, 0, $curr, 1, date("Y", time()));
+               $mark = mktime(0, 0, 0, $curr, 1, date('Y', time()));
 
                // Update accounts which are not active last months
                $SQLs[] = "UPDATE "._MYSQL_PREFIX."_user_data
@@ -571,7 +571,7 @@ default: // Do stuff when extension is loaded
        if (defined('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1))
        {
                // Daily reset was run so let's check if active rallye is activated
-               if ($CONFIG['bonus_active'] == "Y")
+               if ($CONFIG['bonus_active'] == 'Y')
                {
                        // Run active rallye
                        if($CONFIG['bonus_stats'] > 0) $INC_POOL[] = PATH."inc/stats_bonus.php";
@@ -585,7 +585,7 @@ default: // Do stuff when extension is loaded
        }
 
        // Check for bonus rallye is active and send mails out
-       if (($CONFIG['bonus_active'] == "Y") && ($CONFIG['bonus_new_mem_notify'] == "Y"))
+       if (($CONFIG['bonus_active'] == 'Y') && ($CONFIG['bonus_new_mem_notify'] == 'Y'))
        {
                // Include file for sending out mails
                $INC_POOL[] = PATH."inc/mails/bonus_mails.php";
@@ -597,7 +597,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "bonus";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 1a86aa29a0cec36d5551fcc68e76c443abff0f26..dc2bd99f7db2c7f21cc063cdc9e25414cf53048c 100644 (file)
@@ -218,7 +218,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "cache";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 17b9b8e3db6c1ee95fb2ba9368ceed751f91a139..4d0d23e4ecda48b90a05b76b8ea78fb2e60a2fc5 100644 (file)
@@ -119,7 +119,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "country";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "Y";
+$EXT_ALWAYS_ACTIVE = 'Y';
 
 //
 ?>
index 264b3aba703e3d94c7edfb89c4964b4e903e7341..5e3e6242c511b78a3aa2040fefd9e284b62aacf3 100644 (file)
@@ -86,7 +86,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "demo";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 469547623e427a0c89c9366cbe433bff4011a0ab..fbe5fa77bd73f4970098acda471d08306efa3a66 100644 (file)
@@ -273,7 +273,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "doubler";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 87849df5fb727b823dace0fad4bfb9ae2c6a44d2..a642d7f93aa4a14afe20c732a8daad942079d477 100644 (file)
@@ -244,7 +244,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "holiday";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 167cf4be7663a77234496c254c7d1a2e8b700978..165366e14bba98001c5323dfa1ddf6a0e7490639 100644 (file)
@@ -168,7 +168,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "html_mail";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 53dc9c7ade63e4efd43cd0e35e7239aeb4bac1ef..759efec5907795b87371478fc1095c153f34640c 100644 (file)
@@ -244,7 +244,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "mailid";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index a61450e7dec07e64f42615b98e83901c11d0c1bf..defda69374db672a8d228423129ccf2d0241e546 100644 (file)
@@ -119,7 +119,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "maintenance";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "Y";
+$EXT_ALWAYS_ACTIVE = 'Y';
 
 //
 ?>
index aeae07806013abecf51038f431519189048ad9cb..f8fa3e0d58f83b485a25dd2bfefa43ed97f1a5a7 100644 (file)
@@ -149,7 +149,7 @@ if ((isset($dry_run)) && (isset($EXT_LOAD_MODE)))
 $EXT_LANG_PREFIX = "mediadata";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "Y";
+$EXT_ALWAYS_ACTIVE = 'Y';
 
 //
 ?>
index 5dc5197fafe483fcd53dcf42fa9eeb344872faed..676eaef3f7f15e0cc7d557f375600a6294b70b98 100644 (file)
@@ -120,7 +120,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "mods";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index e2b8050b3a1c843a65cb864730b9b90c369a627a..5b4617a17c68f1b68e7cdabcbc3a6d8137df8ee8 100644 (file)
@@ -171,7 +171,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "mydata";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index ed9e51e0c2383fb31e65496593793eefa964d19f..2766175901c3a5bd21ba6fbf5e19580791705840 100644 (file)
@@ -185,7 +185,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "newsletter";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 99b5b5c55afb03a2bfe45b2388631b59a4513f89..7037d140d2cdf1c7b0cbec7130d2bf28cdd1986d 100644 (file)
@@ -56,7 +56,7 @@ case "register": // Do stuff when installtion is running (modules.php?module=adm
        $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_member_menu (action, what, title, sort, visible, locked) VALUES ('main', 'nickname', 'Nicknamen', '5', 'Y', 'Y')";
 
        // Load CSS file?
-       $EXT_CSS = "Y";
+       $EXT_CSS = 'Y';
        break;
 
 case "remove": // Do stuff when removing extension
@@ -191,7 +191,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "nickname";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index c91f111249aa55a4a2718c9983272fc72545af9e..166d09217714df20845ede3863aa3512437b0dbb 100644 (file)
@@ -119,7 +119,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "online";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index cd4baf74850908c0ae5df5b11ccb8b6f0a07a9fa..22be9792faaed8cae6bbccfd32b5b8846eb29981 100644 (file)
@@ -118,7 +118,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "optimize";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "Y";
+$EXT_ALWAYS_ACTIVE = 'Y';
 
 //
 ?>
index 1c0827454f6e60b77ff2320a4b964f90653a4a4e..85fc69ec9e06e0c4ccf52a822eac7bbbf70e4cbc 100644 (file)
@@ -308,7 +308,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "order";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 8e84b7d11e84345ec4d40e1ee2d1693c25fa5747..096f3e1fd812f059017d23158c0b5cbfb6313440 100644 (file)
@@ -189,7 +189,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "other";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "Y";
+$EXT_ALWAYS_ACTIVE = 'Y';
 
 //
 ?>
index 089c3e78e78853de94e2fdfed18886cf212164e5..f3fad501545aa997235547ac475d2047aa112667 100644 (file)
@@ -246,7 +246,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "payout";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 87ce68aa670092c4dc3f2b99d6d7688af2b0571c..e77a7aa2159af2963ccd3e2dbd8e598538692a7e 100644 (file)
@@ -132,7 +132,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "profile";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index f54cc7fda05a9d8ec3af9e175633330c889f15f1..bf770bb7b32e7e22e19532569a6644c503f4f605 100644 (file)
@@ -352,7 +352,7 @@ LIMIT 1", __FILE__, __LINE__);
 $EXT_LANG_PREFIX = "rallye";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 6b51035a201607022546e8065216876416e1f9ba..1ced350f360c526467fc102716fdbacee6a7c559 100644 (file)
@@ -54,7 +54,7 @@ case "register": // Do stuff when installtion is running (modules.php?module=adm
        $SQLs[] = "";
 
        // Load own CSS file?
-       $EXT_CSS = "Y";
+       $EXT_CSS = 'Y';
        break;
 
 case "remove": // Do stuff when removing extension
@@ -334,7 +334,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "register";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index cc2c20526f1b1ebe349dbaffeccb96852954c6cd..3cc4d89c0e26b1696a5dcee0bcc1845bf9394e65 100644 (file)
@@ -120,7 +120,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "repair";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 4fb2de06267d7cba189070a6f4a19d4060338380..bab687f68cc83c210a2090be057ee22ce25385a9 100644 (file)
@@ -145,7 +145,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "rewrite";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 22b0b9a26d1eb26342ba7c0b19ac3a945406d0de..b9feccd1c3536b4e2c2403d9316d327b91911e62 100644 (file)
@@ -594,10 +594,10 @@ default: // Do stuff when extension is loaded
        } else {
                // Set some lame ;-) default settings
                $CONFIG['def_refid'] = 0;
-               $CONFIG['title_decoration'] = "N";
-               $CONFIG['title_mod_show']   = "Y";
+               $CONFIG['title_decoration'] = 'N';
+               $CONFIG['title_mod_show']   = 'Y';
                $CONFIG['title_middle']     = "-";
-               //$CONFIG['verbose_sql']      = "N";
+               //$CONFIG['verbose_sql']      = 'N';
                define('MT_WORD' , DEFAULT_MT_WORD );
                define('MT_WORD2', DEFAULT_MT_WORD2);
                define('POINTS'  , DEFAULT_POINTS);
@@ -612,7 +612,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "sql_patches";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "Y";
+$EXT_ALWAYS_ACTIVE = 'Y';
 
 //
 ?>
\ No newline at end of file
index 5d24d79c32e8e073e6a71e17c7b72974cb249f61..960a3f41a476ed71d8caea8f3909b66134b11290 100644 (file)
@@ -133,7 +133,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "support";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index b9433b0413c8b79840268b6f6fc82a30ba18ed03..99a1731cfbfb4b7b02b6154155128d6a8ac3430e 100644 (file)
@@ -56,7 +56,7 @@ case "register": // Do stuff when installtion is running (modules.php?module=adm
        $SQLs[] = "UPDATE "._MYSQL_PREFIX."_task_system SET status='SOLVED' WHERE status='CLOSED'";
 
        // Enable CSS file?
-       $EXT_CSS = "Y";
+       $EXT_CSS = 'Y';
        break;
 
 case "remove": // Do stuff when removing extension
@@ -249,7 +249,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "task";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 43d9c0cce949688df69a8a00372dee628ff4772b..80e3b925f2f8a45bc8bab777ab9bf089fc91421e 100644 (file)
@@ -112,7 +112,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "theme";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 1e99c57c7f7ea919c8f480da949fcaf6b7ca7a63..bfe821a1e27ba27852a77e4cfcbe04e0722aa3cf 100644 (file)
@@ -56,7 +56,7 @@ case "register": // Do stuff when installtion is running (modules.php?module=adm
        $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD top10_max tinyint(4) not null default '10'";
 
        // Load CSS file?
-       $EXT_CSS = "Y";
+       $EXT_CSS = 'Y';
        break;
 
 case "remove": // Do stuff when removing extension
@@ -152,7 +152,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "top10";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 3f33d7a38fbdc518e3598db567720e61341ff63b..26d94ba6c01b1b122ef1266c4891e2da1a685dc9 100644 (file)
@@ -298,7 +298,7 @@ default: // Do stuff when extension is loaded
        $CONFIG['ap_transfer']      = $DUMMY['ap_transfer'];
        unset($DUMMY);
 
-       if ((defined('__DAILY_RESET')) && ($CONFIG['ap_transfer'] == "Y"))
+       if ((defined('__DAILY_RESET')) && ($CONFIG['ap_transfer'] == 'Y'))
        {
                // Automatically remove outdated or not displayed transactions
                TRANSFER_AUTPPURGE($CONFIG['transfer_max'], $CONFIG['transfer_age']);
@@ -309,7 +309,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "transfer";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 9e311fb25a54cf422bf79dffe9f872f4247070cb..6ef846c5583a47ac52b12db6467ab65854a1a36a 100644 (file)
@@ -51,7 +51,7 @@ case "register": // Do stuff when installtion is running (modules.php?module=adm
        $SQLs[] = "";
 
        // Load CSS-File?
-       $EXT_CSS = "Y";
+       $EXT_CSS = 'Y';
        break;
 
 case "remove": // Do stuff when removing extension
@@ -224,7 +224,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "user";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "Y";
+$EXT_ALWAYS_ACTIVE = 'Y';
 
 //
 ?>
index 33ea71e91162c8ea0681bd80ad56b41fd429588c..8c2d64d032a8c822e4dea46a35b481d8afdc5fdb 100644 (file)
@@ -112,7 +112,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "wernis";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>
index 161c73c35ddfcfc3d13ea97a30b85670b6587434..3162da2b78ce3fb8133659a2c418789607758cb5 100644 (file)
@@ -353,7 +353,7 @@ function LOAD_TEMPLATE($template, $return=false, $content="")
 }
 
 // Send mail out to an email address
-function SEND_EMAIL($TO, $SUBJECT, $MSG, $HTML="N", $FROM="")
+function SEND_EMAIL($TO, $SUBJECT, $MSG, $HTML='N', $FROM="")
 {
        // Compile subject line (for POINTS constant etc.)
        $eval = "\$SUBJECT = \"".COMPILE_CODE(addslashes($SUBJECT))."\";";
@@ -397,7 +397,7 @@ function SEND_EMAIL($TO, $SUBJECT, $MSG, $HTML="N", $FROM="")
        }
 
        // Fix HTML parameter (default is no!)
-       if (empty($HTML)) $HTML = "N";
+       if (empty($HTML)) $HTML = 'N';
        if (DEBUG_MODE)
        {
                // In debug mode we want to display the mail instead of sending it away so we can debug this part
@@ -408,7 +408,7 @@ Subject : ".$SUBJECT."
 Message : ".$MSG."
 </PRE>\n";
        }
-        elseif (($HTML == "Y") && (EXT_IS_ACTIVE("html_mail", true)))
+        elseif (($HTML == 'Y') && (EXT_IS_ACTIVE("html_mail", true)))
        {
                // Send mail as HTML away
                SEND_HTML_EMAIL($TO, $SUBJECT, $MSG, $FROM);
@@ -421,7 +421,7 @@ Message : ".$MSG."
                // Send Mail away
                SEND_RAW_EMAIL(stripslashes($TO), COMPILE_CODE($SUBJECT), stripslashes($MSG), $FROM);
        }
-        elseif ($HTML == "N")
+        elseif ($HTML == 'N')
        {
                // Problem found!
                SEND_RAW_EMAIL(WEBMASTER, COMPILE_CODE($SUBJECT), stripslashes($MSG), $FROM);
@@ -746,7 +746,7 @@ function LOAD_EMAIL_TEMPLATE($template, $content="", $UID="0")
 
        // Keept for backward-compatiblity (please replace these variables against our new {--CONST--} syntax!)
        $MAIN_TITLE = MAIN_TITLE; $URL = URL; $WEBMASTER = WEBMASTER;
-       $surname = ""; $family = ""; $nick = ""; $sex = "N";
+       $surname = ""; $family = ""; $nick = ""; $sex = 'N';
 
        // Prepare IP number and User Agent
        $REMOTE_ADDR = getenv('REMOTE_ADDR');
@@ -891,7 +891,7 @@ function LOAD_EMAIL_TEMPLATE($template, $content="", $UID="0")
         else
        {
                // Neutral sex and email address is default
-               $sex = "N";
+               $sex = 'N';
                $email = WEBMASTER;
        }
 
@@ -986,7 +986,7 @@ function MAKE_TIME($H, $M, $S, $stamp)
        // Extract day, month and year from given timestamp
        $DAY   = date("d", $stamp);
        $MONTH = date("m", $stamp);
-       $YEAR  = date("Y", $stamp);
+       $YEAR  = date('Y', $stamp);
 
        // Create timestamp for wished time which depends on extracted date
        return mktime($H, $M, $S, $MONTH, $DAY, $YEAR);
@@ -1171,7 +1171,7 @@ function ADD_SELECTION($TYPE, $DEFAULT, $PREFIX="", $id="0")
 
        case "year": // Year
                // Get current year
-               $YEAR = date("Y", time());
+               $YEAR = date('Y', time());
 
                // Check if the default value is larger than minimum and bigger than actual year
                if (($DEFAULT > 1930) && ($DEFAULT >= $YEAR))
@@ -1195,7 +1195,7 @@ function ADD_SELECTION($TYPE, $DEFAULT, $PREFIX="", $id="0")
                {
                        // Get current year and subtract 16 (for erotic content)
                        $OUT .= "      <OPTION value=\"1929\">&lt;1930</OPTION>\n";
-                       $YEAR = date("Y", time()) - 16;
+                       $YEAR = date('Y', time()) - 16;
                        for ($idx = 1930; $idx <= $YEAR; $idx++)
                        {
                                $OUT .= "      <OPTION value=\"".$idx."\"";
@@ -1228,10 +1228,10 @@ function ADD_SELECTION($TYPE, $DEFAULT, $PREFIX="", $id="0")
 
        case "yn":
                $OUT .= "      <OPTION value=\"Y\"";
-               if ($DEFAULT == "Y") $OUT .= " selected=\"selected\"";
+               if ($DEFAULT == 'Y') $OUT .= " selected=\"selected\"";
                $OUT .= ">".YES."</OPTION>
       <OPTION value=\"N\"";
-               if ($DEFAULT == "N") $OUT .= " selected=\"selected\"";
+               if ($DEFAULT == 'N') $OUT .= " selected=\"selected\"";
                $OUT .= ">".NO."</OPTION>\n";
                break;
        }
@@ -1243,8 +1243,8 @@ function TRANSLATE_YESNO($yn)
 {
        switch ($yn)
        {
-               case "Y": $yn = YES; break;
-               case "N": $yn = NO; break;
+               case 'Y': $yn = YES; break;
+               case 'N': $yn = NO; break;
                default : $yn = "??? (".$yn.")"; break;
        }
        return $yn;
@@ -1372,7 +1372,7 @@ function CREATE_TIME_SELECTIONS($timestamp, $prefix="", $display="", $align="cen
        $timestamp = round($timestamp / 15) * 15;
        // Do we have a leap year?
        $SWITCH = 0;
-       $TEST = date("Y", time()) / 4;
+       $TEST = date('Y', time()) / 4;
        $M1 = date("m", time());
        $M2 = date("m", (time() + $timestamp));
        // If so and if current time is before 02/29 and estimated time is after 02/29 then add 86400 seconds (one day)
@@ -1413,7 +1413,7 @@ function CREATE_TIME_SELECTIONS($timestamp, $prefix="", $display="", $align="cen
                $OUT  = "<DIV align=\"".$align."\">\n";
                $OUT .= "<TABLE border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"admin_table dashed\">\n";
                $OUT .= "<TR>\n";
-               if (ereg("Y", $display) || (empty($display)))
+               if (ereg('Y', $display) || (empty($display)))
                {
                        $OUT .= "  <TD align=\"center\" class=\"admin_title bottom\"><STRONG class=\"tiny\">"._YEARS."</STRONG></TD>\n";
                }
@@ -1443,7 +1443,7 @@ function CREATE_TIME_SELECTIONS($timestamp, $prefix="", $display="", $align="cen
                }
                $OUT .= "</TR>\n";
                $OUT .= "<TR>\n";
-               if (ereg("Y", $display) || (empty($display)))
+               if (ereg('Y', $display) || (empty($display)))
                {
                        // Generate year selection
                        $OUT .= "  <TD align=\"center\"><SELECT class=\"mini_select\" name=\"".$prefix."_ye\" size=\"1\">\n";
@@ -1567,7 +1567,7 @@ function CREATE_TIMESTAMP_FROM_SELECTIONS($prefix, $POST) {
        $ret = "0";
        // Do we have a leap year?
        $SWITCH = 0;
-       $TEST = date("Y", time()) / 4;
+       $TEST = date('Y', time()) / 4;
        $M1   = date("m", time());
        // If so and if current time is before 02/29 and estimated time is after 02/29 then add 86400 seconds (one day)
        if ((floor($TEST) == $TEST) && ($M1 == "02") && ($POST[$prefix."_mo"] > "02"))  $SWITCH = ONE_DAY;
index 008032e4b5c371d0332b199c1078499844f07d8c..e336ea5b6fe0331a2e58d2ab8c46208511d408c7 100644 (file)
@@ -51,20 +51,20 @@ if (defined('frameset_active')) {
 
                        // Add title decorations? (left)
                        if ((!empty($CONFIG)) && (isset($link)) && (isset($db))) {
-                               if (($CONFIG['title_decoration'] == "Y") && (trim(!empty($CONFIG['title_left'])))) $TITLE .= trim($CONFIG['title_left'])." ";
+                               if (($CONFIG['title_decoration'] == 'Y') && (trim(!empty($CONFIG['title_left'])))) $TITLE .= trim($CONFIG['title_left'])." ";
                                $TITLE .= MAIN_TITLE;
 
                                // Add title of module? (middle decoration will also be added!)
-                               if (($CONFIG['title_mod_show'] == "Y") || ((empty($GLOBALS['what'])) && (empty($GLOBALS['action']))) || ($GLOBALS['module'] == "admin")) $TITLE .= " ".trim($CONFIG['title_middle'])." ".ADD_MODULE_TITLE($GLOBALS['module']);
+                               if (($CONFIG['title_mod_show'] == 'Y') || ((empty($GLOBALS['what'])) && (empty($GLOBALS['action']))) || ($GLOBALS['module'] == "admin")) $TITLE .= " ".trim($CONFIG['title_middle'])." ".ADD_MODULE_TITLE($GLOBALS['module']);
 
                                // Add title from what file
                                $MODE = "";
                                if ($GLOBALS['module'] == "login") $MODE = "member";
                                 elseif ($GLOBALS['module'] == "index") $MODE = "guest";
-                               if ((!empty($MODE)) && ($CONFIG['title_what_show'] == "Y")) $TITLE .= " ".trim($CONFIG['title_middle'])." ".GET_MOD_DESCR($MODE, $GLOBALS['what']);
+                               if ((!empty($MODE)) && ($CONFIG['title_what_show'] == 'Y')) $TITLE .= " ".trim($CONFIG['title_middle'])." ".GET_MOD_DESCR($MODE, $GLOBALS['what']);
 
                                // Add title decorations? (right)
-                               if (($CONFIG['title_decoration'] == "Y") && (!empty($CONFIG['title_right']))) $TITLE .= " ".trim($CONFIG['title_right']);
+                               if (($CONFIG['title_decoration'] == 'Y') && (!empty($CONFIG['title_right']))) $TITLE .= " ".trim($CONFIG['title_right']);
 
                                // Remember title in constant for the template
                                define('__PAGE_TITLE', html_entity_decode($TITLE));
index 888ecab50391bb7b4cb94539cc9a09aa68f29bc5..95ff13f09ce62375195c69c57e4ebeb1aaf16387 100644 (file)
@@ -43,7 +43,7 @@ function BONUS_ADD_TURBO_POINTS($mid, $uid, $type)
        global $CONFIG;
 
        // Shall we add bonus points?
-       if ($CONFIG['bonus_active'] == "N") return;
+       if ($CONFIG['bonus_active'] == 'N') return;
 
        // Select SQL command
        $SQL = "";
@@ -186,7 +186,7 @@ function BONUS_POINTS_HANDLER($MODE)
        global $CONFIG;
 
        // Shall we add bonus points?
-       if ($CONFIG['bonus_active'] == "N") return;
+       if ($CONFIG['bonus_active'] == 'N') return;
 
        // Switch to jackpot-mode when no UID is supplied but userid-mode is selected
        if (($CONFIG['bonus_mode'] == "UID") && ($CONFIG['bonus_uid'] == "0")) $CONFIG['bonus_mode'] = "JACKPOT";
index 057c76bd039b6131fccd2cc889db66f7af01ffb1..d6d3d23431722cf816bf39ae67a36eba91828fb9 100644 (file)
@@ -38,7 +38,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
        require($INC);
 }
 //
-function DOUBLER_GENERATE_TABLE($uid="0", $done="N", $ref="N", $sort="ASC")
+function DOUBLER_GENERATE_TABLE($uid="0", $done='N', $ref='N', $sort="ASC")
 {
        global $CONFIG;
        if (empty($cnt)) $cnt = "0";
@@ -57,7 +57,7 @@ function DOUBLER_GENERATE_TABLE($uid="0", $done="N", $ref="N", $sort="ASC")
                $NOT_FOUND = DOUBLER_GUEST_NO_ENTRIES_FOUND;
        }
 
-       if (($done == "Y") && ($sort == "ASC"))
+       if (($done == 'Y') && ($sort == "ASC"))
        {
                // Already payed out points (latest payouts first)
                $limit = $CONFIG['doubler_display_old'];
@@ -130,13 +130,13 @@ function DOUBLER_GET_TOTAL_POINTS_LEFT()
        // Initialize variables
        $points = "0";
 
-       if ($CONFIG['doubler_own'] == "Y")
+       if ($CONFIG['doubler_own'] == 'Y')
        {
                // Take points from doubler's own account
                $points += $CONFIG['doubler_points'] - $CONFIG['doubler_used'];
        }
 
-       if ($CONFIG['doubler_jackpot'] == "Y")
+       if ($CONFIG['doubler_jackpot'] == 'Y')
        {
                // Load jackpot
                $result = SQL_QUERY("SELECT points FROM "._MYSQL_PREFIX."_jackpot WHERE ok='ok' LIMIT 1", __FILE__, __LINE__);
index ce48a033e29bffa47376def25142399d1f0f3647..3d08472af546526b408f64228c395a90d0c9a626 100644 (file)
@@ -165,7 +165,7 @@ function SEND_HTML_EMAIL($TO, $SUBJECT, $MSG, $FROM)
        {
                // Send mail away as HTML
                $FROM = "Content-Type: text/html\n".$FROM;
-               SEND_EMAIL($TO, $SUBJECT, $MSG, "N", $FROM);
+               SEND_EMAIL($TO, $SUBJECT, $MSG, 'N', $FROM);
        }
 }
 //
index aa75f75f36dbe65949030e3950a160160005344c..184effff6c1278e6c31b9928eb6594b1243d5dc1 100644 (file)
@@ -163,19 +163,19 @@ function SEND_NEWSLETTER($TO, $SUBJECT, $MSG, $MODE)
 {
        global $_POST;
        // Send mail away as HTML
-       if ($_POST['auto_urls'] == "Y") {
+       if ($_POST['auto_urls'] == 'Y') {
                // Automatically insert URLs into newsletter
                if ((EXT_IS_ACTIVE("html")) && ($MODE == "html")) {
                        // Send HTML mail
-                       SEND_EMAIL($TO, $SUBJECT, HTML_INSERT_URLS($MSG), "Y");
+                       SEND_EMAIL($TO, $SUBJECT, HTML_INSERT_URLS($MSG), 'Y');
                } else {
                        // Send normal mail
-                       SEND_EMAIL($TO, $SUBJECT, NL_INSERT_URLS($MSG), "N");
+                       SEND_EMAIL($TO, $SUBJECT, NL_INSERT_URLS($MSG), 'N');
                }
        } else {
                // Regular send-out
                if ((EXT_IS_ACTIVE("html")) && ($MODE == "html")) {
-                       SEND_EMAIL($TO, $SUBJECT, $MSG, "Y");
+                       SEND_EMAIL($TO, $SUBJECT, $MSG, 'Y');
                } else {
                        SEND_EMAIL($TO, $SUBJECT, $MSG);
                }
index e55876b3eeed4e3fb0b07b07160492c9616509ca..53eee415d76158ccb6c13436c51b900330cf7cb8 100644 (file)
@@ -127,7 +127,7 @@ VALUES ('%s', '%s', '%s', '%s')",
                $DATA['refs']  = $cnt;
 
                // Shall I notify this member?
-               if (($notify == "Y") && ($un))
+               if (($notify == 'Y') && ($un))
                {
                        // Load email template and send it to the user
                        $msg = LOAD_EMAIL_TEMPLATE("member_rallye_notify", $prices, $uid);
@@ -137,7 +137,7 @@ VALUES ('%s', '%s', '%s', '%s')",
 
        // Send email to admin
        $templ = "admin_rallye_no_notify";
-       if ($notify == "Y") $templ = "admin_rallye_notify";
+       if ($notify == 'Y') $templ = "admin_rallye_notify";
        if (GET_EXT_VERSION("admins") < "0.4.1")
        {
                // Use old method to send out
@@ -316,7 +316,7 @@ VALUES ('%s', '%s', '0')",
                        SQL_FREERESULT($result);
                }
 
-               if ($notify == "Y")
+               if ($notify == 'Y')
                {
                        // Transfer all neccessary data to the global $DATA array
                        $DATA['start'] = MAKE_DATETIME($start, "2");
@@ -417,7 +417,7 @@ LIMIT 1", array(bigintval($uid), $since), __FILE__, __LINE__);
                                }
                        }
 
-                       if ($notify == "Y")
+                       if ($notify == 'Y')
                        {
                                // Prepare infos for the mail template
                                if (!empty($DATA['info']))
@@ -462,7 +462,7 @@ LIMIT 1", array(bigintval($uid), $since), __FILE__, __LINE__);
        }
 
        // Select template depending on notfication is switch on / off
-       if ($notify == "Y")
+       if ($notify == 'Y')
        {
                $templ = "admin_rallye_expired";
        }
index 5dc7074504c2060f62c2275451d7f68c7077ee93..6126705456b3590aa0e6eed6dfaa1d0c81f7bb54 100644 (file)
@@ -45,7 +45,7 @@ function REGISTER_FILL_MUST_CONSTANTS()
        while(list($name, $required) = SQL_FETCHROW($result))
        {
                $value = "";
-               if ($required == "Y") $value = "<FONT class=\\\"guest_failed\\\">&nbsp;(*)</FONT>";
+               if ($required == 'Y') $value = "<FONT class=\\\"guest_failed\\\">&nbsp;(*)</FONT>";
                $eval = "define('MUST_".strtoupper($name)."', \"".$value."\");";
                eval($eval);
        }
@@ -76,7 +76,7 @@ function REGISTER_CHECK_REQUIRED_FIELDS(&$array)
                        // if extensions is present check if country code was selected
                        //         01              2         21    12             3         32    234     5      54    4               43    34                      4    4      5      5432    2      3                      3210
                        $country = ((!EXT_IS_ACTIVE("country")) || ((EXT_IS_ACTIVE("country")) && (((empty($value)) && ($key == "cntry")) || (($key == "country_code") && (!empty($value)))) && (!empty($array['country_code']))));
-                       if ((empty($value)) && ($chk == "Y") && (!$country))
+                       if ((empty($value)) && ($chk == 'Y') && (!$country))
                        {
                                // Required field not set
                                $array[$key] = "!";
@@ -92,7 +92,7 @@ function REGISTER_OUTPUT_REQUIRE_CHECK(&$array)
        $result = SQL_QUERY("SELECT field_name, field_required FROM "._MYSQL_PREFIX."_must_register ORDER BY id", __FILE__, __LINE__);
        while(list($name, $required) = SQL_FETCHROW($result))
        {
-               if (($array[$name] == "!") && ($required == "Y"))
+               if (($array[$name] == "!") && ($required == 'Y'))
                {
                        // Empty entry found
                        $array[$name] = "";
@@ -134,7 +134,7 @@ function REGISTER_ADD_CATEGORY_TABLE ($MODE, $return=false)
                                'id'    => $id,
                        );
 
-                       if (($_POST['cat'][$id] == "Y") || (($CONFIG['register_default'] == "Y") && (empty($_POST['cat'][$id]))))
+                       if (($_POST['cat'][$id] == 'Y') || (($CONFIG['register_default'] == 'Y') && (empty($_POST['cat'][$id]))))
                        {
                                $content['def_y'] = " checked";
                        }
index 9140cd191e85e3aeb3cb6e0042ee853e88d1bd0a..730812bf897d06b814a334c9ea8fd59d2e74063b 100644 (file)
@@ -336,11 +336,11 @@ ORDER BY d.userid";
                if (GET_EXT_VERSION("bonus") >= "0.6.9") {
                        // Add more bonus points here
                        $USE = "(0";
-                       if ($CONFIG['bonus_click_yn'] == "Y") $USE .= " + turbo_bonus";
-                       if ($CONFIG['bonus_login_yn'] == "Y") $USE .= " + login_bonus";
-                       if ($CONFIG['bonus_order_yn'] == "Y") $USE .= " + bonus_order";
-                       if ($CONFIG['bonus_stats_yn'] == "Y") $USE .= " + bonus_stats";
-                       if ($CONFIG['bonus_ref_yn']   == "Y") $USE .= " + bonus_ref";
+                       if ($CONFIG['bonus_click_yn'] == 'Y') $USE .= " + turbo_bonus";
+                       if ($CONFIG['bonus_login_yn'] == 'Y') $USE .= " + login_bonus";
+                       if ($CONFIG['bonus_order_yn'] == 'Y') $USE .= " + bonus_order";
+                       if ($CONFIG['bonus_stats_yn'] == 'Y') $USE .= " + bonus_stats";
+                       if ($CONFIG['bonus_ref_yn']   == 'Y') $USE .= " + bonus_ref";
                        $USE .= ")";
                } else {
                        // Old version ???
@@ -349,7 +349,7 @@ ORDER BY d.userid";
 
                // Autopurge installed?
                $LAST = ""; $ONLINE = "";
-               if ((EXT_IS_ACTIVE("autopurge")) && ($CONFIG['ap_inactive'] == "Y") && ($CONFIG['ap_in_since'] > 0)) {
+               if ((EXT_IS_ACTIVE("autopurge")) && ($CONFIG['ap_inactive'] == 'Y') && ($CONFIG['ap_in_since'] > 0)) {
                        // Use last online timestamp to keep inactive members away from here
                        $LAST   = " AND last_online >= ";
                        $ONLINE = bigintval(time() - $CONFIG['ap_in_since']);
@@ -368,7 +368,7 @@ ORDER BY active_bonus DESC, userid";
 
                // Autopurge installed?
                $LAST = ""; $ONLINE = "";
-               if ((EXT_IS_ACTIVE("autopurge")) && ($CONFIG['ap_inactive'] == "Y") && ($CONFIG['ap_in_since'] > 0)) {
+               if ((EXT_IS_ACTIVE("autopurge")) && ($CONFIG['ap_inactive'] == 'Y') && ($CONFIG['ap_in_since'] > 0)) {
                        // Use last online timestamp to keep inactive members away from here
                        $LAST   = " AND last_online >= ";
                        $ONLINE = bigintval(time() - $CONFIG['ap_in_since']);
index 4701307d3df9eedb425d934a2faae55307a55abf..8faadd570efad6352c86ae9d8e9088db4f86fef9 100644 (file)
@@ -46,7 +46,7 @@ function alpha($sortby, $colspan, $return=false)
        if (!empty($_GET['mode'])) $ADD .= "&amp;mode=".SQL_ESCAPE($_GET['mode']);
 
        /* Creates the list of letters and makes them a link. */
-       $alphabet = array(_ALL2, "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", _OTHERS);
+       $alphabet = array(_ALL2, "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", 'N', "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", 'Y', "Z", _OTHERS);
        $num = count($alphabet) - 1;
        $OUT = "";
        while (list($counter, $ltr) = each($alphabet))
index 6458778e676e7a0ef9db5ab550300a90dfaa8fc3..69aec9887beebeecad67665665860d7fc38c1d9c 100644 (file)
@@ -112,7 +112,7 @@ if (($CACHE->cache_file("admins", true) == true))
                unset($ADMINS);
        }
 }
- elseif (($CONFIG['cache_admins'] == "Y") && ($CSS != "1") && ($CSS != "-1"))
+ elseif (($CONFIG['cache_admins'] == 'Y') && ($CSS != "1") && ($CSS != "-1"))
 {
        // Create cache file
        $CACHE->cache_init("ADMINS");
@@ -185,7 +185,7 @@ if ($CACHE->cache_file("mod_reg", true) == true)
                }
        }
 }
- elseif (($CONFIG['cache_modreg'] == "Y") && ($CSS != "1") && ($CSS != "-1"))
+ elseif (($CONFIG['cache_modreg'] == 'Y') && ($CSS != "1") && ($CSS != "-1"))
 {
        // Create cache file here
        $CACHE->cache_init("MODULES");
@@ -241,7 +241,7 @@ if ($CACHE->cache_file("config", true) == true)
                unset($CFG_CACHE);
        }
 }
- elseif (($CONFIG['cache_config'] == "Y") && ($CSS != "1") && ($CSS != "-1"))
+ elseif (($CONFIG['cache_config'] == 'Y') && ($CSS != "1") && ($CSS != "-1"))
 {
        // Create cache file here
        $CACHE->cache_init("CONFIG");
@@ -286,7 +286,7 @@ if ($CACHE->cache_file("refsystem", true) == true)
                unset($REF_SYSTEM);
        }
 }
- elseif (($CONFIG['cache_refsys'] == "Y") && ($CSS != "1") && ($CSS != "-1"))
+ elseif (($CONFIG['cache_refsys'] == 'Y') && ($CSS != "1") && ($CSS != "-1"))
 {
        // Create cache file here
        $CACHE->cache_init("REFSYSTEM");
@@ -331,7 +331,7 @@ if ($CACHE->cache_file("refdepths", true) == true)
                unset($REF_DEPTHS);
        }
 }
- elseif (($CONFIG['cache_refdepth'] == "Y") && ($CSS != "1") && ($CSS != "-1"))
+ elseif (($CONFIG['cache_refdepth'] == 'Y') && ($CSS != "1") && ($CSS != "-1"))
 {
        // Create cache file here
        $CACHE->cache_init("REFDEPTHS");
@@ -382,7 +382,7 @@ if (GET_EXT_VERSION("admins") >= "0.3")
                        }
                }
        }
-        elseif (($CONFIG['cache_acls'] == "Y") && ($CSS != "1") && ($CSS != "-1"))
+        elseif (($CONFIG['cache_acls'] == 'Y') && ($CSS != "1") && ($CSS != "-1"))
        {
                // Create cache file here
                $CACHE->cache_init("ADMINS_ACLS");
index 91a3fb690cd07b10325107e7ced61ec730342d45..f919b7d80d012b79768699c3a59b00dea68aa765 100644 (file)
@@ -51,7 +51,7 @@ if (file_exists(PATH."inc/extensions/ext-sql_patches.php") && is_readable(PATH."
        // Load it...
        $EXT_LOAD_MODE = "";
        require_once(PATH."inc/extensions/ext-sql_patches.php");
-       $KEEP_ACTIVE = array('sql_patches' => "Y"); // KEEP THIS ALWAYS ACTIVE!
+       $KEEP_ACTIVE = array('sql_patches' => 'Y'); // KEEP THIS ALWAYS ACTIVE!
 }
  else
 {
@@ -75,7 +75,7 @@ if (EXT_IS_ACTIVE("cache"))
        }
 
        // Do not recreate cache file when it's switched off!
-       if (($CACHE_FILE == "init") && ($CONFIG['cache_exts'] == "N")) $CACHE_FILE = "skip";
+       if (($CACHE_FILE == "init") && ($CONFIG['cache_exts'] == 'N')) $CACHE_FILE = "skip";
 
        // Load language
        if ($CACHE_FILE == "load") include(PATH."inc/language/cache_".GET_LANGUAGE().".php");
@@ -98,20 +98,20 @@ if ($CACHE_FILE == "load")
        foreach ($EXT_DUMMY['ext_name'] as $k=>$name)
        {
                // Load functions file
-               if ($EXT_DUMMY['ext_funcs'][$k] == "Y") require_once(PATH."inc/libs/".$name."_functions.php");
+               if ($EXT_DUMMY['ext_funcs'][$k] == 'Y') require_once(PATH."inc/libs/".$name."_functions.php");
 
                // Load Language file
-               if ($EXT_DUMMY['ext_lang'][$k] == "Y")
+               if ($EXT_DUMMY['ext_lang'][$k] == 'Y')
                {
                        $INC = sprintf(PATH."inc/language/%s_%s.php", $name, GET_LANGUAGE());
                        if (file_exists($INC)) require_once($INC);
                }
 
                // Load CSS file
-               if ($EXT_DUMMY['ext_css'][$k] == "Y") $EXT_CSS_FILES[] = "".$name.".css";
+               if ($EXT_DUMMY['ext_css'][$k] == 'Y') $EXT_CSS_FILES[] = "".$name.".css";
 
                // Load extension file itself
-               if (($EXT_DUMMY['ext_active'][$k] == "Y") || ($EXT_DUMMY['ext_keep'][$k] == "Y") || (IS_ADMIN()))
+               if (($EXT_DUMMY['ext_active'][$k] == 'Y') || ($EXT_DUMMY['ext_keep'][$k] == 'Y') || (IS_ADMIN()))
                {
                        require_once(PATH."inc/extensions/ext-".$name.".php");
                }
@@ -193,11 +193,11 @@ if ((SQL_NUMROWS($res_ext_crt) > 0) && (($CACHE_FILE == "init") || ($CACHE_FILE
                //* DEBUG: */ echo "*".$name."/".$menu."*<br>";
 
                // An empty menu entry will be interpreted as N (no menu) to avoid problems
-               if (empty($menu)) $menu = "N";
+               if (empty($menu)) $menu = 'N';
 
                // Load extensions
                $file1 = sprintf(PATH."inc/extensions/ext-%s.php", $name);
-               $file2 = $file1; $EXT_CSS = "N"; $EXT_ALWAYS_ACTIVE = "N";
+               $file2 = $file1; $EXT_CSS = 'N'; $EXT_ALWAYS_ACTIVE = 'N';
 
                // Special functions file
                $file3 = sprintf(PATH."inc/libs/%s_functions.php", $name);
@@ -214,26 +214,26 @@ if ((SQL_NUMROWS($res_ext_crt) > 0) && (($CACHE_FILE == "init") || ($CACHE_FILE
                        if (file_exists($file3) && is_readable($file3))
                        {
                                // Special functions file
-                               $funcs = "Y";
+                               $funcs = 'Y';
                                require_once($file3);
                        }
                         else
                        {
                                // Don't load functions file
-                               $funcs = "N";
+                               $funcs = 'N';
                        }
 
                        // Do we need a language file?
                        if (($file1 != $file2) && (file_exists($file2)) && (is_readable($file2)))
                        {
                                // Load language file
-                               $lang = "Y";
+                               $lang = 'Y';
                                include($file2);
                        }
                         else
                        {
                                // Don't load language file
-                               $lang = "N";
+                               $lang = 'N';
                        }
 
                        // Load extension
@@ -245,10 +245,10 @@ if ((SQL_NUMROWS($res_ext_crt) > 0) && (($CACHE_FILE == "init") || ($CACHE_FILE
                         else
                        {
                                // KEEP sql_patches ALWAYS ACTIVE!
-                               $EXT_ALWAYS_ACTIVE = "Y";
+                               $EXT_ALWAYS_ACTIVE = 'Y';
                        }
 
-                       if ($css == "Y")
+                       if ($css == 'Y')
                        {
                                $CSS_FILE = PATH."theme/".GET_CURR_THEME()."/css/".$name.".css";
                                if (file_exists($CSS_FILE))
@@ -259,7 +259,7 @@ if ((SQL_NUMROWS($res_ext_crt) > 0) && (($CACHE_FILE == "init") || ($CACHE_FILE
                                 else
                                {
                                        // Don't load CSS file
-                                       $css = "N";
+                                       $css = 'N';
                                }
                        }
 
index 2391b284d9ad4d8f627b5d58cc07384b761e655d..9363f83e573729b33707486f5541b0000498026f 100644 (file)
@@ -47,15 +47,15 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 if ($CSS == 1) return;
 
 // Create timemark from saved month
-$mark = mktime(0, 0, 0, $CONFIG['beg_month'], date("d", time()), date("Y", time()));
+$mark = mktime(0, 0, 0, $CONFIG['beg_month'], date("d", time()), date('Y', time()));
 $SQL = ""; $MODE = "";
 
 // Shall I sent activation or deactivation mail?
 $SQL = "SELECT userid, email FROM "._MYSQL_PREFIX."_user_data WHERE (beg_ral_notify ";
 switch ($CONFIG['beg_rallye'])
 {
-case "Y": // Begging rallye is activated
-       if ($CONFIG['beg_ral_en_notify'] == "Y")
+case 'Y': // Begging rallye is activated
+       if ($CONFIG['beg_ral_en_notify'] == 'Y')
        {
                // Okay, let's check for member accounts
                $SQL .= "= 0 OR (beg_ral_notify > 0 AND beg_ral_en_notify < beg_ral_di_notify)";
@@ -68,8 +68,8 @@ case "Y": // Begging rallye is activated
        }
        break;
 
-case "N": // Begging rallye is deactivated
-       if ($CONFIG['beg_ral_di_notify'] == "Y")
+case 'N': // Begging rallye is deactivated
+       if ($CONFIG['beg_ral_di_notify'] == 'Y')
        {
                // Okay, let's check for member accounts
                $SQL .= " > 0 AND beg_ral_di_notify < beg_ral_en_notify";
index 2c3f047dbb4b388d97ec062c3ba603cefc9f718c..ec8317a92629a5578b653c9d23fbdce75efd9d4e 100644 (file)
@@ -49,11 +49,11 @@ if ($CSS == 1) return;
 // Get current day (01 to 31), month (01 to 12) and year (4-digits year)
 $DAY   = date("d", time());
 $MONTH = date("m", time());
-$YEAR  = date("Y", time());
+$YEAR  = date('Y', time());
 
 // Shall I include only active members?
 $ADD = "%s"; $VALUE = "";
-if (($CONFIG['birthday_active']) && (EXT_IS_ACTIVE("autopurge")) && ($CONFIG['ap_in_since'] > 0) && ($CONFIG['ap_inactive'] == "Y"))
+if (($CONFIG['birthday_active']) && (EXT_IS_ACTIVE("autopurge")) && ($CONFIG['ap_in_since'] > 0) && ($CONFIG['ap_inactive'] == 'Y'))
 {
        $ADD = " AND last_online >= %d";
        $VALUE = bigintval(time() - $CONFIG['ap_in_since']);
index e265e53f78de57d08509dbc830c66bc9880786a9..1c4cb97331e99d8b61cd46d98ee706dca8a43d54 100644 (file)
@@ -47,15 +47,15 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 if ($CSS == 1) return;
 
 // Create timemark from saved month
-$mark = mktime(0, 0, 0, $CONFIG['bonus_month'], date("d", time()), date("Y", time()));
+$mark = mktime(0, 0, 0, $CONFIG['bonus_month'], date("d", time()), date('Y', time()));
 $SQL = ""; $MODE = "";
 
 // Shall I sent activation or deactivation mail?
 $SQL = "SELECT userid, email FROM "._MYSQL_PREFIX."_user_data WHERE (bonus_ral_notify ";
 switch ($CONFIG['bonus_active'])
 {
-case "Y": // Active rallye is activated
-       if ($CONFIG['bonus_en_notify'] == "Y")
+case 'Y': // Active rallye is activated
+       if ($CONFIG['bonus_en_notify'] == 'Y')
        {
                // Okay, let's check for member accounts
                $SQL .= "= 0 OR (bonus_ral_notify > 0 AND bonus_ral_en_notify < bonus_ral_di_notify)";
@@ -68,8 +68,8 @@ case "Y": // Active rallye is activated
        }
        break;
 
-case "N": // Active rallye is deactivated
-       if ($CONFIG['bonus_di_notify'] == "Y")
+case 'N': // Active rallye is deactivated
+       if ($CONFIG['bonus_di_notify'] == 'Y')
        {
                // Okay, let's check for member accounts
                $SQL .= " > 0 AND bonus_ral_di_notify < bonus_ral_en_notify";
index 0ac017533a5459133065f1e95ba120951d6487e9..258c265a2a1e5e51d2339096d2da5bca8939b6b7 100644 (file)
@@ -715,7 +715,7 @@ function ADMIN_CHECK_MENU_MODE()
 // Change activation status
 function ADMIN_CHANGE_ACTIVATION_STATUS ($IDs, $table, $row, $idRow = "id") {
        global $CONFIG;
-       $cnt = 0; $newStatus = "Y";
+       $cnt = 0; $newStatus = 'Y';
        if ((is_array($IDs)) && (count($IDs) > 0)) {
                // "Walk" all through and count them
                foreach ($IDs as $id=>$selected) {
@@ -732,7 +732,7 @@ function ADMIN_CHANGE_ACTIVATION_STATUS ($IDs, $table, $row, $idRow = "id") {
                                if (SQL_NUMROWS($result) == 1) {
                                        // Load the status
                                        list($currStatus) = SQL_FETCHROW($result);
-                                       if ($currStatus == "Y") $newStatus="N"; else $newStatus = "Y";
+                                       if ($currStatus == 'Y') $newStatus='N'; else $newStatus = 'Y';
 
                                        // Change this status
                                        SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_%s SET %s='%s' WHERE %s=%d LIMIT 1",
index da5df68748dc34887cdb48b9913910d780c32581..2a3ac6f0deb56013459eec945a89e37cd31a80d7 100644 (file)
@@ -138,7 +138,7 @@ VALUES ('%s', '0', 'NEW', 'EXTENSION', '%s', '%s', UNIX_TIMESTAMP())",
                                if (!empty($KEEP_ACTIVE[$ext]))
                                {
                                        // Maybe we want to keept the current extension active?
-                                       if (($KEEP_ACTIVE[$ext] == "Y") && (!EXT_IS_ACTIVE($ext, true, true)))
+                                       if (($KEEP_ACTIVE[$ext] == 'Y') && (!EXT_IS_ACTIVE($ext, true, true)))
                                        {
                                                // Reactivate this extension!
                                                $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_extensions SET ext_active='Y' WHERE ext_name='%s' LIMIT 1",
@@ -217,7 +217,7 @@ function OUTPUT_SELECTED_TASKS($_POST, $result_tasks)
                                $title = TASK_NO_TITLE;
 
                                // Shall I list SQL commands assigned to an extension installation or update task?
-                               if (((GET_EXT_VERSION("sql_patches") != "") && ($CONFIG['verbose_sql'] == "Y")) || (!EXT_IS_ACTIVE("sql_patches")))
+                               if (((GET_EXT_VERSION("sql_patches") != "") && ($CONFIG['verbose_sql'] == 'Y')) || (!EXT_IS_ACTIVE("sql_patches")))
                                {
                                        $ext_name = substr($subj, 1, strpos($subj, ":") - 1);
                                        if ($type == "EXTENSION")
@@ -258,7 +258,7 @@ function OUTPUT_SELECTED_TASKS($_POST, $result_tasks)
                                        // Add SQLs to a table
                                        if (empty($SQLs)) $SQLs = array();
                                        if (empty($title)) $title = "";
-                                       if ((!empty($ext_name)) && (GET_EXT_VERSION("sql_patches")) && ($CONFIG['verbose_sql'] == "Y")) {
+                                       if ((!empty($ext_name)) && (GET_EXT_VERSION("sql_patches")) && ($CONFIG['verbose_sql'] == 'Y')) {
                                                // Add verbose SQL table
                                                $text .= EXTENSION_VERBOSE_TABLE($SQLs, $title, " class=\"admin_table top2 left2 right2\"", true, "100%")."<BR>\n";
                                        }
index 0aa241dd93ad18e07477a0fb5712aae0c6974139..2d08ad826b490bb98c551f29feba7ca0007a3a79 100644 (file)
@@ -105,12 +105,12 @@ define('_START_MIN'  , ADD_SELECTION("min"  , "0"              , "start"));
 define('_START_HOUR' , ADD_SELECTION("hour" , date("G", time()), "start"));
 define('_START_DAY'  , ADD_SELECTION("day"  , date("d", time()), "start"));
 define('_START_MONTH', ADD_SELECTION("month", date("m", time()), "start"));
-define('_START_YEAR' , ADD_SELECTION("year" , date("Y", time()), "start"));
+define('_START_YEAR' , ADD_SELECTION("year" , date('Y', time()), "start"));
 
 // Calcualte ending date
 $D = date("d", time() + (ONE_DAY * 7));
 $M = date("m", time() + (ONE_DAY * 7));
-$Y = date("Y", time() + (ONE_DAY * 7));
+$Y = date('Y', time() + (ONE_DAY * 7));
 
 // Ending day
 define('_END_SEC'  , ADD_SELECTION("sec"  , "0"              , "end"));
index 4d129d45e8a998290caa705b526fa507081de7cb..5ff646d568d7688d903781c52991b66116857466 100644 (file)
@@ -49,13 +49,13 @@ if (isset($_POST['ok']))
        // Setup constants for the template
        switch ($CONFIG['ap_inactive'])
        {
-               case "Y": define('__YES_IN', " checked"); define('__NO_IN', "");         break;
-               case "N": define('__YES_IN', "");         define('__NO_IN', " checked"); break;
+               case 'Y': define('__YES_IN', " checked"); define('__NO_IN', "");         break;
+               case 'N': define('__YES_IN', "");         define('__NO_IN', " checked"); break;
        }
        switch ($CONFIG['ap_unconfirmed'])
        {
-               case "Y": define('__YES_UN', " checked"); define('__NO_UN', "");         break;
-               case "N": define('__YES_UN', "");         define('__NO_UN', " checked"); break;
+               case 'Y': define('__YES_UN', " checked"); define('__NO_UN', "");         break;
+               case 'N': define('__YES_UN', "");         define('__NO_UN', " checked"); break;
        }
        define('__AP_IN_SINCE', $CONFIG['ap_in_since']);
        define('__AP_IN_TIME' , $CONFIG['ap_in_time']);
index bc870efe0da8b258d0ad196a081a642430427b4b..e1b31b971ed4882f656f2b24edd7a290f281ff38 100644 (file)
@@ -68,7 +68,7 @@ if (isset($_POST['ok']))
 
        // Mail confirmation links
        define('_CFG_AUTO_PURGE', CREATE_TIME_SELECTIONS($CONFIG['auto_purge'], "auto_purge", "MWD"));
-       if ($CONFIG['auto_purge_active'] == "N")
+       if ($CONFIG['auto_purge_active'] == 'N')
        {
                define('_CFG_AP_ACTIVE_N', " checked");
                define('_CFG_AP_ACTIVE_Y', "");
index 20470c43c423e0c215ee87df920dcd377bc41fd2..32a8225e21d79959f8d47db57c327cdc05ffdc18 100644 (file)
@@ -57,7 +57,7 @@ if (isset($_POST['ok']))
        $CONFIG['beg_ral_di_notify'] = $_POST['beg_ral_di_notify'];
 
        // Include sending out mails
-       if ((($CONFIG['beg_rallye'] == "Y") && ($CONFIG['beg_ral_en_notify'] == "Y")) || (($CONFIG['beg_rallye'] == "N") && ($CONFIG['beg_ral_di_notify'] == "Y")))
+       if ((($CONFIG['beg_rallye'] == 'Y') && ($CONFIG['beg_ral_en_notify'] == 'Y')) || (($CONFIG['beg_rallye'] == 'N') && ($CONFIG['beg_ral_di_notify'] == 'Y')))
        {
                include(PATH."inc/mails/beg_mails.php");
        }
@@ -77,24 +77,24 @@ if (isset($_POST['ok']))
        // Activate / Deactivate beg rallye (Y/N)
        switch ($CONFIG['beg_rallye'])
        {
-       case "Y":
+       case 'Y':
                define('__BEG_RALLYE_Y', " checked");
                define('__BEG_RALLYE_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BEG_RALLYE_Y', "");
                define('__BEG_RALLYE_N', " checked");
                break;
        }
        switch ($CONFIG['beg_active'])
        {
-       case "Y":
+       case 'Y':
                define('__BEG_ACTIVE_Y', " checked");
                define('__BEG_ACTIVE_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BEG_ACTIVE_Y', "");
                define('__BEG_ACTIVE_N', " checked");
                break;
@@ -113,48 +113,48 @@ if (isset($_POST['ok']))
        }
        switch ($CONFIG['beg_ral_en_notify'])
        {
-       case "Y":
+       case 'Y':
                define('__BEG_RAL_EN_NOTIFY_Y', " checked");
                define('__BEG_RAL_EN_NOTIFY_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BEG_RAL_EN_NOTIFY_Y', "");
                define('__BEG_RAL_EN_NOTIFY_N', " checked");
                break;
        }
        switch ($CONFIG['beg_ral_di_notify'])
        {
-       case "Y":
+       case 'Y':
                define('__BEG_RAL_DI_NOTIFY_Y', " checked");
                define('__BEG_RAL_DI_NOTIFY_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BEG_RAL_DI_NOTIFY_Y', "");
                define('__BEG_RAL_DI_NOTIFY_N', " checked");
                break;
        }
        switch ($CONFIG['beg_new_mem_notify'])
        {
-       case "Y":
+       case 'Y':
                define('__BEG_NEW_MEMBER_NOTIFY_Y', " checked");
                define('__BEG_NEW_MEMBER_NOTIFY_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BEG_NEW_MEMBER_NOTIFY_Y', "");
                define('__BEG_NEW_MEMBER_NOTIFY_N', " checked");
                break;
        }
        switch ($CONFIG['beg_include_own'])
        {
-       case "Y":
+       case 'Y':
                define('__BEG_INCLUDE_OWN_Y', " checked");
                define('__BEG_INCLUDE_OWN_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BEG_INCLUDE_OWN_Y', "");
                define('__BEG_INCLUDE_OWN_N', " checked");
                break;
index 0db02fdc32213f5b2b47bf73eb688109087ee18a..6d77eacf9b278bbcd4eb3eba4811d91d6e0f6c44 100644 (file)
@@ -51,12 +51,12 @@ if (isset($_POST['ok']))
        define('__POINTS_VALUE', $CONFIG['birthday_points']);
        switch ($CONFIG['birthday_active'])
        {
-       case "Y":
+       case 'Y':
                define('__BIRTHDAY_ACTIVE_Y', " checked");
                define('__BIRTHDAY_ACTIVE_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BIRTHDAY_ACTIVE_Y', "");
                define('__BIRTHDAY_ACTIVE_N', " checked");
                break;
index 4fd94922c491d5e233a37c01c63c498981d6e4ef..0b0ae7703b7635182eabe0306bc321fcaec4f5f2 100644 (file)
@@ -71,7 +71,7 @@ if (isset($_POST['ok']))
        $CONFIG['bonus_di_notify'] = $_POST['bonus_di_notify'];
 
        // Include sending out mails
-       if ((($CONFIG['bonus_active'] == "Y") && ($CONFIG['bonus_en_notify'] == "Y")) || (($CONFIG['bonus_active'] == "N") && ($CONFIG['bonus_di_notify'] == "Y")))
+       if ((($CONFIG['bonus_active'] == 'Y') && ($CONFIG['bonus_en_notify'] == 'Y')) || (($CONFIG['bonus_active'] == 'N') && ($CONFIG['bonus_di_notify'] == 'Y')))
        {
                include(PATH."inc/mails/bonus_mails.php");
        }
@@ -121,12 +121,12 @@ if (isset($_POST['ok']))
        // Activate / Deactivate bonus active rallye (Y/N)
        switch ($CONFIG['bonus_active'])
        {
-       case "Y":
+       case 'Y':
                define('__BONUS_ACTIVE_Y', " checked");
                define('__BONUS_ACTIVE_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BONUS_ACTIVE_Y', "");
                define('__BONUS_ACTIVE_N', " checked");
                break;
@@ -134,108 +134,108 @@ if (isset($_POST['ok']))
        // Other bonus to de-/activate
        switch ($CONFIG['bonus_login_yn'])
        {
-       case "Y":
+       case 'Y':
                define('__BONUS_LOGIN_Y', " checked");
                define('__BONUS_LOGIN_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BONUS_LOGIN_Y', "");
                define('__BONUS_LOGIN_N', " checked");
                break;
        }
        switch ($CONFIG['bonus_stats_yn'])
        {
-       case "Y":
+       case 'Y':
                define('__BONUS_STATS_Y', " checked");
                define('__BONUS_STATS_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BONUS_STATS_Y', "");
                define('__BONUS_STATS_N', " checked");
                break;
        }
        switch ($CONFIG['bonus_order_yn'])
        {
-       case "Y":
+       case 'Y':
                define('__BONUS_ORDER_Y', " checked");
                define('__BONUS_ORDER_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BONUS_ORDER_Y', "");
                define('__BONUS_ORDER_N', " checked");
                break;
        }
        switch ($CONFIG['bonus_ref_yn'])
        {
-       case "Y":
+       case 'Y':
                define('__BONUS_REF_Y', " checked");
                define('__BONUS_REF_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BONUS_REF_Y', "");
                define('__BONUS_REF_N', " checked");
                break;
        }
        switch ($CONFIG['bonus_click_yn'])
        {
-       case "Y":
+       case 'Y':
                define('__BONUS_CLICK_Y', " checked");
                define('__BONUS_CLICK_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BONUS_CLICK_Y', "");
                define('__BONUS_CLICK_N', " checked");
                break;
        }
        switch ($CONFIG['bonus_en_notify'])
        {
-       case "Y":
+       case 'Y':
                define('__BONUS_EN_NOTIFY_Y', " checked");
                define('__BONUS_EN_NOTIFY_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BONUS_EN_NOTIFY_Y', "");
                define('__BONUS_EN_NOTIFY_N', " checked");
                break;
        }
        switch ($CONFIG['bonus_di_notify'])
        {
-       case "Y":
+       case 'Y':
                define('__BONUS_DI_NOTIFY_Y', " checked");
                define('__BONUS_DI_NOTIFY_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BONUS_DI_NOTIFY_Y', "");
                define('__BONUS_DI_NOTIFY_N', " checked");
                break;
        }
        switch ($CONFIG['bonus_new_mem_notify'])
        {
-       case "Y":
+       case 'Y':
                define('__BONUS_NEW_MEMBER_NOTIFY_Y', " checked");
                define('__BONUS_NEW_MEMBER_NOTIFY_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BONUS_NEW_MEMBER_NOTIFY_Y', "");
                define('__BONUS_NEW_MEMBER_NOTIFY_N', " checked");
                break;
        }
        switch ($CONFIG['bonus_include_own'])
        {
-       case "Y":
+       case 'Y':
                define('__BONUS_INCLUDE_OWN_Y', " checked");
                define('__BONUS_INCLUDE_OWN_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__BONUS_INCLUDE_OWN_Y', "");
                define('__BONUS_INCLUDE_OWN_N', " checked");
                break;
index afe2ebb04af9caa3f9dc56331793a6ba15c2d5e3..dd5b231829e909150d21a5fabebcb7935f1b2599 100644 (file)
@@ -43,41 +43,41 @@ ADD_DESCR("admin", basename(__FILE__));
 if (isset($_POST['ok']))
 {
        // Cache path has been not changed by default so don't test it again
-       $_POST['cache_tested'] = "N";
+       $_POST['cache_tested'] = 'N';
 
        // Check if path has been changed
        if ($_POST['cache_path'] != $CONFIG['cache_path'])
        {
                // Okay, cache path has been altered so we have to test it again!
-               $_POST['cache_tested'] = "Y";
+               $_POST['cache_tested'] = 'Y';
        }
 
        // Delete deactivated cache files
-       if (($_POST['cache_admins'] == "N") && ($CACHE->cache_file("admins", true)))
+       if (($_POST['cache_admins'] == 'N') && ($CACHE->cache_file("admins", true)))
        {
                $CACHE->cache_destroy();
        }
-       if (($_POST['cache_acls'] == "N") && ($CACHE->cache_file("acls", true)))
+       if (($_POST['cache_acls'] == 'N') && ($CACHE->cache_file("acls", true)))
        {
                $CACHE->cache_destroy();
        }
-       if (($_POST['cache_exts'] == "N") && ($CACHE->cache_file("extensions", true)))
+       if (($_POST['cache_exts'] == 'N') && ($CACHE->cache_file("extensions", true)))
        {
                $CACHE->cache_destroy();
        }
-       if (($_POST['cache_config'] == "N") && ($CACHE->cache_file("config", true)))
+       if (($_POST['cache_config'] == 'N') && ($CACHE->cache_file("config", true)))
        {
                $CACHE->cache_destroy();
        }
-       if (($_POST['cache_modreg'] == "N") && ($CACHE->cache_file("modreg", true)))
+       if (($_POST['cache_modreg'] == 'N') && ($CACHE->cache_file("modreg", true)))
        {
                $CACHE->cache_destroy();
        }
-       if (($_POST['cache_refdepth'] == "N") && ($CACHE->cache_file("refdepth", true)))
+       if (($_POST['cache_refdepth'] == 'N') && ($CACHE->cache_file("refdepth", true)))
        {
                $CACHE->cache_destroy();
        }
-       if (($_POST['cache_refsys'] == "N") && ($CACHE->cache_file("refsys", true)))
+       if (($_POST['cache_refsys'] == 'N') && ($CACHE->cache_file("refsys", true)))
        {
                $CACHE->cache_destroy();
        }
@@ -90,38 +90,38 @@ if (isset($_POST['ok']))
        // Prepare data
        switch ($CONFIG['cache_admins'])
        {
-               case "Y": define('__ADMINS_Y', " checked"); define('__ADMINS_N', "");         break;
-               case "N": define('__ADMINS_Y', "");         define('__ADMINS_N', " checked"); break;
+               case 'Y': define('__ADMINS_Y', " checked"); define('__ADMINS_N', "");         break;
+               case 'N': define('__ADMINS_Y', "");         define('__ADMINS_N', " checked"); break;
        }
        switch ($CONFIG['cache_acls'])
        {
-               case "Y": define('__ACLS_Y', " checked"); define('__ACLS_N', "");         break;
-               case "N": define('__ACLS_Y', "");         define('__ACLS_N', " checked"); break;
+               case 'Y': define('__ACLS_Y', " checked"); define('__ACLS_N', "");         break;
+               case 'N': define('__ACLS_Y', "");         define('__ACLS_N', " checked"); break;
        }
        switch ($CONFIG['cache_exts'])
        {
-               case "Y": define('__EXTS_Y', " checked"); define('__EXTS_N', "");         break;
-               case "N": define('__EXTS_Y', "");         define('__EXTS_N', " checked"); break;
+               case 'Y': define('__EXTS_Y', " checked"); define('__EXTS_N', "");         break;
+               case 'N': define('__EXTS_Y', "");         define('__EXTS_N', " checked"); break;
        }
        switch ($CONFIG['cache_config'])
        {
-               case "Y": define('__CONFIG_Y', " checked"); define('__CONFIG_N', "");         break;
-               case "N": define('__CONFIG_Y', "");         define('__CONFIG_N', " checked"); break;
+               case 'Y': define('__CONFIG_Y', " checked"); define('__CONFIG_N', "");         break;
+               case 'N': define('__CONFIG_Y', "");         define('__CONFIG_N', " checked"); break;
        }
        switch ($CONFIG['cache_modreg'])
        {
-               case "Y": define('__MODREG_Y', " checked"); define('__MODREG_N', "");         break;
-               case "N": define('__MODREG_Y', "");         define('__MODREG_N', " checked"); break;
+               case 'Y': define('__MODREG_Y', " checked"); define('__MODREG_N', "");         break;
+               case 'N': define('__MODREG_Y', "");         define('__MODREG_N', " checked"); break;
        }
        switch ($CONFIG['cache_refdepth'])
        {
-               case "Y": define('__REFDEPTH_Y', " checked"); define('__REFDEPTH_N', "");         break;
-               case "N": define('__REFDEPTH_Y', "");         define('__REFDEPTH_N', " checked"); break;
+               case 'Y': define('__REFDEPTH_Y', " checked"); define('__REFDEPTH_N', "");         break;
+               case 'N': define('__REFDEPTH_Y', "");         define('__REFDEPTH_N', " checked"); break;
        }
        switch ($CONFIG['cache_refsys'])
        {
-               case "Y": define('__REFSYS_Y', " checked"); define('__REFSYS_N', "");         break;
-               case "N": define('__REFSYS_Y', "");         define('__REFSYS_N', " checked"); break;
+               case 'Y': define('__REFSYS_Y', " checked"); define('__REFSYS_N', "");         break;
+               case 'N': define('__REFSYS_Y', "");         define('__REFSYS_N', " checked"); break;
        }
        define('__PATH', $CONFIG['cache_path']);
 
index 727a5e739d4e938d9cef262f2042f6ec6b708480..ff86aa13b28a38ca20d9bbe5d71a4f02893abe6b 100644 (file)
@@ -73,12 +73,12 @@ if (isset($_POST['ok']))
        // Take points from jackpot (Y/N)
        switch ($CONFIG['doubler_jackpot'])
        {
-       case "Y":
+       case 'Y':
                define('__DOUBLER_JACKPOT_Y', " checked");
                define('__DOUBLER_JACKPOT_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__DOUBLER_JACKPOT_Y', "");
                define('__DOUBLER_JACKPOT_N', " checked");
                break;
@@ -87,12 +87,12 @@ if (isset($_POST['ok']))
        // Take points from own account (Y/N)
        switch ($CONFIG['doubler_own'])
        {
-       case "Y":
+       case 'Y':
                define('__DOUBLER_OWN_Y', " checked");
                define('__DOUBLER_OWN_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__DOUBLER_OWN_Y', "");
                define('__DOUBLER_OWN_N', " checked");
                break;
@@ -115,12 +115,12 @@ if (isset($_POST['ok']))
        // Take points from own account (Y/N)
        switch ($CONFIG['doubler_sent_all'])
        {
-       case "Y":
+       case 'Y':
                define('__DOUBLER_SENT_ALL_Y', " checked");
                define('__DOUBLER_SENT_ALL_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__DOUBLER_SENT_ALL_Y', "");
                define('__DOUBLER_SENT_ALL_N', " checked");
                break;
index 2504ad825920a49bc3a44d85409e87fdcb5b356a..d079f78c713fca75e45315055f1e0143e8873cfc 100644 (file)
@@ -50,8 +50,8 @@ if (isset($_POST['ok']))
        // Prepare data
        switch ($CONFIG['verbose_sql'])
        {
-               case "Y": define('__VERBOSE_Y', " checked"); define('__VERBOSE_N', "");         break;
-               case "N": define('__VERBOSE_Y', "");         define('__VERBOSE_N', " checked"); break;
+               case 'Y': define('__VERBOSE_Y', " checked"); define('__VERBOSE_N', "");         break;
+               case 'N': define('__VERBOSE_Y', "");         define('__VERBOSE_N', " checked"); break;
        }
 
        // Load template
index 9f00f402f812ef5fe34dfe2091c7bfa3255c9465..03aea0c1922cc4cdb376a4dd7fe2544f5be911be 100644 (file)
@@ -112,7 +112,7 @@ if (isset($_POST['ok']))
                define('_CFG_PROF_REUPDATE' , "<INPUT type=\"text\" name=\"resend_profile_update\" class=\"admin_normal\" size=\"6\"  maxlength=\"255\" value=\"".$CONFIG['resend_profile_update'] ."\"> <FONT class=\"tiny\">(".SECS.")</FONT>");
        }
 
-       if ($CONFIG['test_text'] == "N")
+       if ($CONFIG['test_text'] == 'N')
        {
                define('_CFG_TEST_TEXT_N', " checked");
                define('_CFG_TEST_TEXT_Y', "");
@@ -122,7 +122,7 @@ if (isset($_POST['ok']))
                define('_CFG_TEST_TEXT_N', "");
                define('_CFG_TEST_TEXT_Y', " checked");
        }
-       if ($CONFIG['test_subj'] == "N")
+       if ($CONFIG['test_subj'] == 'N')
        {
                define('_CFG_TEST_SUBJ_N', " checked");
                define('_CFG_TEST_SUBJ_Y', "");
@@ -132,7 +132,7 @@ if (isset($_POST['ok']))
                define('_CFG_TEST_SUBJ_N', "");
                define('_CFG_TEST_SUBJ_Y', " checked");
        }
-       if ($CONFIG['url_blacklist'] == "N")
+       if ($CONFIG['url_blacklist'] == 'N')
        {
                define('_CFG_URL_BLIST_N', " checked");
                define('_CFG_URL_BLIST_Y', "");
@@ -142,7 +142,7 @@ if (isset($_POST['ok']))
                define('_CFG_URL_BLIST_N', "");
                define('_CFG_URL_BLIST_Y', " checked");
        }
-       if ($CONFIG['order_multi_page'] == "N")
+       if ($CONFIG['order_multi_page'] == 'N')
        {
                define('_CFG_ORDER_MULTI_N', " checked");
                define('_CFG_ORDER_MULTI_Y', "");
@@ -152,7 +152,7 @@ if (isset($_POST['ok']))
                define('_CFG_ORDER_MULTI_N', "");
                define('_CFG_ORDER_MULTI_Y', " checked");
        }
-       if ($CONFIG['autosend_active'] == "N")
+       if ($CONFIG['autosend_active'] == 'N')
        {
                define('_CFG_AUTOSEND_ACTIVE_N', " checked");
                define('_CFG_AUTOSEND_ACTIVE_Y', "");
@@ -162,7 +162,7 @@ if (isset($_POST['ok']))
                define('_CFG_AUTOSEND_ACTIVE_N', "");
                define('_CFG_AUTOSEND_ACTIVE_Y', " checked");
        }
-       if ($CONFIG['send_prof_update'] == "N")
+       if ($CONFIG['send_prof_update'] == 'N')
        {
                define('_CFG_SEND_UPDATE_N', " checked");
                define('_CFG_SEND_UPDATE_Y', "");
@@ -172,7 +172,7 @@ if (isset($_POST['ok']))
                define('_CFG_SEND_UPDATE_N', "");
                define('_CFG_SEND_UPDATE_Y', " checked");
        }
-       if ($CONFIG['admin_notify'] == "N")
+       if ($CONFIG['admin_notify'] == 'N')
        {
                define('_CFG_ADMIN_NOTIFY_N', " checked");
                define('_CFG_ADMIN_NOTIFY_Y', "");
@@ -192,7 +192,7 @@ if (isset($_POST['ok']))
                define('_CFG_CSS_PHP_DIRECT', "");
                define('_CFG_CSS_PHP_FILE', " checked");
        }
-       if ($CONFIG['guest_menu'] == "Y")
+       if ($CONFIG['guest_menu'] == 'Y')
        {
                define('_CFG_GUEST_MENU_ACTIVE', " checked");
                define('_CFG_GUEST_MENU_INACTIVE', "");
@@ -202,7 +202,7 @@ if (isset($_POST['ok']))
                define('_CFG_GUEST_MENU_ACTIVE', "");
                define('_CFG_GUEST_MENU_INACTIVE', " checked");
        }
-       if ($CONFIG['member_menu'] == "Y")
+       if ($CONFIG['member_menu'] == 'Y')
        {
                define('_CFG_MEMBER_MENU_ACTIVE', " checked");
                define('_CFG_MEMBER_MENU_INACTIVE', "");
@@ -212,7 +212,7 @@ if (isset($_POST['ok']))
                define('_CFG_MEMBER_MENU_ACTIVE', "");
                define('_CFG_MEMBER_MENU_INACTIVE', " checked");
        }
-       if ($CONFIG['youre_here'] == "Y")
+       if ($CONFIG['youre_here'] == 'Y')
        {
                define('_CFG_YOURE_HERE_ACTIVE', " checked");
                define('_CFG_YOURE_HERE_INACTIVE', "");
index a1e35996d6f3bad91e09dc34c61850c6e59e5e8c..1f028aa60d47cf2180fa3ffd956a1d9787729d73 100644 (file)
@@ -187,12 +187,12 @@ WHERE mails_confirmed < %d", $REF, $REF);
        // Including new add-mode for one-time referral bonus
        switch ($CONFIG['allow_direct_pay'])
        {
-       case "Y":
+       case 'Y':
                define('__DIRECT_Y', " checked");
                define('__DIRECT_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__DIRECT_Y', "");
                define('__DIRECT_N', " checked");
                break;
index 83e90ef5423db15c3f258fd2a072253e153b6594..91565cf9e3234575182989391ef1fc3b71645895 100644 (file)
@@ -262,7 +262,7 @@ WHERE d.admin_id=a.id ORDER BY start_time DESC", __FILE__, __LINE__);
                while (list($id, $aid, $start, $end, $title, $alogin, $active) = SQL_FETCHROW($result))
                {
                        $select = "<INPUT type=\"checkbox\" name=\"sel[".$id."]\" class=\"admin_normal\" value=\"1\">";
-                       if ($active == "Y") $select = "<STRONG class=\"big\">".$id."</STRONG>";
+                       if ($active == 'Y') $select = "<STRONG class=\"big\">".$id."</STRONG>";
 
                        // Prepare data for the row template
                        $content = array(
index 0fe433f49f243d23e6b58bc92604b36b9f16a906..bc6c58fd7b4e043cde1904851bde6592d099a1fe 100644 (file)
@@ -47,7 +47,7 @@ if (isset($_POST['ok']))
        foreach ($_POST['mod'] as $mod=>$sel)
        {
                // Now you can never deselect the admin module, bah!!! ;-)
-               if (($sel == "Y") || ($mod == "admin"))
+               if (($sel == 'Y') || ($mod == "admin"))
                {
                        // Add module to queue
                        $MODs[] = $mod;
index d128bbd6caef2895f9b0cb088fa07e8e94295330..e4b9f62ab9f6baa6cf6f0adc3b465e13baeace83 100644 (file)
@@ -54,8 +54,8 @@ define('__TRANS_CODE_VALUE'   , $CONFIG['transfer_code']);
 // Autppurge expired transfer entries?
 switch ($CONFIG['ap_inactive'])
 {
-       case "Y": define('__YES_AP', " selected=\"selected\""); define('__NO_AP', "");          break;
-       case "N": define('__YES_AP', "");          define('__NO_AP', " selected=\"selected\""); break;
+       case 'Y': define('__YES_AP', " selected=\"selected\""); define('__NO_AP', "");          break;
+       case 'N': define('__YES_AP', "");          define('__NO_AP', " selected=\"selected\""); break;
 }
 
 // Time selection box
index d574a547ca66d0b70c6c9de92d95fc8cb550e3ec..0fd97cf399d97775e47accaf4aef1fbb0ff4a1e7 100644 (file)
@@ -55,12 +55,12 @@ if (!empty($_GET['reg_ext'])) {
        // De-/activate extensions
        foreach ($_POST['sel'] as $id=>$active) {
                // Shall we keep the extension always active?
-               if ((isset($KEEP_ACTIVE[GET_EXT_NAME($id)])) && ($KEEP_ACTIVE[GET_EXT_NAME($id)] == "Y") && ($active == "N")) {
+               if ((isset($KEEP_ACTIVE[GET_EXT_NAME($id)])) && ($KEEP_ACTIVE[GET_EXT_NAME($id)] == 'Y') && ($active == 'N')) {
                        // Keep this extension active!
                } else {
                        // De/activate extension
-                       $ACT = "N"; $EXT_LOAD_MODE = "deactivate";
-                       if ($active == "N") { $ACT = "Y"; $EXT_LOAD_MODE = "activate"; }
+                       $ACT = 'N'; $EXT_LOAD_MODE = "deactivate";
+                       if ($active == 'N') { $ACT = 'Y'; $EXT_LOAD_MODE = "activate"; }
                        $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_extensions SET ext_active='".$ACT."' WHERE id=%d AND ext_active='%s' LIMIT 1",
                         array(bigintval($id), $active), __FILE__, __LINE__);
 
@@ -93,8 +93,8 @@ if (!empty($_GET['reg_ext'])) {
 
                                // Run SQLs on activation / deactivation
                                switch ($active) {
-                                       case "Y": $EXT_LOAD_MODE = "activate";   break;
-                                       case "N": $EXT_LOAD_MODE = "deactivate"; break;
+                                       case 'Y': $EXT_LOAD_MODE = "activate";   break;
+                                       case 'N': $EXT_LOAD_MODE = "deactivate"; break;
                                }
 
                                // Run embeded SQL commands
@@ -111,7 +111,7 @@ if (!empty($_GET['reg_ext'])) {
                $SW = "2"; $OUT = "";
                foreach ($_POST['sel'] as $id=>$sel) {
                        // Edit this extension?
-                       if (($sel == "Y") || ($sel == "N")) {
+                       if (($sel == 'Y') || ($sel == 'N')) {
                                // Load required data
                                if (GET_EXT_VERSION("sql_patches") >= "0.0.6") {
                                        $result = SQL_QUERY_ESC("SELECT ext_name, ext_has_css, ext_active FROM "._MYSQL_PREFIX."_extensions WHERE id=%d LIMIT 1",
index 013330c1d0cfb24d5a55ce4ef1a3527565899950..8453ffe978ff0c1bb2bc45823fc1764e96a634e0 100644 (file)
@@ -40,7 +40,7 @@ if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))
 // Add description as navigation point
 ADD_DESCR("admin", basename(__FILE__));
 
-if ($CONFIG['beg_rallye'] == "Y")
+if ($CONFIG['beg_rallye'] == 'Y')
 {
        // Shall I withdraw now?
        if (isset($_POST['withdraw']))
index 0f597a78e5b7c748df9892c105fd2955b7db814e..a4c6c97535089a04d9bb87a7066c6be5f2bbadd0 100644 (file)
@@ -40,7 +40,7 @@ if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))
 // Add description as navigation point
 ADD_DESCR("admin", basename(__FILE__));
 
-if ($CONFIG['bonus_active'] == "Y")
+if ($CONFIG['bonus_active'] == 'Y')
 {
        // Shall I withdraw now?
        if (isset($_POST['withdraw']))
@@ -58,11 +58,11 @@ if ($CONFIG['bonus_active'] == "Y")
        {
                // Add more bonus points here
                $USE = "(0";
-               if ($CONFIG['bonus_click_yn'] == "Y") $USE .= " + turbo_bonus";
-               if ($CONFIG['bonus_login_yn'] == "Y") $USE .= " + login_bonus";
-               if ($CONFIG['bonus_order_yn'] == "Y") $USE .= " + bonus_order";
-               if ($CONFIG['bonus_stats_yn'] == "Y") $USE .= " + bonus_stats";
-               if ($CONFIG['bonus_ref_yn']   == "Y") $USE .= " + bonus_ref";
+               if ($CONFIG['bonus_click_yn'] == 'Y') $USE .= " + turbo_bonus";
+               if ($CONFIG['bonus_login_yn'] == 'Y') $USE .= " + login_bonus";
+               if ($CONFIG['bonus_order_yn'] == 'Y') $USE .= " + bonus_order";
+               if ($CONFIG['bonus_stats_yn'] == 'Y') $USE .= " + bonus_stats";
+               if ($CONFIG['bonus_ref_yn']   == 'Y') $USE .= " + bonus_ref";
                $USE .= ")";
        }
         else
index 3a646ac64d213b06ee3d500a99eae2664337a1e0..f9b7e02e47e9b762098221e7997a749356b508d1 100644 (file)
@@ -148,7 +148,7 @@ if (!empty($_GET['pid']))
                                                $msg = LOAD_EMAIL_TEMPLATE("member_payout_accepted", $_POST['text'], $uid);
 
                                                // Output message
-                                               if ($allow == "Y")
+                                               if ($allow == 'Y')
                                                {
                                                        // Banner / Textlink request
                                                        LOAD_TEMPLATE("admin_settings_saved", false, PAYOUT_BANNER_ACCEPTED_NOTIFIED);
@@ -259,7 +259,7 @@ ORDER BY p.payout_timestamp DESC", __FILE__, __LINE__);
                        }
 
                        // Nothing entered must be secured in member/what-payputs.php !
-                       if ($allow == "Y")
+                       if ($allow == 'Y')
                        {
                                // Banner/Textlink views/clicks request
                                if (!empty($banner))
index ffe00d085a345f2ee60a23ccb3516df5318def8f..18d8b63cd5983f23999450d4326feffea05f0b6d 100644 (file)
@@ -183,7 +183,7 @@ if (isset($_POST['edit']))
                        $content['s_hour']  = ADD_SELECTION("hour" , date("G", $start), "start", $id);
                        $content['s_day']   = ADD_SELECTION("day"  , date("d", $start), "start", $id);
                        $content['s_month'] = ADD_SELECTION("month", date("m", $start), "start", $id);
-                       $content['s_year']  = ADD_SELECTION("year" , date("Y", $start), "start", $id);
+                       $content['s_year']  = ADD_SELECTION("year" , date('Y', $start), "start", $id);
 
                        // Ending day
                        $content['e_sec']   = ADD_SELECTION("sec"  , date("s", $end)  , "end"  , $id);
@@ -191,7 +191,7 @@ if (isset($_POST['edit']))
                        $content['e_hour']  = ADD_SELECTION("hour" , date("G", $end)  , "end"  , $id);
                        $content['e_day']   = ADD_SELECTION("day"  , date("d", $end)  , "end"  , $id);
                        $content['e_month'] = ADD_SELECTION("month", date("m", $end)  , "end"  , $id);
-                       $content['e_year']  = ADD_SELECTION("year" , date("Y", $end)  , "end"  , $id);
+                       $content['e_year']  = ADD_SELECTION("year" , date('Y', $end)  , "end"  , $id);
 
                        // Remember over values
                        $content['templ']      = RALLYE_TEMPLATE_SELECTION("templ[".$id."]", $templ);
@@ -337,14 +337,14 @@ ORDER BY start_time DESC",
                        // Is the rallye active or not?
                        switch ($active)
                        {
-                       case "Y":
+                       case 'Y':
                                // Rallye is active so do not edit it!
                                $content['select'] = "<STRONG class=\"big\">".$id."</STRONG>";
                                $content['active_title'] = RALLYE_DEACTIVATE_NOW;
                                $content['active'] = "0";
                                break;
 
-                       case "N":
+                       case 'N':
                                $content['active_title'] = RALLYE_ACTIVATE_NOW;
                                $content['active'] = "1";
                                break;
@@ -353,12 +353,12 @@ ORDER BY start_time DESC",
                        // Notification to members?
                        switch ($notify)
                        {
-                       case "Y":
+                       case 'Y':
                                $content['notify_title'] = RALLYE_STOP_NOTIFY_NOW;
                                $content['notify'] = "0";
                                break;
 
-                       case "N":
+                       case 'N':
                                $content['notify_title'] = RALLYE_START_NOTIFY_NOW;
                                $content['notify'] = "1";
                                break;
@@ -367,12 +367,12 @@ ORDER BY start_time DESC",
                        // Auto-add of new joined members?
                        switch ($auto_add)
                        {
-                       case "Y":
+                       case 'Y':
                                $content['auto_title'] = RALLYE_STOP_AUTO_ADD_NOW;
                                $content['auto'] = "0";
                                break;
 
-                       case "N":
+                       case 'N':
                                $content['auto_title'] = RALLYE_START_AUTO_ADD_NOW;
                                $content['auto'] = "1";
                                break;
index 734640b9110244593eb71a2aaa5bddfbbc720504..e5dde00cc91727a99c2e36dfeec54abdc554a0a6 100644 (file)
@@ -45,13 +45,13 @@ if (isset($_POST['ok']))
        // De- or activate maintenance mode
        switch ($CONFIG['maintenance'])
        {
-       case "Y":
-               $target_mode = "N";
+       case 'Y':
+               $target_mode = 'N';
                $out = ADMIN_MAINTENANCE_DEACTIVATED;
                break;
 
-       case "N":
-               $target_mode = "Y";
+       case 'N':
+               $target_mode = 'Y';
                $out = ADMIN_MAINTENANCE_ACTIVATED;
                break;
        }
@@ -67,11 +67,11 @@ if (isset($_POST['ok']))
 {
        switch ($CONFIG['maintenance'])
        {
-       case "Y": // Maintenance mode is active
+       case 'Y': // Maintenance mode is active
                define('ADMIN_MAINTENANCE_MODE', ADMIN_MAINTENANCE_MODE_IS_ACTIVE);
                break;
 
-       case "N": // Maintenance mode is inactive
+       case 'N': // Maintenance mode is inactive
                define('ADMIN_MAINTENANCE_MODE', ADMIN_MAINTENANCE_MODE_IS_INACTIVE);
                break;
        }
index fccbb061a5ca54451862af2a113e6cd5b4525947..ef60bdb2b0d98f051a6d3e381f0f04e91ef624f8 100644 (file)
@@ -93,8 +93,8 @@ if (isset($_POST['ok']))
                // Gettings points is oka, so we can add $USED later from
                if ($EXT_HTML)
                {
-                       $HTML = "N";
-                       if ($_GET['mode'] == "html") $HTML = "Y";
+                       $HTML = 'N';
+                       if ($_GET['mode'] == "html") $HTML = 'Y';
                        $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_bonus
 (subject, text, receivers, points, time, data_type, timestamp, url, cat_id, target_send, mails_sent, html_msg)
 VALUES ('%s', '%s', '%s', '%s', '%s', 'NEW', UNIX_TIMESTAMP(), '%s', '%s', '%s', '%s', '%s')",
index 9246c4bf46228ecd8f73fc7abd0121115e1c7871..9fc626ce0518409610668348505c7fd6534102af 100644 (file)
@@ -55,7 +55,7 @@ if ($SEL > 0)
                if (isset($_POST['status']))
                {
                        // Change status
-                       if ($_POST['active'][$id] == "Y")
+                       if ($_POST['active'][$id] == 'Y')
                        {
                                $SQL = "UPDATE "._MYSQL_PREFIX."_themes SET theme_active='N' WHERE id='".$id."' LIMIT 1";
                        }
index 93c8630e74e4232e114b9facb6ec07233d253bd7..badd8c36e455c850bf07c19e1661cf2425f03b73 100644 (file)
@@ -82,7 +82,7 @@ if ((SQL_NUMROWS($result_main) > 0) || (isset($_POST['lock'])))
                                        SQL_FREERESULT($result);
 
                                        // Check for bonus extension version >= 0.4.4 for the order bonus
-                                       if ((GET_EXT_VERSION("bonus") >= "0.4.4") && ($CONFIG['bonus_active'] == "Y"))
+                                       if ((GET_EXT_VERSION("bonus") >= "0.4.4") && ($CONFIG['bonus_active'] == 'Y'))
                                        {
                                                // Add points directly
                                                $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_user_data SET bonus_order=bonus_order+".$CONFIG['bonus_order']." WHERE userid=%d LIMIT 1",
index eb2dfc697dece1cbcfd3b2932250143cbb243f7a..bc44387c0b2318849aa10ea9821d4082bec8935e 100644 (file)
@@ -85,12 +85,12 @@ if (SQL_NUMROWS($result) > 0)
                if ($action == "") $action = "---";
                if ($what   == "")   $what = "---";
 
-               if ($admin == "Y")
+               if ($admin == 'Y')
                {
                        // Is an administrator
                        $userid = _IS_ADMIN;
                }
-               elseif (($mem == "N") && ($admin == "N"))
+               elseif (($mem == 'N') && ($admin == 'N'))
                {
                        // Is a guest
                        $userid = _IS_GUEST;
index e5952f873a693de278fc8f52a45a9ab8ed87317c..236b491fc9b73cf1d079f4d9c8e138ed8b4ec966 100644 (file)
@@ -75,12 +75,12 @@ if (EXT_IS_ACTIVE("online", true))
                        if (empty($act)) $act = "---";
                        if (empty($wht))   $wht = "---";
 
-                       if ($admin == "Y")
+                       if ($admin == 'Y')
                        {
                                // Is an administrator
                                $uid = _IS_ADMIN;
                        }
-                        elseif (($mem == "N") && ($admin == "N"))
+                        elseif (($mem == 'N') && ($admin == 'N'))
                        {
                                // Is a guest
                                $uid = _IS_GUEST;
index 9be4517da900ab7d470195e236f3d02463c3aeb2..c04d7117a2b24e98b84a49cef26333e461dc289a 100644 (file)
@@ -55,8 +55,7 @@ if (!empty($GLOBALS['userid']) && !empty($_COOKIE['u_hash']) && !empty($_COOKIE[
        $_COOKIE['mxchange_theme'] = $NewTheme;
 
        $bonus = false;
-       die("<pre>".print_r($CONFIG, true)."</pre>");
-       if ((GET_EXT_VERSION("sql_patches") >= "0.2.8") && (GET_EXT_VERSION("bonus") >= "0.2.1")) {
+       if ((GET_EXT_VERSION("sql_patches") >= "0.2.8") && (GET_EXT_VERSION("bonus") >= "0.2.1") && ($CONFIG['bonus_login_yn'] == 'Y')) {
                // Update last login
                $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_user_data
 SET last_login=UNIX_TIMESTAMP()
index 1cb2a7b8e282d3eb87f23c2751bdf6a099aae589..2f0f114206f12ef0506926d768da79941319c9d7 100644 (file)
@@ -91,7 +91,7 @@ if (!empty($_GET['hash']))
                                        }
 
                                        // If version matches add ref bonus to refid's account
-                                       if ((GET_EXT_VERSION("bonus") >= "0.4.4") && ($CONFIG['bonus_active'] == "Y"))
+                                       if ((GET_EXT_VERSION("bonus") >= "0.4.4") && ($CONFIG['bonus_active'] == 'Y'))
                                        {
                                                // Add points (directly only!)
                                                $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_user_data SET bonus_ref=bonus_ref+%s WHERE userid=%d LIMIT 1",
index c40c2cc679c6dc03b1dfd08e9a9e1ae91a2ef0a0..ceabf29cd09515f554f1e2a29fcc8334bdbd780b 100644 (file)
@@ -72,7 +72,7 @@ case "RESET":
 }
 
 // Generate table with already payed out doubles
-define('__DOUBLER_PAYOUT_HISTORY', DOUBLER_GENERATE_TABLE("0", "Y", "N", "DESC"));
+define('__DOUBLER_PAYOUT_HISTORY', DOUBLER_GENERATE_TABLE("0", 'Y', 'N', "DESC"));
 
 // Generate table with next-to-run payouts
 define('__DOUBLER_PAYOUT_NEXT', DOUBLER_GENERATE_TABLE());
index 03ce6d854745cf12576e96f015265c79d5a06c82..1dccf93bc133cdaaa122aa3900994099d5c108c2 100644 (file)
@@ -67,7 +67,7 @@ define('__MT_STAGE', $CONFIG['mt_stage']);
 
 // Project timestamp when number of members are reached
 $PROJECTED = round((time() - $CONFIG['mt_start']) / user_count * $CONFIG['mt_stage'] + $CONFIG['mt_start']);
-$YEAR = date("Y", $PROJECTED); $MONTH = date("m", $PROJECTED); $DAY = date("d", $PROJECTED);
+$YEAR = date('Y', $PROJECTED); $MONTH = date("m", $PROJECTED); $DAY = date("d", $PROJECTED);
 $TEST = mktime(0, 0, 0, $MONTH, $DAY, $YEAR);
 if ($TEST > time())
 {
index 541575379cc3caea5ed9b2973ca7974e2b7846eb..80b313be03ded1128e234fe19c4d3206a81de7d4 100644 (file)
@@ -77,7 +77,7 @@ if (isset($_POST['ok']))
        // First we only check the submitted data then we continue... :)
        //
        // Did he agree to our Terms Of Usage?
-       if ($_POST['agree'] != "Y")
+       if ($_POST['agree'] != 'Y')
        {
                $_POST['agree'] = "!";
                $FAILED = true;
@@ -133,7 +133,7 @@ if (isset($_POST['ok']))
                // Do this check only when no admin is logged in
                foreach ($_POST['cat'] as $id=>$answer)
                {
-                       if ($answer == "Y") $cats++;
+                       if ($answer == 'Y') $cats++;
                }
                if ($cats < $CONFIG['least_cats'])
                {
@@ -141,7 +141,7 @@ if (isset($_POST['ok']))
                        $FAILED = true;
                }
        }
-       if (($_POST['addy'] != "!") && ($CONFIG['check_double_email'] == "Y") && (!IS_ADMIN()))
+       if (($_POST['addy'] != "!") && ($CONFIG['check_double_email'] == 'Y') && (!IS_ADMIN()))
        {
                // Does the email address already exists in our database?
                $CHK = SEARCH_EMAIL_USERTAB($_POST['addy']);
@@ -198,7 +198,7 @@ if ((isset($_POST['ok'])) && (!$FAILED))
        if (GET_EXT_VERSION("beg") >= "0.1.7")
        {
                // Okay, shall I disable now?
-               if ($CONFIG['beg_new_mem_notify'] == "N")
+               if ($CONFIG['beg_new_mem_notify'] == 'N')
                {
                        $ADD1 .= ", beg_ral_notify, beg_ral_en_notify";
                        $ADD2 .= ", UNIX_TIMESTAMP(), UNIX_TIMESTAMP()";
@@ -209,7 +209,7 @@ if ((isset($_POST['ok'])) && (!$FAILED))
        if (GET_EXT_VERSION("bonus") >= "0.7.7")
        {
                // Okay, shall I disable now?
-               if ($CONFIG['bonus_new_mem_notify'] == "N")
+               if ($CONFIG['bonus_new_mem_notify'] == 'N')
                {
                        $ADD1 .= ", bonus_ral_notify, bonus_ral_en_notify";
                        $ADD2 .= ", UNIX_TIMESTAMP(), UNIX_TIMESTAMP()";
@@ -286,7 +286,7 @@ array(
        // Write catgories
        if ((is_array($_POST['cat'])) && (count($_POST['cat']))) {
                foreach ($_POST['cat'] as $cat=>$joined) {
-                       if ($joined == "Y") {
+                       if ($joined == 'Y') {
                                // Insert category entry
                                $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_user_cats (userid, cat_id) VALUES (%d, %d)",
                                 array(bigintval($userid), bigintval($cat)), __FILE__, __LINE__);
@@ -438,7 +438,7 @@ array(
        }
 
        // Shall I display the refid or shall I make it editable?
-       if ($CONFIG['display_refid'] == "Y") {
+       if ($CONFIG['display_refid'] == 'Y') {
                // Load template to enter it
                define('REFID_CONTENT', LOAD_TEMPLATE("guest_register_refid", true, $GLOBALS['refid']));
        } else {
index afccd22e3370ca9434115fb01cfb4b2b5ea7a6e3..f73e2c23f99b208726c70d59b5076861ab97ae47 100644 (file)
@@ -97,7 +97,7 @@ if (empty($GLOBALS['action']))
 }
 
 // Add the guest's menu here...
-if (($CONFIG['guest_menu'] == "Y") || (!EXT_IS_ACTIVE("sql_patches", true)))
+if (($CONFIG['guest_menu'] == 'Y') || (!EXT_IS_ACTIVE("sql_patches", true)))
 {
        // Show only when guest menu is active
        ADD_MENU("guest", $act, $GLOBALS['what']);
@@ -118,7 +118,7 @@ if ((file_exists($INC_ACTION)) && (is_readable($INC_ACTION)) && (VALIDATE_MENU_A
        LOAD_URL(URL."/modules.php?module=index");
 }
 
-if (($CONFIG['guest_menu'] == "Y") || (!EXT_IS_ACTIVE("sql_patches", true)))
+if (($CONFIG['guest_menu'] == 'Y') || (!EXT_IS_ACTIVE("sql_patches", true)))
 {
        // TDs between content and </table>
        LOAD_TEMPLATE("guest_content_footer");
index e7e2d3581037dde46eb1efb8cdcc7f50aa80b36b..47f34c07f4d458d2e99c81abde79e8dbb871cbc7 100644 (file)
@@ -92,7 +92,7 @@ if (empty($GLOBALS['action']))
 }
 
 // Add the member's menu here...
-if (($CONFIG['member_menu'] == "Y") || (!EXT_IS_ACTIVE("sql_patches", true)))
+if (($CONFIG['member_menu'] == 'Y') || (!EXT_IS_ACTIVE("sql_patches", true)))
 {
        ADD_MENU("member", GET_ACTION("member", $GLOBALS['what']), $GLOBALS['what']);
 }
@@ -112,7 +112,7 @@ if ((file_exists($INC_ACTION)) && (is_readable($INC_ACTION)) && (VALIDATE_MENU_A
        LOAD_URL("modules.php?module=login");
 }
 
-if (($CONFIG['member_menu'] == "Y") || (!EXT_IS_ACTIVE("sql_patches", true)))
+if (($CONFIG['member_menu'] == 'Y') || (!EXT_IS_ACTIVE("sql_patches", true)))
 {
        OUTPUT_HTML ("  <BR></TD>
 </TR>
index 57b238cb1af2a04794ea2d0b4e53b7d44eec5e83..e967ae56fce39b95e8a56e30f2a27a2080997894 100644 (file)
@@ -55,11 +55,11 @@ if (GET_EXT_VERSION("bonus") >= "0.6.9")
 {
        // Add more bonus points here
        $USE = "(0";
-       if ($CONFIG['bonus_click_yn'] == "Y") $USE .= " + turbo_bonus";
-       if ($CONFIG['bonus_login_yn'] == "Y") $USE .= " + login_bonus";
-       if ($CONFIG['bonus_order_yn'] == "Y") $USE .= " + bonus_order";
-       if ($CONFIG['bonus_stats_yn'] == "Y") $USE .= " + bonus_stats";
-       if ($CONFIG['bonus_ref_yn']   == "Y") $USE .= " + bonus_ref";
+       if ($CONFIG['bonus_click_yn'] == 'Y') $USE .= " + turbo_bonus";
+       if ($CONFIG['bonus_login_yn'] == 'Y') $USE .= " + login_bonus";
+       if ($CONFIG['bonus_order_yn'] == 'Y') $USE .= " + bonus_order";
+       if ($CONFIG['bonus_stats_yn'] == 'Y') $USE .= " + bonus_stats";
+       if ($CONFIG['bonus_ref_yn']   == 'Y') $USE .= " + bonus_ref";
        $USE .= ")";
 }
  else
index 13e65235e32ef219639a97f2a4fbdd1e90150011..659673b732168c680ff1932c6d3b784e5254372c 100644 (file)
@@ -60,7 +60,7 @@ if ($cats > 0)
                $cnt = 0;
                foreach ($_POST['cat'] as $cat=>$joined)
                {
-                       if ($joined == "N") $cnt++;
+                       if ($joined == 'N') $cnt++;
                }
                if (($cats - $cnt) < $CONFIG['least_cats'])
                {
@@ -74,7 +74,7 @@ if ($cats > 0)
                {
                        switch ($joined)
                        {
-                               case "Y":
+                               case 'Y':
                                        $sql = "";
                                        $result_user = SQL_QUERY_ESC("SELECT id FROM "._MYSQL_PREFIX."_user_cats WHERE userid=%d AND cat_id=%d LIMIT 1",
                                         array($UID, bigintval($cat)), __FILE__, __LINE__);
@@ -90,7 +90,7 @@ if ($cats > 0)
                                        }
                                        break;
 
-                               case "N":
+                               case 'N':
                                        $sql = "DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_user_cats WHERE userid=%d AND cat_id=%d LIMIT 1";
                                        break;
                        }
@@ -130,7 +130,7 @@ if ($cats > 0)
                        // When we found an entry don't read it, just change the JOINED_x variables
                        if (isset($_POST['cat']))
                        {
-                               if ($_POST['cat'][$id] =="Y") { $JOINED_Y = " checked"; $JOINED_N = ""; }
+                               if ($_POST['cat'][$id] =='Y') { $JOINED_Y = " checked"; $JOINED_N = ""; }
                        }
                         else
                        {
index 5819281f00ebda2a6142efe781c69e1ff151d6bf..b665764ef2cb90176a13b1b5998817a2023d8c31 100644 (file)
@@ -96,13 +96,13 @@ case "RESET":
 }
 
 // Generate table with already payed out doubles
-define('__DOUBLER_PAYOUT_HISTORY', DOUBLER_GENERATE_TABLE($GLOBALS['userid'], "Y", "N", "DESC"));
+define('__DOUBLER_PAYOUT_HISTORY', DOUBLER_GENERATE_TABLE($GLOBALS['userid'], 'Y', 'N', "DESC"));
 
 // Generate table with next-to-run payouts
 define('__DOUBLER_PAYOUT_NEXT', DOUBLER_GENERATE_TABLE($GLOBALS['userid']));
 
 // Generate table with refferal payouts
-define('__DOUBLER_PAYOUT_REF', DOUBLER_GENERATE_TABLE($GLOBALS['userid'], "N", "Y", "DESC"));
+define('__DOUBLER_PAYOUT_REF', DOUBLER_GENERATE_TABLE($GLOBALS['userid'], 'N', 'Y', "DESC"));
 
 // Generate timemark
 define('__TIMEOUT_MARK', CREATE_FANCY_TIME($CONFIG['doubler_timeout']));
index ac0a54d1228774c6aa3b7ea6d368fa89f01a8674..6b58f029af390d611f453b4087976a18514dc7da 100644 (file)
@@ -159,7 +159,7 @@ WHERE userid=%d LIMIT 1", array($GLOBALS['userid']), __FILE__, __LINE__);
        list($active, $locked) = SQL_FETCHROW($result);
        SQL_FREERESULT($result);
 
-       if (($active == "Y") && (($locked + $CONFIG['holiday_lock']) < time()))
+       if (($active == 'Y') && (($locked + $CONFIG['holiday_lock']) < time()))
        {
                // Load data
                $result = SQL_QUERY_ESC("SELECT holiday_start, holiday_end FROM "._MYSQL_PREFIX."_user_holidays
@@ -203,7 +203,7 @@ WHERE userid=%d LIMIT 1", array($GLOBALS['userid']), __FILE__, __LINE__);
                        LOAD_TEMPLATE("admin_settings_saved", false, HOLIDAY_MEMBER_CANNOT_DEACTIVATE);
                }
        }
-        elseif ($active == "Y")
+        elseif ($active == 'Y')
        {
                // To fast!
                LOAD_TEMPLATE("admin_settings_saved", false, HOLIDAY_MEMBER_LOCKED);
@@ -225,7 +225,7 @@ WHERE userid=%d LIMIT 1", array($GLOBALS['userid']), __FILE__, __LINE__);
                // User can deactivate his holiday request
                switch ($active)
                {
-               case "Y": // Display deactivation form
+               case 'Y': // Display deactivation form
                        // Load starting and ending date
                        $result = SQL_QUERY_ESC("SELECT holiday_start, holiday_end FROM "._MYSQL_PREFIX."_user_holidays
 WHERE userid=%d LIMIT 1", array($GLOBALS['userid']), __FILE__, __LINE__);
@@ -257,16 +257,16 @@ WHERE userid=%d LIMIT 1", array($GLOBALS['userid']), __FILE__, __LINE__);
                        }
                        break;
 
-               case "N": // Display activation form
+               case 'N': // Display activation form
                        // Starting day
                        define('_START_DAY'  , ADD_SELECTION("day"  , date("d", (time() + ONE_DAY)), "start"));
                        define('_START_MONTH', ADD_SELECTION("month", date("m", (time() + ONE_DAY)), "start"));
-                       define('_START_YEAR' , ADD_SELECTION("year" , date("Y", (time() + ONE_DAY)), "start"));
+                       define('_START_YEAR' , ADD_SELECTION("year" , date('Y', (time() + ONE_DAY)), "start"));
 
                        // Calcualte ending date
                        $D = date("d", time() + ONE_DAY + (ONE_DAY * $CONFIG['holiday_max']));
                        $M = date("m", time() + ONE_DAY + (ONE_DAY * $CONFIG['holiday_max']));
-                       $Y = date("Y", time() + ONE_DAY + (ONE_DAY * $CONFIG['holiday_max']));
+                       $Y = date('Y', time() + ONE_DAY + (ONE_DAY * $CONFIG['holiday_max']));
 
                        // Ending day
                        define('_END_DAY'  , ADD_SELECTION("day"  , $D, "end"));
index 2baa95b8d61769451edf6ab0d17ef4058d6afa6e..57a4cb8359ee881c0a189323fb629ab2dcd81d85 100644 (file)
@@ -66,7 +66,7 @@ if (isset($_POST['ok']))
        list($mode) = SQL_FETCHROW($result);
        SQL_FREERESULT($result);
 
-       if ($mode == "Y")
+       if ($mode == 'Y')
        {
                define('HTML_Y', " checked");
                define('HTML_N', "");
index af06409959426f419a47aac735653113c06f53b0..de1bcdb99470ec3698a4f5d1996d3d1d05681ee9 100644 (file)
@@ -59,7 +59,7 @@ SQL_FREERESULT($result);
 // Remember charge value
 define('__CHARGE_VALUE', TRANSLATE_COMMA($CONFIG['nl_charge']));
 
-if ((isset($_POST['ok'])) && ($status == "Y") && ($span == "0"))
+if ((isset($_POST['ok'])) && ($status == 'Y') && ($span == "0"))
 {
        // Save request
        $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_user_data SET nl_timespan='".(ONE_DAY * 30)."' WHERE userid=%d LIMIT 1",
@@ -102,13 +102,13 @@ VALUES ('0', 'NEW', 'NL_UNSUBSCRIBE', '".ADMIN_NL_SUBJECT."', '".addslashes($adm
        // Set status message and submit button
        switch ($status)
        {
-       case "Y": // Receives the newsletter
+       case 'Y': // Receives the newsletter
                define('__STATUS_VALUE', NL_MEMBER_ON);
                define('__UNTIL_VALUE', "");
                define('NL_SUBMIT', NL_MEMBER_SUBMIT_OFF);
                break;
 
-       case "N": // Does not receive the newsletter
+       case 'N': // Does not receive the newsletter
                define('__STATUS_VALUE', NL_MEMBER_OFF);
                define('__UNTIL_VALUE', MAKE_DATETIME($until, "2"));
                define('NL_SUBMIT', NL_MEMBER_SUBMIT_ON);
index fd48a1b2b5f9c9e1f1aa65d2226ca2451b38594c..205ef6a5894be61323610fc75ecd8e9ba427f793 100644 (file)
@@ -92,7 +92,7 @@ WHERE userid=%d AND max_mails > 0 LIMIT 1",
 $mmails = SQL_NUMROWS($result_mmails);
 list($DMY, $MAXI, $ORDERS, $HOLIDAY) = SQL_FETCHROW($result_mmails);
 SQL_FREERESULT($result_mmails);
-if ($HOLIDAY == $DMY) $HOLIDAY="N";
+if ($HOLIDAY == $DMY) $HOLIDAY='N';
 
 $ALLOWED = $MAXI - $ORDERS;
 if ($CONFIG['order_max'] == "MAX") $ALLOWED = $MAXI;
@@ -123,7 +123,7 @@ if (SQL_NUMROWS($result_p) > 0)
        if (!ereg(".", $TOTAL)) $TOTAL .= ".00000";
 }
 
-if (($HOLIDAY == "Y") && (GET_EXT_VERSION("holiday") >= "0.1.3"))
+if (($HOLIDAY == 'Y') && (GET_EXT_VERSION("holiday") >= "0.1.3"))
 {
        // Holiday is active!
        SQL_FREERESULT($result_p);
@@ -148,7 +148,7 @@ if (($HOLIDAY == "Y") && (GET_EXT_VERSION("holiday") >= "0.1.3"))
                // No entry found, so we need to check out the stats table as well... :)
                // We have to add that suff here, now we continue WITHOUT checking and check the text and subject against some filters
                $URL = "";
-               if ($CONFIG['test_text'] == "Y")
+               if ($CONFIG['test_text'] == 'Y')
                {
                        // Test submitted text against some filters (length, URLs in text etc.)
                        if ((strpos(strtolower($_POST['text']), "https://") > -1) || (strpos(strtolower($_POST['text']), "http://") > -1) || (strpos(strtolower($_POST['text']), "www") > -1))
@@ -164,7 +164,7 @@ if (($HOLIDAY == "Y") && (GET_EXT_VERSION("holiday") >= "0.1.3"))
                        }
                }
                // Shall I test the subject line against URLs?
-               if ($CONFIG['test_subj'] == "Y")
+               if ($CONFIG['test_subj'] == 'Y')
                {
                        // Check the subject line for issues
                        $_POST['subject'] = str_replace("\\", "[nl]", substr($_POST['subject'], 0, 200));
@@ -175,7 +175,7 @@ if (($HOLIDAY == "Y") && (GET_EXT_VERSION("holiday") >= "0.1.3"))
                        }
                }
                // And shall I check that his URL is not in the black list?
-               if ($CONFIG['url_blacklist'] == "Y")
+               if ($CONFIG['url_blacklist'] == 'Y')
                {
                        // Ok, I do that for you know...
                        $result = SQL_QUERY_ESC("SELECT timestamp FROM "._MYSQL_PREFIX."_url_blist WHERE url='%s' LIMIT 1",
@@ -205,7 +205,7 @@ if (($HOLIDAY == "Y") && (GET_EXT_VERSION("holiday") >= "0.1.3"))
                // Probe for HTML extension
                if ($HTML_EXT)
                {
-                       if ($_POST['html'] == "Y")
+                       if ($_POST['html'] == 'Y')
                        {
                                // Chek for valid HTML tags
                                $_POST['text'] = HTML_CHECK_TAGS($_POST['text']);
@@ -229,7 +229,7 @@ if (($HOLIDAY == "Y") && (GET_EXT_VERSION("holiday") >= "0.1.3"))
        {
                // Check if category and number of receivers is okay
                $ADD = "";
-               if (($CONFIG['order_multi_page'] == "Y") && (!empty($_POST['zip']))) $ADD = "AND d.zip LIKE '".bigintval($_POST['zip'])."{PER}'";
+               if (($CONFIG['order_multi_page'] == 'Y') && (!empty($_POST['zip']))) $ADD = "AND d.zip LIKE '".bigintval($_POST['zip'])."{PER}'";
 
                // Check for userids
                $result = SQL_QUERY_ESC("SELECT DISTINCT c.userid FROM "._MYSQL_PREFIX."_user_cats AS c
@@ -468,7 +468,7 @@ array(
 
                        // Enable HTML checking
                        $HTML = ""; $HOLIDAY = false; $HOL_STRING = "";
-                       if (($HTML_EXT) && ($_POST['html'] == "Y")) $HTML = " AND html='Y'";
+                       if (($HTML_EXT) && ($_POST['html'] == 'Y')) $HTML = " AND html='Y'";
                        if (GET_EXT_VERSION("holiday") >= "0.1.3")
                        {
                                // Extension's version is fine
@@ -515,7 +515,7 @@ LIMIT 1", array(bigintval($ucat)), __FILE__, __LINE__);
                                                $result_ver = SQL_QUERY_ESC("SELECT zip FROM "._MYSQL_PREFIX."_user_data WHERE userid=%d".$HTML." AND receive_mails > 0 AND status='CONFIRMED' LIMIT 1",
                                                 array(bigintval($ucat)), __FILE__, __LINE__);
 
-                                               if ((SQL_NUMROWS($result_ver) == 1) && (!empty($_POST['zip'])) && ($CONFIG['order_multi_page'] == "Y"))
+                                               if ((SQL_NUMROWS($result_ver) == 1) && (!empty($_POST['zip'])) && ($CONFIG['order_multi_page'] == 'Y'))
                                                {
                                                        list($zip) = SQL_FETCHROW($result_ver);
                                                        SQL_FREERESULT($result_ver);
@@ -688,7 +688,7 @@ LIMIT 1", array(bigintval($ucat)), __FILE__, __LINE__);
                                }
 
                                // 01      2                       21    12                             2    23         443    3          3210
-                               if ((!empty($_POST['data'])) || (($CONFIG['order_multi_page'] == "N") && ((!IS_ADMIN()) && (!$HTML_EXT))))
+                               if ((!empty($_POST['data'])) || (($CONFIG['order_multi_page'] == 'N') && ((!IS_ADMIN()) && (!$HTML_EXT))))
                                {
                                        // Pre-output categories
                                        $CAT = "";
@@ -730,7 +730,7 @@ LIMIT 1", array(bigintval($ucat)), __FILE__, __LINE__);
                                                define('ZIP_OUTPUT', "<TR><TD colspan=\"5\" height=\"5\" class=\"seperator\">&nbsp;</TD></TR>");
                                        }
                                        // HTML extension
-                                       if (($HTML_EXT) && ($_POST['html'] == "Y"))
+                                       if (($HTML_EXT) && ($_POST['html'] == 'Y'))
                                        {
                                                // Extension is active so output valid HTML tags
                                                define('MEMBER_HTML_EXTENSION', LOAD_TEMPLATE("member_order-html_ext", true, HTML_ADD_VALID_TAGS()));
@@ -751,7 +751,7 @@ LIMIT 1", array(bigintval($ucat)), __FILE__, __LINE__);
                                        if ($HTML_EXT)
                                        {
                                                // Add some content when html extension is active
-                                               if (($CONFIG['order_multi_page'] == "Y") || (IS_ADMIN())) $ADD = "<TR><TD colspan=\"2\" class=\"seperator bottom2\" height=\"5\">&nbsp;</TD></TR>\n";
+                                               if (($CONFIG['order_multi_page'] == 'Y') || (IS_ADMIN())) $ADD = "<TR><TD colspan=\"2\" class=\"seperator bottom2\" height=\"5\">&nbsp;</TD></TR>\n";
                                                define('MEMBER_HTML_EXTENSION', LOAD_TEMPLATE("member_order-html_intro", true));
                                        }
                                         else
@@ -760,7 +760,7 @@ LIMIT 1", array(bigintval($ucat)), __FILE__, __LINE__);
                                                define('MEMBER_HTML_EXTENSION', "<TR><TD colspan=\"2\"><INPUT type=\"hidden\" name=\"html\" value=\"N\"></TD></TR>");
                                        }
                                        // Do we want ZIP code or not?
-                                       if (($CONFIG['order_multi_page'] == "Y") || (IS_ADMIN()))
+                                       if (($CONFIG['order_multi_page'] == 'Y') || (IS_ADMIN()))
                                        {
                                                // Yes
                                                $content = array(
index 0431f0e627292a063cfd4421c522d793e186c9f6..87249d1e4f9cad4e1d525f2c2cc22e21c0154022 100644 (file)
@@ -109,7 +109,7 @@ ORDER BY p.payout_timestamp DESC",
                                $status = "<FONT class=\"member_failed\">".$status."</FONT>";
 
                                // Nothing entered must be secured in member/what-payputs.php !
-                               if ($allow == "Y")
+                               if ($allow == 'Y')
                                {
                                        // Banner/Textlink views/clicks request
                                        if (!empty($banner))
@@ -206,7 +206,7 @@ ORDER BY p.payout_timestamp DESC",
                                }
 
                                // Add entry to his tranfer history
-                               if ($allow == "Y")
+                               if ($allow == 'Y')
                                {
                                        // Banner/textlink ordered
                                        $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_user_payouts (userid, payout_total, payout_id, payout_timestamp, status, target_url, link_text, banner_url)
@@ -281,7 +281,7 @@ VALUES (0, 'NEW', 'PAYOUT_REQUEST', '[payout:] ".PAYOUT_REQUEST_ADMIN."', '%s',
                                // Load template and output it
                                LOAD_TEMPLATE("admin_settings_saved", false, PAYOUT_REQUEST_SENT);
                        }
-                        elseif ($allow == "Y")
+                        elseif ($allow == 'Y')
                        {
                                // Generate banner order form
                                LOAD_TEMPLATE("member_payout_form_banner");
index c094e51d09b428b7909220ad96f3c5a590c1e7b2..aee76fd6923991f7f1c4cb18ab6db162aa95382a 100644 (file)
@@ -154,7 +154,7 @@ define('__TLOCK_VALUE', TRANSLATE_COMMA($TLOCK));
 if (GET_EXT_VERSION("bonus") < "0.4.4") $CONFIG['bonus_active'] = "X";
 
 // Display login bonus and turbo-click bonus
-if ((GET_EXT_VERSION("bonus") >= "0.2.2") && (EXT_IS_ACTIVE("bonus")) && ($CONFIG['bonus_active'] == "Y"))
+if ((GET_EXT_VERSION("bonus") >= "0.2.2") && (EXT_IS_ACTIVE("bonus")) && ($CONFIG['bonus_active'] == 'Y'))
 {
        $ADD = ", 0, 0, 0";
        if (GET_EXT_VERSION("bonus") >= "0.4.4") $ADD = ", bonus_ref, bonus_order, bonus_stats";
@@ -185,7 +185,7 @@ if ((GET_EXT_VERSION("bonus") >= "0.2.2") && (EXT_IS_ACTIVE("bonus")) && ($CONFI
        // Output rows
        define('__SPECIAL_ROWS', LOAD_TEMPLATE("member_points_bonus_rows", true));
 }
- elseif ($CONFIG['bonus_active'] == "N")
+ elseif ($CONFIG['bonus_active'] == 'N')
 {
        // Bonus active rallye deactivated
        define('__SPECIAL_ROWS', LOAD_TEMPLATE("member_points_bonus_disabled", true));
index 27f4b77727648ab7a2fee693dc051276d99e0293..0cc0be7d8001d79fc62f9de73e7c85a0dc8161d5 100644 (file)
@@ -62,7 +62,7 @@ $MODE = "";
 if (!empty($_GET['mode'])) $MODE = $_GET['mode'];
 
 // Check for "faker"
-if (($opt_in == "N") && ($MODE == "new")) $MODE = "";
+if (($opt_in == 'N') && ($MODE == "new")) $MODE = "";
 
 switch ($MODE)
 {
@@ -592,13 +592,13 @@ case "": // Overview page
        }
        switch ($opt_in)
        {
-       case "Y":
+       case 'Y':
                define('__TRANSFER_ALLOW_Y', " checked");
                define('__TRANSFER_ALLOW_N', "");
                define('__TRANSFER_NEW_LINK', "<A href=\"".URL."/modules.php?module=login&amp;what=transfer&amp;mode=new\">".TRANSFER_NOW_LINK."</A>");
                break;
 
-       case "N":
+       case 'N':
                define('__TRANSFER_ALLOW_Y', "");
                define('__TRANSFER_ALLOW_N', " checked");
                define('__TRANSFER_NEW_LINK', TRANSFER_PLEASE_ALLOW_OPT_IN);
index bd0d656cf95a30034cc59811c247ef119cf4fd17..f8c5585af565de4c8b01bf9f2ec20a726f05fc29 100644 (file)
@@ -58,7 +58,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 if (empty($URL))
 {
        // Is the auto-send mechanism active or inactive?
-       if ($CONFIG['autosend_active'] == "Y")
+       if ($CONFIG['autosend_active'] == 'Y')
        {
                // Auto-send is active
                define('ADMIN_AUTOSEND',  COMPILE_CODE(ADMIN_AUTOSEND_ACTIVE));
index 7b5780dfb66df35169f5dfabd3ab80b9424fde24..6576bd8819961e4cf22367bad47343d5aaf64392 100644 (file)
@@ -61,7 +61,7 @@ if (($curr != $CONFIG['beg_month']) && ($CONFIG['beg_month'] > 0) && ($CONFIG['b
        if (EXT_IS_ACTIVE("autopurge"))
        {
                // Use last online stamp only when autopurge for inactive members is activated
-               if (($CONFIG['ap_in_since'] > 0) && ($CONFIG['beg_active'] == "Y"))
+               if (($CONFIG['ap_in_since'] > 0) && ($CONFIG['beg_active'] == 'Y'))
                {
                        // Okay, include last online timestamp
                        $WHERE1 = "AND last_online >=";
index 1dec6c3bef6a4478ce355a66ba9f02d74d25f481..eb98676f300035aeed265ffc0ff8f8317b510ce8 100644 (file)
@@ -71,11 +71,11 @@ if (($curr != $CONFIG['bonus_month']) && ($CONFIG['bonus_ranks'] > 0) && ($CSS !
 
        // Add more bonus points here
        $ADD = " AND (0";
-       if ($CONFIG['bonus_click_yn'] == "Y") $ADD .= " + turbo_bonus";
-       if ($CONFIG['bonus_login_yn'] == "Y") $ADD .= " + login_bonus";
-       if ($CONFIG['bonus_order_yn'] == "Y") $ADD .= " + bonus_order";
-       if ($CONFIG['bonus_stats_yn'] == "Y") $ADD .= " + bonus_stats";
-       if ($CONFIG['bonus_ref_yn']   == "Y") $ADD .= " + bonus_ref";
+       if ($CONFIG['bonus_click_yn'] == 'Y') $ADD .= " + turbo_bonus";
+       if ($CONFIG['bonus_login_yn'] == 'Y') $ADD .= " + login_bonus";
+       if ($CONFIG['bonus_order_yn'] == 'Y') $ADD .= " + bonus_order";
+       if ($CONFIG['bonus_stats_yn'] == 'Y') $ADD .= " + bonus_stats";
+       if ($CONFIG['bonus_ref_yn']   == 'Y') $ADD .= " + bonus_ref";
        $ADD .= ") > 0";
 
        // SQL string to check for accounts
index 6c79d2d58395f04d28877d58ffe9f49b909a558f..00f410949434c0176604b2a8b6438c986a22a326 100644 (file)
@@ -110,7 +110,7 @@ function CHECK_MODULE($mod)
        if ((!mxchange_installed) || (mxchange_installing) || (!admin_registered)) return "done";
 
        // Check if cache is latest version
-       $locked = "Y"; $hidden = "N"; $admin = "N"; $mem = "N"; $found = false;
+       $locked = 'Y'; $hidden = 'N'; $admin = 'N'; $mem = 'N'; $found = false;
        if ((GET_EXT_VERSION("cache") >= "0.1.2") && (is_array($MODULES['module'])))
        {
                // Is the module cached?
@@ -145,22 +145,22 @@ function CHECK_MODULE($mod)
        // Check returned values against current access permissions
        //
        //  Admin access            ----- Guest access -----           --- Guest   or   member? ---
-       if ((IS_ADMIN()) || (($locked == "N") && ($admin == "N") && (($mem == "N") || (IS_LOGGED_IN()))))
+       if ((IS_ADMIN()) || (($locked == 'N') && ($admin == 'N') && (($mem == 'N') || (IS_LOGGED_IN()))))
        {
                // If you are admin you are welcome for everything!
                $ret = "done";
        }
-        elseif ($locked == "Y")
+        elseif ($locked == 'Y')
        {
                // Module is locked
                $ret = "locked";
        }
-        elseif (($mem == "Y") && (!IS_LOGGED_IN()))
+        elseif (($mem == 'Y') && (!IS_LOGGED_IN()))
        {
                // You have to login first!
                $ret = "mem_only";
        }
-        elseif (($admin == "Y") && (!IS_ADMIN()))
+        elseif (($admin == 'Y') && (!IS_ADMIN()))
        {
                // Only the Admin is allowed to enter this module!
                $ret = "admin_only";
@@ -303,7 +303,7 @@ function ADD_DESCR($ACC_LVL, $FILE, $return = false, $output = true)
                        // Return title
                        return $ret;
                }
-                elseif (((GET_EXT_VERSION("sql_patches") >= "0.2.3") && ($CONFIG['youre_here'] == "Y")) || ((IS_ADMIN()) && ($MOD_CHECK == "admin")))
+                elseif (((GET_EXT_VERSION("sql_patches") >= "0.2.3") && ($CONFIG['youre_here'] == 'Y')) || ((IS_ADMIN()) && ($MOD_CHECK == "admin")))
                {
                        // Output HTML code
                        $OUT = $PREFIX."<STRONG><A class=\"you_are_here\" href=\"".URL."/modules.php?module=".$MOD_CHECK."&amp;".$TYPE."=".$SEARCH.$LINK_ADD."\">".$ret."</A></STRONG>\n";
@@ -850,7 +850,7 @@ function SEND_MODE_MAILS($mod, $modes)
                                        // Load template
                                        $msg = LOAD_EMAIL_TEMPLATE("member_mydata_notify", $content, $GLOBALS['userid']);
 
-                                       if ($CONFIG['admin_notify'] == "Y")
+                                       if ($CONFIG['admin_notify'] == 'Y')
                                        {
                                                // The admin needs to be notified about a profile change
                                                $msg_admin = "admin_mydata_notify";
@@ -909,7 +909,7 @@ function SEND_MODE_MAILS($mod, $modes)
                        SEND_ADMIN_EMAILS($sub_adm, LOAD_EMAIL_TEMPLATE($msg_admin, $content, $GLOBALS['userid']));
                }
        }
-        elseif ($CONFIG['admin_notify'] == "Y")
+        elseif ($CONFIG['admin_notify'] == 'Y')
        {
                // Cannot send mails to admin!
                $content = CANNOT_SEND_ADMIN_MAILS;
@@ -1249,7 +1249,7 @@ function UPDATE_ONLINE_LIST($SID, $mod, $act, $wht)
        if (!EXT_IS_ACTIVE("online", true)) return;
 
        // Initialize variables
-       $uid = "0"; $rid = "0"; $MEM = "N"; $ADMIN = "N";
+       $uid = "0"; $rid = "0"; $MEM = 'N'; $ADMIN = 'N';
        if (!empty($GLOBALS['userid']))
        {
                // Update member status only when userid is valid
@@ -1257,13 +1257,13 @@ function UPDATE_ONLINE_LIST($SID, $mod, $act, $wht)
                {
                        // Is valid user
                        $uid = $GLOBALS['userid'];
-                       $MEM = "Y";
+                       $MEM = 'Y';
                }
        }
        if (IS_ADMIN())
        {
                // Is administrator
-               $ADMIN = "Y";
+               $ADMIN = 'Y';
        }
        if (!empty($_COOKIE['refid']))
        {
@@ -1653,13 +1653,13 @@ function MODULE_HAS_MENU($mod)
                if (isset($MODULES['has_menu'][$mod]))
                {
                        // Check module cache and count hit
-                       if ($MODULES['has_menu'][$mod] == "Y") $ret = true;
+                       if ($MODULES['has_menu'][$mod] == 'Y') $ret = true;
                        $CONFIG['cache_hits']++;
                }
                 elseif (isset($EXTENSIONS['ext_menu'][$mod]))
                {
                        // Check cache and count hit
-                       if ($EXTENSIONS['ext_menu'][$mod] == "Y") $ret = true;
+                       if ($EXTENSIONS['ext_menu'][$mod] == 'Y') $ret = true;
                        $CONFIG['cache_hits']++;
                }
        }
@@ -1671,7 +1671,7 @@ function MODULE_HAS_MENU($mod)
                if (SQL_NUMROWS($result) == 1)
                {
                        list($has_menu) = SQL_FETCHROW($result);
-                       if ($has_menu == "Y") $ret = true;
+                       if ($has_menu == 'Y') $ret = true;
                }
 
                // Free memory
index fabbcbdb0e1093121092b82e4555fa8b4ff157e0..b764392c67ce8863574b0cb2e1f8e19ee85716ec 100644 (file)
@@ -60,7 +60,7 @@ if (SQL_NUMROWS($result_main) > 0)
        while ($DATA = SQL_FETCHROW($result_main))
        {
                // Check fetched data for HTML
-               $HTML = $DATA[10]; if ($HTML == $DATA[0]) $HTML = "N";
+               $HTML = $DATA[10]; if ($HTML == $DATA[0]) $HTML = 'N';
 
                // Compile URL and subject line
                $DATA[7] = COMPILE_CODE($DATA[7]);
index 216e46fe2e641bd465edb5d9a404a2dde6e72b87..759219abb154d0df4b6f761ab248dc1a2aa1d9b0 100644 (file)
@@ -39,7 +39,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
        require($INC);
 }
 
-if (($CONFIG['send_prof_update'] == "Y") && ($CONFIG['profile_update'] > 0) && ($CONFIG['resend_profile_update']))
+if (($CONFIG['send_prof_update'] == 'Y') && ($CONFIG['profile_update'] > 0) && ($CONFIG['resend_profile_update']))
 {
        // Ok, we shall send update notifications...
        $TIMEOUT  = bigintval(time() - $CONFIG['profile_update']);
index a4d1b72377bdf2be68c728981264a9887e5c9a67..efeb5ecba5f65ce2197732a26c61ef3eae6cac86 100644 (file)
@@ -102,7 +102,7 @@ if (defined('mxchange_installed') && (mxchange_installed))
                                list($pool, $sender, $notify) = SQL_FETCHROW($result_mailid);
 
                                // Correct notification switch in non-bonus mails
-                               if (($notify != "Y") && ($notify != "N")) $notify = "N";
+                               if (($notify != 'Y') && ($notify != 'N')) $notify = 'N';
 
                                // Free some memory
                                SQL_FREERESULT($result_mailid);
@@ -214,7 +214,7 @@ if (defined('mxchange_installed') && (mxchange_installed))
                                                                        if (bigintval($_POST['gfx_check']) == $img_code)
                                                                        {
                                                                                // Right code entered add points and remove entry
-                                                                               if (($ref_pay > 0) && ($CONFIG['allow_direct_pay'] == "N"))
+                                                                               if (($ref_pay > 0) && ($CONFIG['allow_direct_pay'] == 'N'))
                                                                                {
                                                                                        // Don't add points over the referral system
                                                                                        $locked = true;
@@ -238,10 +238,10 @@ if (defined('mxchange_installed') && (mxchange_installed))
                                                                                if ((GET_EXT_VERSION("bonus") >= "0.2.2") && (function_exists('BONUS_ADD_TURBO_POINTS')))
                                                                                {
                                                                                        // Is an active-rallye running and this is not a notification mail?
-                                                                                       if (($CONFIG['bonus_active'] == "Y") && ($notify == "N"))
+                                                                                       if (($CONFIG['bonus_active'] == 'Y') && ($notify == 'N'))
                                                                                        {
                                                                                                // Shall I exclude the webmaster's own userid from the active-rallye?
-                                                                                               if (((($CONFIG['bonus_uid'] == $url_uid) && ($CONFIG['bonus_include_own'] == "Y")) || ($CONFIG['bonus_uid'] != $url_uid)) && ($CONFIG['def_refid'] != $url_uid))
+                                                                                               if (((($CONFIG['bonus_uid'] == $url_uid) && ($CONFIG['bonus_include_own'] == 'Y')) || ($CONFIG['bonus_uid'] != $url_uid)) && ($CONFIG['def_refid'] != $url_uid))
                                                                                                {
                                                                                                        // Add points and remember ranking are done in this function....
                                                                                                        BONUS_ADD_TURBO_POINTS($DATA, $url_uid, $TYPE);
index 9cc7ff28b9b61a8497c948976edb2499e784be69..52833e3ac429b73b9d8fe5f20cac48cc0ea17299 100644 (file)
@@ -92,7 +92,7 @@ include (PATH."inc/header.php");
 
 // Modules are by default not valid!
 $MOD_VALID = false; $check = "failed";
-if ((!empty($CONFIG['maintenance'])) && ($CONFIG['maintenance'] == "Y") && (!IS_ADMIN()) && ($GLOBALS['module'] != "admin"))
+if ((!empty($CONFIG['maintenance'])) && ($CONFIG['maintenance'] == 'Y') && (!IS_ADMIN()) && ($GLOBALS['module'] != "admin"))
 {
        // Maintain mode is active and you are no admin
        ADD_FATAL(LANG_DOWN_MAINTAINCE);
index b1a5ee7bf4c2fab75ba07d173d0536ec1a7d14ed..64b1fbe3992c459a9b3f55ef0b6f78bf220deb5e 100644 (file)
                {--ADMIN_BANK_PACKAGE_ACTIVE--}</TD>
                <TD width="10" class="seperator">&nbsp;</TD>
                <TD><INPUT class="admin_normal" type="radio"
-                       name="package_active" value="Y" default checked>&nbsp;{--YES--}<BR />
+                       name="package_active" value='Y' default checked>&nbsp;{--YES--}<BR />
                <INPUT class="admin_normal" type="radio" name="package_active"
-                       value="N">&nbsp;{--NO--}</TD>
+                       value='N'>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD height="5" colspan="3" class="seperator bottom2">&nbsp;</TD>
index 45dcd60cf554f7c09e659bd0e5f5769a0b99f9f2..0b143b7c0165926a57da1fe145c3b95eb573242d 100644 (file)
@@ -32,8 +32,8 @@
                <TD align="right" width="200">{--ADMIN_SELECT_BANNER_ACTIVE--}</TD>
                <TD class="seperator" width="10">&nbsp;</TD>
                <TD><SELECT name="visible" size="1" class="admin_select">
-                       <OPTION value="Y">{--YES--}</OPTION>
-                       <OPTION value="N">{--NO--}</OPTION>
+                       <OPTION value='Y'>{--YES--}</OPTION>
+                       <OPTION value='N'>{--NO--}</OPTION>
                </SELECT></TD>
        </TR>
        <TR>
index b1f7b0862d4d5e98a751414c8bcf639a2e16af8f..36353a787caea8938637bbded63ded99de1a2d5e 100644 (file)
@@ -42,9 +42,9 @@
                <TD align="right" width="200"><STRONG>{--CAT_IS_VISIBLE--}</STRONG>
                </TD>
                <TD class="seperator" width="7">&nbsp;</TD>
-               <TD>{--YES--}: <INPUT type="radio" name="visible" value="Y"
+               <TD>{--YES--}: <INPUT type="radio" name="visible" value='Y'
                        class="admin_normal" checked>&nbsp;&nbsp; {--NO--}: <INPUT
-                       type="radio" name="visible" value="N" class="admin_normal"></TD>
+                       type="radio" name="visible" value='N' class="admin_normal"></TD>
                <TD class="seperator" width="10">&nbsp;</TD>
        </TR>
        <TR>
index 33639c9fdb8a611ab97324c40f3afbf415d5aa58..f41940f14b0ffa8854dbd01745109503c6211176 100644 (file)
@@ -38,8 +38,8 @@
                <TD align="right" width="200">{--ADMIN_COUNTRY_CODE_ACTIVE--}:</TD>
                <TD class="seperator" width="10">&nbsp;</TD>
                <TD><SELECT name="is_active" size="1" class="admin_select">
-                       <OPTION value="Y">{--YES--}</OPTION>
-                       <OPTION value="N">{--NO--}</OPTION>
+                       <OPTION value='Y'>{--YES--}</OPTION>
+                       <OPTION value='N'>{--NO--}</OPTION>
                </SELECT></TD>
                <TD class="seperator" width="10">&nbsp;</TD>
        </TR>
index a7d4c963bced4c5f2a117fd39c1861cc3abd89d8..e4edb08ea195c3244ca9473277bb0fbc5a22b6ba 100644 (file)
@@ -95,8 +95,8 @@
                <TD align="right">{--ADMIN_OPTION_AUTOPURGE_ACTIVE--}:</TD>
                <TD width="10" class="seperator">&nbsp;</TD>
                <TD><SPAN class="nobr"> {--YES--}:&nbsp;<INPUT
-                       type="radio" name="auto_purge_active" value="Y"{--_CFG_AP_ACTIVE_Y--}>&nbsp;
-               {--NO--}:&nbsp;<INPUT type="radio" name="auto_purge_active" value="N"{--_CFG_AP_ACTIVE_N--}>
+                       type="radio" name="auto_purge_active" value='Y'{--_CFG_AP_ACTIVE_Y--}>&nbsp;
+               {--NO--}:&nbsp;<INPUT type="radio" name="auto_purge_active" value='N'{--_CFG_AP_ACTIVE_N--}>
                </SPAN></TD>
        </TR>
        <TR>
index 6ea8cb6d205b12ee4ba2e65df2a956f921132c57..f5ff750d4598d4ecc0d4656a1e6e4d5a7711ebe7 100644 (file)
@@ -98,8 +98,8 @@
                <TD align="right" height="20">{--ADMIN_BEG_RALLYE_ACTIVE--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD align="center"><INPUT type="radio" name="beg_rallye"
-                       class="admin_normal" value="Y"{--__BEG_RALLYE_Y--}>&nbsp;{--YES--}<BR>
-               <INPUT type="radio" name="beg_rallye" class="admin_normal" value="N"{--__BEG_RALLYE_N--}>&nbsp;{--NO--}
+                       class="admin_normal" value='Y'{--__BEG_RALLYE_Y--}>&nbsp;{--YES--}<BR>
+               <INPUT type="radio" name="beg_rallye" class="admin_normal" value='N'{--__BEG_RALLYE_N--}>&nbsp;{--NO--}
                </TD>
        </TR>
        <TR>
                <TD align="right" height="20">{--ADMIN_BEG_INCLUDE_OWN--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD align="center"><INPUT type="radio" name="beg_include_own"
-                       class="admin_normal" value="Y"{--__BEG_INCLUDE_OWN_Y--}>&nbsp;{--YES--}<BR>
+                       class="admin_normal" value='Y'{--__BEG_INCLUDE_OWN_Y--}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="beg_include_own" class="admin_normal"
-                       value="N"{--__BEG_INCLUDE_OWN_N--}>&nbsp;{--NO--}</TD>
+                       value='N'{--__BEG_INCLUDE_OWN_N--}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator" height="5">&nbsp;</TD>
                </TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD align="center"><INPUT type="radio" name="beg_active"
-                       class="admin_normal" value="Y"{--__BEG_ACTIVE_Y--}>&nbsp;{--YES--}<BR>
-               <INPUT type="radio" name="beg_active" class="admin_normal" value="N"{--__BEG_ACTIVE_N--}>&nbsp;{--NO--}
+                       class="admin_normal" value='Y'{--__BEG_ACTIVE_Y--}>&nbsp;{--YES--}<BR>
+               <INPUT type="radio" name="beg_active" class="admin_normal" value='N'{--__BEG_ACTIVE_N--}>&nbsp;{--NO--}
                </TD>
        </TR>
        <TR>
                <TD align="right" height="20">{--ADMIN_BEG_RAL_EN_NOTIFY--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD align="center"><INPUT type="radio" name="beg_ral_en_notify"
-                       class="admin_normal" value="Y"{--__BEG_RAL_EN_NOTIFY_Y--}>&nbsp;{--YES--}<BR>
+                       class="admin_normal" value='Y'{--__BEG_RAL_EN_NOTIFY_Y--}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="beg_ral_en_notify" class="admin_normal"
-                       value="N"{--__BEG_RAL_EN_NOTIFY_N--}>&nbsp;{--NO--}</TD>
+                       value='N'{--__BEG_RAL_EN_NOTIFY_N--}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator" height="5">&nbsp;</TD>
                <TD align="right" height="20">{--ADMIN_BEG_RAL_DI_NOTIFY--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD align="center"><INPUT type="radio" name="beg_ral_di_notify"
-                       class="admin_normal" value="Y"{--__BEG_RAL_DI_NOTIFY_Y--}>&nbsp;{--YES--}<BR>
+                       class="admin_normal" value='Y'{--__BEG_RAL_DI_NOTIFY_Y--}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="beg_ral_di_notify" class="admin_normal"
-                       value="N"{--__BEG_RAL_DI_NOTIFY_N--}>&nbsp;{--NO--}</TD>
+                       value='N'{--__BEG_RAL_DI_NOTIFY_N--}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator" height="5">&nbsp;</TD>
                <TD align="right" height="20">{--ADMIN_BEG_NEW_MEMBER_NOTIFY--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD align="center"><INPUT type="radio" name="beg_new_mem_notify"
-                       class="admin_normal" value="Y"{--__BEG_NEW_MEMBER_NOTIFY_Y--}>&nbsp;{--YES--}<BR>
+                       class="admin_normal" value='Y'{--__BEG_NEW_MEMBER_NOTIFY_Y--}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="beg_new_mem_notify" class="admin_normal"
-                       value="N"{--__BEG_NEW_MEMBER_NOTIFY_N--}>&nbsp;{--NO--}</TD>
+                       value='N'{--__BEG_NEW_MEMBER_NOTIFY_N--}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator" height="5">&nbsp;</TD>
index ad5cb57c5f2ceba727dbda3c68da7bbdb85f060e..30c6ad0dc197e7d610bc3f32c6d4339f39012f75 100644 (file)
@@ -27,9 +27,9 @@
                <TD align="right" height="20">{--ADMIN_BIRTHDAY_ONLY_ACTIVE--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD align="center"><INPUT type="radio" name="birthday_active"
-                       class="admin_normal" value="Y"{--__BIRTHDAY_ACTIVE_Y--}>&nbsp;{--YES--}<BR>
+                       class="admin_normal" value='Y'{--__BIRTHDAY_ACTIVE_Y--}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="birthday_active" class="admin_normal"
-                       value="N"{--__BIRTHDAY_ACTIVE_N--}>&nbsp;{--NO--}</TD>
+                       value='N'{--__BIRTHDAY_ACTIVE_N--}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="bottom2 seperator" height="5">&nbsp;</TD>
index ededcf5f42aeeb6a35d2ce1b429479cec1a0c725..f1fb49e98161fb3f3582b58db5d0a964d3724ff2 100644 (file)
@@ -14,8 +14,8 @@
                &nbsp;{--ADMIN_BONUS_RALLYE_IS_ACTIVE--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD width="195" align="center"><INPUT type="radio"
-                       name="bonus_active" class="admin_normal" value="Y"{--__BONUS_ACTIVE_Y--}>&nbsp;{--YES--}<BR>
-               <INPUT type="radio" name="bonus_active" class="admin_normal" value="N"{--__BONUS_ACTIVE_N--}>&nbsp;{--NO--}
+                       name="bonus_active" class="admin_normal" value='Y'{--__BONUS_ACTIVE_Y--}>&nbsp;{--YES--}<BR>
+               <INPUT type="radio" name="bonus_active" class="admin_normal" value='N'{--__BONUS_ACTIVE_N--}>&nbsp;{--NO--}
                </TD>
        </TR>
        <TR>
@@ -26,9 +26,9 @@
                &nbsp;{--ADMIN_BONUS_INCLUDE_OWN--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD width="195" align="center"><INPUT type="radio"
-                       name="bonus_include_own" class="admin_normal" value="Y"{--__BONUS_INCLUDE_OWN_Y--}>&nbsp;{--YES--}<BR>
+                       name="bonus_include_own" class="admin_normal" value='Y'{--__BONUS_INCLUDE_OWN_Y--}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="bonus_include_own" class="admin_normal"
-                       value="N"{--__BONUS_INCLUDE_OWN_N--}>&nbsp;{--NO--}</TD>
+                       value='N'{--__BONUS_INCLUDE_OWN_N--}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator bottom2" height="5">&nbsp;</TD>
@@ -41,9 +41,9 @@
                &nbsp;{--ADMIN_BONUS_RALLYE_CLICK_INCLUDE--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD width="195" align="center"><INPUT type="radio"
-                       name="bonus_click_yn" class="admin_normal" value="Y"{--__BONUS_CLICK_Y--}>&nbsp;{--YES--}<BR>
+                       name="bonus_click_yn" class="admin_normal" value='Y'{--__BONUS_CLICK_Y--}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="bonus_click_yn" class="admin_normal"
-                       value="N"{--__BONUS_CLICK_N--}>&nbsp;{--NO--}</TD>
+                       value='N'{--__BONUS_CLICK_N--}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator bottom2" height="5">&nbsp;</TD>
@@ -56,9 +56,9 @@
                &nbsp;{--ADMIN_BONUS_RALLYE_LOGIN_INCLUDE--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD width="195" align="center"><INPUT type="radio"
-                       name="bonus_login_yn" class="admin_normal" value="Y"{--__BONUS_LOGIN_Y--}>&nbsp;{--YES--}<BR>
+                       name="bonus_login_yn" class="admin_normal" value='Y'{--__BONUS_LOGIN_Y--}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="bonus_login_yn" class="admin_normal"
-                       value="N"{--__BONUS_LOGIN_N--}>&nbsp;{--NO--}</TD>
+                       value='N'{--__BONUS_LOGIN_N--}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator bottom2" height="5">&nbsp;</TD>
@@ -71,9 +71,9 @@
                &nbsp;{--ADMIN_BONUS_RALLYE_ORDER_INCLUDE--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD width="195" align="center"><INPUT type="radio"
-                       name="bonus_order_yn" class="admin_normal" value="Y"{--__BONUS_ORDER_Y--}>&nbsp;{--YES--}<BR>
+                       name="bonus_order_yn" class="admin_normal" value='Y'{--__BONUS_ORDER_Y--}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="bonus_order_yn" class="admin_normal"
-                       value="N"{--__BONUS_ORDER_N--}>&nbsp;{--NO--}</TD>
+                       value='N'{--__BONUS_ORDER_N--}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator bottom2" height="5">&nbsp;</TD>
@@ -86,9 +86,9 @@
                &nbsp;{--ADMIN_BONUS_RALLYE_STATS_INCLUDE--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD width="195" align="center"><INPUT type="radio"
-                       name="bonus_stats_yn" class="admin_normal" value="Y"{--__BONUS_STATS_Y--}>&nbsp;{--YES--}<BR>
+                       name="bonus_stats_yn" class="admin_normal" value='Y'{--__BONUS_STATS_Y--}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="bonus_stats_yn" class="admin_normal"
-                       value="N"{--__BONUS_STATS_N--}>&nbsp;{--NO--}</TD>
+                       value='N'{--__BONUS_STATS_N--}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator bottom2" height="5">&nbsp;</TD>
                &nbsp;{--ADMIN_BONUS_RALLYE_REF_INCLUDE--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD width="195" align="center"><INPUT type="radio"
-                       name="bonus_ref_yn" class="admin_normal" value="Y"{--__BONUS_REF_Y--}>&nbsp;{--YES--}<BR>
-               <INPUT type="radio" name="bonus_ref_yn" class="admin_normal" value="N"{--__BONUS_REF_N--}>&nbsp;{--NO--}
+                       name="bonus_ref_yn" class="admin_normal" value='Y'{--__BONUS_REF_Y--}>&nbsp;{--YES--}<BR>
+               <INPUT type="radio" name="bonus_ref_yn" class="admin_normal" value='N'{--__BONUS_REF_N--}>&nbsp;{--NO--}
                </TD>
        </TR>
        <TR>
                &nbsp;{--ADMIN_BONUS_RALLYE_EN_NOTIFY--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD width="195" align="center"><INPUT type="radio"
-                       name="bonus_en_notify" class="admin_normal" value="Y"{--__BONUS_EN_NOTIFY_Y--}>&nbsp;{--YES--}<BR>
+                       name="bonus_en_notify" class="admin_normal" value='Y'{--__BONUS_EN_NOTIFY_Y--}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="bonus_en_notify" class="admin_normal"
-                       value="N"{--__BONUS_EN_NOTIFY_N--}>&nbsp;{--NO--}</TD>
+                       value='N'{--__BONUS_EN_NOTIFY_N--}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator" height="5">&nbsp;</TD>
                &nbsp;{--ADMIN_BONUS_RALLYE_DI_NOTIFY--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD width="195" align="center"><INPUT type="radio"
-                       name="bonus_di_notify" class="admin_normal" value="Y"{--__BONUS_DI_NOTIFY_Y--}>&nbsp;{--YES--}<BR>
+                       name="bonus_di_notify" class="admin_normal" value='Y'{--__BONUS_DI_NOTIFY_Y--}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="bonus_di_notify" class="admin_normal"
-                       value="N"{--__BONUS_DI_NOTIFY_N--}>&nbsp;{--NO--}</TD>
+                       value='N'{--__BONUS_DI_NOTIFY_N--}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator" height="5">&nbsp;</TD>
                &nbsp;{--ADMIN_BONUS_RALLYE_NEW_MEMBER_NOTIFY--}</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD width="195" align="center"><INPUT type="radio"
-                       name="bonus_new_mem_notify" class="admin_normal" value="Y"{--__BONUS_NEW_MEMBER_NOTIFY_Y--}>&nbsp;{--YES--}<BR>
+                       name="bonus_new_mem_notify" class="admin_normal" value='Y'{--__BONUS_NEW_MEMBER_NOTIFY_Y--}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="bonus_new_mem_notify" class="admin_normal"
-                       value="N"{--__BONUS_NEW_MEMBER_NOTIFY_N--}>&nbsp;{--NO--}</TD>
+                       value='N'{--__BONUS_NEW_MEMBER_NOTIFY_N--}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator" height="5">&nbsp;</TD>
index 6a1cc9d17cd37f30126f03186661c89a5fc88291..32fc84b6371ffb4ef4bb0c7f44cd97446605d00a 100644 (file)
@@ -13,8 +13,8 @@
                <TD class="switch_sw1" align="right" width="350" height="20">
                {--ADMIN_CACHE_ADMINS--}</TD>
                <TD class="switch_sw1" width="150" style="padding-left: 10px"><INPUT
-                       type="radio" name="cache_admins" value="Y" class="admin_normal"{--__ADMINS_Y--}>&nbsp;{--YES--}
-               <INPUT type="radio" name="cache_admins" value="N" class="admin_normal"{--__ADMINS_N--}>&nbsp;{--NO--}&nbsp;
+                       type="radio" name="cache_admins" value='Y' class="admin_normal"{--__ADMINS_Y--}>&nbsp;{--YES--}
+               <INPUT type="radio" name="cache_admins" value='N' class="admin_normal"{--__ADMINS_N--}>&nbsp;{--NO--}&nbsp;
                </TD>
        </TR>
        <TR>
@@ -24,8 +24,8 @@
                <TD class="switch_sw2" align="right" width="350" height="20">
                {--ADMIN_CACHE_ACLS--}</TD>
                <TD class="switch_sw2" width="150" style="padding-left: 10px"><INPUT
-                       type="radio" name="cache_acls" value="Y" class="admin_normal"{--__ACLS_Y--}>&nbsp;{--YES--}
-               <INPUT type="radio" name="cache_acls" value="N" class="admin_normal"{--__ACLS_N--}>&nbsp;{--NO--}&nbsp;
+                       type="radio" name="cache_acls" value='Y' class="admin_normal"{--__ACLS_Y--}>&nbsp;{--YES--}
+               <INPUT type="radio" name="cache_acls" value='N' class="admin_normal"{--__ACLS_N--}>&nbsp;{--NO--}&nbsp;
                </TD>
        </TR>
        <TR>
@@ -35,8 +35,8 @@
                <TD align="right" width="350" height="20">{--ADMIN_CACHE_EXTS--}
                </TD>
                <TD width="150" style="padding-left: 10px"><INPUT type="radio"
-                       name="cache_exts" value="Y" class="admin_normal"{--__EXTS_Y--}>&nbsp;{--YES--}
-               <INPUT type="radio" name="cache_exts" value="N" class="admin_normal"{--__EXTS_N--}>&nbsp;{--NO--}&nbsp;
+                       name="cache_exts" value='Y' class="admin_normal"{--__EXTS_Y--}>&nbsp;{--YES--}
+               <INPUT type="radio" name="cache_exts" value='N' class="admin_normal"{--__EXTS_N--}>&nbsp;{--NO--}&nbsp;
                </TD>
        </TR>
        <TR>
@@ -46,8 +46,8 @@
                <TD align="right" width="350" height="20">
                {--ADMIN_CACHE_CONFIG--}</TD>
                <TD width="150" style="padding-left: 10px"><INPUT type="radio"
-                       name="cache_config" value="Y" class="admin_normal"{--__CONFIG_Y--}>&nbsp;{--YES--}
-               <INPUT type="radio" name="cache_config" value="N" class="admin_normal"{--__CONFIG_N--}>&nbsp;{--NO--}&nbsp;
+                       name="cache_config" value='Y' class="admin_normal"{--__CONFIG_Y--}>&nbsp;{--YES--}
+               <INPUT type="radio" name="cache_config" value='N' class="admin_normal"{--__CONFIG_N--}>&nbsp;{--NO--}&nbsp;
                </TD>
        </TR>
        <TR>
@@ -57,8 +57,8 @@
                <TD align="right" width="350" height="20">
                {--ADMIN_CACHE_MODREG--}</TD>
                <TD width="150" style="padding-left: 10px"><INPUT type="radio"
-                       name="cache_modreg" value="Y" class="admin_normal"{--__MODREG_Y--}>&nbsp;{--YES--}
-               <INPUT type="radio" name="cache_modreg" value="N" class="admin_normal"{--__MODREG_N--}>&nbsp;{--NO--}&nbsp;
+                       name="cache_modreg" value='Y' class="admin_normal"{--__MODREG_Y--}>&nbsp;{--YES--}
+               <INPUT type="radio" name="cache_modreg" value='N' class="admin_normal"{--__MODREG_N--}>&nbsp;{--NO--}&nbsp;
                </TD>
        </TR>
        <TR>
@@ -68,8 +68,8 @@
                <TD align="right" width="350" height="20">
                {--ADMIN_CACHE_REFDEPTH--}</TD>
                <TD width="150" style="padding-left: 10px"><INPUT type="radio"
-                       name="cache_refdepth" value="Y" class="admin_normal"{--__REFDEPTH_Y--}>&nbsp;{--YES--}
-               <INPUT type="radio" name="cache_refdepth" value="N"
+                       name="cache_refdepth" value='Y' class="admin_normal"{--__REFDEPTH_Y--}>&nbsp;{--YES--}
+               <INPUT type="radio" name="cache_refdepth" value='N'
                        class="admin_normal"{--__REFDEPTH_N--}>&nbsp;{--NO--}&nbsp;</TD>
        </TR>
        <TR>
@@ -79,8 +79,8 @@
                <TD align="right" width="350" height="20">
                {--ADMIN_CACHE_REFSYS--}</TD>
                <TD width="150" style="padding-left: 10px"><INPUT type="radio"
-                       name="cache_refsys" value="Y" class="admin_normal"{--__REFSYS_Y--}>&nbsp;{--YES--}
-               <INPUT type="radio" name="cache_refsys" value="N" class="admin_normal"{--__REFSYS_N--}>&nbsp;{--NO--}&nbsp;
+                       name="cache_refsys" value='Y' class="admin_normal"{--__REFSYS_Y--}>&nbsp;{--YES--}
+               <INPUT type="radio" name="cache_refsys" value='N' class="admin_normal"{--__REFSYS_N--}>&nbsp;{--NO--}&nbsp;
                </TD>
        </TR>
        <TR>
index 3343638f00fa896572a512295b896bdd7229ce5c..b3a83da4c7efd5cadadf1060c63139264b2ff433 100644 (file)
@@ -90,9 +90,9 @@
                <TD align="right" height="20">{--ADMIN_DOUBLER_SENT_ALL--}:</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD style="padding-left: 5px"><INPUT type="radio"
-                       name="doubler_sent_all" class="admin_normal" value="Y"{!__DOUBLER_SENT_ALL_Y!}>&nbsp;{--YES--}<BR>
+                       name="doubler_sent_all" class="admin_normal" value='Y'{!__DOUBLER_SENT_ALL_Y!}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="doubler_sent_all" class="admin_normal"
-                       value="N"{!__DOUBLER_SENT_ALL_N!}>&nbsp;{--NO--}</TD>
+                       value='N'{!__DOUBLER_SENT_ALL_N!}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator" height="5">&nbsp;</TD>
                <TD align="right" height="20">{--ADMIN_DOUBLER_JACKPOT--}:</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD style="padding-left: 5px"><INPUT type="radio"
-                       name="doubler_jackpot" class="admin_normal" value="Y"{!__DOUBLER_JACKPOT_Y!}>&nbsp;{--YES--}<BR>
+                       name="doubler_jackpot" class="admin_normal" value='Y'{!__DOUBLER_JACKPOT_Y!}>&nbsp;{--YES--}<BR>
                <INPUT type="radio" name="doubler_jackpot" class="admin_normal"
-                       value="N"{!__DOUBLER_JACKPOT_N!}>&nbsp;{--NO--}</TD>
+                       value='N'{!__DOUBLER_JACKPOT_N!}>&nbsp;{--NO--}</TD>
        </TR>
        <TR>
                <TD colspan="3" class="seperator" height="5">&nbsp;</TD>
                <TD align="right" height="20">{--ADMIN_DOUBLER_OWN--}:</TD>
                <TD class="seperator" width="5">&nbsp;</TD>
                <TD style="padding-left: 5px"><INPUT type="radio"
-                       name="doubler_own" class="admin_normal" value="Y"{!__DOUBLER_OWN_Y!}>&nbsp;{--YES--}<BR>
-               <INPUT type="radio" name="doubler_own" class="admin_normal" value="N"{!__DOUBLER_OWN_N!}>&nbsp;{--NO--}
+                       name="doubler_own" class="admin_normal" value='Y'{!__DOUBLER_OWN_Y!}>&nbsp;{--YES--}<BR>
+               <INPUT type="radio" name="doubler_own" class="admin_normal" value='N'{!__DOUBLER_OWN_N!}>&nbsp;{--NO--}
                </TD>
        </TR>
        <TR>
index c64023d83f0cfa722fbd41bd4333eff5f1c3622b..edfeb264dc1cb215d0c07b1d008d50ecf9969061 100644 (file)
@@ -11,8 +11,8 @@
                <TD class="bottom2" align="right" width="350" height="20">
                {--ADMIN_VERBOSE_SQL--}:</TD>
                <TD class="bottom2" width="150" align="right"><INPUT type="radio"
-                       name="verbose_sql" value="Y" class="admin_normal"{--__VERBOSE_Y--}>&nbsp;{--YES--}
-               <INPUT type="radio" name="verbose_sql" value="N" class="admin_normal"{--__VERBOSE_N--}>&nbsp;{--NO--}&nbsp;
+                       name="verbose_sql" value='Y' class="admin_normal"{--__VERBOSE_Y--}>&nbsp;{--YES--}
+               <INPUT type="radio" name="verbose_sql" value='N' class="admin_normal"{--__VERBOSE_N--}>&nbsp;{--NO--}&nbsp;
                </TD>
        </TR>
        <TR>
index 7dcdde0fba0fd59107bc53cf7032f50c37e44008..8dd75ef1c93a3c01bc7b633f4f1af542f738ae89 100644 (file)
@@ -67,8 +67,8 @@
                <TD align="right">{--ADMIN_OPTION_CHECK_EMAIL_TEXT--}:</TD>
                <TD width="10" class="seperator">&nbsp;</TD>
                <TD><SPAN class="nobr"> {--YES--}:&nbsp;<INPUT
-                       type="radio" name="test_text" value="N"{--_CFG_TEST_TEXT_N--}>&nbsp;
-               {--NO--}:&nbsp;<INPUT type="radio" name="test_text" value="Y"{--_CFG_TEST_TEXT_Y--}>
+                       type="radio" name="test_text" value='N'{--_CFG_TEST_TEXT_N--}>&nbsp;
+               {--NO--}:&nbsp;<INPUT type="radio" name="test_text" value='Y'{--_CFG_TEST_TEXT_Y--}>
                </SPAN></TD>
                <TD width="10" class="seperator">&nbsp;</TD>
        </TR>
@@ -82,8 +82,8 @@
                <TD align="right">{--ADMIN_OPTION_CHECK_EMAIL_SUBJ--}:</TD>
                <TD width="10" class="seperator">&nbsp;</TD>
                <TD><SPAN class="nobr"> {--YES--}:&nbsp;<INPUT
-                       type="radio" name="test_subj" value="N"{--_CFG_TEST_SUBJ_N--}>&nbsp;
-               {--NO--}:&nbsp;<INPUT type="radio" name="test_subj" value="Y"{--_CFG_TEST_SUBJ_Y--}>
+                       type="radio" name="test_subj" value='N'{--_CFG_TEST_SUBJ_N--}>&nbsp;
+               {--NO--}:&nbsp;<INPUT type="radio" name="test_subj" value='Y'{--_CFG_TEST_SUBJ_Y--}>
                </SPAN></TD>
                <TD width="10" class="seperator">&nbsp;</TD>
        </TR>
@@ -97,8 +97,8 @@
                <TD align="right">{--ADMIN_OPTION_URL_BLACKLIST--}:</TD>
                <TD width="10" class="seperator">&nbsp;</TD>
                <TD><SPAN class="nobr"> {--YES--}:&nbsp;<INPUT
-                       type="radio" name="url_blacklist" value="Y"{--_CFG_URL_BLIST_Y--}>&nbsp;
-               {--NO--}:&nbsp;<INPUT type="radio" name="url_blacklist" value="N"{--_CFG_URL_BLIST_N--}>
+                       type="radio" name="url_blacklist" value='Y'{--_CFG_URL_BLIST_Y--}>&nbsp;
+               {--NO--}:&nbsp;<INPUT type="radio" name="url_blacklist" value='N'{--_CFG_URL_BLIST_N--}>
                </SPAN></TD>
                <TD width="10" class="seperator">&nbsp;</TD>
        </TR>
                <TD align="right">{--ADMIN_OPTION_GUEST_MENU--}:</TD>
                <TD width="10" class="seperator">&nbsp;</TD>
                <TD><SPAN class="nobr"> <INPUT type="radio"
-                       name="guest_menu" value="Y"{--_CFG_GUEST_MENU_ACTIVE--}>&nbsp;{--ADMIN_GUEST_MENU_ACTIVE--}<BR>
-               <INPUT type="radio" name="guest_menu" value="N"{--_CFG_GUEST_MENU_INACTIVE--}>&nbsp;{--ADMIN_GUEST_MENU_INACTIVE--}
+                       name="guest_menu" value='Y'{--_CFG_GUEST_MENU_ACTIVE--}>&nbsp;{--ADMIN_GUEST_MENU_ACTIVE--}<BR>
+               <INPUT type="radio" name="guest_menu" value='N'{--_CFG_GUEST_MENU_INACTIVE--}>&nbsp;{--ADMIN_GUEST_MENU_INACTIVE--}
                </SPAN></TD>
                <TD width="10" class="seperator">&nbsp;</TD>
        </TR>
                <TD align="right">{--ADMIN_OPTION_MEMBER_MENU--}:</TD>
                <TD width="10" class="seperator">&nbsp;</TD>
                <TD><SPAN class="nobr"> <INPUT type="radio"
-                       name="member_menu" value="Y"{--_CFG_MEMBER_MENU_ACTIVE--}>&nbsp;{--ADMIN_MEMBER_MENU_ACTIVE--}<BR>
-               <INPUT type="radio" name="member_menu" value="N"{--_CFG_MEMBER_MENU_INACTIVE--}>&nbsp;{--ADMIN_MEMBER_MENU_INACTIVE--}
+                       name="member_menu" value='Y'{--_CFG_MEMBER_MENU_ACTIVE--}>&nbsp;{--ADMIN_MEMBER_MENU_ACTIVE--}<BR>
+               <INPUT type="radio" name="member_menu" value='N'{--_CFG_MEMBER_MENU_INACTIVE--}>&nbsp;{--ADMIN_MEMBER_MENU_INACTIVE--}
                </SPAN></TD>
                <TD width="10" class="seperator">&nbsp;</TD>
        </TR>
                <TD align="right">{--ADMIN_OPTION_YOURE_HERE--}:</TD>
                <TD width="10" class="seperator">&nbsp;</TD>
                <TD><SPAN class="nobr"> <INPUT type="radio"
-                       name="youre_here" value="Y"{--_CFG_YOURE_HERE_ACTIVE--}>&nbsp;{--ADMIN_YOURE_HERE_ACTIVE--}<BR>
-               <INPUT type="radio" name="youre_here" value="N"{--_CFG_YOURE_HERE_INACTIVE--}>&nbsp;{--ADMIN_YOURE_HERE_INACTIVE--}
+                       name="youre_here" value='Y'{--_CFG_YOURE_HERE_ACTIVE--}>&nbsp;{--ADMIN_YOURE_HERE_ACTIVE--}<BR>
+               <INPUT type="radio" name="youre_here" value='N'{--_CFG_YOURE_HERE_INACTIVE--}>&nbsp;{--ADMIN_YOURE_HERE_INACTIVE--}
                </SPAN></TD>
                <TD width="10" class="seperator">&nbsp;</TD>
        </TR>
                <TD align="right">{--ADMIN_OPTION_ZIPCODE_ACTIVE--}:</TD>
                <TD width="10" class="seperator">&nbsp;</TD>
                <TD><SPAN class="nobr"> {--YES--}:&nbsp;<INPUT
-                       type="radio" name="order_multi_page" value="Y"{--_CFG_ORDER_MULTI_Y--}>&nbsp;
-               {--NO--}:&nbsp;<INPUT type="radio" name="order_multi_page" value="N"{--_CFG_ORDER_MULTI_N--}>
+                       type="radio" name="order_multi_page" value='Y'{--_CFG_ORDER_MULTI_Y--}>&nbsp;
+               {--NO--}:&nbsp;<INPUT type="radio" name="order_multi_page" value='N'{--_CFG_ORDER_MULTI_N--}>
                </SPAN></TD>
                <TD width="10" class="seperator">&nbsp;</TD>
        </TR>
                <TD align="right">{--ADMIN_OPTION_AUTOSEND_ACTIVE--}:</TD>
                <TD width="10" class="seperator">&nbsp;</TD>
                <TD><SPAN class="nobr"> {--YES--}:&nbsp;<INPUT
-                       type="radio" name="autosend_active" value="Y"{--_CFG_AUTOSEND_ACTIVE_Y--}>&nbsp;
-               {--NO--}:&nbsp;<INPUT type="radio" name="autosend_active" value="N"{--_CFG_AUTOSEND_ACTIVE_N--}>
+                       type="radio" name="autosend_active" value='Y'{--_CFG_AUTOSEND_ACTIVE_Y--}>&nbsp;
+               {--NO--}:&nbsp;<INPUT type="radio" name="autosend_active" value='N'{--_CFG_AUTOSEND_ACTIVE_N--}>
                </SPAN></TD>
                <TD width="10" class="seperator">&nbsp;</TD>
        </TR>
                <TD align="right">{--ADMIN_OPTION_SEND_UPDATE--}:</TD>
                <TD width="10" class="seperator">&nbsp;</TD>
                <TD><SPAN class="nobr"> {--YES--}:&nbsp;<INPUT
-                       type="radio" name="send_prof_update" value="Y"{--_CFG_SEND_UPDATE_Y--}>&nbsp;
-               {--NO--}:&nbsp;<INPUT type="radio" name="send_prof_update" value="N"{--_CFG_SEND_UPDATE_N--}>
+                       type="radio" name="send_prof_update" value='Y'{--_CFG_SEND_UPDATE_Y--}>&nbsp;
+               {--NO--}:&nbsp;<INPUT type="radio" name="send_prof_update" value='N'{--_CFG_SEND_UPDATE_N--}>
                </SPAN></TD>
                <TD width="10" class="seperator">&nbsp;</TD>
        </TR>
                <TD align="right">{--ADMIN_OPTION_NOTIFY_ADMIN--}:</TD>
                <TD width="10" class="seperator">&nbsp;</TD>
                <TD><SPAN class="nobr"> {--YES--}:&nbsp;<INPUT
-                       type="radio" name="admin_notify" value="Y"{--_CFG_ADMIN_NOTIFY_Y--}>&nbsp;
-               {--NO--}:&nbsp;<INPUT type="radio" name="admin_notify" value="N"{--_CFG_ADMIN_NOTIFY_N--}>
+                       type="radio" name="admin_notify" value='Y'{--_CFG_ADMIN_NOTIFY_Y--}>&nbsp;
+               {--NO--}:&nbsp;<INPUT type="radio" name="admin_notify" value='N'{--_CFG_ADMIN_NOTIFY_N--}>
                </SPAN></TD>
                <TD width="10" class="seperator">&nbsp;</TD>
        </TR>
index 7c63eaaa9a878d2cf8f8582b39db474621fc4616..dadfabcede892c2a04e3e85c7f9de643fa7d960a 100644 (file)
@@ -15,9 +15,9 @@
                {--ADMIN_CONFIG_DIRECT_PAY--}:</TD>
                <TD width="190" align="right">
                {--ADMIN_CONFIG_POINTS_DIRECT--}:&nbsp;<INPUT type="radio"
-                       name="allow_direct_pay" value="Y" class="admin_normal"{--__DIRECT_Y--}><BR>
+                       name="allow_direct_pay" value='Y' class="admin_normal"{--__DIRECT_Y--}><BR>
                {--ADMIN_CONFIG_POINTS_MAILS--}:&nbsp;<INPUT type="radio"
-                       name="allow_direct_pay" value="N" class="admin_normal"{--__DIRECT_N--}>
+                       name="allow_direct_pay" value='N' class="admin_normal"{--__DIRECT_N--}>
                </TD>
        </TR>
        <TR>
index 0f5cdd86896db8235a0fc5fc49b5e635195421a1..aa1b749448f8f0e15b9c4f133288461fa4d3c3ed 100644 (file)
@@ -3,7 +3,7 @@
        <TD class="switch_sw$content[sw] bottom2 right2">&nbsp;$content[title]</TD>
        <TD class="switch_sw$content[sw] bottom2" align="center">
        {--YES--}:&nbsp;<INPUT type="radio" name="mod[$content[module]]"
-               class="admin_normal" value="Y"$content[y_default]>
+               class="admin_normal" value='Y'$content[y_default]>
        {--NO--}:&nbsp;<INPUT type="radio" name="mod[$content[module]]"
-               class="admin_normal" value="N"$content[n_default]></TD>
+               class="admin_normal" value='N'$content[n_default]></TD>
 </TR>
index 2e750afc82e186d4b70d73efa65b806063733bce..8acd397168b6cf8a7c61ef98abb049b92cb54b74 100644 (file)
@@ -59,8 +59,8 @@
                <TD align="right" width="250">{--ADMIN_AUTOPURGE_TRANSFER--}</TD>
                <TD width="10" class="seperator">&nbsp;</TD>
                <TD><SELECT name="ap_transfer" size="1" class="admin_select">
-                       <OPTION value="Y"{--__YES_IN--}>{--YES--}</OPTION>
-                       <OPTION value="N"{--__NO_IN--}>{--NO--}</OPTION>
+                       <OPTION value='Y'{--__YES_IN--}>{--YES--}</OPTION>
+                       <OPTION value='N'{--__NO_IN--}>{--NO--}</OPTION>
                </SELECT></TD>
        </TR>
        <TR>
index bf7ad93811ff64c6123e009ad23834c079784ee6..de616dfd927dd1253aa14d7e0a883fb2083b8bb5 100644 (file)
@@ -55,8 +55,8 @@
                <TD width="10">&nbsp;</TD>
                <TD align="center" class="admin_table"><SELECT
                        class="admin_select" name="visible" size="1">
-                       <OPTION value="Y">{--YES--}</OPTION>
-                       <OPTION value="N">{--NO--}</OPTION>
+                       <OPTION value='Y'>{--YES--}</OPTION>
+                       <OPTION value='N'>{--NO--}</OPTION>
                </SELECT></TD>
                <TD width="10">&nbsp;</TD>
        </TR>
@@ -69,8 +69,8 @@
                <TD width="10">&nbsp;</TD>
                <TD align="center" class="admin_table"><SELECT
                        class="admin_select" name="active" size="1">
-                       <OPTION value="N">{--YES--}</OPTION>
-                       <OPTION value="Y">{--NO--}</OPTION>
+                       <OPTION value='N'>{--YES--}</OPTION>
+                       <OPTION value='Y'>{--NO--}</OPTION>
                </SELECT></TD>
                <TD width="10">&nbsp;</TD>
        </TR>
index 656f2b7e5d7569c5d1181f87bf93d488dffc4bd8..19318283ebe2e614c479685dad236b1de809a2b0 100644 (file)
@@ -55,8 +55,8 @@
                <TD width="10">&nbsp;</TD>
                <TD align="center" class="admin_table"><SELECT
                        class="admin_select" name="visible" size="1">
-                       <OPTION value="Y">{--YES--}</OPTION>
-                       <OPTION value="N">{--NO--}</OPTION>
+                       <OPTION value='Y'>{--YES--}</OPTION>
+                       <OPTION value='N'>{--NO--}</OPTION>
                </SELECT></TD>
                <TD width="10">&nbsp;</TD>
        </TR>
@@ -69,8 +69,8 @@
                <TD width="10">&nbsp;</TD>
                <TD align="center" class="admin_table"><SELECT
                        class="admin_select" name="active" size="1">
-                       <OPTION value="N">{--YES--}</OPTION>
-                       <OPTION value="Y">{--NO--}</OPTION>
+                       <OPTION value='N'>{--YES--}</OPTION>
+                       <OPTION value='Y'>{--NO--}</OPTION>
                </SELECT></TD>
                <TD width="10">&nbsp;</TD>
        </TR>
index d40fcbe66c2254a2de0b5c6a3ac56777fc6cb394..754d914ffadf1159942d17fcef4b2cedd585dddf 100644 (file)
                        <TR>
                                <TD width="30%">{--YES--}</TD>
                                <TD width="20%">&nbsp;<INPUT type="radio" name="auto_urls"
-                                       class="admin_normal" value="Y" checked></TD>
+                                       class="admin_normal" value='Y' checked></TD>
                                <TD width="30%">{--NO--}</TD>
                                <TD width="20%">&nbsp;<INPUT type="radio" name="auto_urls"
-                                       class="admin_normal" value="N"></TD>
+                                       class="admin_normal" value='N'></TD>
                        </TR>
                </TABLE>
                </TD>
index 195488b5d5ab263d3a2b5c17d0a9957abbd307d4..e14c645bf5ba290313021ae7ba6fe30cfbbe25be 100644 (file)
                        <TR>
                                <TD width="30%">{--YES--}</TD>
                                <TD width="20%">&nbsp;<INPUT type="radio" name="auto_urls"
-                                       class="admin_normal" value="Y" checked></TD>
+                                       class="admin_normal" value='Y' checked></TD>
                                <TD width="30%">{--NO--}</TD>
                                <TD width="20%">&nbsp;<INPUT type="radio" name="auto_urls"
-                                       class="admin_normal" value="N"></TD>
+                                       class="admin_normal" value='N'></TD>
                        </TR>
                </TABLE>
                </TD>
index 537bacedd8e89567e0f81cd10fe594c2db702c66..9237dd0420305bb9ef6e1523eb82c972084d0d26 100644 (file)
@@ -41,8 +41,8 @@
                <TD align="right">{--ADMIN_PAYOUT_ALLOW_URLS--}:</TD>
                <TD class="seperator">&nbsp;</TD>
                <TD><SELECT name="allow_url" class="admin_select" size="1">
-                       <OPTION value="N">{--NO--}</OPTION>
-                       <OPTION value="Y">{--YES--}</OPTION>
+                       <OPTION value='N'>{--NO--}</OPTION>
+                       <OPTION value='Y'>{--YES--}</OPTION>
                </SELECT></TD>
        </TR>
        <TR>
index 75523d6e011f0418ad0996c984055ab76d37e86a..c31c923663f54ae7fffb17574a4efefb7da892b0 100644 (file)
@@ -3,10 +3,10 @@
        <TD class="register_right switch_sw$content[sw]">&nbsp;&nbsp;$content[cat]&nbsp;&nbsp;</TD>
        <TD width="20" class="guest_normal switch_$content[sw]">
        {--YES--}&nbsp;<INPUT type="radio" class="guest_normal"
-               name="cat[$content[id]]" value="Y"$content[def_y]></TD>
+               name="cat[$content[id]]" value='Y'$content[def_y]></TD>
        <TD width="20" class="guest_normal switch_$content[sw]">
        {--NO--}&nbsp;<INPUT type="radio" class="guest_normal"
-               name="cat[$content[id]]" value="N"$content[def_n]></TD>
+               name="cat[$content[id]]" value='N'$content[def_n]></TD>
        <TD width="10" class="switch_sw$content[sw]">&nbsp;</TD>
 </TR>
 <TR>
index 9d8f1e90468ced6549b1111a9fa5135181910294..da6c9fcd5f8fff4d11deeb3d3b7467f67202b52f 100644 (file)
                <TD align="right" width="60%" class="register_left">
                {--AGREE_TO_THIS--}:&nbsp;&nbsp;</TD>
                <TD width="40%" class="register_right">{--YES--}: <INPUT
-                       type="radio" name="agree" class="guest_normal" value="Y">&nbsp;
+                       type="radio" name="agree" class="guest_normal" value='Y'>&nbsp;
                {--NO--}: <INPUT type="radio" name="agree" class="guest_normal"
-                       value="N" checked></TD>
+                       value='N' checked></TD>
        </TR>
        <TR>
                <TD colspan="2" height="7" class="seperator bottom2">&nbsp;</TD>
index 87c470b5ec37c5bde2e4f3e1b1740be8553bd1ff..6f4bc90fa1a03346ebb149d8048f50d4a165a94b 100644 (file)
@@ -2,9 +2,9 @@
        <TD align="right" height="20" class="switch_sw$content[sw]">$content[cat]&nbsp;&nbsp;</TD>
        <TD width="2" class="seperator">&nbsp;</TD>
        <TD align="center" class="switch_sw$content[sw]">{--YES--} <INPUT
-               type="radio" name="cat[$content[id]]" class="member_normal" value="Y"$content[jy]>&nbsp;
+               type="radio" name="cat[$content[id]]" class="member_normal" value='Y'$content[jy]>&nbsp;
        {--NO--} <INPUT type="radio" name="cat[$content[id]]"
-               class="member_normal" value="N"$content[jn]></TD>
+               class="member_normal" value='N'$content[jn]></TD>
 </TR>
 <TR>
        <TD colspan="3" height="2" class="seperator"></TD>
index b19c5c0e672a9efd05030a0978ec75f21456353e..fd3fc04f80fff02ad393437403b9b4178ce9dd0b 100644 (file)
@@ -17,9 +17,9 @@
        </TR>
        <TR>
                <TD width="50%" align="right">{--YES--}:&nbsp;<INPUT type="radio"
-                       name="html" class="member_normal" value="Y"{!HTML_Y!}>&nbsp;&nbsp;</TD>
+                       name="html" class="member_normal" value='Y'{!HTML_Y!}>&nbsp;&nbsp;</TD>
                <TD width="50%" align="left">&nbsp;&nbsp;{--NO--}:&nbsp;<INPUT
-                       type="radio" name="html" class="member_normal" value="N"{!HTML_N!}></TD>
+                       type="radio" name="html" class="member_normal" value='N'{!HTML_N!}></TD>
        </TR>
        <TR>
                <TD colspan="2" class="seperator bottom2" height="5">&nbsp;</TD>
index b7ed4cb85e7e09b3b22ba9003564262a5db528c2..3c13f5098ca6d5404d4a5df66ea5c6bcd8cbb4ea 100644 (file)
@@ -1,7 +1,7 @@
 <TR>
        <TD width="10" class="top2 bottom2 seperator">&nbsp;</TD>
        <TD class="top2 bottom2" colspan="3" align="center"><STRONG>{--MEMBER_HTML_VALID_TAGS--}:</STRONG><BR>
-       $content <INPUT type="hidden" name="html" value="Y"></TD>
+       $content <INPUT type="hidden" name="html" value='Y'></TD>
        <TD width="10" class="top2 bottom2 seperator">&nbsp;</TD>
 </TR>
 <TR>
index 639087a92c12a325829901a5712f380518024ce1..e908f7cd612022203b88e42a929e8ba9c80b467d 100644 (file)
@@ -7,7 +7,7 @@
 </TR>
 <TR>
        <TD valign="top" height="20" align="right">{--MEMBER_HTML_MSG--}:&nbsp;<INPUT
-               type="radio" name="html" class="member_normal" value="Y">&nbsp;&nbsp;</TD>
+               type="radio" name="html" class="member_normal" value='Y'>&nbsp;&nbsp;</TD>
        <TD valign="top">&nbsp;&nbsp;{--MEMBER_NORMAL_MSG--}:&nbsp;<INPUT
-               type="radio" name="html" class="member_normal" value="N" checked></TD>
+               type="radio" name="html" class="member_normal" value='N' checked></TD>
 </TR>
\ No newline at end of file
index f3805c4362108398970108b02f996ed556d73f79..f499f68c5a2636ce2aa47c43cb31065c628dee48 100644 (file)
@@ -7,9 +7,9 @@
                {--TRANSFER_ALLOW_OPT_IN--}</TD>
                <TD align="center" width="160" class="admin_title bottom2" height="50">
                {--YES--}:&nbsp;<INPUT type="radio" name="opt_in"
-                       class="member_normal" value="Y"{--__TRANSFER_ALLOW_Y--}>
+                       class="member_normal" value='Y'{--__TRANSFER_ALLOW_Y--}>
                {--NO--}:&nbsp;<INPUT type="radio" name="opt_in" class="member_normal"
-                       value="N"{--__TRANSFER_ALLOW_N--}></TD>
+                       value='N'{--__TRANSFER_ALLOW_N--}></TD>
        </TR>
        <TR>
                <TD align="center" colspan="2" height="40"><INPUT type="reset"