Exemplo n.º 1
0
<?php

$OUT = "<table width=\"100%\" cellpadding=\"2\" cellspacing=\"2\">" . "<tr><td valign=\"top\" class=\"bluebox\" width=\"150\">Team ID</td>" . "<td width=\"200\">" . _input(2, 'tid', $aRec['id'], 10, 10) . "</td>" . "<td></td>" . "<td></td></tr>" . "<tr><td valign=\"top\" class=\"bluebox\">Liga *</td>" . "<td>" . Select_Event($idname = 'eventid', $aRec['tevent_id'], 1, '') . "</td>" . "<td valign=\"top\" class=\"bluebox\">Teamname *</td>" . '<td>' . _input(1, 'vtname', $aRec['tname'], 30, 50) . '</td></tr>' . '<tr><td valign=\'top\' class=\'bluebox\'>Verein *</td>' . '<td>' . Select_Verein('vverein', $aRec['tverein_id'], array(1, 2, 3, 4, 5, 6, 7, 8, 9)) . '</td>' . '<td valign=\'top\' class=\'bluebox\'>Heimlokal *</td>' . '<td>' . Select_Location('vlocid', '', $aRec['tlocation_id']) . '</td></tr>' . '<tr><td></td>' . '<td></td>' . '<td></td><td>' . _button('Team Daten Speichern') . '</td></tr>';
return $OUT . '</table>';
Exemplo n.º 2
0
<?php

$OUT = "<table width=\"100%\" cellpadding=\"2\" cellspacing=\"2\">" . "<tr><td valign=\"top\" class=\"bluebox\" width=\"150\">Melde ID</td>" . "<td width=\"200\">" . _input(1, 'wfteamid', $obj['wfteam_id'], 5, 5) . "</td>" . "<td></td>" . "<td></td></tr>" . "<tr><td valign=\"top\" class=\"bluebox\">Liga *</td>" . "<td>" . Select_WFEvent('wfeventid', $obj['wfevent_id'], 1, '') . "</td>" . "<td valign=\"top\" class=\"bluebox\">Teamname *</td>" . "<td>" . _input(1, 'tname', $obj['teamname'], 30, 50) . "</td></tr>" . "<tr><td valign=\"top\" class=\"bluebox\">Verein</td>" . "<td>" . _input(2, 'vereinid', $obj['verein_id'], 5, 5) . "</td>" . "<td valign=\"top\" class=\"bluebox\">Heimlokal *</td>" . "<td>" . Select_Location('locid', '', $obj['location_id']) . "</td></tr>" . "<tr>" . "<td valign=\"top\" class=\"bluebox\">Kommentar</td>" . "<td colspan=3>" . _input(1, 'tcomment', $obj['tcomment'], 60, 60) . "</td></tr>";
return $OUT . "</table>";
Exemplo n.º 3
0
<?php

$OUT = _input(0, 'eventid', $eventid);
$OUT = $OUT . '<table>';
$OUT = $OUT . '<tr><td>Runde: </td><td>' . Select_EventRound('rnum', 0, $eventid) . '</td></tr>';
$OUT = $OUT . '<tr><td>Location: </td><td>' . Select_Location('mlocation', '', $mlocation) . '</td></tr>';
$OUT = $OUT . '<tr><td>Datum: (YYYY-MM-DD)</td><td>' . _input(1, 'vdate', '2009-12-31', 10, 10) . '</td></tr>' . '<tr><td>Heimmannschaft</td><td>Gastmannschaft</td></tr>' . '<tr><td>' . Select_Team('hteam', '', 0, $eventid) . '</td><td>' . Select_Team('ateam', '', 0, $eventid) . '</td></tr>';
//$OUT=$OUT.'<tr><td>Punkte / S&auml;tze / Legs</td><td>Punkte / S&auml;tze / Legs</td></tr>'
//	.'<tr><td>'._input(1,"vpoints[]","",4,4)._input(1,"vsets[]","",4,4)._input(1,"vlegs[]","",4,4)."</td>"
//	.'<td>'._input(1,"vpoints[]","",4,4)._input(1,"vsets[]","",4,4)._input(1,"vlegs[]","",4,4).'</td></tr>';
$OUT = $OUT . '<tr><td></td></tr>';
$OUT = $OUT . '<tr><td></td><td>' . _button('Erstellen') . '</td></tr>';
return $OUT = $OUT . "</table>";
Exemplo n.º 4
0
if (isset($_POST['locplz']) && strlen($_POST['locid']) < 7) {
    $loc_plz = strip_tags($_POST['locplz']);
} else {
    $loc_plz = "";
}
if (isset($_POST['locactive']) && is_numeric($_POST['locactive'])) {
    $loc_active = strip_tags($_POST['locactive']);
} else {
    $loc_active = 1;
}
if (isset($_POST['elem_name'])) {
    $elem_name = strip_tags($_POST['elem_name']);
} else {
    $elem_name = '';
}
if (isset($_POST['lid_sel'])) {
    $lidsel = strip_tags($_POST['lid_sel']);
} else {
    $lidsel = 0;
}
if (isset($_POST['changeaction'])) {
    $changeaction = strip_tags($_POST['changeaction']);
} else {
    $changeaction = '';
}
# create DB connection
$dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);
# call controller
header('Content-Type: application/html; charset=ISO-8859-1');
echo Select_Location($elem_name, $changeaction, $lidsel, $loc_id, $loc_name, $loc_plz, $loc_active);