ok kein problem. ich sende mal die sachen die meiner meinung nach probleme machen. sprich was bei der heimmannschaft und was bei der gastmannschaft steht. ich fange mit der heimmannschaft an.
<h3>Tore Heimmannschaft</h3><br>
<form id="form5" name="form5" method="post" action="" onsubmit="<?php
if(!isset($_POST['1']))
{}
else {
$file = 'comment.txt';
$current = file_get_contents($file);
$current .= "[".date("H:i:s")."]"."\r"."Tor durch A"."\r\n";
file_put_contents($file, $current);
counthome();
}
if(!isset($_POST['2']))
{}
else {
$file = 'comment.txt';
$current = file_get_contents($file);
$current .= "[".date("H:i:s")."]"."\r"."Tor durch B"."\r\n";
file_put_contents($file, $current);
counthome();
}
if(!isset($_POST['3']))
{}
else {
$file = 'comment.txt';
$current = file_get_contents($file);
$current .= "[".date("H:i:s")."]"."\r"."Tor durch C"."\r\n";
file_put_contents($file, $current);
counthome();
}
if(!isset($_POST['4']))
{}
else {
$file = 'comment.txt';
$current = file_get_contents($file);
$current .= "[".date("H:i:s")."]"."\r"."Tor durch D"."\r\n";
file_put_contents($file, $current);
counthome();
}
if(!isset($_POST['5']))
{}
else {
$file = 'comment.txt';
$current = file_get_contents($file);
$current .= "[".date("H:i:s")."]"."\r"."Tor durch E"."\r\n";
file_put_contents($file, $current);
counthome();
}
if(!isset($_POST['6']))
{}
else {
$file = 'comment.txt';
$current = file_get_contents($file);
$current .= "[".date("H:i:s")."]"."\r"."Tor durch F"."\r\n";
file_put_contents($file, $current);
counthome();
}
if(!isset($_POST['7']))
{}
else {
$file = 'comment.txt';
$current = file_get_contents($file);
$current .= "[".date("H:i:s")."]"."\r"."Tor durch G"."\r\n";
file_put_contents($file, $current);
counthome();
}
if(!isset($_POST['8']))
{}
else {
$file = 'comment.txt';
$current = file_get_contents($file);
$current .= "[".date("H:i:s")."]"."\r"."Tor durch H"."\r\n";
file_put_contents($file, $current);
counthome();
}
if(!isset($_POST['9']))
{}
else {
$file = 'comment.txt';
$current = file_get_contents($file);
$current .= "[".date("H:i:s")."]"."\r"."Tor durch I"."\r\n";
file_put_contents($file, $current);
counthome();
}
if(!isset($_POST['10']))
{}
else {
$file = 'comment.txt';
$current = file_get_contents($file);
$current .= "[".date("H:i:s")."]"."\r"."Tor durch J"."\r\n";
file_put_contents($file, $current);
counthome();
}
if(!isset($_POST['11']))
{}
else {
$file = 'comment.txt';
$current = file_get_contents($file);
$current .= "[".date("H:i:s")."]"."\r"."Tor durch K"."\r\n";
file_put_contents($file, $current);
counthome();
}
if(!isset($_POST['12']))
{}
else {
$file = 'comment.txt';
$current = file_get_contents($file);
$current .= "[".date("H:i:s")."]"."\r"."Tor durch L"."\r\n";
file_put_contents($file, $current);
counthome();
}
?>">
<label></label>
<table width="747" border="0">
<tr>
<td width="59"><input name="1" type="submit" id="1" value="1" />
<label></label></td>
<td width="69"><input type="submit" name="2" id="2" value="2" /></td>
<td width="59"><label>
<input type="submit" name="3" id="3" value="3" />
</label></td>
<td width="59"><label>
<input type="submit" name="4" id="4" value="4" />
</label></td>
<td width="59"><label>
<input type="submit" name="5" id="5" value="5" />
</label></td>
<td width="59"><label>
<input type="submit" name="6" id="6" value="6" />
</label></td>
<td width="59"><label>
<input type="submit" name="7" id="7" value="7" />
</label></td>
<td width="72"><label>
<input type="submit" name="8" id="8" value="8" />
</label></td>
<td width="59"><label>
<input type="submit" name="9" id="9" value="9" />
</label></td>
<td width="67"><label>
<input type="submit" name="10" id="10" value="10" />
</label></td>
<td width="44"><label>
<input type="submit" name="11" id="11" value="11" />
</label></td>
<td width="32"><label>
<input type="submit" name="12" id="12" value="12" />
</label></td>
</tr>
</table>