예제 #1
0
<?php 
// get presets
$round = 0;
if (!empty($_GET['round'])) {
    $round = $_GET['round'];
} else {
    if (!empty($_POST['round'])) {
        $round = $_POST['round'];
    }
}
$presets = AA_results_getPresets($round);
?>
<table><tr>
	<td class='forms'>
		<?php 
AA_printCategorySelection('speaker_rankinglists.php', $presets['category'], 'post');
?>
	</td>
	<td class='forms'>
		<?php 
AA_printEventSelection('speaker_rankinglists.php', $presets['category'], $presets['event'], 'post');
?>
	</td>
<?php 
if ($presets['event'] > 0) {
    // event selected
    ?>
	<td class='forms'>
		<?php 
    AA_printRoundSelection('speaker_rankinglists.php', $presets['category'], $presets['event'], $round);
    ?>
예제 #2
0
	<input type='hidden' name='arg' value='change_pos'/>
	<input type='hidden' name='round' value='<?php 
echo $round;
?>
' />   
	<input type='hidden' name='item' value=''/>
	<input type='hidden' name='heat' value=''/>
	<input type='hidden' name='pos' value=''/>
	<input type='hidden' name='heatname' value=''/>
	<input type='hidden' name='track' value=''/>
</form>

<table><tr>
	<td class='forms'>
		<?php 
AA_printCategorySelection("event_heats.php", $presets['category']);
?>
	</td>
	<td class='forms'>
		<?php 
AA_printEventSelection("event_heats.php", $presets['category'], $presets['event'], "post");
?>
	</td>
<?php 
if ($presets['event'] > 0) {
    // event selected
    printf("<td class='forms'>\n");
    AA_printRoundSelection("event_heats.php", $presets['category'], $presets['event'], $round);
    printf("</td>\n");
}
if ($round > 0) {
                if ($del) {
                    mysql_query("DELETE FROM runde WHERE xRunde = {$row['0']}");
                } else {
                    mysql_query("UPDATE runde as r SET Gruppe = '' WHERE xRunde = {$row['0']}");
                }
                $g = $row[1];
            }
        }
    }
    mysql_query("UNLOCK TABLES");
}
/*
 * set groups for combined event
 *
 **************************************************************************************/
AA_printCategorySelection('meeting_entries_setgroups.php', $category, 'get');
$page->printPageTitle($strCombinedGroupsAutoAssign . ", " . $strEventTypeSingleCombined);
?>
<table><tr>
	<td class='forms'>
		
	</td>
	<td class='forms'>
		<?php 
AA_printEventCombinedSelection('meeting_entries_setgroups.php', $category, $category . "_" . $comb, 'get');
?>
	</td>
</tr></table>
<br>
<?php 
//
예제 #4
0
$page->startPage();
$page->printPageTitle($strResults . ": " . $_COOKIE['meeting']);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/speaker/results.html', $strHelp, '_blank');
$menu->addSearchfield('speaker_entry.php', '_self', 'post', 'speaker_results.php?round=' . $round);
$menu->printMenu();
//
// print round selection menu
//
?>
<p/>

<table><tr>
	<td class='forms'>
		<?php 
AA_printCategorySelection("speaker_results.php", $presets['category']);
?>
	</td>
	<td class='forms'>
		<?php 
AA_printEventSelection("speaker_results.php", $presets['category'], $presets['event'], "post");
?>
	</td>

<?php 
if ($presets['event'] > 0) {
    printf("<td class='forms'>\n");
    AA_printRoundSelection("speaker_results.php", $presets['category'], $presets['event'], $round);
    printf("</td>\n");
}
if ($round > 0) {
예제 #5
0
                            $argument = "st.Name";
                            $img_name = "img/sort_act.gif";
                        }
                    }
                }
            }
        }
    }
}
?>
<p />

<table><tr>
	<td class='forms'>
		<?php 
AA_printCategorySelection('event_enrolement.php', $category, 'get');
?>
	</td>
	<td class='forms'>
		<?php 
AA_printEventSelection('event_enrolement.php', $category, $event);
?>
	</td>
	<td class='forms'>
		<?php 
AA_printEventCombinedSelection('event_enrolement.php', $category, $comb, 'get');
?>
	</td>
</tr></table>
 <br>
<table>   
예제 #6
0
    function AA_results_printHeader($category, $event, $round)
    {
        require './lib/cl_gui_menulist.lib.php';
        require './lib/cl_gui_page.lib.php';
        require './lib/common.lib.php';
        $page = new GUI_Page('event_results');
        $page->startPage();
        $page->printPageTitle($GLOBALS['strResults'] . ": " . $_COOKIE['meeting']);
        $helpfile = "doc/" . $_COOKIE['language'] . "/help/event/results.html";
        $menu = new GUI_Menulist();
        $menu->addButton($cfgURLDocumentation . $helpfile, $GLOBALS['strHelp'], '_blank');
        $menu->printMenu();
        ?>

<script type="text/javascript">
<!--
	function submitResult(perfForm, focus)
	{
		perfForm.submit();

		if(focus) {
			focus.perf.focus();
			focus.perf.select();
		}
	}

	function submitForm(form, focus)
	{
		form.submit();

		if(document.getElementById(focus)) {
			document.getElementById(focus).focus();
			document.getElementById(focus).select();
		}
	}

	function checkSubmit(perfForm, focus)
	{   
		if(perfForm.perf.value <= 0 || perfForm.perf.value == '-' || perfForm.perf.value == 'x' || perfForm.perf.value == 'X')
		{   
			if(perfForm.wind) {
				perfForm.wind.value = '';
			}
			else if(perfForm.attempts) {
				perfForm.attempts.value = '';
			}
			submitResult(perfForm, focus);
		}else{ 
             if(perfForm.wind && (perfForm.wind.value != '-' && perfForm.wind.value != '')){ 
                  submitResult(perfForm, focus);   
            }  
		}
	}

	// remove these functions after high jump is switched to architecture!
	function selectResult(result)
	{
		document.selection.result.value=result;
	}

	function selectAthlete(athlete)
	{
		document.selection.athlete.value=athlete;
		document.selection.submit();
	}
	
//-->
</script>

<form action='event_results.php' method='post'
	name='selection'>
	<input type='hidden' name='round' value='<?php 
        echo $round;
        ?>
' />
	<input type='hidden' name='athlete' value='' />
	<input type='hidden' name='result' value='' />
</form>

<table><tr>
	<td class='forms'>
		<?php 
        AA_printCategorySelection("event_results.php", $category);
        ?>
	</td>
	<td class='forms'>
		<?php 
        AA_printEventSelection("event_results.php", $category, $event, "post");
        ?>
	</td>

<?php 
        if ($event > 0) {
            printf("<td class='forms'>\n");
            AA_printRoundSelection("event_results.php", $category, $event, $round);
            printf("</td>\n");
        }
        if ($round > 0) {
            printf("<td class='forms'>\n");
            AA_printHeatSelection($round);
            printf("</td>\n");
        }
        ?>
</tr>
</table>
<?php 
    }
예제 #7
0
    $group = $_GET['group'];
}
$presets = AA_results_getPresets($round);
$relay = AA_checkRelay($presets['event']);
// check, if this is a relay event
//
//	Display data
// ------------
?>
<p />

<table>
	<tr>
		<td class='forms'>
		<?php 
AA_printCategorySelection("speaker_entries.php", $presets['category']);
?>
		</td>
		<td class='forms'>
		<?php 
AA_printEventSelection("speaker_entries.php", $presets['category'], $presets['event'], "post");
?>
		</td>
<?php 
if ($presets['event'] > 0) {
    // event selected
    printf("<td class='forms'>\n");
    AA_printRoundSelection("speaker_entries.php", $presets['category'], $presets['event'], $round);
    printf("</td>\n");
}
?>