$combos['indcl'] = array('descr' => get_text('IndClEvent', 'Tournament'), 'combo' => ComboFromRs(array(array('key' => '0', 'descr' => get_text('No')), array('key' => '1', 'descr' => get_text('Yes'))), 'key', 'descr', 1, null, null, 'd_e_EnIndClEvent_', 'd_e_EnIndClEvent_')); $combos['teamcl'] = array('descr' => get_text('TeamClEvent', 'Tournament'), 'combo' => ComboFromRs(array(array('key' => '0', 'descr' => get_text('No')), array('key' => '1', 'descr' => get_text('Yes'))), 'key', 'descr', 1, null, null, 'd_e_EnTeamClEvent_', 'd_e_EnTeamClEvent_')); $combos['indfin'] = array('descr' => get_text('IndFinEvent', 'Tournament'), 'combo' => ComboFromRs(array(array('key' => '0', 'descr' => get_text('No')), array('key' => '1', 'descr' => get_text('Yes'))), 'key', 'descr', 1, null, null, 'd_e_EnIndFEvent_', 'd_e_EnIndFEvent_')); $combos['teamfin'] = array('descr' => get_text('TeamFinEvent', 'Tournament'), 'combo' => ComboFromRs(array(array('key' => '0', 'descr' => get_text('No')), array('key' => '1', 'descr' => get_text('Yes'))), 'key', 'descr', 1, null, null, 'd_e_EnTeamFEvent_', 'd_e_EnTeamFEvent_')); $combos['mixteamfin'] = array('descr' => get_text('MixedTeamFinEvent', 'Tournament'), 'combo' => ComboFromRs(array(array('key' => '0', 'descr' => get_text('No')), array('key' => '1', 'descr' => get_text('Yes'))), 'key', 'descr', 1, null, null, 'd_e_EnTeamMixEvent_', 'd_e_EnTeamMixEvent_')); $combos['wc'] = array('descr' => get_text('WheelChair', 'Tournament'), 'combo' => ComboFromRs(array(array('key' => '0', 'descr' => get_text('No')), array('key' => '1', 'descr' => get_text('Yes'))), 'key', 'descr', 1, null, null, 'd_e_EnWChair_', 'd_e_EnWChair_')); $combos['double'] = array('descr' => get_text('DoubleSpace', 'Tournament'), 'combo' => ComboFromRs(array(array('key' => '0', 'descr' => get_text('No')), array('key' => '1', 'descr' => get_text('Yes'))), 'key', 'descr', 1, null, null, 'd_e_EnDoubleSpace_', 'd_e_EnDoubleSpace_')); // per i reset js delle combo list($allDivs, $allAgeCls, $allCls) = getAllDivCl(); // print'<pre>'; // print_r($allDivs); // print_r($allAgeCls); // print_r($allCls); // print'</pre>'; // exit; $JS_SCRIPT = array(getTargetsScript(), $record !== null ? phpVars2js(array('record' => $record)) : '', phpVars2js(array('allDivs' => $allDivs, 'allCls' => $allCls, 'allAgeCls' => $allAgeCls)), '<script type="text/javascript" src="' . $CFG->ROOT_DIR . 'Common/ajax/ObjXMLHttpRequest.js"></script>', '<script type="text/javascript" src="' . $CFG->ROOT_DIR . 'Common/Fun_JS.inc.js"></script>', '<script type="text/javascript" src="Fun_AJAX_PopEdit.js"></script>', '<script type="text/javascript"> function save(c) { if (document.getElementById(\'d_e_EnCode_\').value.length>0 && !CtrlCode_Error && !TargetNo_Error && !SubTeam_Error) { document.getElementById(\'d_e_EnAgeClass_\').disabled=false; document.getElementById(\'Command\').value=c; document.Frm.submit(); } } function hideFinder() { var finder=document.getElementById(\'finder\'); if (finder.style.display==\'none\') {
} if (isset($_REQUEST['ordDiv']) && ($_REQUEST['ordDiv'] == 'ASC' || $_REQUEST['ordDiv'] == 'DESC')) { $OrderBy = "EnDivision " . $_REQUEST['ordDiv'] . " "; } if (isset($_REQUEST['ordAgeCl']) && ($_REQUEST['ordAgeCl'] == 'ASC' || $_REQUEST['ordAgeCl'] == 'DESC')) { $OrderBy = "EnAgeClass " . $_REQUEST['ordAgeCl'] . " "; } if (isset($_REQUEST['ordCl']) && ($_REQUEST['ordCl'] == 'ASC' || $_REQUEST['ordCl'] == 'DESC')) { $OrderBy = "EnClass " . $_REQUEST['ordCl'] . " "; } if (isset($_REQUEST['ordSubCl']) && ($_REQUEST['ordSubCl'] == 'ASC' || $_REQUEST['ordSubCl'] == 'DESC')) { $OrderBy = "EnSubClass " . $_REQUEST['ordSubCl'] . " "; } // prepare the Target array require_once 'Fun_Targets.php'; $JS_SCRIPT = array('<script type="text/javascript" src="../Common/ajax/ObjXMLHttpRequest.js"></script>', '<script type="text/javascript" src="Fun_AJAX_index.js"></script>', '<script type="text/javascript" src="Fun_AJAX_Partecipants.js"></script>', '<script type="text/javascript" src="../Common/Fun_JS.inc.js"></script>', '<script type="text/javascript" src="Fun_JS.js"></script>', getTargetsScript(), '<script type="text/javascript">', 'var StrLoading = "' . get_text('Loading', 'Tournament') . '";', 'var StrCancel = "' . get_text('CmdCancel') . '";', '</script>'); $ONLOAD = ' onLoad="javascript:GetRows_Par(\'\',\'' . $OrderBy . '\');"'; $PAGE_TITLE = get_text('TourPartecipants', 'Tournament'); include 'Common/Templates/head.php'; $MyHeader = '<tr>' . '<td class="Title" width="4%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordSes=' . (isset($_REQUEST['ordSes']) && $_REQUEST['ordSes'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('Session') . '</a></td>' . '<td class="Title" width="4%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordTar=' . (isset($_REQUEST['ordTar']) && $_REQUEST['ordTar'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('Target') . '</a></td>' . '<td class="Title" width="6%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordCode=' . (isset($_REQUEST['ordCode']) && $_REQUEST['ordCode'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('Code', 'Tournament') . '</a></td>' . '<td class="Title" width="12%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordName=' . (isset($_REQUEST['ordName']) && $_REQUEST['ordName'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('FamilyName', 'Tournament') . '</a></td>' . '<td class="Title" width="12%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordName=' . (isset($_REQUEST['ordName']) && $_REQUEST['ordName'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('Name', 'Tournament') . '</a></td>' . '<td class="Title" width="7%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordCtrl=' . (isset($_REQUEST['ordCtrl']) && $_REQUEST['ordCtrl'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('DOB', 'Tournament') . '</a></td>' . '<td class="Title" width="4%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordSex=' . (isset($_REQUEST['ordSex']) && $_REQUEST['ordSex'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('Sex', 'Tournament') . '</a></td>' . '<td class="Title" width="4%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordCountry=' . (isset($_REQUEST['ordCountry']) && $_REQUEST['ordCountry'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('Country') . '</a></td>' . '<td class="Title" width="21%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordCountry=' . (isset($_REQUEST['ordCountry']) && $_REQUEST['ordCountry'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('NationShort', 'Tournament') . '</a></td>' . '<td class="Title" width="4%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordSubTeam=' . (isset($_REQUEST['ordSubTeam']) && $_REQUEST['ordSubTeam'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('PartialTeam') . '</a></td>' . '<td class="Title" width="4%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordCountry2=' . (isset($_REQUEST['ordCountry2']) && $_REQUEST['ordCountry2'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('Country') . ' (2)' . '</a></td>' . '<td class="Title" width="21%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordCountry2=' . (isset($_REQUEST['ordCountry2']) && $_REQUEST['ordCountry2'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('NationShort', 'Tournament') . ' (2)' . '</a></td>' . '<td class="Title" width="5%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordDiv=' . (isset($_REQUEST['ordDiv']) && $_REQUEST['ordDiv'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('Div') . '</a></td>' . '<td class="Title" width="5%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordAgeCl=' . (isset($_REQUEST['ordAgeCl']) && $_REQUEST['ordAgeCl'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('AgeCl') . '</a></td>' . '<td class="Title" width="5%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordCl=' . (isset($_REQUEST['ordCl']) && $_REQUEST['ordCl'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('Cl') . '</a></td>' . '<td class="Title" width="5%"><a class="LinkRevert" href="' . $_SERVER['PHP_SELF'] . '?ordSubCl=' . (isset($_REQUEST['ordSubCl']) && $_REQUEST['ordSubCl'] == 'ASC' ? 'DESC' : 'ASC') . '">' . get_text('SubCl', 'Tournament') . '</a></td>' . '<td class="Title" width="5%">' . get_text('Target') . '</td>' . '<td class="Title" width="5%"> </td>' . '</tr>' . "\n"; ?> <form name="Frm" method="GET" action=""> <table class="Tabella" id="idAthList"> <tbody> <tr><th class="Title" colspan="18"><?php echo get_text('TourPartecipants', 'Tournament'); ?> </th></tr> <tr class="Divider"><td colspan="18"></td></tr> <tr> <td colspan="5" class="Bold">