sprach kann jetzt immer geaendert werden
git-svn-id: svn://svn.cccv.de/engel-system@65 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
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>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<h5 align="center"> © copyleft - <a href="mailto:erzengel@lists.ccc.de">Kontakt</a></h5>
|
<h5 align="center"> © copyleft - <a href="mailto:erzengel@lists.ccc.de">Kontakt</a>
|
||||||
<? include( "./inc/funktion_counter.php"); ?>
|
<?
|
||||||
|
include( "./inc/funktion_counter.php");
|
||||||
|
include( "./inc/funktion_flag.php");
|
||||||
|
?></h5>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -1,12 +1,17 @@
|
||||||
<?PHP
|
<?PHP
|
||||||
|
|
||||||
if( !isset($_SESSION['Sprache'])) $_SESSION['Sprache'] = "EN";
|
|
||||||
if( $_SESSION['Sprache']=="") $_SESSION['Sprache']="EN";
|
|
||||||
|
|
||||||
function Get_Text ($TextID)
|
function Get_Text ($TextID)
|
||||||
{
|
{
|
||||||
|
|
||||||
GLOBAL $con;
|
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']."'";
|
$SQL = "SELECT * FROM `Sprache` WHERE TextID=\"$TextID\" AND Sprache ='".$_SESSION['Sprache']."'";
|
||||||
@$Erg = mysql_query($SQL, $con);
|
@$Erg = mysql_query($SQL, $con);
|
||||||
// if(!mysql_error($con))
|
// if(!mysql_error($con))
|
||||||
|
@ -24,6 +29,13 @@ function Print_Text ($TextID)
|
||||||
{
|
{
|
||||||
GLOBAL $con;
|
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']."'";
|
$SQL = "SELECT * FROM `Sprache` WHERE TextID=\"$TextID\" AND Sprache ='".$_SESSION['Sprache']."'";
|
||||||
@$Erg = mysql_query($SQL, $con);
|
@$Erg = mysql_query($SQL, $con);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue