.
*/
include("./include/include.php");
require_once(FILESYSTEMROOTPATH."jc/include/classes/DefaultLayout.php");
require_once(FILESYSTEMROOTPATH."include/list/ListPager.php");
$layout = new DefaultLayout("JC_MANAGE", "./jc/");
$layout->init();
//list of accepted proposals by agora id
$Service = $GLOBALS['ClassFactory']->getAttendanceStatisticsService();
$layout->echoln('
Live Plenary Statistics
');
$insidePlenarySummary = $Service->insidePlenarySummary();
$pager = new ListPager('Summary: Bodies currently in the plenary');
$pager->addColumn(new TextColumn('BodyStatus','Status'));
$pager->addColumn(new TextColumn('amount', 'Amount'));
$layout->echoln($pager->display($insidePlenarySummary));
$insidePlenaryDelegates = $Service->insidePlenaryDelegates();
$pager = new ListPager('Antennae currently in the plenary');
$pager->addColumn(new TextColumn('BodyName','Body'));
$pager->addColumn(new TextColumn('participant','Delegate'));
$pager->addColumn(new TextColumn('votes','Votes the body has'));
$layout->echoln($pager->display($insidePlenaryDelegates));
$insidePlenaryEnvoys = $Service->insidePlenaryEnvoys();
$pager = new ListPager('Contact Antennae currently in the plenary');
$pager->addColumn(new TextColumn('BodyName','Body'));
$pager->addColumn(new TextColumn('participant','Envoy'));
$layout->echoln($pager->display($insidePlenaryEnvoys));
$layout->page_footer();
?>