Exemplo n.º 1
0
    include_once $HUB_FLM->getCodeDirPath("ui/header.php");
    echo "<h1>Group not found</h1>";
    include_once $HUB_FLM->getCodeDirPath("ui/footer.php");
    die;
}
$dashboardService = "https://cidashboard.net/ui/visualisations/index.php?";
//5,6 = scatterplots
//12 Attention Map - broken at present
$vises = "11,1,2,3,4,7,8,9,10";
$lang = $CFG->language;
$dashboardtitle = '';
$cipher;
$salt = openssl_random_pseudo_bytes(32);
$cipher = new Cipher($salt);
$obfuscationkey = $cipher->getKey();
$obfuscationiv = $cipher->getIV();
$dataurl = $CFG->homeAddress . 'api/conversations/' . $groupid;
$reply = createObfuscationEntry($obfuscationkey, $obfuscationiv, $dataurl);
$finaldataurl = $dataurl . '/?id=' . $reply['dataid'];
$userurl = $CFG->homeAddress . 'api/unobfuscatedusers/?id=' . $reply['obfuscationid'];
$dashboardurl = $dashboardService . "&timeout=300&width=1000&height=1000&vis=" . $vises . "&lang=" . $lang . "&title=" . $dashboardtitle . "&url=" . $finaldataurl . "&userurl=" . $userurl;
include_once $HUB_FLM->getCodeDirPath("ui/headerstatsexternal.php");
?>
<center>
	<h1 style="padding-top:0px;margin-top:0px;"><?php 
echo $LNG->STATS_GROUP_TITLE . $group->name;
?>
<a href="<?php 
echo $CFG->homeAddress . 'group.php?groupid=' . $groupid;
?>
"><img src="<?php