|
|
@ -9,7 +9,8 @@ if( !isset( $_GET["TextID"] ) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
echo Get_Text("Hello").$_SESSION['Nick'].", <br>\n";
|
|
|
|
echo Get_Text("Hello").$_SESSION['Nick'].", <br>\n";
|
|
|
|
echo Get_Text("pub_sprache_text1")."<br><br>\n";
|
|
|
|
echo Get_Text("pub_sprache_text1")."<br><br>\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "<a href=\"?ShowEntry=y\">". Get_Text("pub_sprache_ShowEntry"). "</a>";
|
|
|
|
// ausgabe Tabellenueberschift
|
|
|
|
// ausgabe Tabellenueberschift
|
|
|
|
$SQL_Sprachen = "SELECT `Sprache` FROM `Sprache` GROUP BY `Sprache`;";
|
|
|
|
$SQL_Sprachen = "SELECT `Sprache` FROM `Sprache` GROUP BY `Sprache`;";
|
|
|
|
$erg_Sprachen = mysql_query($SQL_Sprachen, $con);
|
|
|
|
$erg_Sprachen = mysql_query($SQL_Sprachen, $con);
|
|
|
@ -28,6 +29,8 @@ if( !isset( $_GET["TextID"] ) )
|
|
|
|
echo "\t\t</tr>";
|
|
|
|
echo "\t\t</tr>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( isset($_GET["ShowEntry"]))
|
|
|
|
|
|
|
|
{
|
|
|
|
// ausgabe eintraege
|
|
|
|
// ausgabe eintraege
|
|
|
|
$SQL = "SELECT * FROM `Sprache` ORDER BY `TextID`;";
|
|
|
|
$SQL = "SELECT * FROM `Sprache` ORDER BY `TextID`;";
|
|
|
|
$erg = mysql_query($SQL, $con);
|
|
|
|
$erg = mysql_query($SQL, $con);
|
|
|
@ -58,6 +61,7 @@ if( !isset( $_GET["TextID"] ) )
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$Sprachen[ mysql_result( $erg, $i, "Sprache" ) ] = mysql_result( $erg, $i, "Text" );
|
|
|
|
$Sprachen[ mysql_result( $erg, $i, "Sprache" ) ] = mysql_result( $erg, $i, "Text" );
|
|
|
|
} /*FOR*/
|
|
|
|
} /*FOR*/
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//fuer neu eintraege
|
|
|
|
//fuer neu eintraege
|
|
|
|
echo "<form action=\"sprache.php\">";
|
|
|
|
echo "<form action=\"sprache.php\">";
|
|
|
|