* *
* -------------------------------------------------------------------- *
* File : what-list_doubler.php *
* *
* -------------------------------------------------------------------- *
* File : what-list_doubler.php *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
case 'already': // Already payed out points
break;
case 'overview': // General overview page
// Prepare links
foreach (array('already_direct','already_ref','waiting_direct','waiting_ref') as $entry) {
case 'already': // Already payed out points
break;
case 'overview': // General overview page
// Prepare links
foreach (array('already_direct','already_ref','waiting_direct','waiting_ref') as $entry) {
- $cnt = countSumTotalData('Y','doubler','id','completed',true, " AND `is_ref`='N'");
+ $count = countSumTotalData('Y','doubler','id','completed',true, " AND `is_ref`='N'");
- $cnt = countSumTotalData('Y','doubler','id','completed',true, " AND `is_ref`='Y'");
+ $count = countSumTotalData('Y','doubler','id','completed',true, " AND `is_ref`='Y'");
- $cnt = countSumTotalData('N','doubler','id','completed',true, " AND `is_ref`='N'");
+ $count = countSumTotalData('N','doubler','id','completed',true, " AND `is_ref`='N'");
- $cnt = countSumTotalData('N','doubler','id','completed',true, " AND `is_ref`='Y'");
+ $count = countSumTotalData('N','doubler','id','completed',true, " AND `is_ref`='Y'");
- $content['already_all_link'] = "<a href=\"{?URL?}/modules.php?module=admin&what=list_doubler&mode=already&select=all\">".$sumAlready."</a>";
- $content['waiting_all_link'] = "<a href=\"{?URL?}/modules.php?module=admin&what=list_doubler&mode=waiting&select=all\">".$sumWaiting."</a>";
+ $content['already_all_link'] = '<a href="{%url=modules.php?module=admin&what=list_doubler&mode=already&select=all%}">' . $sumAlready . '</a>';
+ $content['waiting_all_link'] = '<a href="{%url=modules.php?module=admin&what=list_doubler&mode=waiting&select=all%}">' . $sumWaiting . '</a>';