Example #1
0
?>
 :</span>
								<select name="answer" id="answer">
									<option value="">Please enable Javascript</option>
								</select>
							</label>
						</div>


						<div class="filtersExtra">


							<ul class="visualisationSelections hidden">
								<?php 
$theVisualizations = fetchVisualizations();
foreach (fetchVisualizations() as $index => $visualization) {
    ?>
									<li>
										<a href="javascript:" class="proxy_plot_leftlabel<?php 
    echo $index;
    ?>
 <?php 
    if ($index == 0) {
        ?>
 checked<?php 
    }
    ?>
 " title="<?php 
    echo fetchTooltip($visualization[0]);
    ?>
" proxyPlot="<?php 
Example #2
0
    $parameter = $_GET["locale"];
    if (in_array($parameter, $surveyLocales)) {
        $locale = $parameter;
    }
}
//-----------------------------
require_once "model/" . $survey . "/php/" . $locale . ".php";
require_once "model/fetchTranslation.php";
$printStandaloneExportOptions = true;
/////////////////////////////////////////////////
// SEO google enhancement
/////////////////////////////////////////////////
$pageTitle = fetchTitle("survey");
$visualizationUrl = "/DVS/render/?locale=EN&dataSource=3RDEQLS&media=png&width=740&question=Y11_Q8_PreferredWorkingHours&plot=heatMap&countryGroup=linear&subset=Y11_Agecategory&subsetValue=All&answer=1--Work-less";
$visualizationDescription = fetchTooltip("heatMap");
require_once '../render/VL/validParametersFunctions.php';
if (isPlotParametersValid($_GET)) {
    $pageTitle .= " : " . fetchValue($_GET['plot'], fetchVisualizations()) . ", " . fetchLabel("question") . " : " . $_GET['question'];
    $visualizationUrl = "/DVS/render/?" . $_SERVER['QUERY_STRING'];
    $plotDescriptionFileName = getPlotBodyFileName($_GET);
    $plotDescriptionFileName = substr($plotDescriptionFileName, 0, strlen($plotDescriptionFileName) - 4);
    //remove the width
    $plotDescriptionFileName = "/DVS/render/plots/txt/" . $plotDescriptionFileName . ".htm";
    if (file_exists($plotDescriptionFileName)) {
        $visualizationDescription = file_get_contents($plotDescriptionFileName, true);
        $visualizationDescription = trim($visualizationDescription);
    }
}
/////////////////////////////////////////////////
/////////////////////////////////////////////////
/////////////////////////////////////////////////