X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_doubler.php;h=39fbab603b0f2d39a851f610ff644a27e90864c0;hb=8d0ed5ed9a9ca0e07b9582f2311b44bdcc5a95ea;hp=03041609c3d15aa78e1961f087190b5a7481e328;hpb=6b13c5c64eebedd56683c78d799879e0dc618b21;p=mailer.git
diff --git a/inc/modules/admin/what-list_doubler.php b/inc/modules/admin/what-list_doubler.php
index 03041609c3..39fbab603b 100644
--- a/inc/modules/admin/what-list_doubler.php
+++ b/inc/modules/admin/what-list_doubler.php
@@ -16,7 +16,7 @@
* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009, 2010 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -41,7 +41,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
} // END - if
// Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
if (!isGetRequestParameterSet('mode')) {
// Chosse the overview page as default
@@ -71,37 +71,37 @@ switch (getRequestParameter('mode')) {
$sumAlready = '0'; $sumWaiting = '0';
// Number of direct already payouts and referal
- $cnt = countSumTotalData('Y','doubler','id','completed',true, " AND `is_ref`='N'");
+ $count = countSumTotalData('Y','doubler','id','completed',true, " AND `is_ref`='N'");
- if ($cnt > 0) {
+ if ($count > 0) {
// Something was payed out
- $sumAlready += $cnt;
- $content['already_direct_link'] = '' . $cnt . '';
+ $sumAlready += $count;
+ $content['already_direct_link'] = '' . $count . '';
} // END - if
- $cnt = countSumTotalData('Y','doubler','id','completed',true, " AND `is_ref`='Y'");
+ $count = countSumTotalData('Y','doubler','id','completed',true, " AND `is_ref`='Y'");
- if ($cnt > 0) {
+ if ($count > 0) {
// Something was payed out
- $sumAlready += $cnt;
- $content['already_ref_link'] = '' . $cnt . '';
+ $sumAlready += $count;
+ $content['already_ref_link'] = '' . $count . '';
} // END - if
// And the same for waiting pouts (direct and referal)
- $cnt = countSumTotalData('N','doubler','id','completed',true, " AND `is_ref`='N'");
+ $count = countSumTotalData('N','doubler','id','completed',true, " AND `is_ref`='N'");
- if ($cnt > 0) {
+ if ($count > 0) {
// Something was payed out
- $sumWaiting += $cnt;
- $content['waiting_direct_link'] = '' . $cnt . '';
+ $sumWaiting += $count;
+ $content['waiting_direct_link'] = '' . $count . '';
} // END - if
- $cnt = countSumTotalData('N','doubler','id','completed',true, " AND `is_ref`='Y'");
+ $count = countSumTotalData('N','doubler','id','completed',true, " AND `is_ref`='Y'");
- if ($cnt > 0) {
+ if ($count > 0) {
// Something was payed out
- $sumWaiting += $cnt;
- $content['waiting_ref_link'] = '' . $cnt . '';
+ $sumWaiting += $count;
+ $content['waiting_ref_link'] = '' . $count . '';
} // END - if
// Links for all