sprach kann jetzt immer geaendert werden

git-svn-id: svn://svn.cccv.de/engel-system@65 29ba0400-6e00-0410-a75a-ca02368028f8
main
cookie 19 years ago
parent 3814ce59d2
commit 8bb5717076

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -110,8 +110,11 @@ if( isset($_SESSION['UID']))
</tr>
<tr>
<td colspan="2">
<h5 align="center"> &#169; copyleft - <a href="mailto:erzengel@lists.ccc.de">Kontakt</a></h5>
<? include( "./inc/funktion_counter.php"); ?>
<h5 align="center"> &#169; copyleft - <a href="mailto:erzengel@lists.ccc.de">Kontakt</a>
<?
include( "./inc/funktion_counter.php");
include( "./inc/funktion_flag.php");
?></h5>
</td>
</tr>
</table>

@ -1,12 +1,17 @@
<?PHP
if( !isset($_SESSION['Sprache'])) $_SESSION['Sprache'] = "EN";
if( $_SESSION['Sprache']=="") $_SESSION['Sprache']="EN";
function Get_Text ($TextID)
{
GLOBAL $con;
if( !isset($_SESSION['Sprache']))
$_SESSION['Sprache'] = "EN";
if( $_SESSION['Sprache']=="")
$_SESSION['Sprache']="EN";
if( isset($_GET["SetLanguage"]))
$_SESSION['Sprache']= $_GET["SetLanguage"];
$SQL = "SELECT * FROM `Sprache` WHERE TextID=\"$TextID\" AND Sprache ='".$_SESSION['Sprache']."'";
@$Erg = mysql_query($SQL, $con);
// if(!mysql_error($con))
@ -24,6 +29,13 @@ function Print_Text ($TextID)
{
GLOBAL $con;
if( !isset($_SESSION['Sprache']))
$_SESSION['Sprache'] = "EN";
if( $_SESSION['Sprache']=="")
$_SESSION['Sprache']="EN";
if( isset($_GET["SetLanguage"]))
$_SESSION['Sprache']= $_GET["SetLanguage"];
$SQL = "SELECT * FROM `Sprache` WHERE TextID=\"$TextID\" AND Sprache ='".$_SESSION['Sprache']."'";
@$Erg = mysql_query($SQL, $con);

Loading…
Cancel
Save