Example #1
0
<?php

/**
 * $Id$
 *
 * @category CDA
 * @package  Mediboard
 * @author   SARL OpenXtrem <*****@*****.**>
* @license  GNU General Public License, see http://www.gnu.org/licenses/gpl.html
* @link     http://www.mediboard.org
*/
CCanDo::checkAdmin();
$action = CValue::get("action", "null");
$result = null;
$resultSynth = null;
if ($action !== "null") {
    $result = CCdaTools::createTest($action);
    $resultSynth = CCdaTools::syntheseTest($result);
}
$smarty = new CSmartyDP();
$smarty->assign("result", $result);
$smarty->assign("resultsynth", $resultSynth);
$smarty->assign("action", $action);
$smarty->display("vw_testdatatype.tpl");