Esempio n. 1
0
<?php

/*
 	define ("PathRoot","C:/wamp/www/evalactisem");
	// *** Define the path to the SVG class dir. ***
define("SVG_CLASS_BASE", PathRoot."/library/svg/");
   	define ("jsPathRoot",PathRoot."/library/js/");

require_once ("library/php/TagCloud.php");
require_once ("library/svg/Svg.php");
require_once ('library/delicious/library/php-delicious.inc.php');
*/
require 'param/ParamPage.php';
$tg = new TagCloud();
//$tg->SauveBookmarkNetwork("xxxx","xxx")
header("Content-type: image/svg+xml");
$tg->GetSvg($login);
Esempio n. 2
0
    case 'SavePalette':
        $resultat = SavePalette(stripslashes($_POST['color']));
        break;
    case 'GetPalette':
        $resultat = GetPalette();
        break;
    case 'IemlCycle':
        if ($_GET['debug']) {
            $resultat = IemlCycle($_GET['key']);
        } else {
            $resultat = IemlCycle($_POST['key']);
        }
        break;
    case 'TagCloud':
        $tg = new TagCloud();
        $tg->GetSvg();
        break;
}
echo $resultat;
function GetTreeTrad($flux, $trad, $descp, $type, $primary, $bdd, $couche)
{
    global $objSite;
    $sem = new Sem($objSite, $objSite->infos["XML_Param"], "");
    $arrBdd = explode(";", $bdd);
    $arrFlux = explode(";", $flux);
    if ($type == "Signl_Trad") {
        $arrTrad = explode(";", $trad);
        $arrDescp = explode(";", $descp);
        $arrCouche = explode(";", $couche);
        //vérifie le partage de traduction
        for ($i = 0; $i < sizeof($arrTrad); $i++) {