Example #1
0
function initCockpit($tab_cookies)
{
    include 'gps_advanced_js.php3';
    $info = initVue2d($tab_cookies);
    javascriptRecherchator($info);
    ?>
	<table class='mh_tdborder' width='98%' align='center'>
	<tr class='mh_tdpage'>
		<td>
			<table width='100%' class='cockpit' align='center'>
				<tr class='mh_tdpage'>
					<td width='30%' valign='top' class='options_vue'>
						<?php 
    afficherOptionsVue2d($info);
    ?>
					</td>
					<td width='45%' valign='top' class='options_recherchator'>
						<?php 
    afficherCockpitRecherchator();
    ?>
					</td>
					<td width='15%' align='right' valign='top' class='options_radar'>
						<?php 
    afficherCockpitRadar();
    ?>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<?php 
    return $info;
}
Example #2
0
 	<table class="mh_tdborder" width="40%" align="center">
		<tr class="mh_tdtitre">
			<td>
 				Trollometer :
		 		<input type='button' onClick="get_trollometer(true);" value="Afficher" name="b_trollometer" class="mh_form_submit">
				Taille en PA du troll-O-meter
				<?php 
    formulaire_listbox("max_pa", 0, LIMITE_MAX_TAILLE_PA, 1, $info[max_pa], "moinsplus", "", false, true, "onChange=\"get_trollometer(true);\"");
    ?>
			</td>
		</tr>
	</table>
<?php 
} elseif ($_REQUEST["action"] == "display_trollometer") {
    $tab_cookies = initCookie();
    $info = initVue2d($tab_cookies);
    if ($_REQUEST["display_trollometer"] == "Afficher") {
        vue2d_afficher_trollometer($info);
        vue2d_afficher_legende();
    } else {
        echo " ";
    }
}
function initCookie()
{
    if (isset($_REQUEST['anim'])) {
        $anim = $_REQUEST['anim'];
    } else {
        $anim = "";
    }
    if (isset($_REQUEST['trolls_disparus'])) {