Esempio n. 1
0
/**
 * export start information on round for timing software
 *
 */
function AA_timing_setStartInfo($round, $silent = false)
{
    $timing = AA_timing_getTiming();
    if ($timing == "omega") {
        $omega = new omega();
        $omega->set_allFiles();
    } elseif ($timing == "alge") {
        $alge = new alge();
        $alge->export_round($round);
    } else {
        if (!$silent) {
            AA_printErrorMsg($GLOBALS['strErrTimingNotConfigured']);
        }
    }
}
Esempio n. 2
0
	<td class='forms' />
	<td class='forms'>
		<div class='st_res_timing'>&nbsp;<?php 
echo $strTimingResults;
?>
&nbsp;</div>
	</td>
	<td class='forms' />
        <div class='st_res_done'>&nbsp;<?php 
echo $strResultsDone;
?>
&nbsp;</div>   
    </td> 
	<td class='forms'>
	<?php 
if (AA_timing_getTiming() == 'omega') {
    $btn = new GUI_Button('event.php?arg=export_timing', $strTimingExport);
    $btn->printButton();
}
?>
	</td>
</tr>
</table>

<p />

<?php 
//
// get results from timing where auto timing is on
//
/*$res = mysql_query("
Esempio n. 3
0
        } else {
            $conf = AA_timing_saveConfiguration();
        }
    } else {
        if (empty($_POST['host']) || empty($_POST['user']) || empty($_POST['pass']) || empty($_POST['ftppath'])) {
            AA_printErrorMsg($strErrEmptyFields);
        } else {
            $conf = AA_timing_saveConfiguration();
        }
    }
} elseif ($_POST['arg'] == 'change_system') {
    AA_timing_setTiming($_POST['timing_system']);
} elseif ($_POST['arg'] == 'change_autorank') {
    AA_timing_setAutoRank($_POST['autorank']);
}
$system = AA_timing_getTiming();
if ($system != "no") {
    $conf = AA_timing_getConfiguration();
}
/*if($omega->connection == "ftp"){
	$ftp = "checked";
}else{
	$local = "checked";
}*/
$optic = "checked";
$optic2 = "";
$local = "checked";
//
//	Display options for time measurement
//
$page = new GUI_Page('meeting_timing');