if(dirname($_SERVER["PHP_SELF"])!="/legacy/en") $path="../../"; else $path="../"; $lang="en"; $page="interventions_onu"; $sub="interventions_onu"; $subsub="interventions_onu"; require_once($path."includes/global.inc.php"); require_once($path."includes/functions.inc.php"); require_once($path."classes/dbconnect.class.php"); require_once($path."classes/publicationsmanager.class.php"); require_once($path."classes/interventionsmanager.class.php"); require_once($path."classes/keywordsmanager.class.php"); $publicationsmanager = new publicationsmanager($dbconnect); $interventionsmanager = new interventionsmanager($dbconnect); $keywordsmanager = new keywordsmanager($dbconnect); $interventions = $interventionsmanager->getinterventions($HTTP_GET_VARS["iid"]); $keywords = $interventions->keywords; $keywords = explode(",",$keywords); $nbkeywords = $keywordsmanager->countKeywords(); for($i=0;$i<$nbkeywords;$i++){ if(!empty($keywords[$i])){ $key = $keywordsmanager->getkeywords($keywords[$i]); $keywordstitle .= $key->name_en.", "; } } ?>
$interventions = $interventionsmanager->getinterventions($HTTP_GET_VARS["iid"]);
$rel_pub = explode(",",$interventions->rel_publications);
$rel_int = explode(",",$interventions->rel_interventions);
?>
|