Ejemplo n.º 1
0
    $p = new Protect();
    if (!empty($_POST['password'])) {
        $p->secureMeeting($_COOKIE['meeting_id'], $_POST['password']);
    }
}
if ($_POST['arg'] == "del_password") {
    $p = new Protect();
    $p->unsecureMeeting($_COOKIE['meeting_id']);
}
$ukc_meeting = AA_checkMeeting_UKC();
//
//	Display administration
//
$page = new GUI_Page('admin');
$page->startPage();
$page->printPageTitle($strAdministration);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/administration/index.html', $strHelp, '_blank');
$menu->printMenu();
?>
<p/>

<script type="text/javascript">

function checkForm(){
	var obj = document.meetingpw;
	if(obj.password.value==''){
		alert('<?php 
echo $strProtectPasswordEmpty;
?>
');
Ejemplo n.º 2
0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
//
//	Display heats
//
$page = new GUI_Page('event_heats');
$page->startPage();
$page->printPageTitle($strHeatSeeding . ": " . $_COOKIE['meeting']);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/event/heats.html', $strHelp, '_blank');
$menu->printMenu();
?>
<script type="text/javascript">
<!--
	var selected = 0;
	var oldClass = 0;
	var focus = "";
	var obj = 0;
	var value1 = "";
	var value2 = "";


	function clickTrack(o, item, heatID, heatName, position)
Ejemplo n.º 3
0
        // end if not combiend
    }
    // end loop
    if ($comb > 0) {
        echo "</table></div></td>";
    }
    echo "</tr></table></div>\n";
    echo $combDiv;
    mysql_free_result($result);
}
//
// display page
//
$page = new GUI_Page('meeting_entry_add', false, 'stylesheet_small-fonts.css');
$page->startPage();
$page->printPageTitle($strNewEntryFromBase);
?>

	<script language="javascript">
	var allowSearch = <?php 
echo $allow_search_from_base;
?>
;
	var categories = new Array();
	var clubs = new Array();
	var clubsearch = "";
	
	var combined = new Array();
	
	<?php 
// generate an array with the club names for the IE workaround (located at bottom of the script part)
Ejemplo n.º 4
0
require './lib/cl_gui_page.lib.php';
require './lib/common.lib.php';
require './lib/results.lib.php';
if (AA_connectToDB() == FALSE) {
    // invalid DB connection
    return;
    // abort
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
$page = new GUI_Page('speaker_rankinglists');
$page->startPage();
$page->printPageTitle($strRankingLists . ": " . $_COOKIE['meeting']);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/speaker/rankinglists.html', $strHelp, '_blank');
$menu->printMenu();
?>
<script type="text/javascript">
<!--   
    
    function checkDisc() 
    {  
       e = document.getElementById("combined"); 
       e.checked=true; 
    }
    
   
//-->
Ejemplo n.º 5
0
    // invalid DB connection
    return;
    // abort
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
$round = 0;
if (!empty($_GET['round'])) {
    $round = $_GET['round'];
}
$page = new GUI_Page('speaker_entry');
$page->startPage();
$page->printPageTitle($strEntry . ": " . $_COOKIE['meeting']);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/speaker/entry.html', $strHelp, '_blank');
if (!empty($_POST['back'])) {
    $menu->addButton($_POST['back'], $strBack);
}
$menu->printMenu();
?>
<p />
<?php 
$item = 0;
if (!empty($_GET['item'])) {
    $item = $_GET['item'];
}
$relay = 0;
if (!empty($_GET['relay'])) {
Ejemplo n.º 6
0
require './lib/common.lib.php';
if (AA_connectToDB() == FALSE) {
    return;
    // abort
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
//
// display data
//
$page = new GUI_Page('meeting_online_convert');
$page->startPage();
$page->printPageTitle("Meeting Online Convert");
$mid = $_COOKIE['meeting_id'];
$c = 33;
$res = mysql_query("SELECT xControl FROM meeting WHERE xMeeting = {$mid}");
if (mysql_errno() > 0) {
    printf(mysql_error());
    die;
} else {
    $row = mysql_fetch_array($res);
    $control = $row[0];
}
mysql_free_result($res);
$res = mysql_query("SELECT xStaffel FROM staffel WHERE xMeeting = {$mid}");
if (mysql_errno() > 0) {
    printf(mysql_error());
} else {
Ejemplo n.º 7
0
        } else {
            AA_printErrorMsg($strCategory . $strErrStillUsed);
        }
        mysql_query("UNLOCK TABLES");
    }
}
// Check if any error returned from DB
if (mysql_errno() > 0) {
    AA_printErrorMsg(mysql_errno() . ": " . mysql_error());
}
//
//	Display current data
//
$page = new GUI_Page('admin_categories', TRUE);
$page->startPage();
$page->printPageTitle($strCategories);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/administration/categories.html', $strHelp, '_blank');
$menu->printMenu();
// sort argument
$img_cat = "img/sort_inact.gif";
$img_short = "img/sort_inact.gif";
$img_age = "img/sort_inact.gif";
$img_order = "img/sort_inact.gif";
$img_sex = "img/sort_inact.gif";
$img_activ = "img/sort_inact.gif";
if ($_GET['arg'] == "cat") {
    $argument = "Name";
    $img_cat = "img/sort_act.gif";
} else {
    if ($_GET['arg'] == "short") {
Ejemplo n.º 8
0
                }
                // ET Club valid
            }
            // ET Meeting valid
        }
        // ET Category valid
        // Check if any error returned from DB
        mysql_query("UNLOCK TABLES");
    }
}
//
// display data
//
$page = new GUI_Page('meeting_relay_add');
$page->startPage();
$page->printPageTitle("{$strNewEntry} {$strRelays}");
if ($_POST['arg'] == "add") {
    ?>
<script>
	window.open("meeting_relaylist.php?item="
		+ <?php 
    echo $xStaffel;
    ?>
 + "#" + <?php 
    echo $xStaffel;
    ?>
,
		"list");
</script>
	<?php 
}
Ejemplo n.º 9
0
    exit;
}
if (isset($_GET['a']) && $_GET['a'] == 'xControl') {
    $xMeeting = isset($_GET['m']) ? intval($_GET['m']) : 0;
    $xControl = isset($_GET['c']) ? intval($_GET['c']) : 0;
    $sql = "UPDATE meeting \r\n\t\t\t   SET xControl = " . $xControl . " \r\n\t\t\t WHERE xMeeting = " . $xMeeting . ";";
    $query = mysql_query($sql);
    header('Location: admin_service.php');
    exit;
}
//
//	Display administration
//
$page = new GUI_Page('admin_service');
$page->startPage();
$page->printPageTitle($strServiceMenu);
$menu = new GUI_Menulist();
$menu->printMenu();
?>
<p/>

<?php 
if ($res_srv_lg == 'ok') {
    if (isset($_SESSION['temp']) && $_SESSION['temp']['action'] == 'disc' && $_SESSION['temp']['res'] == 'select') {
        $menu = new GUI_Menulist();
        $menu->addButton('admin_service.php', $strBack);
        $menu->printMenu();
        ?>
		<br/>
		<form name="frmDisc" action="admin_service.php" method="post">
			<input type="hidden" name="arg" value="disc"/>
Ejemplo n.º 10
0
            $perf = AA_formatResultMeter($perf);
        } else {
            $perf = AA_formatResultTime($perf, true);
        }
        if ($perf == 0) {
            $perf = '';
        }
        mysql_query("UNLOCK TABLES");
    }
}
//
// display data
//
$page = new GUI_Page('meeting_teamsm_add');
$page->startPage();
$page->printPageTitle("{$strNewEntry} {$strTeamsTeamSM}");
if ($_POST['arg'] == "add") {
    ?>
<script>
	window.open("meeting_teamsmlist.php?item="
		+ <?php 
    echo $xTeam;
    ?>
 + "#" + <?php 
    echo $xTeam;
    ?>
,
		"list");
</script>
	<?php 
}
Ejemplo n.º 11
0
        }
        if ($_POST['firstheat2'] > 0) {
            mysql_query("UPDATE start SET\r\n                    Erstserie = 'y'\r\n                WHERE\r\n                    xStart = " . $_POST['firstheat2']);
        }
    }
    if (mysql_errno() > 0) {
        AA_printErrorMsg(mysql_errno() . ": " . mysql_error());
    }
    mysql_query("UNLOCK TABLES");
}
//
//    Display data
// ------------
$page = new GUI_Page('meeting_entry', false, 'stylesheet_small-fonts.css');
$page->startPage();
$page->printPageTitle($strEntry);
if ($_GET['arg'] == 'del') {
    ?>
    <script type="text/javascript">
        window.open("meeting_entrylist.php", "list")
    </script>
    <?php 
} else {
    ?>
    <script type="text/javascript">
        window.open("meeting_entrylist.php?arg=<?php 
    echo $_POST['lsort'];
    ?>
&item=<?php 
    echo $_POST['item'];
    ?>
Ejemplo n.º 12
0
    return;
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
//
//    Display enrolement list
//
if (isset($_POST['ukc_meeting'])) {
    $ukc_meeting = $_POST['ukc_meeting'];
}
$page = new GUI_Page('admin_onlineRegUKC.php');
$page->startPage();
$page->printPageTitle($strImportUKC_Title);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/administration/base.html', $strHelp, '_blank');
$menu->printMenu();
// get xml file for registrations from athletes
// get uploaded XML file and read its content
$fd = fopen($_FILES['xmlfile']['tmp_name'], 'rb');
$content = fread($fd, filesize($_FILES['xmlfile']['tmp_name']));
if (!$fd) {
    AA_printErrorMsg($strErrFtpNoGet);
} else {
    $xml = new XML_simple_data();
    $arr_noCat = $xml->load_xml_simple($_FILES['xmlfile']['tmp_name'], 'regUKC', '', $ukc_meeting);
    if ($arr_noCat['cat'][0] != '') {
        foreach ($arr_noCat['cat'] as $key => $val) {
            $mess = str_replace('%NAME%', $val, $strXmlNoCatAge);
Ejemplo n.º 13
0
        } else {
            AA_printErrorMsg($strDiscipline . $strErrStillUsed);
        }
        mysql_query("UNLOCK TABLES");
    }
}
// Check if any error returned from DB
if (mysql_errno() > 0) {
    AA_printErrorMsg(mysql_errno() . ": " . mysql_error());
}
//
// Display current data
//
$page = new GUI_Page('admin_disciplines', TRUE);
$page->startPage();
$page->printPageTitle($strDisciplines);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/administration/disciplines.html', $strHelp, '_blank');
$menu->printMenu();
// sort argument
$img_disc = "img/sort_inact.gif";
$img_short = "img/sort_inact.gif";
$img_time = "img/sort_inact.gif";
$img_rel = "img/sort_inact.gif";
$img_heat = "img/sort_inact.gif";
$img_order = "img/sort_inact.gif";
$img_mtime = "img/sort_inact.gif";
$img_activ = "img/sort_inact.gif";
if ($_GET['arg'] == "disc") {
    $argument = "Name";
    $img_disc = "img/sort_act.gif";
Ejemplo n.º 14
0
require './lib/cl_http_data.lib.php';
if (AA_connectToDB() == FALSE) {
    // invalid DB connection
    return;
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
//
//	Display enrolement list
//
$page = new GUI_Page('admin_base');
$page->startPage();
$page->printPageTitle($strResultUpload);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/administration/results.html', $strHelp, '_blank');
$menu->printMenu();
$login = false;
if ($_POST['arg'] == "login") {
    $http = new HTTP_data();
    $post = "clubnr=" . urlencode($_POST['clubnr']) . "&pass="******"error":
                AA_printErrorMsg($result['error']);
                break;
Ejemplo n.º 15
0
$round = 0;
if (!empty($_GET['round'])) {
    $round = $_GET['round'];
} else {
    if (!empty($_POST['round'])) {
        $round = $_POST['round'];
    }
}
$presets = AA_results_getPresets($round);
// read GET/POST variables
//
// print HTML page header
//
$page = new GUI_Page('speaker_results');
$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']);
?>
Ejemplo n.º 16
0
<?php 
/*****************************************
 *
 *	 Show Event	
 *
 *****************************************/
$result = mysql_query("\r\n\tSELECT\r\n\t\tw.xWettkampf\r\n\t\t, w.xKategorie\r\n\t\t, w.Typ\r\n\t\t, w.Haftgeld\r\n\t\t, w.Startgeld\r\n\t\t, w.Punktetabelle\r\n\t\t, w.Punkteformel\r\n\t\t, k.Name\r\n\t\t, d.Name\r\n\t\t, d.xDisziplin\r\n\t\t, d.Typ\r\n\t\t, w.Windmessung\r\n\t\t, w.Info\r\n\t\t, w.Zeitmessung\r\n\t\t, w.ZeitmessungAuto\r\n\tFROM\r\n\t\twettkampf AS w\r\n\t\t, kategorie AS k\r\n\t\t, disziplin as d\r\n\tWHERE w.xWettkampf = {$event}\r\n\tAND w.xKategorie = k.xKategorie\r\n\tAND w.xDisziplin = d.xDisziplin\r\n\tORDER BY\r\n\t\tk.Anzeige\r\n\t\t, d.Anzeige\r\n");
if (mysql_errno() > 0) {
    // DB error
    AA_printErrorMsg(mysql_errno() . ": " . mysql_error());
} else {
    if (mysql_num_rows($result) > 0) {
        $row = mysql_fetch_row($result);
        $xDiscipline = $row[9];
        $page->printPageTitle("{$row['7']}, {$row['8']}");
        ?>
<table class='dialog'>
<tr>
	<form action='meeting_definition_event.php' method='post' name='event'>
	<th class='dialog'><?php 
        echo $strInfo;
        ?>
</th>
	<td class='forms'>
		<input name='arg' type='hidden' value='change_event' />
		<input name='item' type='hidden' value='<?php 
        echo $row[0];
        ?>
' />
		<input name='cat' type='hidden' value='<?php 
Ejemplo n.º 17
0
    $enrolement = $_POST['athleteSearch'];
    $sql_athlet = "SELECT    \r\n                        at.Vorname, \r\n                        at.Name, \r\n                        a.xAnmeldung \r\n                   FROM                \r\n                        anmeldung AS a\r\n                        LEFT JOIN athlet AS at USING (xAthlet)\r\n                   WHERE \r\n                        xMeeting = " . $_COOKIE['meeting_id'] . "\r\n                        AND a.xAnmeldung = " . $enrolement;
    $res = mysql_query($sql_athlet);
    if (mysql_errno() > 0) {
        AA_printErrorMsg("Line " . __LINE__ . ": " . mysql_errno() . ": " . mysql_error());
    } else {
        if (mysql_num_rows($res) > 0) {
            // data found
            $row = mysql_fetch_row($res);
            $athlete = $row[1] . " " . $row[0];
        }
    }
}
$page = new GUI_Page('meeting_entries_receipt');
$page->startPage();
$page->printPageTitle($strReceipt);
?>
<script type="text/javascript">
<!--
	function setPrint()
	{     
		document.printdialog.formaction.value = 'print'
		document.printdialog.target = '_blank';
	}             	
//-->
</script>    

<table class='dialog'>   
    <tr>
	    <th class='dialog' colspan='3'><?php 
echo $strSelection;
}
$discFrom = 0;
if (isset($_GET['discFrom'])) {
    $discFrom = $_GET['discFrom'];
}
$discTo = 0;
if (isset($_GET['discTo'])) {
    $discTo = $_GET['discTo'];
}
$mDate = "";
if (isset($_GET['mDate'])) {
    $mDate = $_GET['mDate'];
}
$page = new GUI_Page('dlg_print_event_enrolement');
$page->startPage();
$page->printPageTitle($strPrint . ": " . $strEnrolement);
/*$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/meeting/print_entries.html', $strHelp, '_blank');
$menu->printMenu();*/
?>
<script type="text/javascript">

</script>

<form action='print_event_enrolement.php' method='get' name='printdialog' target="_blank">
<input type="hidden" name="category" value="<?php 
echo $category;
?>
">
<input type="hidden" name="event" value="<?php 
echo $event;
Ejemplo n.º 19
0
                    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 
//
// show entries for category and combined type
            $pos = array_keys($pos, $row[16]);
            if (count($pos) > 0) {
                $pos = $pos[0] + 1;
            } else {
                $pos = 127;
                // maximum
            }
            mysql_query("UPDATE wettkampf SET\r\n\t\t\t\t\tMehrkampfreihenfolge = {$pos}\r\n\t\t\t\tWHERE\r\n\t\t\t\t\txWettkampf = " . $row[0]);
        }
        if ($k != $row[1]) {
            //
            //	Headerline category
            //
            $cType = $row[2];
            $cCategory = $row[1];
            $page->printPageTitle($row[5]);
        }
        if ($row[8] != $svmCat_keep) {
            if ($i > 0) {
                ?>
                     </table></table><br/>
                    <?php 
            }
            ?>
<table class='dialog'>
<tr>
	<th class='dialog'><?php 
            echo $strEventType;
            ?>
</th>
<?php 
Ejemplo n.º 21
0
require './lib/common.lib.php';
require './lib/cl_xml_data.lib.php';
require './lib/cl_http_data.lib.php';
if (AA_connectToDB() == FALSE) {
    // invalid DB connection
    return;
}
/*if(AA_checkMeetingID() == FALSE){		// no meeting selected
	return;		// abort
}*/
//
//	Display enrolement list
//
$page = new GUI_Page('admin_base');
$page->startPage();
$page->printPageTitle($strBaseUpdate);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/administration/base.html', $strHelp, '_blank');
$menu->printMenu();
?>
<p/>

<?php 
// handle reset request
if ($_GET['arg'] == "reset") {
    ?>
	<p><?php 
    echo $strResetDo;
    ?>
</p>
	<input type="button" value="<?php 
Ejemplo n.º 22
0
// do login
//
if ($arg == "login") {
    $p = new Protect();
    $res = $p->login($_COOKIE['meeting_id'], $_POST['password']);
    if ($res) {
        $redirect = isset($_POST['redirect']) && trim($_POST['redirect']) != '' ? $_POST['redirect'] : 'admin';
        header("Location: " . $redirect . ".php");
        exit;
    } else {
        $error = true;
    }
}
$page = new GUI_Page('login');
$page->startPage();
$page->printPageTitle($strLoginToMeeting . ": " . $_COOKIE['meeting']);
?>

<br>
<p><?php 
echo $strRestrictedAccess;
?>
</p>
<br>

<?php 
if ($error) {
    echo "<p>{$strErrAccessDenied}</p>";
}
?>
Ejemplo n.º 23
0
    return;
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
$now = getdate();
$zero = '';
if ($now['minutes'] < 10) {
    $zero = '0';
}
$timestamp = $now['mday'] . "." . $now['mon'] . "." . $now['year'] . ", " . $now['hours'] . "." . $zero . $now['minutes'];
$page = new GUI_Page('event_monitor');
$page->startPage();
$page->printPageTitle($strEventMonitor . " " . $_COOKIE['meeting'] . " ({$timestamp} Uhr)");
//
// check if export for timing is forced
//
if ($_GET['arg'] == "export_timing") {
    $timing = AA_timing_getTiming();
    if ($timing == "alge") {
        // export round wise
        /*$res = mysql_query("SELECT r.xRunde FROM
        			wettkampf as w
        			, runde as r
        		WHERE
        			r.xWettkampf = w.xWettkampf
        		AND	w.xMeeting = ".$_COOKIE['meeting_id']."
        		AND	r.Status = ".$cfgRoundStatus['heats_done']."
        		");*/
Ejemplo n.º 24
0
                }
                // Check if any error returned from DB
                if (mysql_errno() > 0) {
                    AA_printErrorMsg(mysql_errno() . ": " . mysql_error());
                }
                mysql_query("UNLOCK TABLES");
            }
        }
    }
}
//
// Display current data
//
$page = new GUI_Page('meeting');
$page->startPage();
$page->printPageTitle($cfgApplicationName . " (Version " . $cfgApplicationVersion . ")");
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/meeting/index.html', $strHelp, '_blank');
$menu->printMenu();
?>
<script type="text/javascript">
<!--
	function selectMeeting(meetingID)
	{  
		document.selection.item.value=meetingID;
		document.selection.submit();
	}

	function check(item)
	{
		if((item == 'stadium')
Ejemplo n.º 25
0
                    if (!file_exists('layout/' . $entry)) {
                        @copy('tmp/' . $entry, 'layout/' . $entry);
                    }
                    @unlink('tmp/' . $entry);
                }
            }
        }
    }
}
$dir->close();
//
// display the 6 positions for page layout
//
$page = new GUI_Page('meeting_page_layout');
$page->startPage();
$page->printPageTitle($strPageLayout);
$menu = new GUI_Menulist();
$menu->addButton($cfgURLDocumentation . 'help/meeting/print_layout.html', $strHelp, '_blank');
$menu->printMenu();
?>
<p/>

<table class='dialog'>
<form name="layout" method="POST" action="meeting_page_layout.php" enctype="multipart/form-data">
<input type="hidden" name="arg" value="save">
<input type="hidden" name="item" value="<?php 
echo $row['xLayout'];
?>
">
<tr>
	<th class='dialog'><?php 
Ejemplo n.º 26
0
        mysql_query("\r\n\t\t\tDELETE FROM team\r\n\t\t\tWHERE xTeam = " . $_GET['item']);
        if (mysql_errno() > 0) {
            AA_printErrorMsg(mysql_errno() . ": " . mysql_error());
        }
    }
    // ET DB error (still in use)
    mysql_query("UNLOCK TABLES");
    $_POST['item'] = $_GET['item'];
    // show empty form after delete
}
//
// display data
//
$page = new GUI_Page('meeting_team');
$page->startPage();
$page->printPageTitle($strTeam);
if ($_GET['arg'] == 'del') {
    ?>
	<script type="text/javascript">
		window.open("meeting_teamlist.php", "list")
	</script>
	<?php 
} else {
    ?>
	<script type="text/javascript">
		window.open("meeting_teamlist.php?item="
			+ <?php 
    echo $_POST['item'];
    ?>
, "list");
	</script>
        mysql_query("UNLOCK TABLES");
    } else {
        mysql_query("LOCK TABLE staffel WRITE");
        mysql_query("UPDATE staffel SET\r\n                                Startnummer = 0\r\n                                WHERE xMeeting=" . $_COOKIE['meeting_id']);
        if (mysql_errno() > 0) {
            AA_printErrorMsg(mysql_errno() . ": " . mysql_error());
        }
        mysql_query("UNLOCK TABLES");
    }
}
//
// show dialog
//
$page = new GUI_Page('meeting_relays_startnumbers');
$page->startPage();
$page->printPageTitle($strAssignStartnumbers);
if ($_GET['arg'] == 'assign') {
    ?>
    <script>
        window.open("meeting_relaylist.php", "list")
    </script>
    <?php 
}
?>

<script type="text/javascript">     

function check_rounds(){  
        check = confirm("<?php 
echo $strStartNrConfirm;
?>
Ejemplo n.º 28
0
            mysql_query("\r\n\t\t\tUPDATE runde SET\r\n\t\t\t\tStatus = " . $cfgRoundStatus['enrolement_done'] . "\r\n\t\t\tWHERE xRunde = " . $row[0] . "\r\n\t\t");
            if (mysql_errno() > 0) {
                AA_printErrorMsg(mysql_errno() . ": " . mysql_error());
            }
        }
        mysql_query("UNLOCK TABLES");
    }
}
$arg = isset($_GET['arg']) ? $_GET['arg'] : (isset($_COOKIE['sort_enrolement']) ? $_COOKIE['sort_enrolement'] : 'nbr');
setcookie('sort_enrolement', $arg, time() + 2419200);
//
//	Display enrolement list
//
$page = new GUI_Page('event_enrolement', TRUE);
$page->startPage();
$page->printPageTitle($strEnrolement . ": " . $_COOKIE['meeting']);
$menu = new GUI_Menulist();
if ($teamsm) {
    $menu->addButton("dlg_print_event_enrolement.php?category={$category}&event={$event}&comb={$comb}&catFrom={$catFrom}&catTo={$catTo}&discFrom={$discFrom}&discTo={$discTo}&mDate={$mDate}&teamsm={$teamsm}&group={$tm_group}", $strPrint . " ...", '_self');
} else {
    $menu->addButton("dlg_print_event_enrolement.php?category={$category}&event={$event}&comb={$comb}&catFrom={$catFrom}&catTo={$catTo}&discFrom={$discFrom}&discTo={$discTo}&mDate={$mDate}&group={$mk_group}", $strPrint . " ...", '_self');
}
$menu->addButton($cfgURLDocumentation . 'help/event/enrolement.html', $strHelp, '_blank');
$menu->printMenu();
// sort argument
$img_nbr = "img/sort_inact.gif";
$img_name = "img/sort_inact.gif";
$img_club = "img/sort_inact.gif";
$img_team = "img/sort_inact.gif";
if ($arg == "nbr") {
    $argument = "a.Startnummer";
Ejemplo n.º 29
0
require './lib/cl_gui_menulist.lib.php';
require './lib/cl_gui_page.lib.php';
require './lib/common.lib.php';
if (AA_connectToDB() == FALSE) {
    // invalid DB connection
    return;
    // abort
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
$page = new GUI_Page('meeting_entries_print');
$page->startPage();
$page->printPageTitle($strPrint);
?>
<script type="text/javascript">
<!--
	function setPrint()
	{
		document.printdialog.formaction.value = 'print'
		document.printdialog.target = '_blank';
	}

	function setView()
	{
		document.printdialog.formaction.value = 'view'
		document.printdialog.target = '';
	}
	
require './lib/cl_gui_menulist.lib.php';
require './lib/cl_gui_page.lib.php';
require './lib/common.lib.php';
if (AA_connectToDB() == FALSE) {
    // invalid DB connection
    return;
    // abort
}
if (AA_checkMeetingID() == FALSE) {
    // no meeting selected
    return;
    // abort
}
$page = new GUI_Page('meeting_entries_print');
$page->startPage();
$page->printPageTitle($strPaymentControl);
?>
<script type="text/javascript">
<!--
	function setPrint()
	{
		document.printdialog.formaction.value = 'print'
		document.printdialog.target = '_blank';
	}

	function setView()
	{
		document.printdialog.formaction.value = 'view'
		document.printdialog.target = '';
	}