<?php define("ctlid_datatype_id", "dtid"); define("ctlid_scaling_factor_figures", "sff"); $includeRelPath = "."; require_once "{$includeRelPath}/conndb/conndb.php"; require_once "{$includeRelPath}/lib/libhttp.php"; require_once "{$includeRelPath}/lib/htmldbutils.php"; $datatype_id = get_or_post_numeric(ctlid_datatype_id); $scaling_factor_figures = cNull(get_or_post_numeric(ctlid_scaling_factor_figures), 15); $connDB = ConnectDB(); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Health data visualization</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Visualisation des chiffres-clés des hôpitaux suisses"> <meta name="author" content="Renaud Hirsch"> <!-- Le styles --> <link href="css/bootstrap.css" rel="stylesheet"> <style> body { padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ } </style> <link href="css/bootstrap-responsive.css" rel="stylesheet"> <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
function cNullS($val) { $v = $val; return cNull($v, ''); }