<?php require_once dirname(dirname(__FILE__)) . '/config.php'; CheckTourSession(true); require_once 'Common/Fun_FormatText.inc.php'; require_once 'Qualification/Fun_Qualification.local.inc.php'; require_once 'Final/Fun_MatchTotal.inc.php'; require_once 'Fun_HHT.local.inc.php'; require_once 'Common/Lib/Obj_RankFactory.php'; if (!empty($_SESSION['OvrHost'])) { require_once 'Modules/OvrExport/OvrExportFunctions.php'; } $ComboHHT = ComboHHT(); $DBSesParam = 0; $DbSeqParam = 0; $DbDistParam = 0; if (isset($_REQUEST["x_Hht"]) && $_REQUEST["x_Hht"] != -1) { $Select = "Select HsPhase, HsSequence, HsDistance FROM HhtSetup WHERE HsTournament=" . StrSafe_DB($_SESSION['TourId']) . " AND HsId=" . StrSafe_DB($_REQUEST['x_Hht']); $rs = safe_w_sql($Select); $MyRow = safe_fetch($rs); $DBSesParam = $MyRow->HsPhase; $DbSeqParam = str_pad($MyRow->HsSequence, 12, ' '); $DbDistParam = $MyRow->HsDistance; } $xSession = isset($_REQUEST['x_Session']) ? $_REQUEST['x_Session'] : $DBSesParam; $FirstArr = isset($_REQUEST['FirstArr']) ? intval($_REQUEST['FirstArr']) : intval(substr($DbSeqParam, 0, 2)); $LastArr = isset($_REQUEST['LastArr']) ? intval($_REQUEST['LastArr']) : intval(substr($DbSeqParam, 2, 2)); $Volee = isset($_REQUEST['Volee']) ? intval($_REQUEST['Volee']) : intval(substr($DbSeqParam, 4, 2)); $Dist = isset($_REQUEST['Dist']) ? $_REQUEST['Dist'] : $DbDistParam; $Command = isset($_REQUEST['Command']) ? $_REQUEST['Command'] : null; $Msg = '';
<?php require_once 'HHT/serial.php'; require_once 'HHT/Fun_HHT.local.inc.php'; echo '<table width="100%">'; echo '<tr>'; echo '<th width="15%"><input type="checkbox" value="1" id="dispDanage"> ' . get_text('CmdEnable') . '</th>'; echo '<td width="10%"><select id="x_Contrast">'; for ($i = 9; $i >= 00; $i--) { echo '<option value="' . $i . '">' . $i . '</option>'; } echo '</select></td>'; echo '<td width="15%">' . ComboHHT() . '</td>'; echo '<td width="25%" class="Center"><select id="x_DispType">'; echo '<option value="1">Big Scoring Display</option>'; echo '<option value="2">Timing Display</option>'; echo '</select></td>'; echo '<td width="10%"><input type="checkbox" value="1" id="x_autoRefresh"> ' . get_text('AutoRefresh', 'Tournament') . '</td>'; echo '<td width="25%" class="Center"><input type="button" value="Refresh" name="dispRefresh" onClick="refreshDisplay();"></td>'; echo '</tr>'; echo "</table>";
print get_text('HTTInfo', 'HTT'); ?> </th></tr> <tr> <th class="TitleLeft" width="10%" colspan="2"><?php print get_text('Terminal', 'HTT'); ?> </th> <td width="90%"> <input type="text" name="htt" maxlength="50" value="<?php print isset($_REQUEST["htt"]) ? $_REQUEST["htt"] : ''; ?> "> <?php print ComboHHT(); ?> <input type="submit" value="<?php print get_text('CmdOk'); ?> "> </td> </tr> <?php if ($Results != null) { $TmpTarget = 0; $answer = ''; sort($HhtRequested); foreach ($HhtRequested as $Target) { if (empty($HhtAnswered[$Target])) {