Double question mark fixed
authorRoland Häder <roland@mxchange.org>
Sat, 25 Jun 2011 18:42:53 +0000 (18:42 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 25 Jun 2011 18:42:53 +0000 (18:42 +0000)
23 files changed:
autoreg.php
css.php
inc/libs/admins_functions.php
inc/libs/jackpot_functions.php
inc/modules/admin/what-list_unconfirmed.php
inc/mysql-manager.php
templates/de/html/menu/menu_guest_advert_end.tpl
templates/de/html/menu/menu_guest_advert_main.tpl
templates/de/html/menu/menu_guest_advert_members.tpl
templates/de/html/menu/menu_guest_advert_online.tpl
templates/de/html/menu/menu_guest_advert_sponsor.tpl
templates/de/html/menu/menu_member_advert_account.tpl
templates/de/html/menu/menu_member_advert_bank.tpl
templates/de/html/menu/menu_member_advert_earn.tpl
templates/de/html/menu/menu_member_advert_end.tpl
templates/de/html/menu/menu_member_advert_extras.tpl
templates/de/html/menu/menu_member_advert_logout.tpl
templates/de/html/menu/menu_member_advert_main.tpl
templates/de/html/menu/menu_member_advert_order.tpl
templates/de/html/menu/menu_member_advert_rals.tpl
templates/de/html/menu/menu_member_advert_stats.tpl
templates/de/html/menu/menu_member_advert_surfbar.tpl
templates/de/html/menu/menu_member_advert_themes.tpl

index 6deabf125cca5121e958fc7d0e194a4071b29909..fbd0cc79028c66b507289152277a2a183ad7dac4 100644 (file)
@@ -43,7 +43,7 @@ $GLOBALS['startTime'] = microtime(true);
 
 // Set module
 $GLOBALS['module'] = 'autoreg';
-$GLOBALS['output_mode'] = '1';
+$GLOBALS['output_mode'] = 1;
 $GLOBALS['header_sent'] = 3;
 
 // Load the required file(s)
diff --git a/css.php b/css.php
index 4e581e8ed1d1e5e35c29cd2e3b52b4ab03198872..3c0e236a26501f69130a077071a08990860ddea9 100644 (file)
--- a/css.php
+++ b/css.php
@@ -39,7 +39,7 @@
 require('inc/libs/security_functions.php');
 
 // Footer is disabled in CSS mode
-$GLOBALS['footer_sent'] = '-1';
+$GLOBALS['footer_sent'] = -1;
 
 // This is a CSS file loader!
 $GLOBALS['output_mode'] = 1;
index 18d2d5c7155f108763a66f09376db8ff9426ffc2..7c6b73078f6bbd056c3ab169e0127cfcdc0cd444 100644 (file)
@@ -560,7 +560,7 @@ function getAdminLoginFailures ($adminId) {
        } // END - if
 
        // By default no admin is found
-       $data['login_failures'] = '-1';
+       $data['login_failures'] = -1;
 
        // Check cache
        if (isset($GLOBALS['cache_array']['admin']['login_failures'][$adminId])) {
@@ -596,7 +596,7 @@ function getAdminLastFailure ($adminId) {
        } // END - if
 
        // By default no admin is found
-       $data['last_failure'] = '-1';
+       $data['last_failure'] = -1;
 
        // Check cache
        if (isset($GLOBALS['cache_array']['admin']['last_failure'][$adminId])) {
index 5d2ee6ef091e98047ff32a9cbf0de0d8af13f88c..6bf2816c4c92dc2cdd68d70c93d5caddf2cf6b05 100644 (file)
@@ -78,7 +78,7 @@ function addPointsToJackpot ($points) {
 // Subtracts points from the jackpot
 function subtractPointsFromJackpot ($points) {
        // First failed
-       $ret = '-1';
+       $ret = -1;
 
        // Get jackpot points for dummy
        $jackpot = getJackpotPoints();
index 5370e111ddc9e1622401a787e3372ac96993eb01..52037dd5c90163d10b11166c4182d76f0b748e1f 100644 (file)
@@ -72,10 +72,14 @@ LIMIT 1",
        );
 
        // Column, type and id for member's mail
-       $col = 'stats_id'; $type = 'NORMAL'; $ID = '-1';
+       $col = 'stats_id';
+       $type = 'NORMAL';
+       $ID = -1;
 
        // Load admin_list_unconfirmed template
-       $listed = true; $DATA = getRequestParameter('mid'); $mailType = 'mailid';
+       $listed = true;
+       $DATA = getRequestParameter('mid');
+       $mailType = 'mailid';
 } elseif ((isGetRequestParameterSet('bid')) && (isExtensionActive('bonus'))) {
        // @TODO This constant might be unused? define('__LIST_UNCON_TITLE', '{--ADMIN_LIST_UNCONFIRMED_BONUS_LINKS--}');
 
@@ -91,10 +95,14 @@ LIMIT 1",
        );
 
        // Column, type and id for member's mail
-       $col = 'bonus_id'; $type = 'BONUS'; $ID = getRequestParameter('bid');
+       $col = 'bonus_id';
+       $type = 'BONUS';
+       $ID = getRequestParameter('bid');
 
        // Load admin_list_unconfirmed template
-       $listed = true; $DATA = $ID; $mailType = 'bonusid';
+       $listed = true;
+       $DATA = $ID;
+       $mailType = 'bonusid';
 } else {
        // @TODO "Please do not call me directly." Should be rewritten to a nice selection depending on ext-bonus
        displayMessage('{--ADMIN_CALL_NOT_DIRECTLY--}');
index 6285dd3c6112f6711d7bb424575213ebaa4c0925..dfea280de9436ed474f8bfcfaf3ad5dec72d67da 100644 (file)
@@ -839,7 +839,7 @@ function getPaymentTitlePrice ($pid, $full=false) {
 // Get (basicly) the price of given payment id
 function getPaymentPoints ($pid, $lookFor = 'price') {
        // Default value...
-       $data[$lookFor] = '-1';
+       $data[$lookFor] = -1;
 
        // Search for it in database
        $result = SQL_QUERY_ESC("SELECT `%s` FROM `{?_MYSQL_PREFIX?}_payments` WHERE `id`=%s LIMIT 1",
@@ -1230,7 +1230,7 @@ function sendAdminEmails ($subj, $message) {
 // Get id number from administrator's login name
 function getAdminId ($adminLogin) {
        // By default no admin is found
-       $data['id'] = '-1';
+       $data['id'] = -1;
 
        // Check cache
        if (isset($GLOBALS['cache_array']['admin']['admin_id'][$adminLogin])) {
@@ -1285,7 +1285,7 @@ function setCurrentAdminId ($currentAdminId) {
 // Get password hash from administrator's login name
 function getAdminHash ($adminId) {
        // By default an invalid hash is returned
-       $data['password'] = '-1';
+       $data['password'] = -1;
 
        if (isAdminHashSet($adminId)) {
                // Check cache
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>
index 355d158e965e5d97c6a84264eb6abac17a6f0cfa..e15f6304966e16f3c60fad41f39518b8c4a6ed39 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="menu_advert">
                <!-- Fuegen Sie hier Ihre Werbung ein! //-->
-               <a href="{%url=modules.php??module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
+               <a href="{%url=modules.php?module=index&amp;what=impressum%}" target="_blank">Hier k&ouml;nnte Ihre Werbung stehen!</a>
        </td>
 </tr>