if (!defined('CURRENT_CATEGORY')) {
    define('CURRENT_CATEGORY', 'athletica_tech');
}
if (!defined('CURRENT_PAGE')) {
    define('CURRENT_PAGE', 'results');
}
require_once ROOT_PATH . 'lib/inc.init.php';
require_once ROOT_PATH . 'lib/cls.result_tech.php';
$events = getEvents(CFG_CURRENT_MEETING, CFG_CURRENT_EVENT);
$type = $glb_types_results[$events['disc_type']];
$wind = $events['event_wind'];
$result_id = $_GET['result'];
$athlete_id = $_GET['athlete'];
$attempt = $_GET['attempt'];
$result = getResult($result_id);
$athlete = getAthleteDetails($athlete_id, false, 'ath_pos', 0, true);
?>
<script type="text/javascript">
    $(document).ready(function(){
        $('button').button();
        
         $('#result_edit_result, #result_edit_wind').keyup(function(){
            validate();   
        });
        
        $('#result_edit_result').blur(function(){
            var res = $(this).val();
            
            if (res) {
                $.ajax({
                    url: '<?php 
    define('GLOBAL_PATH', '../../../../');
}
if (!defined('ROOT_PATH')) {
    define('ROOT_PATH', '../../../');
}
if (!defined('CURRENT_CATEGORY')) {
    define('CURRENT_CATEGORY', 'athletica_tech');
}
if (!defined('CURRENT_PAGE')) {
    define('CURRENT_PAGE', 'results');
}
require_once ROOT_PATH . 'lib/inc.init.php';
require_once ROOT_PATH . 'lib/cls.result_tech.php';
$currentID = $_GET['current'];
$maxRang = checkFinal(CFG_CURRENT_EVENT);
$athletes = getAthleteDetails(0, false, 'ath_pos', $maxRang);
?>
<table>
    <colgroup>
        <col width="50">
        <col width="200">
        <col width="50">
        <col>
    </colgroup>
<?php 
foreach ($athletes as $athlete) {
    if ($athlete['xSerienstart'] == $currentID) {
        $class = "startlist_curr";
    } else {
        $class = "startlist";
    }
Exemple #3
0
        $currentResultData = getCurrentResult($currentAthleteID, $currentHeight);
        $currentResult = $currentResultData['ath_res'];
        $currentResultID = $currentResultData['res_id'];
        if ($currentAthleteID > 0) {
            $currentAttempt = $currentAthlete['curr_miss'] + 1;
            $currentAthleteData = getAthleteDetails($currentAthleteID, false, 'ath_pos', '0', true);
            $nextAthlete = getNextAthlete($athletes, $currentAthlete);
            $nextAthleteID = $nextAthlete['ath_id'];
            $nextHeight = $nextAthlete['curr_height'];
            if ($nextAthleteID == 0) {
                $last = true;
                $nextAthleteID == getFirstAthlete($athletes);
            } else {
                $last = false;
            }
            $nextAthleteData = getAthleteDetails($nextAthleteID, false, 'ath_pos', '0', true);
            $nextAttempt = $nextAthlete['curr_miss'] + 1;
        }
    }
    $settings = getHighSettings(CFG_CURRENT_EVENT);
    ?>
    <input type="hidden" name="round" id="round" value="<?php 
    echo $events['xRunde'];
    ?>
">
    <input type="hidden" name="event" id="event" value="<?php 
    echo $events['xWettkampf'];
    ?>
">
    
    <?php 
Exemple #4
0
                                    if(status=='success'){
                                        $('#dialog_wait').dialog('close');
                                    }
                                });      
                            }
                        });
                    }
                }
            });
            
        });
    });
</script>

<?php 
$athletes = getAthleteDetails(0, true, 'ath_pos');
$heights = getHeights(CFG_CURRENT_EVENT);
$heightsPerRow = 10;
$width = count($heights) <= $heightsPerRow ? count($heights) * 60 + 400 : $heightsPerRow * 60 + 400;
?>
<table width="<?php 
echo $width;
?>
">
    <tr>
        <td colspan="2" width="100%">
            <table>
                <colgroup>
                    <col width="400">
                    <col>
                </colgroup>
if (!defined('GLOBAL_PATH')) {
    define('GLOBAL_PATH', '../../../../');
}
if (!defined('ROOT_PATH')) {
    define('ROOT_PATH', '../../../');
}
if (!defined('CURRENT_CATEGORY')) {
    define('CURRENT_CATEGORY', 'athletica_tech');
}
if (!defined('CURRENT_PAGE')) {
    define('CURRENT_PAGE', 'results');
}
require_once ROOT_PATH . 'lib/inc.init.php';
require_once ROOT_PATH . 'lib/cls.result_tech.php';
$maxRang = checkFinal(CFG_CURRENT_EVENT);
$athletes = getAthleteDetails(0, true, "ath_rank, ath_res DESC", 0, false, true);
?>
<table>
    <colgroup>
        <col width="50">
        <col width="50">
        <col width="200">
        <col width="50">
        <col width="200">
        <col width="">
    </colgroup>
<?php 
foreach ($athletes as $athlete) {
    if ($maxRang != 0 && $athlete['ath_rank'] > $maxRang) {
        $class = "resultlist_inactive";
    } else {
if (!defined('GLOBAL_PATH')) {
    define('GLOBAL_PATH', '../../../../');
}
if (!defined('ROOT_PATH')) {
    define('ROOT_PATH', '../../../');
}
if (!defined('CURRENT_CATEGORY')) {
    define('CURRENT_CATEGORY', 'athletica_tech');
}
if (!defined('CURRENT_PAGE')) {
    define('CURRENT_PAGE', 'results');
}
require_once ROOT_PATH . 'lib/inc.init.php';
require_once ROOT_PATH . 'lib/cls.result_high.php';
$currentID = $_GET['current'];
$athletes = getAthleteDetails(0, false, 'ath_pos');
?>
<table>
    <colgroup>
        <col width="50">
        <col width="200">
        <col width="50">
        <col>
    </colgroup>
<?php 
foreach ($athletes as $athlete) {
    if ($athlete['ath_id'] == $currentID) {
        $class = "startlist_curr";
    } else {
        $class = "startlist";
    }
if (!defined('GLOBAL_PATH')) {
    define('GLOBAL_PATH', '../../../../');
}
if (!defined('ROOT_PATH')) {
    define('ROOT_PATH', '../../../');
}
if (!defined('CURRENT_CATEGORY')) {
    define('CURRENT_CATEGORY', 'athletica_tech');
}
if (!defined('CURRENT_PAGE')) {
    define('CURRENT_PAGE', 'results');
}
require_once ROOT_PATH . 'lib/inc.init.php';
require_once ROOT_PATH . 'lib/cls.result_high.php';
$athletes = getAthleteDetails(0, true, "ath_rank, ath_res DESC");
?>
<table>
    <colgroup>
        <col width="50">
        <col width="50">
        <col width="200">
        <col width="50">
        <col width="250">
        <col>
    </colgroup>
<?php 
foreach ($athletes as $athlete) {
    $out = checkOut($athlete['ath_id']);
    if ($out == 1 || $athlete['ath_res'] < 0) {
        $class = "resultlist_inactive";