2005-11-30 23:13:38 +01:00
|
|
|
<?PHP
|
2008-10-17 18:16:22 +02:00
|
|
|
/* Todo: -add if-construct with configvar for user-shirt-settings
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
2005-09-10 19:25:43 +02:00
|
|
|
$title = "Himmel";
|
|
|
|
$header = "Deine persönlichen Einstellungen";
|
2008-09-26 19:34:23 +02:00
|
|
|
include ("../../includes/header.php");
|
|
|
|
include ("../../includes/crypt.php");
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2005-11-06 01:44:48 +01:00
|
|
|
if (!IsSet($_POST["action"]))
|
|
|
|
{
|
2005-11-17 01:08:10 +01:00
|
|
|
echo Get_Text("Hallo").$_SESSION['Nick'].",<br>\n\n";
|
2005-11-06 01:44:48 +01:00
|
|
|
Print_Text(13);
|
2005-09-10 19:25:43 +02:00
|
|
|
?>
|
|
|
|
<hr width=\"100%\">
|
2005-11-30 23:13:38 +01:00
|
|
|
<?PHP Print_Text("pub_einstellungen_Text_UserData");?>
|
2005-09-10 19:25:43 +02:00
|
|
|
<form action="./einstellungen.php" method="post">
|
|
|
|
<input type="hidden" name="action" value="setUserData">
|
|
|
|
<table>
|
2005-11-30 23:13:38 +01:00
|
|
|
<tr> <td><?PHP Print_Text("pub_einstellungen_Nick"); ?></td>
|
|
|
|
<td><input type="text" name="eNick" size="23" value="<?PHP echo $_SESSION["Nick"]; ?>"></td></tr>
|
2008-10-17 18:16:22 +02:00
|
|
|
|
2005-11-30 23:13:38 +01:00
|
|
|
<tr> <td><?PHP Print_Text("pub_einstellungen_Name"); ?></td>
|
|
|
|
<td><input type="text" name="eName" size="23" value="<?PHP echo $_SESSION['Name']; ?>"></td></tr>
|
2008-10-17 18:16:22 +02:00
|
|
|
|
2005-11-30 23:13:38 +01:00
|
|
|
<tr> <td><?PHP Print_Text("pub_einstellungen_Vorname"); ?></td>
|
|
|
|
<td><input type="text" name="eVorname" size="23" value="<?PHP echo $_SESSION['Vorname']; ?>"></td></tr>
|
2008-10-17 18:16:22 +02:00
|
|
|
|
2005-11-30 23:13:38 +01:00
|
|
|
<tr> <td><?PHP Print_Text("pub_einstellungen_Alter"); ?></td>
|
|
|
|
<td><input type="text" name="eAlter" size="3" value="<?PHP echo $_SESSION['Alter']; ?>"></td></tr>
|
2008-10-17 18:16:22 +02:00
|
|
|
|
2005-11-30 23:13:38 +01:00
|
|
|
<tr> <td><?PHP Print_Text("pub_einstellungen_Telefon"); ?></td>
|
|
|
|
<td><input type="text" name="eTelefon" size="40" value="<?PHP echo $_SESSION['Telefon']; ?>"></td></tr>
|
2008-10-17 18:16:22 +02:00
|
|
|
|
2005-11-30 23:13:38 +01:00
|
|
|
<tr> <td><?PHP Print_Text("pub_einstellungen_Handy"); ?></td>
|
|
|
|
<td><input type="text" name="eHandy" size="40" value="<?PHP echo $_SESSION['Handy']; ?>"></td></tr>
|
2008-10-17 18:16:22 +02:00
|
|
|
|
2005-11-30 23:13:38 +01:00
|
|
|
<tr> <td><?PHP Print_Text("pub_einstellungen_DECT"); ?></td>
|
|
|
|
<td><input type="text" name="eDECT" size="4" value="<?PHP echo $_SESSION['DECT']; ?>"></td></tr>
|
2008-10-17 18:16:22 +02:00
|
|
|
|
2005-11-30 23:13:38 +01:00
|
|
|
<tr> <td><?PHP Print_Text("pub_einstellungen_email"); ?></td>
|
|
|
|
<td><input type="text" name="eemail" size="40" value="<?PHP echo $_SESSION['email']; ?>"></td></tr>
|
2008-10-17 18:16:22 +02:00
|
|
|
|
2006-08-29 12:21:50 +02:00
|
|
|
<tr> <td>ICQ</td>
|
|
|
|
<td><input type="text" name="eICQ" size="40" value="<?PHP echo $_SESSION['ICQ']; ?>"></td></tr>
|
2008-10-17 18:16:22 +02:00
|
|
|
|
2006-08-29 12:21:50 +02:00
|
|
|
<tr> <td>jabber</td>
|
|
|
|
<td><input type="text" name="ejabber" size="40" value="<?PHP echo $_SESSION['jabber']; ?>"></td></tr>
|
2008-10-17 18:16:22 +02:00
|
|
|
|
2005-11-30 23:13:38 +01:00
|
|
|
<tr> <td><?PHP Print_Text("pub_einstellungen_Hometown"); ?></td>
|
|
|
|
<td><input type="text" name="Hometown" size="40" value="<?PHP echo $_SESSION['Hometown']; ?>"></td></tr>
|
2008-10-17 18:16:22 +02:00
|
|
|
|
2006-12-29 21:33:12 +01:00
|
|
|
<tr> <td><?PHP Print_Text("makeuser_T-Shirt"); ?></td>
|
2008-10-17 18:22:39 +02:00
|
|
|
<td><input type="text" name="Size" size="4" value="<?PHP echo $_SESSION['Size']; ?>"></td></tr>
|
2005-09-10 19:25:43 +02:00
|
|
|
</table>
|
2005-11-17 01:08:10 +01:00
|
|
|
<input type="submit" value="<?PHP Print_Text("save"); ?>">
|
2005-09-10 19:25:43 +02:00
|
|
|
</form>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr width=\"100%\">
|
2005-11-30 23:13:38 +01:00
|
|
|
<?PHP Print_Text(14);?>
|
2005-09-10 19:25:43 +02:00
|
|
|
<form action="./einstellungen.php" method="post">
|
|
|
|
<input type="hidden" name="action" value="set">
|
|
|
|
<table>
|
|
|
|
<tr><td><?PHP Print_Text(15); ?></td><td><input type="password" name="old" size="20"></td></tr>
|
|
|
|
<tr><td><?PHP Print_Text(16); ?></td><td><input type="password" name="new1" size="20"></td></tr>
|
|
|
|
<tr><td><?PHP Print_Text(17); ?></td><td><input type="password" name="new2" size="20"></td></tr>
|
|
|
|
</table>
|
2005-11-17 01:08:10 +01:00
|
|
|
<input type="submit" value="<?PHP Print_Text("save"); ?>">
|
2005-09-10 19:25:43 +02:00
|
|
|
</form>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr width="100%">
|
|
|
|
<br>
|
|
|
|
<?PHP Print_Text(18); ?>
|
|
|
|
<form action="./einstellungen.php" method="post">
|
|
|
|
<input type="hidden" name="action" value="colour">
|
|
|
|
<table>
|
|
|
|
<tr><td><?PHP Print_Text(19); ?></td>
|
|
|
|
<td>
|
|
|
|
<select name="colourid">
|
|
|
|
<option <?php if($_SESSION['color'] == 1) { echo "selected"; } ?> value="1">Standard-Style</option>
|
|
|
|
<option <?php if($_SESSION['color'] == 2) { echo "selected"; } ?> value="2">Rot/Gelber Style</option>
|
|
|
|
<option <?php if($_SESSION['color'] == 3) { echo "selected"; } ?> value="3">Club-Mate Style</option>
|
|
|
|
<option <?php if($_SESSION['color'] == 5) { echo "selected"; } ?> value="5">Debian Style</option>
|
|
|
|
<option <?php if($_SESSION['color'] == 6) { echo "selected"; } ?> value="6">c-base Style</option>
|
|
|
|
<option <?php if($_SESSION['color'] == 7) { echo "selected"; } ?> value="7">Blau/Gelber Style </option>
|
|
|
|
<option <?php if($_SESSION['color'] == 8) { echo "selected"; } ?> value="8">Pastel Style</option>
|
|
|
|
<option <?php if($_SESSION['color'] == 4) { echo "selected"; } ?> value="4">Test Style</option>
|
|
|
|
<option <?php if($_SESSION['color'] == 9) { echo "selected"; } ?> value="9">Test Style 21c3 </option>
|
|
|
|
</select>
|
|
|
|
</td></tr>
|
2005-11-21 19:34:30 +01:00
|
|
|
<tr><td>Menu</td>
|
2005-11-30 23:13:38 +01:00
|
|
|
<td><input type="radio" name="eMenu" value="L"<?PHP
|
2005-11-21 19:34:30 +01:00
|
|
|
if ($_SESSION['Menu']=='L') echo " checked"; ?>>L
|
2005-11-30 23:13:38 +01:00
|
|
|
<input type="radio" name="eMenu" value="R"<?PHP
|
2005-11-21 19:34:30 +01:00
|
|
|
if ($_SESSION['Menu']=='R') echo " checked"; ?>>R
|
|
|
|
</td></tr>
|
2005-09-10 19:25:43 +02:00
|
|
|
</table>
|
2005-11-17 01:08:10 +01:00
|
|
|
<input type="submit" value="<?PHP Print_Text("save"); ?>">
|
2005-09-10 19:25:43 +02:00
|
|
|
</form>
|
|
|
|
<br>
|
|
|
|
<hr width="100%">
|
|
|
|
<br>
|
|
|
|
<?PHP Print_Text(20); ?>
|
|
|
|
<form action="./einstellungen.php" method="post">
|
|
|
|
<input type="hidden" name="action" value="sprache">
|
|
|
|
<table>
|
|
|
|
<tr><td><?PHP Print_Text(21); ?></td>
|
|
|
|
<td>
|
|
|
|
<select name="language">
|
|
|
|
<option value="DE" <?php if($_SESSION['Sprache'] == 'DE') { echo "selected"; } ?>>Deutsch</option>
|
|
|
|
<option value="EN" <?php if($_SESSION['Sprache'] == 'EN') { echo "selected"; } ?>>English</option>
|
2006-08-29 11:28:39 +02:00
|
|
|
<?PHP /* <option value="NL" <?php if($_SESSION['Sprache'] == 'NL') { echo "selected"; } ?>>Dutch</option> */?>
|
2005-09-10 19:25:43 +02:00
|
|
|
</select>
|
|
|
|
</td></tr>
|
|
|
|
</table>
|
2005-11-17 01:08:10 +01:00
|
|
|
<input type="submit" value="<?PHP Print_Text("save"); ?>">
|
2005-09-10 19:25:43 +02:00
|
|
|
</form>
|
2006-12-15 23:52:56 +01:00
|
|
|
<?PHP
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2006-12-15 23:52:56 +01:00
|
|
|
|
|
|
|
if( get_cfg_var("file_uploads"))
|
|
|
|
{
|
|
|
|
echo "<br>\n<hr width=\"100%\">\n<br>\n\n";
|
|
|
|
echo Get_Text('pub_einstellungen_PictureUpload')."<br>";
|
|
|
|
echo "<form action=\"./einstellungen.php\" method=\"post\" enctype=\"multipart/form-data\">\n";
|
|
|
|
echo "\t<input type=\"hidden\" name=\"action\" value=\"sendPicture\">\n";
|
|
|
|
echo "\t<input name=\"file\" type=\"file\" size=\"50\" maxlength=\"". get_cfg_var("post_max_size"). "\">\n";
|
|
|
|
echo "\t(max ". get_cfg_var("post_max_size"). "Byte)<br>\n";
|
|
|
|
echo "\t<input type=\"submit\" value=\"". Get_Text("upload"),"\">\n";
|
|
|
|
echo "</form>\n";
|
|
|
|
}
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2006-12-15 23:52:56 +01:00
|
|
|
switch( GetPicturShow( $_SESSION['UID']))
|
|
|
|
{
|
|
|
|
case 'Y':
|
|
|
|
echo Get_Text('pub_einstellungen_PictureShow'). "<br>";
|
|
|
|
echo displayPictur($_SESSION['UID'], 0);
|
|
|
|
echo "<form action=\"./einstellungen.php\" method=\"post\">\n";
|
|
|
|
echo "\t<input type=\"hidden\" name=\"action\" value=\"delPicture\">\n";
|
|
|
|
echo "\t<input type=\"submit\" value=\"". Get_Text("delete"),"\">\n";
|
|
|
|
echo "</form>\n";
|
|
|
|
break;
|
|
|
|
case 'N':
|
|
|
|
echo Get_Text('pub_einstellungen_PictureNoShow'). "<br>";
|
|
|
|
echo displayPictur($_SESSION['UID'], 0);
|
|
|
|
echo "<form action=\"./einstellungen.php\" method=\"post\">\n";
|
|
|
|
echo "\t<input type=\"hidden\" name=\"action\" value=\"delPicture\">\n";
|
|
|
|
echo "\t<input type=\"submit\" value=\"". Get_Text("delete"),"\">\n";
|
|
|
|
echo "</form>\n";
|
|
|
|
echo "<br>\n<hr width=\"100%\">\n<br>\n\n";
|
|
|
|
case '':
|
|
|
|
echo "<br>\n<hr width=\"100%\">\n<br>\n\n";
|
|
|
|
echo Get_Text(22). "<br>";
|
|
|
|
echo "\n<form action=\"./einstellungen.php\" method=\"post\">\n";
|
|
|
|
echo "\t<input type=\"hidden\" name=\"action\" value=\"avatar\">\n";
|
|
|
|
echo "\t<table>\n";
|
|
|
|
echo "\t\t<tr>\n\t\t\t<td>". Get_Text(23). "<br></td>\n\t\t</tr>\n";
|
|
|
|
echo "\t\t<tr>\n";
|
|
|
|
echo "\t\t\t<td>\n";
|
2008-09-27 21:53:33 +02:00
|
|
|
echo "\t\t\t\t<select name=\"eAvatar\" onChange=\"document.avatar.src = '../pic/avatar/avatar' + this.value + '.gif'\"".
|
|
|
|
"onKeyup=\"document.avatar.src = '../pic/avatar/avatar' + this.value + '.gif'\">\n";
|
|
|
|
for ($i=1; file_exists("../pic/avatar/avatar$i.gif"); $i++ )
|
2006-12-15 23:52:56 +01:00
|
|
|
echo "\t\t\t\t\t<option value=\"$i\"". ($_SESSION['Avatar'] == $i ? " selected":""). ">avatar$i</option>\n";
|
|
|
|
echo "\t\t\t\t</select> \n";
|
2008-09-27 21:53:33 +02:00
|
|
|
echo "\t\t\t\t<img src=\"../pic/avatar/avatar". $_SESSION['Avatar']. ".gif\" name=\"avatar\" border=\"0\" align=\"top\">\n";
|
2006-12-15 23:52:56 +01:00
|
|
|
echo "\t\t\t</td>\n\t\t</tr>\n";
|
|
|
|
echo "\t</table>\n";
|
|
|
|
echo "\t<input type=\"submit\" value=\"". Get_Text("save"),"\">\n";
|
|
|
|
echo "</form>\n";
|
|
|
|
break;
|
|
|
|
} //CASE
|
2005-09-10 19:25:43 +02:00
|
|
|
|
|
|
|
} else {
|
|
|
|
|
2005-11-06 01:44:48 +01:00
|
|
|
switch ($_POST["action"]) {
|
2005-09-10 19:25:43 +02:00
|
|
|
|
|
|
|
case 'set':
|
2005-11-06 01:44:48 +01:00
|
|
|
if ($_POST["new1"]==$_POST["new2"]){
|
2005-09-10 19:25:43 +02:00
|
|
|
Print_Text(25);
|
2006-12-04 20:54:51 +01:00
|
|
|
$sql = "SELECT * FROM `User` WHERE `UID`='".$_SESSION['UID']. "'";
|
2005-09-10 19:25:43 +02:00
|
|
|
$Erg = mysql_query($sql, $con);
|
2005-11-06 01:44:48 +01:00
|
|
|
if (PassCrypt($_POST["old"])==mysql_result($Erg, 0, "Passwort")) {
|
2005-09-10 19:25:43 +02:00
|
|
|
Print_Text(26);
|
|
|
|
Print_Text(27);
|
2006-12-04 20:54:51 +01:00
|
|
|
$usql = "UPDATE `User` SET `Passwort`='". PassCrypt($_POST["new1"]). "' ".
|
|
|
|
" WHERE `UID`='". $_SESSION['UID']. "' LIMIT 1";
|
2005-09-10 19:25:43 +02:00
|
|
|
$Erg = mysql_query($usql, $con);
|
|
|
|
if ($Erg==1) {
|
|
|
|
Print_Text(28);
|
|
|
|
} else {
|
|
|
|
Print_Text(29);
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
Print_Text(30);
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
Print_Text(31);
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
|
|
|
case 'colour':
|
|
|
|
|
2006-12-04 20:54:51 +01:00
|
|
|
$chsql="UPDATE `User` SET ".
|
|
|
|
"`color`= '". $_POST["colourid"]. "', ".
|
|
|
|
"`Menu`= '". $_POST["eMenu"]. "' ".
|
|
|
|
"WHERE `UID`='". $_SESSION['UID']. "' LIMIT 1";
|
2005-09-10 19:25:43 +02:00
|
|
|
$Erg = mysql_query($chsql, $con);
|
2005-11-21 19:34:30 +01:00
|
|
|
echo mysql_error($con);
|
2005-11-06 01:44:48 +01:00
|
|
|
$_SESSION['color']=$_POST["colourid"];
|
2005-11-21 19:34:30 +01:00
|
|
|
$_SESSION['Menu']=$_POST["eMenu"];
|
2005-09-10 19:25:43 +02:00
|
|
|
if ($Erg==1) {
|
|
|
|
Print_Text(32);
|
|
|
|
} else {
|
|
|
|
Print_Text(29);
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
|
|
|
case 'sprache':
|
|
|
|
|
2006-12-04 20:54:51 +01:00
|
|
|
$chsql="UPDATE `User` SET `Sprache` = '". $_POST["language"]. "' WHERE `UID`='". $_SESSION['UID']. "' LIMIT 1";
|
2005-09-10 19:25:43 +02:00
|
|
|
$Erg = mysql_query($chsql, $con);
|
2005-11-06 01:44:48 +01:00
|
|
|
$_SESSION['Sprache']=$_POST["language"];
|
2005-09-10 19:25:43 +02:00
|
|
|
if ($Erg==1) {
|
|
|
|
Print_Text(33);
|
|
|
|
} else {
|
|
|
|
Print_Text(29);
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
|
|
|
case 'avatar':
|
2006-12-04 20:54:51 +01:00
|
|
|
$chsql="UPDATE `User` SET `Avatar`='". $_POST["eAvatar"]. "' WHERE `UID`='". $_SESSION['UID']. "' LIMIT 1";
|
2005-09-10 19:25:43 +02:00
|
|
|
$Erg = mysql_query($chsql, $con);
|
2005-11-06 01:44:48 +01:00
|
|
|
$_SESSION['Avatar']=$_POST["eAvatar"];
|
2006-12-15 23:52:56 +01:00
|
|
|
if ($Erg==1)
|
2005-09-10 19:25:43 +02:00
|
|
|
Print_Text(34);
|
2006-12-15 23:52:56 +01:00
|
|
|
else
|
2005-09-10 19:25:43 +02:00
|
|
|
Print_Text(29);
|
|
|
|
break;
|
|
|
|
|
|
|
|
case 'setUserData':
|
2006-12-04 20:54:51 +01:00
|
|
|
$chsql= "UPDATE `User` SET ".
|
2006-08-29 12:21:50 +02:00
|
|
|
"`Nick`='". $_POST["eNick"]. "', `Name`='". $_POST["eName"]. "', ".
|
|
|
|
"`Vorname`='". $_POST["eVorname"]. "', `Alter`='". $_POST["eAlter"]. "', ".
|
|
|
|
"`Telefon`='". $_POST["eTelefon"]. "', `Handy`='". $_POST["eHandy"]. "', ".
|
|
|
|
"`DECT`='". $_POST["eDECT"]. "', `email`='". $_POST["eemail"]. "', ".
|
|
|
|
"`ICQ`='". $_POST["eICQ"]. "', `jabber`='". $_POST["ejabber"]."', ".
|
2008-10-17 18:16:22 +02:00
|
|
|
"`Hometown`='". $_POST["Hometown"]. "', `Size`='". $_POST["Size"]."' ".
|
2006-12-04 20:54:51 +01:00
|
|
|
"WHERE `UID`='". $_SESSION['UID']. "' LIMIT 1;";
|
2005-09-10 19:25:43 +02:00
|
|
|
$Erg = mysql_query($chsql, $con);
|
|
|
|
|
|
|
|
if ($Erg==1)
|
|
|
|
{
|
2005-11-06 01:44:48 +01:00
|
|
|
$_SESSION['Nick'] = $_POST["eNick"];
|
|
|
|
$_SESSION['Name'] = $_POST["eName"];
|
|
|
|
$_SESSION['Vorname'] = $_POST["eVorname"];
|
|
|
|
$_SESSION['Alter'] = $_POST["eAlter"];
|
|
|
|
$_SESSION['Telefon'] = $_POST["eTelefon"];
|
|
|
|
$_SESSION['Handy'] = $_POST["eHandy"];
|
|
|
|
$_SESSION['DECT'] = $_POST["eDECT"];
|
|
|
|
$_SESSION['email'] = $_POST["eemail"];
|
2006-08-29 12:21:50 +02:00
|
|
|
$_SESSION['ICQ'] = $_POST["eICQ"];
|
|
|
|
$_SESSION['jabber'] = $_POST["ejabber"];
|
2005-11-22 21:05:44 +01:00
|
|
|
$_SESSION['Hometown'] = $_POST["Hometown"];
|
2008-10-17 18:16:22 +02:00
|
|
|
$_SESSION['Size'] = $_POST["Size"];
|
2005-09-10 19:25:43 +02:00
|
|
|
|
|
|
|
Print_Text("pub_einstellungen_UserDateSaved");
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
Print_Text(29);
|
|
|
|
echo mysql_error( $con);
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
2006-12-15 23:52:56 +01:00
|
|
|
case 'sendPicture':
|
|
|
|
if( $_FILES["file"]["size"] > 0)
|
|
|
|
{
|
|
|
|
if( ($_FILES["file"]["type"] == "image/jpeg") ||
|
|
|
|
($_FILES["file"]["type"] == "image/png") ||
|
|
|
|
($_FILES["file"]["type"] == "image/gif") )
|
|
|
|
{
|
|
|
|
$data = addslashes(fread(fopen($_FILES["file"]["tmp_name"], "r"), filesize($_FILES["file"]["tmp_name"])));
|
|
|
|
|
|
|
|
if( GetPicturShow( $_SESSION['UID']) == "")
|
|
|
|
$SQL = "INSERT INTO `UserPicture` ".
|
|
|
|
"( `UID`,`Bild`, `ContentType`, `show`) ".
|
|
|
|
"VALUES ('". $_SESSION['UID']. "', '$data', '". $_FILES["file"]["type"]. "', 'N')";
|
|
|
|
else
|
|
|
|
$SQL = "UPDATE `UserPicture` SET ".
|
|
|
|
"`Bild`='$data', ".
|
|
|
|
"`ContentType`='". $_FILES["file"]["type"]. "', ".
|
|
|
|
"`show`='N' ".
|
|
|
|
"WHERE `UID`='". $_SESSION['UID']. "'";
|
|
|
|
|
|
|
|
$res = mysql_query( $SQL, $con);
|
|
|
|
if( $res)
|
|
|
|
Print_Text("pub_einstellungen_send_OK");
|
|
|
|
else
|
|
|
|
Print_Text("pub_einstellungen_send_KO");
|
|
|
|
|
|
|
|
echo "<h6>('" . $_FILES["file"]["name"] . "', MIME-Type: " . $_FILES["file"]["type"]. ", " . $_FILES["file"]["size"]. " Byte)</h6>";
|
|
|
|
}
|
|
|
|
else
|
|
|
|
Print_Text("pub_einstellungen_send_KO");
|
|
|
|
}
|
|
|
|
else
|
|
|
|
Print_Text("pub_einstellungen_send_KO");
|
|
|
|
break;
|
|
|
|
|
|
|
|
case 'delPicture':
|
|
|
|
$chsql="DELETE FROM `UserPicture` WHERE `UID`='". $_SESSION['UID']. "' LIMIT 1";
|
|
|
|
$Erg = mysql_query($chsql, $con);
|
|
|
|
if ($Erg==1)
|
|
|
|
Print_Text("pub_einstellungen_del_OK");
|
|
|
|
else
|
|
|
|
Print_Text("pub_einstellungen_del_KO");
|
|
|
|
Break;
|
2005-09-10 19:25:43 +02:00
|
|
|
}
|
|
|
|
}
|
2008-09-26 19:34:23 +02:00
|
|
|
include ("../../includes/footer.php");
|
2005-09-10 19:25:43 +02:00
|
|
|
?>
|