. */ session_start(); //session_start(); on the top of the code. require_once 'includes/autoloader-inc.php'; //ini_set('max_execution_time', 300); // in order to avoid Fatal error: Maximum execution time of 30 seconds exceeded. $cdaContrObj = new CdaContr(); $cdaViewObj = new CdaView(); $aliasAuthViewObj = new AliasAuthView(); $cdaContrObj->checkIfLoggedIn("Location: login.php?error=notloggedin"); require "header.php"; ?>

-- Error: Group ID is not found!"); } $groupId = intval($_GET['selectedgid']); $group = $cdaViewObj->showSelectedTgpcr('g', (int)$groupId); $aliasAuthViewObj->checkIfEligibleForTempResults((int)$group['topic_id']); $results = $aliasAuthViewObj->showAllAliasesVotesAndHashNumbersForGroup((int)$groupId); if ($results == [] || $results == null) { exit("

-- Please note that no one has voted for this group."); } ?>

Temporary Results of group ID


Topic ID:
Group ID:
Group:

First table of temporary results:
Index Alias Vote Hash-Number
$value) { $sumOfVotes = $sumOfVotes + $value['vote']; $counter++; ?>
showAllUsersThatVotedForGroup((int)$groupId); $suffledResults = $aliasAuthViewObj->suffleResults($results); ?>
Index Alias Vote Hash-Number

Second table of temporary results: Members that have voted in this voting event, in random order.
User-Name
$value) { ?>
User-Name

Topic ID:
Group ID:
Group:
Sum of Votes: