es wird jetzt nicht gleich alles angezeigt
git-svn-id: svn://svn.cccv.de/engel-system@102 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
effdf1283b
commit
b997e99534
|
@ -10,6 +10,7 @@ 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\">";
|
||||||
|
|
Loading…
Reference in New Issue